Commit Graph

268 Commits

Author SHA1 Message Date
MerlinScheurer 781dd8d2fc Fix embeddable player focus by using useRef 2025-01-27 19:04:49 +01:00
Simon 78528c4260
fix partial implemented refresh for config useEffect, #869 2025-01-27 21:17:42 +07:00
MerlinScheurer cac61d16d6 Chore update frontend dependencies 2025-01-26 19:00:57 +01:00
Simon 4bb34b280f
channel about help 2025-01-26 18:43:14 +07:00
Simon 55aa360c96
add help text to appsettings page 2025-01-26 18:31:31 +07:00
Simon d408b5bb52
add show helptext user config value 2025-01-26 16:18:45 +07:00
MerlinScheurer c62a495f96 Add textbox closing after channel/playlist subscribing 2025-01-12 16:11:00 +01:00
MerlinScheurer 868564ee32 Add async notification to channels and playlists subscription text 2025-01-12 16:04:28 +01:00
MerlinScheurer 5b67d9de24 Refac delete buttons order to be in a row 2025-01-12 15:39:50 +01:00
MerlinScheurer 601f8aff6b Add key to appriseNotification list 2025-01-12 15:29:20 +01:00
MerlinScheurer 5668798677 Add more line breaks in code 2025-01-12 15:15:44 +01:00
MerlinScheurer 08f813a699 Add spacing around buttons in downloadListItem 2025-01-12 15:08:53 +01:00
MerlinScheurer 8526398d49 Refac untie download file and reindex on video page and add spacing 2025-01-12 14:42:12 +01:00
MerlinScheurer 851b499754 Add prepended text to ToggleConfig 2025-01-12 14:32:58 +01:00
MerlinScheurer 6549b52112 Fix playlist autoplay with multiple playlists 2025-01-12 14:27:29 +01:00
MerlinScheurer bd58637ec6 Fix refresh after creating custom playlist 2025-01-12 13:46:51 +01:00
Simon 87cf9fdd53 add success checkbox 2025-01-11 18:49:02 +07:00
Simon 0b9ef62477 remove notifications from player 2025-01-11 18:49:02 +07:00
Simon 457f6a0b87 implement po_token extractor args 2025-01-11 18:49:02 +07:00
MerlinScheurer 73396da7f6 Fix react select option selected warning, #863 2025-01-11 12:33:39 +01: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 5cc40315c4
refac, move ToggleConfig to component 2025-01-10 15:28:17 +07:00
Simon bf38cdc7f0
fix null undefined types 2025-01-09 23:59:29 +07:00
Simon f6b5de00df
refac appsettings page 2025-01-09 22:16:39 +07:00
Simon 1a6f51a122
abstract InputConfig to separate component 2025-01-08 18:05:38 +07:00
Simon 8d4bcb2f4b
use synchronous playlist subscribe update, #862 2025-01-08 16:15:43 +07:00
Simon 0411b14c5c
add synchronous channel subscribe frontend, #862 2025-01-08 16:06:23 +07:00
Simon 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
Simon daf09fcc33
refac, useApiClient for loader and actions 2025-01-07 23:13:48 +07:00
Simon d33917b541
fix playlist detail filter bar 2025-01-07 10:02:48 +07:00
Simon 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
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
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
Simon ec18731b61
split info box items 2025-01-03 22:41:49 +07:00
Simon c4b981fb7c
fix spacing 2025-01-03 21:38:11 +07:00
Simon 1177aa5699
refac channel about page settings, #852 2025-01-03 19:05:25 +07:00
Simon 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
Simon fc88ed912c
fix lower case route 2025-01-01 15:30:38 +07:00
Simon 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
Simon 1393d6886e
use Fragment instead of div 2024-12-23 16:46:58 +07:00
Simon 058dda7de4
ensure unique key for skipped message map 2024-12-23 11:53:59 +07:00
Simon 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