Commit Graph

1056 Commits

Author SHA1 Message Date
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
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
simon 8e8c00af40
implement playlist keyword search, fix channel subscribed keyword 2022-07-20 14:58:04 +07:00
simon ae3cf7eb80
add channel keyword search 2022-07-20 14:48:41 +07:00
simon 0a2b6ee90a
add keyword search framework, implement video search 2022-07-19 19:23:59 +07:00
simon cc2fff8bef
use info_dict for message, simplify cache template, #271 2022-07-18 11:37:43 +07:00
simon 2d13011866
bump yt-dlp 2022-07-18 11:29:28 +07:00
simon b406250ae2
use shutil.copyfile for shutil.move calls 2022-07-17 07:47:27 +07:00
simon ed9237b69d
fix typo 2022-07-17 07:46:52 +07:00
simon 393e00866b
Desc preview, nginx fix, #build
Changed:
- Requires new env var: TA_HOST, hostname of your application
- Showing preview for description text, by @p0358
- Fix nginx user permission, by @p0358
- Refactor IndexPaginate to take loop callback
- Fix backup for large index using loop callback
- Fix deactivating missing channels on reindex
2022-07-16 22:11:29 +07:00
p0358 411b09629a
Better description view for videos and playlists (#272)
* draft

* proper implementation of description line clamping

* use a JS event that's potentially faster for text expand button visibility update

* remove desc title text, move show button after desc

Co-authored-by: simon <simobilleter@gmail.com>
2022-07-16 22:06:26 +07:00
p0358 79996f6838
Fix permission/mount issues from #268 (#270)
* make nginx run as root within the container (#268)

* move file to videos path with fallback to regular copy with no metadata copying (#268)

* use `copy_function=shutil.copy` everywhere with `shutil.move`
2022-07-16 21:54:39 +07:00
simon 6bb7f80ea2
Refactor IndexPaginate
- add callback function
- implement callback for ElasticBackup
2022-07-16 17:55:18 +07:00
simon 3b17c01c6d
add TA_HOST env for ALLOWED_HOSTS 2022-07-14 17:26:10 +07:00
simon 91bccfd057
deactivate non existing channels on reindex 2022-07-12 11:41:03 +07:00
simon 8cca09e0ac
remove ta_json backup file, keep only es_ndjson 2022-07-07 12:34:57 +07:00
simon 831e59a626
bump django 2022-07-04 21:23:32 +07:00
simon 6e012383ab
toggle playlist subscribed filter 2022-07-04 21:12:54 +07:00
simon e988192343
add channel_id_about subheading 2022-07-04 20:44:12 +07:00
simon ef3abd01b1
implement channel_id_playlist, handle channel_id_about post 2022-07-04 20:25:52 +07:00
simon e664338845
implement basic channel_id_about view 2022-07-04 16:44:37 +07:00
simon 63a1237683
temporarily disable es version check for testing 2022-07-04 16:43:13 +07:00
simon 72ec78e011
browser extension as prefered cookie sync method 2022-07-03 16:46:45 +07:00
simon 048409bb1e
bump TA_VERSION to v0.1.7 2022-07-03 16:08:30 +07:00
simon c132a37f03
bump dependencies 2022-07-03 15:30:46 +07:00
simon 4678a7507b
bump dependencies 2022-06-30 18:44:33 +07:00
simon 1857ac44ca
fix tablet css breakpoints and grid spacing 2022-06-27 09:48:36 +07:00
simon 8c07932071
delete cookie:valid key when revoking 2022-06-23 19:21:13 +07:00
simon 74d74d95a1
store validation result, return in API 2022-06-23 06:48:55 +07:00
simon b4add20d10
bump yt-dlp 2022-06-22 19:30:38 +07:00
simon ecc58f6c11
API: note about release lagging behind 2022-06-21 08:10:00 +07:00
simon e5f43e5fe9
API: implement cookie PUT request to import cookie 2022-06-21 08:06:38 +07:00
simon 499c47c7a1
move set_cookie to separate method for reusabliity 2022-06-21 08:01:33 +07:00
simon 2cf30e1127
refactor: default set_message in RedisArchivist to True 2022-06-16 10:37:46 +07:00
simon 30abbe9be7
rewrite cookie into redis from io stream, auto validate 2022-06-15 17:54:05 +07:00
simon 40e4ef0e05
auto expire redis connections after 3600secs 2022-06-15 16:36:41 +07:00
simon 2ceb1b701a
consolidate config of cookie revoke 2022-06-15 15:39:24 +07:00
simon 2ad093a9a8
handle cookiejar.LoadError dont import invalid cookie 2022-06-15 10:39:48 +07:00
simon 09a94d0df5
set relative values directly with path arg 2022-06-15 10:27:29 +07:00
lamusmaser bbb16bb3c2
Update TaskAPIView with GET - #257 PR (#258)
* Initial commit for GET response for TaskAPIView.

* Update for missing space - linting issue.

* Additional linting fixes.

* add is_locked method to check if lock is set

* Update to use `.is_locked` method and add decorator.

* Fix linting issue.

* Fix doubled "rescan" call for locked file.
Removed call to ".owned()" under "is_locked".

* Commenting out GET call in TaskAPI view to revert change for testing.

* Commenting is_locked function to see if Server Response 500 is stopped.

* Reassert is_locked function within RedisArchivist class.

* Create test GET responder.

* Reverting simple GET response change.

* Reapplying simple GET response for `/api/task/`.

* Reapplying change with modification to lock key.

* Documentation update for new GET calls.

* README: fix returned value as `bool` instead of `str`.

* Updating the `is_locked` key reference to "rescan" and "downloading" to fix which key is being retrieved.

* Use dictionary keys, rather than line-by-line statements.

* Fix typo in README for Task View.

Co-authored-by: simon <simobilleter@gmail.com>
2022-06-15 09:15:59 +07:00
simon 4d9ee4494f
bump requests 2022-06-14 14:26:49 +07:00
simon eeeabca8c2
bump dependencies 2022-06-07 17:09:49 +07:00
simon 3504408e70
update TA_VERSION to v0.1.6 2022-06-04 09:47:51 +07:00
simon c41f0a7cc4
try to LOAD_TRUNCATED_IMAGES, #256 2022-06-01 09:04:55 +07:00
simon 5d262d7d48
skip cookie if no config added to YtWrap 2022-05-30 18:22:17 +07:00
simon 231ac1e012
make channel matching optional for reusability 2022-05-30 17:59:52 +07:00
simon cbb714c235
show grid count controls only if applicable 2022-05-30 16:21:24 +07:00
simon c93e935b9c
move delete download queue button to settings page 2022-05-30 16:06:12 +07:00
simon c6d696a91b
timeout search as you type 2022-05-30 15:29:52 +07:00
simon a9b8d34b5a
adapt search width with grid_items 2022-05-30 14:52:47 +07:00
simon 25e2bdb0b7
bump celery version 2022-05-30 14:51:44 +07:00
simon bbb0c26498
fix subtitle delete overwrite, change filename to .lang.vtt, #195 2022-05-29 11:43:25 +07:00
simon 51a45bb59e
implement variable grid row size for playlist_id 2022-05-28 21:48:15 +07:00
simon 0759b4f220
reset mobile variable gird row count 2022-05-28 21:41:17 +07:00
simon 9f92bf95b4
mark video as downloaded false when deleting video 2022-05-28 21:23:56 +07:00
simon e638f8b487
skip subtitle segment without segs key, #249 2022-05-28 17:47:21 +07:00
simon caaed252f9
specify videos page for get_last_youtube_videos of channel 2022-05-28 14:34:01 +07:00
simon 5982932457
implement variable grid row size 2022-05-28 13:57:29 +07:00
simon 9a31243b1c
log message when skipping video 2022-05-28 11:11:09 +07:00
simon 88e526f5e5
refactor new YtWrap class for yt-dlp calls, #build
Changed:
- new yt-dlp base class
- new cookie class using io_stream
- MetadataFromField postprocessors
2022-05-25 16:15:38 +07:00
Clark 730ac15349
Fix #241 Use title/uploader for embedded metadata not Content ID (#252) 2022-05-25 16:13:25 +07:00
simon 0ac9243389
remove unused monitor_cache_dir method 2022-05-24 15:54:41 +07:00
simon c39f8a9cb8
refactor use cookie io_stream 2022-05-24 15:51:58 +07:00