Commit Graph

134 Commits

Author SHA1 Message Date
simon 780115adb6
download and index channel tv art 2023-04-05 21:49:03 +07:00
simon db0ade203a
return task commands to notification backend 2023-03-30 11:39:22 +07:00
simon 8cf41a4043
merge redis backend branch into testing 2023-03-23 11:35:46 +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 259008df50
add notification api endpoint 2023-03-14 15:00:39 +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 4fb5744cb3
clarify API docs add link to readme 2023-03-02 14:58:01 +07:00
simon 666074ed49
refactor download task, consolidate tasks 2023-03-02 14:17:03 +07:00
simon 162c05628c
rename PendingInteract youtube_id kwargs 2023-02-17 10:26:10 +07:00
simon 5ec0636807
[API] add filter subscribed to channel list 2023-02-14 11:12:58 +07:00
simon d9f73622a5
refactor UrlParser into own module, rename enum fields 2023-01-06 15:37:55 +07:00
simon 46229db64c
[API] add download now endpoint, fix vid_type 2023-01-02 16:50:53 +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 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 db21ee8bcb
[API] add and use DELETE video endpoint 2022-12-22 19:01:13 +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 018b578982
[API] add reindex endpoing 2022-12-11 17:13:07 +07:00
simon 49b120ed2b
refactor RedisQueue to take a queue_name arg 2022-12-10 14:51:17 +07:00
simon 40c4ad1f30
add similar videos api endpoint docs 2022-11-30 09:23:21 +07:00
simon 13d1927840
clean up API logging 2022-11-24 11:11:36 +07:00
simon aa1d0b759e
[API] implement similar video endpoint 2022-11-21 15:13:15 +07:00
simon fb046bed5b
[API] implement get comments API view 2022-11-12 12:42:08 +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 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 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
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 155439e228
add api Table of contents 2022-08-17 17:29:04 +07:00
simon fb4d6b7be3
major refactor ThumbManager 2022-08-10 21:03:54 +07:00
simon 74d74d95a1
store validation result, return in API 2022-06-23 06:48:55 +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 2cf30e1127
refactor: default set_message in RedisArchivist to True 2022-06-16 10:37:46 +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 c39f8a9cb8
refactor use cookie io_stream 2022-05-24 15:51:58 +07:00
simon cd139dfc1c
API: add cookie validation view 2022-04-30 19:13:49 +07:00
simon eb7313fe6b
API: add run task view 2022-04-23 20:50:38 +07:00
simon b76f38e0bc
API: fix downloads list sort 2022-04-21 05:45:55 +07:00
simon 1477370376
init data instead of class attribute 2022-04-20 22:51:30 +07:00
simon 04fc6ed26a
API: add pagination 2022-04-20 22:43:07 +07:00
simon d086f63861
API: sort and query filter download view, delete by filter 2022-04-17 20:10:49 +07:00
simon 40bb3e880e
API: implement status update and delete of item in queue 2022-04-17 19:15:40 +07:00
simon eb6d6be3b9
handle 404 in channel-video and playlist-video api view 2022-04-17 10:08:24 +07:00
simon b8ca324aaf
add playlist-video and channel-video api views 2022-04-17 09:58:18 +07:00
simon 7d45d23767
process ta_download search results 2022-04-17 05:21:35 +07:00
simon ef803a157a
standard api key processor for list and single views 2022-04-16 00:37:56 +07:00
simon cd3e9dd024
add playlist API list view 2022-04-13 09:51:15 +07:00
simon 552636d882
handle 404 in video item API view 2022-04-08 17:55:24 +07:00
simon a84e657577
add documentation for sponsorblock api endpoints 2022-04-05 22:27:55 +07:00
simon 03dd25cff4
implement vote on sponsorblock segments api 2022-04-05 22:25:40 +07:00
simon 286b1cf9b6
simulate sponsorblock post request 2022-04-05 21:51:45 +07:00
simon cae00b032b return better data for ping api, add to readme 2022-04-01 16:24:40 +07:00
simon 9ab6955125
add connection test api view 2022-03-31 21:13:21 +07:00
simon 6f5969f520
add video list api view 2022-03-29 17:05:22 +07:00
simon 0c8fa8f49e
clean up prints 2022-03-29 17:03:34 +07:00
simon 80af255f25
reinvent SearchProcess class for API endpoints 2022-03-29 16:48:04 +07:00
simon f1fb504874
fix spacing 2022-03-29 10:33:43 +07:00
simon 5dce2441fa
add API login view 2022-03-29 10:17:47 +07:00
simon 192d379a3e
refacter api views to use ElasticWrap 2022-03-22 18:43:16 +07:00
simon 6078d8d276
add youtube_id to progress api key 2022-02-24 18:55:52 +07:00
simon b8b95f9d79
inheirt VideoProgressView from base class to get auth 2022-02-21 20:59:04 +07:00
simon 241d8326f7
add video progress API endpoints 2022-02-17 18:20:30 +07:00
simon 265795f4a9
add config key to api response 2022-02-17 16:59:59 +07:00
simon 16f33feda0
process subtitle media url paths 2022-02-10 19:45:22 +07:00
simon 91452b5114
remove redundant video player api endpoint 2022-02-05 18:35:02 +07:00
simon 8fe00e2152
process api return values for frontend use 2022-02-05 17:46:14 +07:00
simon 2fc0cbacf5
update doc strings to represent new module structure 2022-01-23 19:32:08 +07:00
simon 0fc0cc8e87
major refactor, split up modules 2022-01-22 22:13:37 +07:00
simon 79b0a989be
new api view to return video player 2022-01-15 14:14:18 +07:00
simon 3df8f65db6
implement cors for browser extension 2022-01-14 14:46:00 +07:00
simon c4a547f407
cleanup and typos 2022-01-11 17:05:04 +07:00
simon b28773b3a0
add exmples, auth docs, and list endpoints 2022-01-11 16:53:58 +07:00
simon 50006e423c
implement channel list and subscribe api 2022-01-11 16:53:02 +07:00
simon 8d5b4ac242
implement api return status code 2022-01-11 16:16:28 +07:00
simon 52a54fbe31
add to queue api endpoint 2022-01-11 15:58:50 +07:00
simon 382e89abb7
implement api token auth 2022-01-11 14:15:36 +07:00
simon 917e73ec4d
new django api app, implementing basic get views 2022-01-10 22:51:52 +07:00