Commit Graph

13 Commits

Author SHA1 Message Date
Simon 0ea4c87b9e
use enums for validation 2025-02-17 18:43:54 +07:00
Simon 46c974c078
better partial config update 2025-02-14 16:31:12 +07:00
Simon 5772ab3e68
serialize user, add account endpoint 2025-02-12 17:31:59 +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 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