Commit Graph

408 Commits

Author SHA1 Message Date
Simon ad7af09159
fix query playlist API 2025-02-13 21:31:05 +07:00
Simon 88132fef3c
add serializers for video 2025-02-12 18:59:56 +07:00
Simon 5772ab3e68
serialize user, add account endpoint 2025-02-12 17:31:59 +07:00
Simon 5498958b36
serialize tasks 2025-02-12 11:16:07 +07:00
Simon b2b25f24ed
serialize stats 2025-02-11 21:32:42 +07:00
Simon 9022817096
serialize playlists, add custom playlist endpoints 2025-02-11 19:22:39 +07:00
Simon 1035bb0947
add playlist list and item serializer 2025-02-10 22:20:54 +07:00
Simon cec09eda8a
add common view serializers 2025-02-10 21:42:46 +07:00
Simon e6bc16693c
document and serialize download views 2025-02-10 18:29:50 +07:00
Simon 6723d6152f
add appsettings serializers and docs 2025-02-09 22:10:29 +07:00
Simon df5a5cf449
add drf_spectacular, type and serialize channel app 2025-02-09 17:41:12 +07:00
Simon 93406ee0a4
add password change command 2025-02-08 00:35:54 +07:00
Simon e351880d48
add DISABLE_STATIC_AUTH env var 2025-02-07 22:30:16 +07:00
Simon 6275e06db2
fix channel extract playlist boundry 2025-02-05 14:45:48 +07:00
Simon 7e19495c10
remove leftover migrations 2025-02-02 18:35:20 +07:00
Simon 8f22d0d9e2
sanitize validate cookie str 2025-02-02 16:41:57 +07:00
Simon 3aa41232db
fix progress inconsistency+ 2025-02-02 16:30:43 +07:00
Simon 847764e440
strip nullbyte from cookie 2025-02-02 15:50:08 +07:00
Simon 2ec81c7ac7
context manager for yt-dlp extract, stricter worker recycle 2025-02-02 15:45:40 +07:00
Simon c41872b6b7
fix subtitle URL building in search processor 2025-02-01 10:51:06 +07:00
Simon 168412724e
fix continue watching none IDs, add showEmbeddedVideo to useEffect 2025-01-31 10:38:10 +07:00
Simon 87b65caf8a
handle is_watched state in backend 2025-01-30 22:02:48 +07:00
Simon 43bd5359ba
sort download queue autostart on top 2025-01-30 20:40:43 +07:00
Simon a5e97cc4b5
cache channel url search results 2025-01-28 17:29:22 +07:00
Simon 0b393304d1
cache cookie validation 2025-01-28 14:57:10 +07:00
Simon 074311339a
sleep on download queue 2025-01-28 10:30:06 +07:00
Simon a49a1d36ff
fix channel extraction metadata error handling 2025-01-28 09:45:23 +07:00
Simon 40198cd799
remove quiet in debug 2025-01-28 09:44:54 +07:00
Simon 5dc25b081c
fix appconfig migration at startup 2025-01-27 17:46:58 +07:00
Simon 73bd392488
parse unix connection string for redis socket 2025-01-27 16:36:19 +07:00
MerlinScheurer a4978f5ae9 fix pre-commit - black 2025-01-26 20:30:29 +01:00
MerlinScheurer 641cc361a2 Fix add port to TA_HOST parsing for cors 2025-01-26 20:22:52 +01:00
Simon ffeb7cd95c
fix CORS headers overwrite 2025-01-27 01:04:55 +07:00
Simon 3dac21c4bc
remove unneded appconfig lookup 2025-01-27 00:38:35 +07:00
Simon f0ab718be0
bump TA_VERSION 2025-01-27 00:36:19 +07:00
Simon 368a9e73d8
bump yt-dlp 2025-01-26 23:03:11 +07:00
Simon d408b5bb52
add show helptext user config value 2025-01-26 16:18:45 +07:00
Simon c633544eac
ensure user config is set 2025-01-26 15:36:17 +07:00
Simon 3bbe91416d
fix none key lookup 2025-01-26 14:35:24 +07:00
Simon 17a00fa361
undo 2025-01-26 14:19:43 +07:00
Simon 34203b70ae
add appsettings sync at startup 2025-01-25 00:54:47 +07:00
Simon a8336ed04d
better error messages for failed index, #858 2025-01-24 21:31:59 +07:00
Simon bde706cc5e Merge branch 'testing' into refactor-react-migration 2025-01-19 09:50:59 +07:00
Simon 351242a7a8 Merge branch 'testing' into refactor-react-migration 2025-01-17 09:39:33 +07:00
Simon 0a46284551 Merge branch 'testing' into refactor-react-migration 2025-01-15 21:56:06 +07:00
Simon ff439a996f
handle migration and restore 2025-01-15 21:53:54 +07:00
Simon 61b53a655a
delay config import for better startup 2025-01-13 17:35:32 +07:00
Simon 1c656f917e
fix playlist subscribe 2025-01-12 21:39:13 +07:00
Simon f85772ca14
implement create custom playlist, #733 2025-01-12 19:16:37 +07:00
Simon c928ec9b97 skip empty video lookup 2025-01-11 18:49:02 +07:00
Simon bb82661d7e fix redundant playlist item remove 2025-01-11 18:49:02 +07:00
Simon cfae159240 immediate cookie write back 2025-01-11 18:49:02 +07:00
Simon 8fc935d805 rand_sleep on playlist refresh loop 2025-01-11 18:49:02 +07:00
Simon 457f6a0b87 implement po_token extractor args 2025-01-11 18:49:02 +07:00
Simon 2474a6a96b consolidate rand_sleep 2025-01-11 18:49:02 +07:00
Simon 21c127d0fa
delay ldap import, take 2 2025-01-11 14:09:29 +07:00
Simon 56b9c8e921
delay LDAPSearch import 2025-01-11 12:01:35 +07:00
Simon 44035187b9
remove old cookie import, #856 2025-01-11 10:55:43 +07:00
Simon d1a42c4b57
handle cookie through text form, #856 2025-01-10 17:09:11 +07:00
Simon daf09fcc33
refac, useApiClient for loader and actions 2025-01-07 23:13:48 +07:00
Simon b83e16f3ab
add playlist/channel detail subscribed update, #862 2025-01-06 22:37:16 +07:00
Simon bc74bf80f4
run pre-commit on all 2025-01-06 21:08:51 +07:00
Simon c9607343e6
Feat global state (#861)
* add zustand, add auth store

* add user config store, isAdmin from store

* move ColourVariants, fix importColours

* get userConfig from store

* fix name conflict

* home filter bar from config store

* use user store for channel list

* use userConfig store for channel pages

* use userConfig for playlist pages

* fix channel video type navigation

* use userConfig update on downloads page

* fix view style in search

* handle initial user config, take 2

* modify userSettings in global state
2025-01-06 19:44:05 +07:00
Simon c42c6a0643
fix channel tags parsing list 2025-01-03 22:34:36 +07:00
Simon 8da027f320
add to queue one instead of bulk 2025-01-03 22:28:51 +07:00
Simon 1fa8ab65c9
comment scrape sleep 2025-01-03 22:07:04 +07:00
Simon 1f74e02c92
fix empty playlist response, #858 2025-01-03 18:02:18 +07:00
Simon 2dbce9da4d
dynamic sleep 2025-01-03 11:41:55 +07:00
Simon 490b61961a remove comment player overwrite 2025-01-03 11:21:45 +07:00
Styloy 6e3a647d6a
add sleep_interval to queue.py (#832)
add sleep_interval to mitigate rate_limiting induced errors when adding videos to queue
2025-01-03 11:21:17 +07:00
Simon a91f2e1b98
bump requirements 2025-01-03 11:04:03 +07:00
Simon 86232b8628
handle logout, #855 2025-01-01 15:26:23 +07:00
Simon 815dac618a handle empty aggs 2024-12-27 23:38:25 +07:00
Simon 69875c42b9
handle failed snapshot created 2024-12-27 21:52:38 +07:00
Simon a4435fdd60
use REDIS_CON for redis connection string 2024-12-23 22:29:52 +07:00
Simon 7dcef45b97
replace uwsgi with uvicorn 2024-12-23 21:53:27 +07:00
Simon e5e51f1a60
add position to progress, remove get progress 2024-12-23 21:34:24 +07:00
Simon c53a706a8e
fix cicular import 2024-12-23 16:44:43 +07:00
Simon 29857a9e3f
match video progress through API 2024-12-23 16:20:57 +07:00
Simon fbd7c19a93
remove dependency on redis json 2024-12-22 22:59:48 +07:00
Simon 7ffa6ff807
remove log 2024-12-22 22:01:28 +07:00
Merlin 5a5d47da9b
Refac react frontend (#790)
* Add channel config endpoint

* Add channel aggs

* Add playlist show subscribed only toggle

* Fix refresh always on filterbar toggle

* Add loadingindicator for watchstate change

* Fix missing space in scheduling

* Add schedule request and apprisenotifcation

* Refac upgrade TypeScript target to include 2024 for Object.groupBy

* WIP: Schedule page

* WIP: Schedule page

* Add schedule management ( - notification )

* Fix missing space

* Refac show current selection in input

* Add apprise notifictation url

* Add Stream & Shorts channel pages

* Refac autotarget input on search page

* Fix input requiring 1 instead of 0

* Fix remove unused function

* Chore: npm audit fix

* Refac get channel_overwrites from channelById

* Refac remove defaultvalues form select

* Fix delay content refresh to allow the backend to update subscribed state

* Fix styling selection

* Fix lint

* Fix spelling

* Fix remove unused import

* Chore: update all dependencies - React 19 & vite 6

* Add missing property to ValidatedCookieType

* Refac fix complaints about JSX.Element, used ReactNode instead

* Refac remove unused dependency

* Refac replace react-helmet with react 19 implementation

* Fix Application Settings page

* Chore update dependencies

* Add simple playlist autoplay feature

* Refac use server provided channel images path

* Refac use server provided playlistthumbnail images path

* Add save and restore video playback speed
2024-12-22 21:59:30 +07:00
Simon 75339e479e
fix API token creating 2024-12-21 10:29:34 +07:00
Simon 42f1679502
fix channel overwrite playlist refresh missing task 2024-12-21 09:57:48 +07:00
Simon dfe8fe2ac0 Merge branch 'testing' into refactor-react-migration 2024-12-20 11:30:36 +07:00
Simon bfeaefc476 Merge branch 'testing' into refactor-react-migration 2024-11-09 11:04:38 +07:00
Simon 2871955b6d
fix linter 2024-11-08 14:22:36 +07:00
Simon 9b45187db4 consolidate channe overwrite endpoint 2024-11-08 14:19:37 +07:00
FunkeCoder23 29ce05b57d
add live url to parser and test (#806)
Co-authored-by: funkecoder23 <funkecoder@DESKTOP-AMVOBPG>
2024-11-08 12:17:31 +07:00
kralverde de24fcd207
add /api/channel/{channel-id}/about/ (#783)
* add /api/channel/{channel-id}/about/

* move testing function

* remove unused import

* fix unused import

* fix formatting

* simplify channel overwrites

* remove unused

---------

Co-authored-by: Simon <simobilleter@gmail.com>
2024-11-08 12:06:08 +07:00
Simon df44c02164 Merge branch 'testing' into refactor-react-migration 2024-11-08 10:56:28 +07:00
Simon d661e9af25 Merge branch 'testing' into refactor-react-migration 2024-10-21 21:05:29 +07:00
Simon 850c2ebf85
clearer error on url parse fail 2024-09-22 11:33:13 +02:00
Simon b4969964fa
remove debug 2024-09-22 10:54:19 +02:00
Simon 39b995fbf1
add get views for schedules, #723 2024-08-23 21:13:00 +02:00
Simon f05d9bd727 Merge branch 'testing' into refactor-react-migration 2024-08-13 08:50:48 +02:00
Simon 4dd7ac496a
return token #718 2024-08-10 19:36:33 +02:00
Simon 5fc8f4d7a5
fix pagination for empty hits return, #732 2024-08-10 19:19:00 +02:00
Simon 975fabf8d1
align post datatype with get 2024-08-10 18:55:50 +02:00
Simon 9202a90970 maybe fix cors headers 2024-08-10 18:20:49 +02:00
Simon 6aa8b8b05b
session login 2024-08-10 18:19:58 +02:00
Simon 37d6a13cbf
ignore csrf on login view 2024-08-10 17:18:00 +02:00
Simon 2ee037c745
fix doc string 2024-08-10 17:16:51 +02:00
Simon 271a595058
add django app overview readme 2024-08-10 16:12:06 +02:00
Merlin b454391d6e
Add ta_update to api ping (#780)
* Add ta_update to api/ping/

* Fix lint
2024-08-10 20:46:21 +07:00
Simon b864813a7b
fix tests 2024-08-03 23:37:23 +02:00
Simon 192d518c2b Merge branch 'refactor-react-migration' into refactor-app-split 2024-08-03 22:10:42 +02:00
Simon a5b492fecd
renamed django app folder to backend 2024-08-03 21:58:22 +02:00