Commit Graph

8 Commits

Author SHA1 Message Date
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 86232b8628
handle logout, #855 2025-01-01 15:26:23 +07:00
Simon 975fabf8d1
align post datatype with get 2024-08-10 18:55:50 +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 a5b492fecd
renamed django app folder to backend 2024-08-03 21:58:22 +02:00