191 Commits

Author SHA1 Message Date
0411b14c5c
add synchronous channel subscribe frontend, #862 2025-01-08 16:06:23 +07:00
d79fbcd168
fix video button layout 2025-01-08 15:35:02 +07:00
MerlinScheurer
6b87f2d0fc Refac use Routes constant for logout 2025-01-07 19:09:07 +01:00
daf09fcc33
refac, useApiClient for loader and actions 2025-01-07 23:13:48 +07:00
d33917b541
fix playlist detail filter bar 2025-01-07 10:02:48 +07:00
09ef342de7
fix linter 2025-01-07 09:48:45 +07:00
MerlinScheurer
5abe2d0548 Refac inline player scroll behaviour 2025-01-06 19:21:17 +01:00
MerlinScheurer
71797b5050 Fix eslint config 2025-01-06 19:04:41 +01:00
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
MerlinScheurer
0eca242fd6 Fix run prettier on all files again 2025-01-03 18:11:20 +01:00
MerlinScheurer
bd48b17f9a Refac remove unused import 2025-01-03 18:09:13 +01:00
ec18731b61
split info box items 2025-01-03 22:41:49 +07:00
c4b981fb7c
fix spacing 2025-01-03 21:38:11 +07:00
1177aa5699
refac channel about page settings, #852 2025-01-03 19:05:25 +07:00
be20d56d05
use view style home for channel video list, #854 2025-01-03 11:05:23 +07:00
MerlinScheurer
e8ae261a10 Fix download notification message can be string instead of array 2025-01-01 13:37:08 +01:00
MerlinScheurer
25739a1162 Fix react error about input switching from uncontrolled to controlled 2025-01-01 13:02:29 +01:00
MerlinScheurer
d0b4f6cdbf Fix read correct view style from config on channel video page 2025-01-01 12:49:58 +01:00
MerlinScheurer
8e463a818a Fix do not store user config on page change 2025-01-01 12:49:14 +01:00
MerlinScheurer
2857f49915 Refac remove unused logout page 2025-01-01 12:22:00 +01:00
fc88ed912c
fix lower case route 2025-01-01 15:30:38 +07:00
86232b8628
handle logout, #855 2025-01-01 15:26:23 +07:00
MerlinScheurer
20e3b7b7ff Refac improve inline embeddable player functionality 2024-12-27 19:31:45 +01:00
MerlinScheurer
3d43ade857 Fix Filterbar causing userconfig to be overwritten on playlist page 2024-12-27 18:23:49 +01:00
MerlinScheurer
bb67c7e1ab Fix Filterbar causing userconfig to be overwritten on page view 2024-12-27 18:13:58 +01:00
MerlinScheurer
4f8eb4462c Refac split playlist subscribing input by line break and send ids in bulk 2024-12-27 17:33:01 +01:00
MerlinScheurer
e87ee7bf72 Refac split channel subscribing input by line break and send ids in bulk 2024-12-27 17:27:59 +01:00
MerlinScheurer
d6235fd272 Refac split download input by line break and send ids in bulk 2024-12-27 17:00:24 +01:00
MerlinScheurer
1ca34400f0 Refac remove loadVideoProgressById 2024-12-23 15:56:56 +01:00
1393d6886e
use Fragment instead of div 2024-12-23 16:46:58 +07:00
058dda7de4
ensure unique key for skipped message map 2024-12-23 11:53:59 +07:00
f8a0577451
fix none type volume and speed reading 2024-12-23 11:46:38 +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
Merlin
b269f6ad90
Fix download aggs refresh only on video finished (#800) 2024-11-08 12:15:56 +07:00
Merlin
c008e1bfba
Fix refresh post body (#799) 2024-11-08 12:13:25 +07:00
Merlin
37389e91f5
Refac move sponsorblock into video endpoint (#787) 2024-08-23 23:42:13 +07:00
Merlin
6d27b69799
Refac update appsettings endpoint to flatten request body json (#788) 2024-08-23 23:35:07 +07:00
Merlin
867ed999ee
Add default colors to errorpage (#786) 2024-08-23 23:28:07 +07:00
Merlin
3aea299889
Fix return type on updateUserConfig (#785) 2024-08-23 23:25:28 +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