Commit Graph

16 Commits

Author SHA1 Message Date
João Ferreira Batista d1da9f2f02
Fixes error message presented in the settins scheduling frontend (#1035)
When you submit an incorrect cron (for example ``0 5``) the frontend doesn't
surface the error message that the API returns, but only the default generic
one. This fix makes it surface when the api returns the message in the error
attribute and not in the message attribute.
2025-08-20 15:34:42 +07:00
Simon 3947653595
add bulk status update in queue 2025-07-06 20:14:56 +07:00
MerlinScheurer edcede5de6 Refac APIClient to return data, error and status as object 2025-03-20 20:30:08 +01:00
Simon a4824497ef handle 404 pages, #890 2025-03-15 16:58:28 +01:00
Simon 5751f13385
ignore keyboard events with modifier 2025-02-21 23:42:13 +07:00
Simon 59cc177913
handle expected empty response 2025-02-17 17:23:26 +07:00
Simon d96ac486e4
split between userConfig and userAccount 2025-02-13 21:43:01 +07:00
Simon c71e1acf74
add error messages to schedule form 2025-02-02 17:29:08 +07:00
MerlinScheurer 702000a493 Add video player hotkeys 2025-01-30 20:17:30 +01:00
MerlinScheurer 43bfa1ab93 Refac prepare updating watched state based on progress endpoint 2025-01-30 18:33:46 +01:00
MerlinScheurer 6b87f2d0fc Refac use Routes constant for logout 2025-01-07 19:09:07 +01:00
Simon daf09fcc33
refac, useApiClient for loader and actions 2025-01-07 23:13:48 +07:00
Simon 09ef342de7
fix linter 2025-01-07 09:48:45 +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
Merlin 83bb7f678b
DRAFT: Add Tubearchivist Frontend React dev docker setup (#768)
* Add development docker-compose file

* Add /new/ path in nginx conf

* Add frontend production setup

* Fix lint

* Refac move prod docker compose into non suffixed file

* Fix run.sh fileendings on windows

* Fix docker file naming consistancies

* Add frontend dev setup

* Add docker compose dev command

* Refac remove docker network

* Fix potential error causes

* Chore update react-router-dom

* Add redirect to login after logout

* Refac allow basic auth for session login in api

* Fix loginresponsetype optional property

* Refac move isAdmin check into page Base

* Refac use node lts for dev container

* Refac remove old setup in readme

* Refac move getisAdmin into loader and rename

* Refac remove manual csrf cookie handing from actions and loader

* Fix post requiring csrf header & cookie

* Fix remove empty files

* Refac revert dockerfile changes

* Refac revert gitatrributes changes

* Refac revert docker changes

* Refac revert nginx changes

* Refac revert docker change

* Refac move frontend into frontend folder

* Add production steps to dockerfile

* Refac implement endpoint renaming

* Refac remove frontend dockerfile

* Add credentials include for dev env

* Fix allow cors with credentials for dev environment

* Fix images in dev mode

* Add credentials for dev mode to all loader and actions, except signin

* Revert cors config

* Revert cors config

* Fix nginx not serving /youtube/

* Fix video url missing api

* Fix media url missing api

* Add application settings page

* Add continue vids

* Add csrf to delete requests

* Refac use api/video endpoint with filter to home, channel, playlist pages

* Add channel nav request

* Add channel playlists

* Fix filterbar for playlist in channel

* Add playlist_nav to video page

* Add downloads aggs

* Refac remove basic auth

* Fix credentials include in signin

* Refac user config to user me config

* Add ApiToken get
2024-08-11 00:53:50 +07:00