Commit Graph

1365 Commits

Author SHA1 Message Date
simon 89779ec13b
consolidate update status priority 2023-04-21 17:25:04 +07:00
simon 1b6b219e02
modify _get_next to for auto_only attr 2023-04-21 16:11:37 +07:00
simon 5cd845e55d
fix type compatibility 2023-04-21 16:09:12 +07:00
simon 3a091ac287
implement auto_start indexing 2023-04-16 18:30:39 +07:00
simon e385331f6c
add typing 2023-04-16 13:59:15 +07:00
simon 4067b6c182
add channel aggs 2023-04-15 22:55:30 +07:00
simon 3063236634
add media stream index startup migration 2023-04-15 18:27:03 +07:00
simon a17f05ef21
index streams and file size 2023-04-15 17:45:20 +07:00
simon a4d42573ef
move DurationConverter to separate module 2023-04-13 17:29:17 +07:00
simon 5723ff1d20
bump TA_VERSION 2023-04-10 11:25:18 +07:00
simon 82d873a70f
add members link to rescan task 2023-04-10 11:16:37 +07:00
simon 7e4f564f45
fix title overwrite in notification 2023-04-10 10:25:09 +07:00
simon 3f7b38713f
add more progress notification for zip backup 2023-04-09 14:29:13 +07:00
simon 0b33edcb4c
tweak thumb resync paginate size 2023-04-09 14:23:10 +07:00
simon 06c7968070
fix silly host_clean and direct access TA_PASSWORD 2023-04-09 13:35:13 +07:00
simon a98a30cc85
elaborate TA_HOST parsed, #441 2023-04-09 13:27:47 +07:00
simon a924d648d6
add video id to processing message 2023-04-09 12:42:46 +07:00
simon 0750547236
bump bs4 2023-04-09 12:42:26 +07:00
simon 1aa4401e6c
move API documentation to docs 2023-04-08 20:30:05 +07:00
simon 5d524e5110
fix reindex notification filter 2023-04-08 17:18:42 +07:00
simon 1e96c3211f
remove unused functions 2023-04-08 16:39:08 +07:00
simon d2649c29c3
add recent videos to reindex queue task 2023-04-08 16:00:16 +07:00
simon ff89432d86
fix off by one task notification error 2023-04-08 14:28:03 +07:00
simon fb77ab44ee
fix manual import media file permission, add missing comment check trigger 2023-04-07 19:51:40 +07:00
simon e43840da31
fix manual index folder permission 2023-04-07 19:41:53 +07:00
simon 3fa5ed725e
fix missing progress script for channel notification 2023-04-07 19:29:21 +07:00
simon 841f5ab67f
fix missing tvart fallback key 2023-04-07 19:14:25 +07:00
simon 4038a837cf
fix chown for subtitles 2023-04-07 13:11:40 +07:00
simon 5b2d7db102
fix chown for channel folder creation 2023-04-07 12:47:33 +07:00
simon c8dd391fd3
fix channel tv art validator callback 2023-04-07 09:09:32 +07:00
simon 780115adb6
download and index channel tv art 2023-04-05 21:49:03 +07:00
simon 8eec866b31
bump libs 2023-04-05 21:48:45 +07:00
simon 0b300e7e12
replace all old wiki links to new docs 2023-03-31 23:46:49 +07:00
simon 20a39895f9 New task backend, #build
Changed:
- major refactor of how tasks are handled in the backend
- major refactor on how notifications are returned to UI
- [API] remov old task endpoints
- [API] add endpoints for task-name and task-id
- [API] add token delete endpoint
2023-03-31 22:46:53 +07:00
Kevin Gibbons efdffb365a
prevent keyboard events from reaching player (#459) 2023-03-31 22:28:46 +07:00
simon ee4dbf99b3
add type hints 2023-03-31 13:15:30 +07:00
simon 981a4cb8b3
clear queue on stop 2023-03-31 10:09:54 +07:00
simon 2a0a04ac65
cleanup notifications 2023-03-30 18:20:53 +07:00
simon db0ade203a
return task commands to notification backend 2023-03-30 11:39:22 +07:00
simon f0becb750a
add unstable footer 2023-03-30 11:39:03 +07:00
simon 8fc9afbad9
restructure progress update notification content 2023-03-24 15:18:26 +07:00
simon 2b8012b5d4
return command to task 2023-03-24 10:41:33 +07:00
simon 81701df1c7
speed up comments and channel extraction by disabling format test 2023-03-24 10:21:38 +07:00
simon df9a52a8f2
speed up add to queue by disabling format check 2023-03-24 09:57:09 +07:00
simon d082d3deba
bump libs 2023-03-23 12:20:21 +07:00
simon 19c853f07b
fix message trunct 2023-03-23 12:20:12 +07:00
simon c63249b778
faster check on restart only, sleep before CommandError 2023-03-23 11:58:33 +07:00
simon 8cf41a4043
merge redis backend branch into testing 2023-03-23 11:35:46 +07:00
simon 0e726af2de
switch task creation to api posts 2023-03-23 11:28:42 +07:00
simon f304c2eb02
remove legacy kill_dl task 2023-03-23 10:59:00 +07:00
simon 2bc92c9095
handle on_failure task callback 2023-03-23 10:57:15 +07:00
simon 33b9a012d4
implement api-stop for download_pending 2023-03-23 10:48:43 +07:00
simon 860213c427
fix empty reply 2023-03-23 09:57:16 +07:00
simon 272972429b
handle hard task reset at startup 2023-03-23 09:49:06 +07:00
simon 3e2b2f2be1
fix linter 2023-03-22 17:05:05 +07:00
simon db0e362b7d
make update_subscribed stoppable 2023-03-22 17:01:34 +07:00
simon 5ffc2046d4
add task stop and kill to frontend 2023-03-22 17:00:55 +07:00
simon 3bd6075a9b
[API] remove old task endpoint add task-name and task-id 2023-03-22 16:35:25 +07:00
simon 11a61a06a6
simplify view import 2023-03-20 15:23:30 +07:00
simon 3f96b37b51
fix notification data attr 2023-03-20 11:29:04 +07:00
simon 4f89a0696b
remove legacy progress view 2023-03-19 17:28:13 +07:00
simon 16862df71e
update progress frontend to use api 2023-03-19 17:26:09 +07:00
simon 3f4d0c0c76
change message groups 2023-03-18 20:24:28 +07:00
simon 73c82a91c0
use task notification for already running 2023-03-18 18:00:38 +07:00
simon f194259ab3
refactor subscribe task backend 2023-03-18 17:46:51 +07:00
simon 3b9d083f5e
notify only if task attr is set 2023-03-18 17:13:14 +07:00
simon b2fa92a8c3
refactor channel playlist index task backend 2023-03-18 12:59:16 +07:00
simon d533c7acfe
refactor re_sync_thumbs task 2023-03-16 18:13:37 +07:00
simon e6da63ff09
clean up notification 2023-03-16 18:11:08 +07:00
simon 461c2c4600
refactor thumbnail check task 2023-03-16 17:12:50 +07:00
simon 0ab41f74dc
refactor filesystem class task 2023-03-16 13:18:26 +07:00
simon 1ab7127ed3
split filesystem and manual import classes 2023-03-16 10:59:47 +07:00
simon 6b2bd06393
refactor backup-restore tasks 2023-03-16 10:11:10 +07:00
simon 04a559e471
refactor manual import task 2023-03-15 17:39:37 +07:00
simon 6b7354b14f
refactor reindex task 2023-03-15 16:59:20 +07:00
simon 2c719ae1ae
refactor download_pending task 2023-03-15 13:28:19 +07:00
simon 488711ee8f
refactor extract dl task 2023-03-14 16:40:05 +07:00
simon 78f04a2ffc
refactor subs rescan to new task manager 2023-03-14 15:42:42 +07:00
simon 58530563ce
fix empty is_pending 2023-03-14 15:07:01 +07:00
simon 259008df50
add notification api endpoint 2023-03-14 15:00:39 +07:00
simon 20f8a5a501
implement BaseTask with callbacks 2023-03-13 10:09:48 +07:00
Gavin Palmer 9afd81b372
reset token api refactor (#446)
* move reset-token from home to api

* cleanup

* cleanup markdown

* more dev readme cleanup

* remove dev files

* format

* make robot happier

---------

Co-authored-by: Gavin Palmer <gavin@herolfg.com>
2023-03-13 10:07:06 +07:00
simon 2d2431364d
handle get single not found 2023-03-08 13:27:37 +07:00
simon 16440a4170
add generic task command handler 2023-03-08 12:31:03 +07:00
simon 1f08ea9eea
handle empty tasks return 2023-03-07 17:31:21 +07:00
simon 2850988bfe Merge branch 'testing' into feat-redis-result 2023-03-07 16:07:17 +07:00
simon 9280159531
bump TA_VERSION 2023-03-04 22:33:50 +07:00
simon 8d13b947e2
fix linter 2023-03-04 22:08:48 +07:00
simon 22ef33c6ca
fix startup migration fail with unavailable shards 2023-03-04 18:10:18 +07:00
simon ee568534f6
improve comment notify timeouts 2023-03-04 17:37:58 +07:00
simon c204c6ca7f
finetune timeouts and notifications 2023-03-04 17:03:46 +07:00
simon 87cfd9e154
move up notification for faster feedback 2023-03-04 16:45:14 +07:00
simon 72e5d7ccf8
disable expire for queue setup message 2023-03-04 11:51:48 +07:00
simon a459661fa2
fallback to estimate size for progress hook 2023-03-04 11:51:12 +07:00
simon a56de2818d
consolidate yt-dlp obs 2023-03-04 11:33:22 +07:00
simon 3397418cab Merge branch 'master' into testing 2023-03-04 10:52:18 +07:00
p0358 7e9fed3d26
Add search usage summary on the search page and improve the search docs (#426)
* add search usage summary on the search page

* fix JS linter and switch multi-search-results elements from class to id

* changes according to feedback

* finetune colors

---------

Co-authored-by: simon <simobilleter@gmail.com>
2023-03-04 10:51:38 +07:00
simon 7dc67d6b6f
bump yt-dlp 2023-03-04 10:21:10 +07:00
simon 4fb5744cb3
clarify API docs add link to readme 2023-03-02 14:58:01 +07:00
simon 5617d1c7ae
sort by date and delete task results 2023-03-02 14:43:05 +07:00
simon 666074ed49
refactor download task, consolidate tasks 2023-03-02 14:17:03 +07:00
simon 4c0de78fb4
refactor subscribe from form task 2023-03-02 12:30:48 +07:00
simon dcb0cf6a6d
refactor filesystem rescan and thumb tasks 2023-03-02 11:53:38 +07:00
simon e7fd9c0aec
refactor reindex, manual import, zip backup tasks 2023-03-02 11:26:48 +07:00
simon ea002ad45d
refactor rescan and add to pending 2023-03-01 19:12:27 +07:00
simon 6328e316f4
add task manager integration 2023-03-01 18:13:51 +07:00
simon b49e87c468
name all tasks 2023-03-01 15:31:17 +07:00
simon c4b175b2db
reindex simplify video meta unpack 2023-03-01 13:51:43 +07:00
simon b52aa4daba
fix media_url change in reindex, #424 2023-03-01 13:45:01 +07:00
simon 8d76961e77
bump deps 2023-03-01 13:44:05 +07:00
Clark e276700b6d
Fix #436 Include listen directive in replacement (#437) 2023-02-20 09:37:05 +07:00
simon 4a64748da8
bump TA_VERSION 2023-02-18 10:53:07 +07:00
simon 4dfc9cef52
better TA_HOST error handling 2023-02-18 09:56:50 +07:00
simon 571c2ce3a4
ensure load_new_defaults for all manage.py commands, #434 2023-02-18 09:20:09 +07:00
simon 229555d97d
fix raise commanderror when migration failed 2023-02-18 09:14:49 +07:00
simon c7a05a9ba3
a warning about zip file backups, use snapshots instead 2023-02-17 22:08:11 +07:00
simon 72924fab66
bump yt-dlp, #433 2023-02-17 20:25:21 +07:00
simon 72f091b85e
fix download filter for ignored videos, #401 2023-02-17 14:04:52 +07:00
simon a34c9479f2
use channel from queue for download query filtering, #431 2023-02-17 12:21:00 +07:00
simon 162c05628c
rename PendingInteract youtube_id kwargs 2023-02-17 10:26:10 +07:00
simon 1125c0c4bf
handle malformed thumbnail download, #430 2023-02-17 09:17:04 +07:00
simon 0e5421a558
bump django 2023-02-17 08:37:38 +07:00
simon 5ec0636807
[API] add filter subscribed to channel list 2023-02-14 11:12:58 +07:00
simon 6641db3e7e
skip empty comment, #429 2023-02-13 12:42:55 +07:00
simon 77c26134d1
add print for thumbnail fallback, #425 2023-02-13 12:15:12 +07:00
simon ef685ecb42
handle PIL error empty thumbnail image, #425 2023-02-13 11:55:47 +07:00
simon df1018e70c
bump redis 2023-02-11 18:24:41 +07:00
simon 0658424b94 Merge branch 'master' into testing 2023-02-11 17:29:09 +07:00
p0358 d1b5644c63
refresh /progress more often (3000 ms => 500 ms) (#427) 2023-02-11 17:28:46 +07:00
lamusmaser 4936f2fdf2
412 fix `vid_type` with downloads (single and bulk) (#413)
* update TA_VERSION v0.3.2

* Update `single_download` task to request proper `vid_type`.

* Modify `single_download` to match bulk download.

* pr 413: undo TA_VERSION update

---------

Co-authored-by: simon <simobilleter@gmail.com>
2023-02-11 17:07:36 +07:00
simon 0fcd6c086b
add kip log output for is_upcoming or is_live 2023-02-10 22:16:04 +07:00
simon fa46b30e61
add unstable footer 2023-02-03 15:26:14 +07:00
Krzysztof Olszewski 2acaeb34db
#409:Ability to visit source URL for preview from download queue (#422) 2023-02-03 15:17:16 +07:00
simon f8b0977a7f
fix linter 2023-02-03 14:57:57 +07:00
simon 4bab1a9815
bump django 2023-02-03 14:50:59 +07:00
simon ce7adfee3a
disable backup, enable snapshot 2023-02-03 14:50:41 +07:00
simon a350d735be
commit migrations 2023-02-02 14:19:06 +07:00
simon 3f86786ee8
reduce comments log output 2023-02-02 14:14:32 +07:00
simon 2d942fe9b5
load defaults for schedule builder at startup 2023-02-02 13:06:00 +07:00
simon f18e2ce599
remove old startup class 2023-02-02 12:46:54 +07:00
simon 08350181f3
create ta_startup manage.py command 2023-02-02 12:43:02 +07:00
simon 114c7c2811
return new version in is_updated 2023-02-02 12:06:24 +07:00
simon 83057d9e54
return files clearded from clear_dl_cache 2023-02-02 10:46:59 +07:00
simon d73a131616
extend timeout 2023-02-01 16:06:40 +07:00
simon 1b5a810520
finalize connection check manage.py command 2023-02-01 16:05:29 +07:00
simon 2f685859cf
bump bs4 lib 2023-02-01 15:27:28 +07:00
simon cacf6e43b8
add envcheck and basic connection check startup command 2023-01-28 08:37:58 +07:00
simon 991ab6a2bd
bump requests lib 2023-01-27 20:13:33 +07:00
simon 3602ec4560
update TA_VERSION v0.3.2 2023-01-16 11:38:34 +07:00
simon bf5a93dae0
update TA_VERSION unstable 2023-01-16 09:59:56 +07:00
simon 4d65d45a59
disable shorts or streams for channels, #405 2023-01-16 09:51:03 +07:00
simon c75ef72e74
fix linter 2023-01-16 09:22:47 +07:00
simon 5d0689abba
fix startup schedule builder for new installs, #408 2023-01-16 09:13:58 +07:00
simon c0e36133a1
remove timeouts on ES connection 2023-01-14 13:21:50 +07:00
simon 89ac53083f
fix startup lock race 2023-01-14 12:42:22 +07:00
simon 18acf22d2e
update TA_VERSION 2023-01-14 09:35:09 +07:00
simon d6a861118f
better watched state log output 2023-01-14 08:51:10 +07:00
simon 18a4484fa8
fix reindex logic when not using cookies 2023-01-13 15:19:11 +07:00
simon f665a1c7f5
fix unknown videos at startup 2023-01-12 20:46:41 +07:00
simon 092c467a2e
default to videos vid_type in get_youtube_details 2023-01-12 16:49:45 +07:00
simon 8db361cc88
channel fullscan to fix vid_type in refresh task 2023-01-11 23:06:02 +07:00
simon 00d7c33af6
randomize version_check schedule 2023-01-11 22:00:44 +07:00
simon 7d2bdc58ba
bump libraries 2023-01-11 22:00:24 +07:00
simon d033573bd6
hide empty shorts and streams from page 2023-01-07 18:12:09 +07:00
simon 9a526f93f4
fix reindex active_key 2023-01-07 15:53:32 +07:00
simon 5888e5442a
set default streams and shorts channel size to 50 2023-01-07 15:51:58 +07:00
simon d5885273ac
detect any shorts before adding to queue 2023-01-07 15:41:11 +07:00
simon db4798754a
match streams type with was_live 2023-01-07 09:58:53 +07:00
simon 646bc1b12e
filter by vid_type for add to download queue 2023-01-07 09:45:01 +07:00
simon d9f73622a5
refactor UrlParser into own module, rename enum fields 2023-01-06 15:37:55 +07:00
simon cd8b8aafc6
bump libraries 2023-01-06 13:47:17 +07:00
simon e299308711
match VideoTypeEnum with yt channel paths 2023-01-06 10:11:52 +07:00
simon eccad8968b
add unknown field to VideoTypeEnum 2023-01-04 11:54:39 +07:00
simon 72e9234b2b
fix playlist validator only validating active playlists 2023-01-04 08:24:18 +07:00
simon eb812d2b0a
add timeouts 2023-01-02 22:16:20 +07:00
simon ce4288ff66
add is_short standalone helper function 2023-01-02 21:36:08 +07:00
simon 14d5a7ee1a
fix progress bar and video-tags overlap 2023-01-02 21:27:49 +07:00
simon 0c8830793c
add vid_type tag to queue thumb 2023-01-02 17:44:02 +07:00
simon 46229db64c
[API] add download now endpoint, fix vid_type 2023-01-02 16:50:53 +07:00
simon 7941b0412b
set vid_type for pending items in ta_download 2023-01-02 13:28:49 +07:00
simon 3db6077adf
bump pillow 2023-01-02 13:28:07 +07:00
simon d690c4591c Merge branch 'master' into testing 2023-01-02 10:11:53 +07:00
Chance Turner 98f5b66826
Lives and shorts (#395)
* Initial shot at adding in live and short videos

* Fix for typo on config variable names

* Remove was_live youtube flag

* Adding startup script to support setting vid_type on ta_video for videos created prior to support for live and shorts

* Linting updates

* More linting fixes

* Removing title variable from loop tuple unpacking
2023-01-02 10:11:06 +07:00
simon 43a41973d9
fix missing run method call 2022-12-31 16:06:33 +07:00
simon 00379bfe26
fix cookie validate bool logic 2022-12-31 15:35:58 +07:00
simon 34ed6ebc63
fix sponsorblock segments parser, #397 2022-12-31 11:17:11 +07:00
simon 73e1bba541
fix refactor codelist init 2022-12-23 23:00:35 +07:00
simon 599dd26b53
refactor comment interface into reusable CommentList class 2022-12-23 22:34:25 +07:00
simon 0b60377e19
cleanup, fix lint 2022-12-23 20:43:36 +07:00
simon 6ed2308f99
[API] add watched state endpoints 2022-12-23 20:39:14 +07:00
simon a2e2fd1b89
add missing trailing / for endpoints docs 2022-12-23 11:08:30 +07:00
simon 09556dbf21
switch deleteQueue to API call 2022-12-22 19:57:19 +07:00
simon 470ecb007d
switch re-add to queue to API call 2022-12-22 19:48:24 +07:00
simon 8af10f8c07
switch ignore to API call 2022-12-22 19:42:59 +07:00
simon 7a9f5e5685
[API] add and use DELETE channel endpoint 2022-12-22 19:24:48 +07:00
simon bad4b48573
switch forget ignored to API call 2022-12-22 19:12:09 +07:00
simon db21ee8bcb
[API] add and use DELETE video endpoint 2022-12-22 19:01:13 +07:00
simon 63f35b19fe
register version_check schedule 2022-12-22 11:17:06 +07:00
simon ef44cb852c
add new version notification to UI 2022-12-21 18:26:32 +07:00
simon ae6bb4e757
consolidate min var initiate for simple views 2022-12-21 17:44:28 +07:00
simon 5244cddeb3
add version_check background task 2022-12-21 14:24:24 +07:00
simon fff389359a
update unstable TA_VERSION 2022-12-21 12:06:35 +07:00
simon 4cccb73812
use timestamp() instead of strftime 2022-12-19 15:05:47 +07:00
simon e804dd1aec
continue indexing if comment indexing failes, #383 2022-12-19 14:59:07 +07:00
simon f45a3095cb
fix cast, use ENABLE_CAST env var to enable, #331 2022-12-19 14:43:10 +07:00
simon 3b4969dcea
distinct between none and false comments 2022-12-19 14:12:48 +07:00
simon 18f6455eb2
add reindex buttons to templates 2022-12-19 13:04:53 +07:00
simon 71dd63d3f0
[API] implement refresh GET and POST endpoints 2022-12-19 11:24:37 +07:00
simon 21028d4e25
dict better REINDEX_CONFIG datatype 2022-12-12 18:21:31 +07:00
simon 2753ce93a2
add contains to RedisQueue 2022-12-12 18:01:02 +07:00
simon 3b3d151ec3
add reindex task lock, implement add to running queue 2022-12-12 17:33:57 +07:00
simon 018b578982
[API] add reindex endpoing 2022-12-11 17:13:07 +07:00
simon 0f6bc3a420
refactor check_reindex task for ReindexManual 2022-12-11 15:56:44 +07:00
simon 617790b68f
add ReindexManual to control reindex from API 2022-12-11 15:39:40 +07:00
simon 762a0fe8a1
add default sort _doc in IndexPaginate 2022-12-11 14:57:39 +07:00
simon 0d21bfe929
refactor Reindex to use RedisQueue 2022-12-11 12:03:21 +07:00
simon abc3150f59
bump libraries 2022-12-11 12:02:38 +07:00
simon 49b120ed2b
refactor RedisQueue to take a queue_name arg 2022-12-10 14:51:17 +07:00
simon 2ad9448dfa
update discord link to redirect 2022-12-03 09:37:31 +07:00
crocs 5c63d3cdc6
fixed discord links (#374) 2022-12-03 08:04:14 +07:00
simon bf6cd01d80
hotfix: garantee new redis vars at startup, #372 2022-12-02 15:45:46 +07:00
simon c06f6c68b4
fix empty comment reindex 2022-12-01 18:13:04 +07:00
simon 40c4ad1f30
add similar videos api endpoint docs 2022-11-30 09:23:21 +07:00
simon e98d2d3590 bump footer version 2022-11-30 08:52:45 +07:00
3ster 61ccb1c47a
Fix example format specifier for iOS-compatible downloads (#370) 2022-11-30 08:50:56 +07:00
simon f192c39be8
make snapshot before mapping changes 2022-11-27 18:01:57 +07:00
simon f1b89345e2
refactor ElasticBackup and ElasticIndex for better startup handling 2022-11-27 15:41:59 +07:00
simon f6c702fba7
refactor and run clear_dl_cache at startup 2022-11-25 18:49:36 +07:00
simon f619a5f72d
fi none existing unset channel overwrite, #362 2022-11-25 18:18:02 +07:00
simon f7dd77ee3e
bump redis 2022-11-25 15:58:43 +07:00
simon 0f41c54406
fix linebreak for comments header 2022-11-25 15:58:35 +07:00
simon 13d1927840
clean up API logging 2022-11-24 11:11:36 +07:00
simon d0124c1a5c
update yt-dlp, fix channel entries extractor 2022-11-22 19:11:58 +07:00
simon 5ed80d983d
fix deactivated comment extractor 2022-11-22 18:01:27 +07:00
simon 90258e75e6
add notification for comment indexing 2022-11-22 11:23:34 +07:00
simon b48b7c7e72
fix channel deactivation, take 2 2022-11-22 10:17:44 +07:00
simon 454d520394
standard video thumb path building 2022-11-21 15:50:01 +07:00
simon ee5f83e89f
add player-wrapper to video.html 2022-11-21 15:31:54 +07:00
simon fa518c029c
frontend similar videos 2022-11-21 15:13:37 +07:00
simon aa1d0b759e
[API] implement similar video endpoint 2022-11-21 15:13:15 +07:00
simon abfd109203
hide comment box overflow 2022-11-21 15:05:28 +07:00
simon ebf53f6486
fix channel deactivation 2022-11-21 14:55:47 +07:00
simon 41ea0c2c58
better padding for comment reply threads 2022-11-21 10:38:30 +07:00
simon acb24e38a6
add tag cloud to video page, short rating 2022-11-21 10:27:28 +07:00
simon a1fbc0b436
fix linter 2022-11-21 10:05:28 +07:00
simon e052935e2d
add comment reply toggle 2022-11-21 09:55:33 +07:00
simon b3d3ebe9d0
fix channel_last_refresh mapping for date math 2022-11-20 20:38:10 +07:00
simon d05c00aac6
fix playlist deactivate for refresh 2022-11-20 16:26:54 +07:00
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