Commit Graph

917 Commits

Author SHA1 Message Date
simon 0c8fcbd724
use mapping to fix error for temp backup index 2022-11-20 16:13:30 +07:00
simon e101c4abc7
ignore unavailable index for snapshots 2022-11-20 12:33:39 +07:00
simon 6a7a84792e
better feedback when skipping not yet existing index backup 2022-11-20 12:21:25 +07:00
simon cc965ac473
update TA_VERSION to unstable 2022-11-18 11:35:09 +07:00
simon 8f5311ff04
delete comments when deleting channel 2022-11-18 11:33:06 +07:00
simon e590d456a1
delete comments when deleting video 2022-11-18 10:47:48 +07:00
simon a5be5a719b
reindex comments 2022-11-18 10:31:09 +07:00
simon b5ceb264ec
format comment like number 2022-11-18 09:51:18 +07:00
simon 31c967cc11
fix linter 2022-11-18 09:46:33 +07:00
simon 2818bd5d52
add comments to video template if available 2022-11-18 09:44:20 +07:00
simon 939cd7fb62
index comments as a DownloadPostProcess 2022-11-18 09:22:58 +07:00
simon 172ced7129
configure comments extraction 2022-11-18 08:59:04 +07:00
simon 11c122cba3
finetune comments icon position 2022-11-18 08:58:25 +07:00
simon 456bc57df3 Merge branch 'master' into testing 2022-11-14 16:34:15 +07:00
crocs 091024553b
Fixed "Unseen" and "Thumb" icons (#363)
* Update channel.html

Updated wording, removed "matching" as it's not necessary.

* Update downloads.html

* Delete icon-thumb.svg

* Delete icon-eye.svg

* Add files via upload
2022-11-14 16:33:26 +07:00
simon ad016df105
implement comment frontend 2022-11-14 16:31:49 +07:00
simon 79d134cea8
clean format comments date string 2022-11-14 11:59:59 +07:00
simon fb046bed5b
[API] implement get comments API view 2022-11-12 12:42:08 +07:00
simon f6b6185fb2
rename ta_comment index, implement get comments from es 2022-11-12 12:40:14 +07:00
simon 5b7e3e877b
implement basic comment archive 2022-11-12 11:48:48 +07:00
simon fc788c586d better wording for scheduler frequency, #358 2022-11-10 10:05:14 +07:00
simon 0e8d3b76c1
better wording for scheduler frequency, #358 2022-11-08 08:19:09 +07:00
simon eda56236ce
bump TA_VERSION 2022-11-05 11:58:41 +07:00
simon b751ae183a
fix startup migration error missing enable_snapshot var 2022-11-05 11:17:12 +07:00
simon 0b2b8aacef
add snapshot wiki link 2022-11-05 09:35:28 +07:00
crocs 0fb2f3fcc6
Changed the wording in a few places (#357)
* Update channel.html

Updated wording, removed "matching" as it's not necessary.

* Update downloads.html
2022-11-03 17:14:55 +07:00
simon 10fbfadf51
bump TA_VERSION unstable 2022-11-02 12:23:34 +07:00
simon e9c457cac2
bump django 2022-11-02 12:18:17 +07:00
simon 0f191d8a3e
configure fuzziness in search 2022-11-02 11:59:31 +07:00
simon dcf317e471
form validate channel pagesize greater than 0, #334 2022-11-02 10:30:21 +07:00
simon 749261c146
take snapshot at 12 localtime 2022-11-02 10:17:27 +07:00
simon 238c6bc080 Merge branch 'master' into testing 2022-11-02 08:42:24 +07:00
simon 476d4d4909
add create snapshot now button 2022-10-31 21:21:28 +07:00
simon 651a642e71
bump pillow 2022-10-29 21:33:16 +07:00
simon d69460bf98
System snapshots, #build
Changed:
- Added: Dedublicated snapshots, read docs/Settings#snapshots first
- Added: Actions for better Python and JS linting
- Changed: Clean up JS
- Changed: Use patched ffmpeg builds for arm64
- API: Added endpoints to interact with snapshots
- Fixed: mobile layout for channel filter dopdown on downloads
2022-10-29 21:10:04 +07:00
lamusmaser f0848283bd
README updated with format update (#353)
* Add update to README to include format adjustments under Getting Started.

* Include updates to the Settings page of the Wiki.
2022-10-29 21:04:49 +07:00
simon b425e7d75c
frontend API button to restore snapshot 2022-10-29 20:12:54 +07:00
simon fb25b76950
fix spelling 2022-10-29 17:45:20 +07:00
simon a18723991a
implement snapshot API views 2022-10-29 17:43:38 +07:00
simon 74aa134971
fix next_exec epoch time builder 2022-10-29 17:43:14 +07:00
simon 24b02150a7
handle delete, restore snapshot return values 2022-10-29 17:27:04 +07:00
simon f717c71c66
implement _parse_single_snapshot, slug compatible naming 2022-10-29 16:54:16 +07:00
simon 814de87768
add snapshot check at startup 2022-10-29 15:57:59 +07:00
simon c392563ef8
use exist_ok for os.makedirs at startup 2022-10-29 15:52:33 +07:00
simon 1fbd603374
frontend implementation for snapshot integration 2022-10-29 15:49:47 +07:00
simon 749f61aba6
fix empty policy building 2022-10-29 15:32:08 +07:00
simon 59f347c135
implement snapshot startup check 2022-10-28 16:47:50 +07:00
simon 904f449d37
combine snapshot_stats for frontend 2022-10-27 18:40:27 +07:00
simon 9b69a8dc91
fix mobile view-controls break 2022-10-27 16:15:32 +07:00
BrianCArnold 6b2fe125d4
Add LDAP attribute mapping env variables. (#344)
* Added ability to specify LDAP attribute mapping.

Specifically made sure that LDAP auth works the same if the
new environment variables aren't set, in order to maintain
behavior for users who are already using LDAP if they don't
set the new envvars.

* Updated env var name to match the name of the parent global.

* Updated README.md to include information on new user attribute mapping environment variables.

* Added additional environment var options, and updated comment explaining why there are multiple.

* I'm not a python programmer, so these were stupid mistakes. Works now.

* Addressing lint error.

* Finished updating formatting according to black linter.

* Shortened comments to fit within line length.

* fix whitespace linting

Co-authored-by: simon <simobilleter@gmail.com>
2022-10-27 13:20:41 +07:00
simon e7f960bf46
implement basics snapshot management 2022-10-26 23:17:55 +07:00
simon 02ed521f21
bump uwsgi 2022-10-26 23:17:03 +07:00
Kevin Gibbons 39902cb1c6
Format/slightly modernize the JS (#345)
* add basic JS tooling

* fix accidental uses of global variables

* auto-format

* add and fix a couple more standard lint rules

* remove useless return false from settimeout callbacks

* document JS contributing

* fix whitespace in package.json

* add JS stuff to codespell skiplist

* codespell take two

* update github action and add comments about duplicated logic
2022-10-26 09:43:58 +07:00
simon 725f17bcd2
fix playlist missing channel metadata 2022-10-25 11:13:14 +07:00
Kevin Gibbons ff82690d3c
add keyboard shortcuts to video player (#342)
* add keyboard shortcuts to video player

* fix modal on the inline player
2022-10-24 20:11:00 +07:00
simon f0874b2d02
add timeout for sponsorblock api requests, handle 503 2022-10-23 12:46:10 +07:00
simon baacd3ee39
better message for running and indexing queue 2022-10-23 12:21:27 +07:00
simon 9cd23c3666
error handeling for playlist_thumbnail extraction 2022-10-23 11:50:26 +07:00
simon 0e17e2a6cf
bump TA_VERSION to v0.2.3 2022-10-23 10:55:57 +07:00
simon 40eff8e30e
fix chrome compatibility issue for description text reveal, #327 2022-10-22 22:32:57 +07:00
simon 0bba36cbc3
add watched_date for _update_by_query mark as watched, #309 2022-10-22 22:00:35 +07:00
simon a5788117de
add dropdown channel agg for download page 2022-10-22 21:23:57 +07:00
simon dea2688b49
handle UnidentifiedImageError in ThumbManager, #325 2022-10-17 19:26:01 +07:00
simon 927e6fa909
create channel parameter for downloads api view 2022-10-17 18:58:21 +07:00
simon bd7cdb3942
append query parameters to pagination 2022-10-17 18:40:20 +07:00
simon 9dfd967a32
implement downloads filter per channel 2022-10-17 13:29:21 +07:00
simon 6eee762d3a
add status for sub refresh 2022-10-14 11:27:27 +07:00
simon a8c5773f81
fix is_live status check before adding to queue 2022-10-05 16:12:58 +02:00
simon fbb52dc93f
implement basic channel query string for downloads page 2022-10-05 15:47:17 +02:00
simon c9e936da21
bump libraries 2022-10-05 15:46:44 +02:00
simon c825e67f69
bump django and restframework 2022-09-30 18:02:44 +02:00
simon db6840639a
update TA_VERSION to v0.2.2 2022-09-19 15:21:55 +07:00
simon f28c47323f
cleanup channel info.json file after import 2022-09-19 15:10:41 +07:00
simon b25818dbc3
extend timeout, add retry to YtWrap 2022-09-17 10:31:51 +07:00
simon f2a8b070f2
add log output for add to queue 2022-09-17 10:30:27 +07:00
simon dfacc3039a
fix reindex task, skip inactive in _get_unrated_vids 2022-09-14 16:43:48 +07:00
simon 2b8ec1f8cf
use grid_items for videos on download page 2022-09-13 16:47:31 +07:00
simon 6d22e62642
downgrade django to fix django_debug env 2022-09-10 11:22:49 +07:00
simon 1c3febc49d
force create thumb folder for manual import 2022-09-06 23:13:29 +07:00
simon a6dd927860
fix channel extraction to catch all alerts, #312 2022-09-06 23:12:49 +07:00
simon 3c92de8e24
improved logging for manual import 2022-09-06 22:42:55 +07:00
simon e51a662da9
fix manual import splitext matching invalid extensions, #311 2022-09-06 22:27:18 +07:00
simon b2bf4ecc02
bump libs 2022-09-06 21:20:29 +07:00
simon 8f2794a141 Merge branch 'master' into testing 2022-09-03 15:17:06 +07:00
DanielBatteryStapler 396b6b80cd
Add TA_LDAP_DISABLE_CERT_CHECK option (#314)
* add TA_LDAP_DISABLE_CERT_CHECK option

* add unstable disclaimer next to TA_LDAP_DISABLE_CERT_CHECK
2022-09-03 15:16:09 +07:00
simon e467beb1c7
fix manual import cleanup metadata, #331 2022-08-26 17:07:55 +07:00
simon f26d02919e
revert faulty django update 2022-08-20 14:14:14 +07:00
simon 20ff465b94
bump TA_VERSION to v0.2.1 2022-08-19 18:28:34 +07:00
simon 7d3a5cc699
add search api to readme 2022-08-19 18:26:27 +07:00
simon 1b22e61384
New search API endpoint, #build
Changed:
- Switched search form to API
- Additional validations for RYD
- Additional log output for curl ES startup check
2022-08-19 18:00:35 +07:00
simon e6b673832f
bump yt-dlp 2022-08-19 17:53:18 +07:00
PrivateGER 57a9fff82b
Add API endpoint for searching (#303)
* Add API endpoint for searching + use it in frontend

* Fix linting warnings

* Remove multisearch API call

* Avoid 301 and fix up multiline comment
2022-08-19 17:52:37 +07:00
simon 1896e982b9
codespell lint fixes 2022-08-18 18:51:11 +07:00
simon 0e7e0a0560
fail open on ryd error 2022-08-18 18:45:46 +07:00
simon 155439e228
add api Table of contents 2022-08-17 17:29:04 +07:00
simon 0210a97b48
archive vtt files for offline import 2022-08-16 15:42:54 +07:00
simon a4932b163b
bump ryd 2022-08-16 15:42:26 +07:00
simon 0b41d288db
fix mkv cover stream extractor 2022-08-16 12:19:27 +07:00
simon 21f3ee88b9
extract vtt from mkv and mp4 for import 2022-08-15 15:18:38 +07:00
simon 7727f533ee
move subtitle to separate module 2022-08-15 13:55:24 +07:00
simon 41c71fde56
bump yt-dlp 2022-08-15 13:55:02 +07:00
simon 81aa27e802
fix video-item.list vertical positioning 2022-08-13 16:20:38 +07:00
simon bd4710ebdc
improved wording for download form, subscription size, #300 2022-08-13 15:43:23 +07:00
simon 8a1ae1ef83
add protocoll to CSRF_TRUSTED_ORIGINS 2022-08-13 14:03:17 +07:00
simon 6afe25a4af
fix empty subtitle download and index, #288 2022-08-12 15:53:20 +07:00
simon cc40f46325
improved ryd error handeling, #283 2022-08-12 14:39:22 +07:00
simon 7c3bfa94f3
handle thumbnail download base exception, #281 2022-08-12 12:58:39 +07:00
simon 25f1539816
implement backup task lock, #278 2022-08-12 12:03:09 +07:00
simon 474ab22792
handle channel name redirect in UrlListParser, #276 2022-08-12 11:53:31 +07:00
simon ececc3cedd
bump yt-dlp 2022-08-11 19:57:12 +07:00
simon 0891c49620
implement offline channel import 2022-08-11 19:57:00 +07:00
simon c26ef012c1
raise ValueError when not matching media files 2022-08-11 11:10:58 +07:00
simon 31061c0eb0
handle offline import without info.json fail 2022-08-10 22:38:17 +07:00
simon 994f7c2443
use user provided thumb for offline import 2022-08-10 22:31:15 +07:00
simon 7029441f89
use fallback thumb when no url passed 2022-08-10 22:24:02 +07:00
simon 35f1084cc2
download thumbnail for manual import 2022-08-10 21:47:26 +07:00
simon 44473a364f
fix double download of playlist art 2022-08-10 21:20:58 +07:00
simon fb4d6b7be3
major refactor ThumbManager 2022-08-10 21:03:54 +07:00
simon b76fa69396
WIP: rewrite ManualImport, identify and archive 2022-08-08 19:18:27 +07:00
simon 8f711d359b
implement youtube_meta and media_path overwritein YoutubeVideo 2022-08-08 18:28:32 +07:00
simon 9fd6f9c58b
use absolute paths for manual import 2022-08-08 15:57:42 +07:00
simon b70cbfa0a8
convert thumbnail to jpg for manual import 2022-08-08 14:52:33 +07:00
simon d0675368f4
bump django 2022-08-08 14:52:06 +07:00
simon 195acd3246
WPI: dump thumbnails from mp4 and mkv 2022-07-31 00:02:09 +07:00
simon 5284975aa2
merge master into testing 2022-07-30 21:38:00 +07:00
simon 07f50b6619
LDAP support, #build
Changed:
- configure LDAP over environment variables
- fix reverse proxy CSRF error
2022-07-30 21:13:13 +07:00
DanielBatteryStapler fd75def6c3 implement LDAP as authentication backend support (#274) 2022-07-30 21:08:12 +07:00
simon 61da0c8af3 WIP: extract thumb from mkv 2022-07-30 21:07:31 +07:00
DanielBatteryStapler e1c4702398
implement LDAP as authentication backend support (#274) 2022-07-30 21:05:10 +07:00
Aron Brown 5407d35779
Update settings.py (#284)
Add CSRF_TRUSTED_ORIGINS Django config settings and set it to environment variable TA_HOST.
This should fix login issues behind reverse proxies.
2022-07-30 21:03:58 +07:00
simon 26cc7846c6
WIP: new import folder parser for offline import 2022-07-26 19:51:47 +07:00
simon aa0739bfbe
bump TA_VERSION to v0.2.0 2022-07-23 16:35:18 +07:00
simon 2ba31a3937
add search help text 2022-07-23 14:10:16 +07:00
simon 8a59b66a0f
finetune full text thumb width 2022-07-23 13:28:49 +07:00
simon 503a4ed822
force es8 at startup 2022-07-22 17:22:06 +07:00
simon f0a44678ed
unset video max-height max-width for fullscreen webkit, #264 2022-07-22 14:50:53 +07:00
simon 4b1ebf44c9
handle filenotfounderror for manual cookie import 2022-07-21 23:01:32 +07:00
simon eb229440d4
load config into redis on fresh install at startup 2022-07-21 23:01:01 +07:00
simon 14d3a7586d
validate es8 at startup 2022-07-21 20:09:06 +07:00
simon 0ec6558282
jump to timestamp from full search 2022-07-21 17:15:36 +07:00
simon 52d31f9cca
simplify createVideo player link building 2022-07-21 15:51:33 +07:00
simon 07016f2cc5
ignore full: result without highlight 2022-07-21 15:47:29 +07:00
simon 55a73995c8
implement source and lang keywords for full text search 2022-07-21 15:39:27 +07:00
simon a40ebc7bbc
tweak with for video-item.list 2022-07-21 15:36:36 +07:00
simon e4dd47aed0
implement fulltext search keyword 2022-07-20 21:49:32 +07:00
simon eb5a7338ab
search with and operator, increase result size 2022-07-20 18:25:39 +07:00
simon b77d50d4ed
use queryType in populateMultiSearchResults to hide irrelevant 2022-07-20 18:01:57 +07:00
simon b520a9bfb0
boost title result scores in multi_match 2022-07-20 16:20:23 +07:00
simon 242ca19586
return query_type from SearchParser 2022-07-20 16:10:57 +07:00
simon 6a6665bdf9
implement simple, aka none keyword query 2022-07-20 15:04:10 +07:00