Commit Graph

41 Commits

Author SHA1 Message Date
74d74d95a1
store validation result, return in API 2022-06-23 06:48:55 +07:00
e5f43e5fe9
API: implement cookie PUT request to import cookie 2022-06-21 08:06:38 +07:00
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
c39f8a9cb8
refactor use cookie io_stream 2022-05-24 15:51:58 +07:00
cd139dfc1c
API: add cookie validation view 2022-04-30 19:13:49 +07:00
eb7313fe6b
API: add run task view 2022-04-23 20:50:38 +07:00
b76f38e0bc
API: fix downloads list sort 2022-04-21 05:45:55 +07:00
1477370376
init data instead of class attribute 2022-04-20 22:51:30 +07:00
04fc6ed26a
API: add pagination 2022-04-20 22:43:07 +07:00
d086f63861
API: sort and query filter download view, delete by filter 2022-04-17 20:10:49 +07:00
40bb3e880e
API: implement status update and delete of item in queue 2022-04-17 19:15:40 +07:00
eb6d6be3b9
handle 404 in channel-video and playlist-video api view 2022-04-17 10:08:24 +07:00
b8ca324aaf
add playlist-video and channel-video api views 2022-04-17 09:58:18 +07:00
ef803a157a
standard api key processor for list and single views 2022-04-16 00:37:56 +07:00
cd3e9dd024
add playlist API list view 2022-04-13 09:51:15 +07:00
552636d882
handle 404 in video item API view 2022-04-08 17:55:24 +07:00
03dd25cff4
implement vote on sponsorblock segments api 2022-04-05 22:25:40 +07:00
286b1cf9b6
simulate sponsorblock post request 2022-04-05 21:51:45 +07:00
cae00b032b return better data for ping api, add to readme 2022-04-01 16:24:40 +07:00
9ab6955125
add connection test api view 2022-03-31 21:13:21 +07:00
6f5969f520
add video list api view 2022-03-29 17:05:22 +07:00
80af255f25
reinvent SearchProcess class for API endpoints 2022-03-29 16:48:04 +07:00
5dce2441fa
add API login view 2022-03-29 10:17:47 +07:00
192d379a3e
refacter api views to use ElasticWrap 2022-03-22 18:43:16 +07:00
6078d8d276
add youtube_id to progress api key 2022-02-24 18:55:52 +07:00
b8b95f9d79
inheirt VideoProgressView from base class to get auth 2022-02-21 20:59:04 +07:00
241d8326f7
add video progress API endpoints 2022-02-17 18:20:30 +07:00
265795f4a9
add config key to api response 2022-02-17 16:59:59 +07:00
16f33feda0
process subtitle media url paths 2022-02-10 19:45:22 +07:00
91452b5114
remove redundant video player api endpoint 2022-02-05 18:35:02 +07:00
8fe00e2152
process api return values for frontend use 2022-02-05 17:46:14 +07:00
2fc0cbacf5
update doc strings to represent new module structure 2022-01-23 19:32:08 +07:00
0fc0cc8e87
major refactor, split up modules 2022-01-22 22:13:37 +07:00
79b0a989be
new api view to return video player 2022-01-15 14:14:18 +07:00
3df8f65db6
implement cors for browser extension 2022-01-14 14:46:00 +07:00
50006e423c
implement channel list and subscribe api 2022-01-11 16:53:02 +07:00
8d5b4ac242
implement api return status code 2022-01-11 16:16:28 +07:00
52a54fbe31
add to queue api endpoint 2022-01-11 15:58:50 +07:00
382e89abb7
implement api token auth 2022-01-11 14:15:36 +07:00
917e73ec4d
new django api app, implementing basic get views 2022-01-10 22:51:52 +07:00