80 Commits

Author SHA1 Message Date
Igor Rzegocki
6a83756fb4
support for auth forwarding proxy 2023-09-25 22:50:39 +02:00
Igor Rzegocki
f423ddc53a
add healthcheck endpoint (#553) 2023-09-22 15:01:47 +07:00
Clark
85b56300b3
Move user configuration from Redis to ES (#533)
* ES Client must bootstrap itself to be the source of config

If this is not done a cyclic loop is created between the config loader and the ES client.
This lays the ground work for ES being the source of all app config.

* auto_download is not used anymore

* Add UserConfig class that encapsulates user config storage

This class will allow the rest of the code to 'not care' about how user properties are stored.
This requires the addition of a ta_users index in ES.

* Create migration task for user config transfer

* Replace getters and setters for each property

Strongly type the user configuration
Migrate missed sponsorblock ID

* Other DB settings will be another PR
2023-09-21 21:46:55 +07:00
dc41e5062d
refactor duration class into separate helper functions 2023-09-04 18:49:10 +07:00
725bba0963
add randint sleep before version check 2023-09-02 16:02:04 +07:00
52d6c59f3f
fix incomplete messages outside of sendprogress task method 2023-08-31 12:16:42 +07:00
41f6a03751
fix typing 2023-08-25 15:00:03 +07:00
68928f5cb1
ignore eaDir folder, use ignore_filelist for clear_dl_cache, #523 2023-08-24 00:02:58 +07:00
3803537739
trigger bgsave on importent redis set_message 2023-08-23 18:35:20 +07:00
c395a949cc
add localhost and tubearchivist to default trusted 2023-07-30 00:13:15 +07:00
4473e9c5b2
add apprise notifications 2023-07-29 23:41:54 +07:00
ef0d490890
[API] change dates to ISO format 2023-07-28 15:56:59 +07:00
lamusmaser
1be80b24c2
Implement #490 - Add version API and add local_version function. (#491)
* Add version API and add local_version function.

* Minor adjustments for linting.

* Add missing newlines for linter.

* Add missing comma to `urls.py`.

* Remove `version/` endpoint.

* Remove the `VersionView`.

* Prepare `PingView` for removal of the `is_static` response.

* Remove the `is_unstable` response from `ReleaseVersion`.

* Readd missing class instantiation for first call of `ReleaseVersion`.
2023-06-28 10:50:28 +07:00
061c653bce
retry get config better startup error handling, #485 2023-06-23 00:15:07 +07:00
66a14cf389
remove unused clean_string 2023-05-20 16:08:43 +07:00
Matthew Glinski
9a38aff03d
Accept members-only/paid-content playlist IDs/URLs (#469)
This adds a new check to the playlist url_id check to allow playlist urls from subscription only content on youtube channels.

The channel I tested on had an ID length of 26 (https://www.youtube.com/playlist?list=UUMOvk0KB4Ue0vfPqvDzjIAwiQ), I am not sure if other lengths are valid here also.

I have tested this on my local install and it is downloading the members only playlist correctly as long as I have valid youtube cookies.
2023-04-28 10:20:49 +07:00
e385331f6c
add typing 2023-04-16 13:59:15 +07:00
a4d42573ef
move DurationConverter to separate module 2023-04-13 17:29:17 +07:00
06c7968070
fix silly host_clean and direct access TA_PASSWORD 2023-04-09 13:35:13 +07:00
a98a30cc85
elaborate TA_HOST parsed, #441 2023-04-09 13:27:47 +07:00
ee4dbf99b3
add type hints 2023-03-31 13:15:30 +07:00
2a0a04ac65
cleanup notifications 2023-03-30 18:20:53 +07:00
db0ade203a
return task commands to notification backend 2023-03-30 11:39:22 +07:00
81701df1c7
speed up comments and channel extraction by disabling format test 2023-03-24 10:21:38 +07:00
33b9a012d4
implement api-stop for download_pending 2023-03-23 10:48:43 +07:00
860213c427
fix empty reply 2023-03-23 09:57:16 +07:00
272972429b
handle hard task reset at startup 2023-03-23 09:49:06 +07:00
db0e362b7d
make update_subscribed stoppable 2023-03-22 17:01:34 +07:00
3bd6075a9b
[API] remove old task endpoint add task-name and task-id 2023-03-22 16:35:25 +07:00
6b7354b14f
refactor reindex task 2023-03-15 16:59:20 +07:00
58530563ce
fix empty is_pending 2023-03-14 15:07:01 +07:00
2d2431364d
handle get single not found 2023-03-08 13:27:37 +07:00
16440a4170
add generic task command handler 2023-03-08 12:31:03 +07:00
1f08ea9eea
handle empty tasks return 2023-03-07 17:31:21 +07:00
5617d1c7ae
sort by date and delete task results 2023-03-02 14:43:05 +07:00
666074ed49
refactor download task, consolidate tasks 2023-03-02 14:17:03 +07:00
6328e316f4
add task manager integration 2023-03-01 18:13:51 +07:00
571c2ce3a4
ensure load_new_defaults for all manage.py commands, #434 2023-02-18 09:20:09 +07:00
2d942fe9b5
load defaults for schedule builder at startup 2023-02-02 13:06:00 +07:00
114c7c2811
return new version in is_updated 2023-02-02 12:06:24 +07:00
83057d9e54
return files clearded from clear_dl_cache 2023-02-02 10:46:59 +07:00
5d0689abba
fix startup schedule builder for new installs, #408 2023-01-16 09:13:58 +07:00
00d7c33af6
randomize version_check schedule 2023-01-11 22:00:44 +07:00
d5885273ac
detect any shorts before adding to queue 2023-01-07 15:41:11 +07:00
d9f73622a5
refactor UrlParser into own module, rename enum fields 2023-01-06 15:37:55 +07:00
ce4288ff66
add is_short standalone helper function 2023-01-02 21:36:08 +07:00
63f35b19fe
register version_check schedule 2022-12-22 11:17:06 +07:00
ef44cb852c
add new version notification to UI 2022-12-21 18:26:32 +07:00
5244cddeb3
add version_check background task 2022-12-21 14:24:24 +07:00
f45a3095cb
fix cast, use ENABLE_CAST env var to enable, #331 2022-12-19 14:43:10 +07:00