Commit Graph

268 Commits

Author SHA1 Message Date
MerlinScheurer d9b5576534 Refac overwrite scrollIntoView default for consistency 2025-03-04 19:01:48 +01:00
MerlinScheurer 934c92421f Refac make DownloadListItem key more unique 2025-02-24 19:03:55 +01:00
MerlinScheurer b4c6b52f32 Fix playback speed from localstorage and then modifying speed 2025-02-24 18:57:50 +01:00
Simon ab83bd9b16
optional channel_tags key 2025-02-23 19:22:20 +07:00
Simon 5751f13385
ignore keyboard events with modifier 2025-02-21 23:42:13 +07:00
Simon 60724df45a
fix channel about response type 2025-02-21 23:17:19 +07:00
Simon dfddf8cb4d
bump node packages 2025-02-18 22:24:55 +07:00
Simon 598fa4e674
fix custom playlist endpoints 2025-02-17 20:34:44 +07:00
Simon 3085fbf348
fix DownloadAggsType 2025-02-17 20:20:47 +07:00
Simon cfcb4e6f9e
fix empty channel tags conditional 2025-02-17 17:53:29 +07:00
Simon 711488b471
fix similar videos response type 2025-02-17 17:45:55 +07:00
Simon 3b78a9868d
serialize subtitles and playlists to empty list 2025-02-17 17:38:29 +07:00
Simon 59cc177913
handle expected empty response 2025-02-17 17:23:26 +07:00
MerlinScheurer 8a08e7dcca Refac move PlaylistType into loader and fix new response type 2025-02-16 13:19:21 +01:00
MerlinScheurer 03279979f9 Chore update frontend dependencies 2025-02-16 12:47:14 +01:00
MerlinScheurer b33527adc2 Fix several response types and responses and add AppSettingsStore 2025-02-16 12:42:56 +01:00
MerlinScheurer 718d379c3c Fix Video Thumbnail fallback in DownloadListItem 2025-02-16 11:54:17 +01:00
MerlinScheurer 0f61a6272f Fix video thumbnail fallback 2025-02-15 11:42:08 +01:00
Simon 46c974c078
better partial config update 2025-02-14 16:31:12 +07:00
Simon b7eabf02ce
fix login status response 2025-02-14 15:37:25 +07:00
MerlinScheurer 9a31c2d100 Refac move UserAccountType into loadUserAccount.ts 2025-02-13 20:51:14 +01: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
Simon 1e12a060ce
add progress delete button 2025-02-02 16:43:59 +07:00
Simon a7d11f53a8
disable onPause for progress gt 95% 2025-02-01 23:21:21 +07:00
MerlinScheurer a092744958 Refac skip videoProgress update when currentTime equals video duration 2025-02-01 15:05:53 +01:00
MerlinScheurer 4dafa2f427 Fix only refresh video resposne once 2025-02-01 13:53:04 +01:00
MerlinScheurer 2f1a43df55 Fix only refresh video resposne once 2025-02-01 13:48:29 +01:00
MerlinScheurer 3fcef13f14 Add help dialog to video player 2025-02-01 13:28:19 +01:00
MerlinScheurer ccdef58e1d Add latest frontend folders to README.md 2025-01-31 18:04:02 +01:00
MerlinScheurer 2c8fb72e47 Fix remove unused import 2025-01-31 17:58:41 +01:00
MerlinScheurer 45da47f99b Fix sponsorblock set progress onVideoEnd 2025-01-31 17:56:35 +01:00
Simon 168412724e
fix continue watching none IDs, add showEmbeddedVideo to useEffect 2025-01-31 10:38:10 +07:00
MerlinScheurer 702000a493 Add video player hotkeys 2025-01-30 20:17:30 +01:00
MerlinScheurer b836697e2a Fix missing formatNumbers on dislike count 2025-01-30 20:11:12 +01:00
MerlinScheurer 43bfa1ab93 Refac prepare updating watched state based on progress endpoint 2025-01-30 18:33:46 +01:00
MerlinScheurer 9146ecb82d Refac search reduce debounce time to 300ms and add enter key bypass 2025-01-30 18:12:57 +01:00
Simon 2a331f855c
clear download queue text on submit 2025-01-30 20:29:28 +07:00
Simon 937ff5c92c
debounce search 2025-01-30 20:26:20 +07:00
MerlinScheurer d643e8c573 Fix watched state update for both player styles 2025-01-29 20:10:20 +01:00
MerlinScheurer 4a67da12f7 Fix video player flickering when changing watched state 2025-01-29 20:02:01 +01:00
MerlinScheurer 1c643bef8e Add error message to login 2025-01-29 19:02:36 +01:00
MerlinScheurer 3c06b06960 Refac hide total_hits on channels page until we added total_hits to video list and playlist pages 2025-01-29 18:32:11 +01:00
MerlinScheurer 9e4f9de119 Refac invert filter toggle text to be inline with other pages 2025-01-29 18:31:05 +01:00
MerlinScheurer c2cd02e7bd Fix channel list having 1rem offset, compared to video list entries 2025-01-29 18:17:17 +01:00
MerlinScheurer b78d881bf6 Fix scrollbar causing page flicker/jiggle 2025-01-29 18:07:28 +01:00
MerlinScheurer fe4ee6a2d7 Refac jump to an empty player wrapper when opening the EmbeddableVideoPlayer 2025-01-28 17:41:01 +01:00
Simon 4d23b7dce4
fix mobile settings CSS 2025-01-28 17:52:27 +07:00
Simon 206efc784c
hide 0 comment_likecount 2025-01-28 10:14:15 +07:00
Simon 870582f732
pass showIgnored filter state to channel dl aggs 2025-01-28 10:02:14 +07:00
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