Commit Graph

627 Commits

Author SHA1 Message Date
Sean Norwood
85f1a62e84 chore: protect pages with auth 2022-04-13 18:08:32 +00:00
Sean Norwood
6bf77b05aa chore: add login page 2022-04-13 18:08:19 +00:00
Sean Norwood
3efd651db3 feat: add playlist page 2022-04-13 18:08:07 +00:00
Sean Norwood
6e4bb5b805 Merge branch 'testing' of https://github.com/bbilly1/tubearchivist into feat/react-frontend 2022-04-13 15:10:33 +00:00
c59c1fc007
improved sponsorblock indexing, #build
Changed:
- improved more flexible sb timestamps indexing
- fixed per channel sb activate/deactivate
- improved Dockerfile with multi stage build
- added playlist API list view
2022-04-13 15:56:05 +07:00
3007e02fe5
fix per channel sb integration 2022-04-13 15:53:00 +07:00
Nathan DeTar
39c4bd8883
Adjust to API changes for SB integration. (#222) 2022-04-13 10:30:32 +07:00
cd3e9dd024
add playlist API list view 2022-04-13 09:51:15 +07:00
Sean Norwood
e4f5741c0f chore: channel data can be undefined for now 2022-04-12 19:24:57 +00:00
Sean Norwood
678aacb696 chore: use react query with initial state loaded from nextjs 2022-04-12 19:18:16 +00:00
Sean Norwood
bdc0c93c09 Merge branch 'testing' of https://github.com/bbilly1/tubearchivist into feat/react-frontend 2022-04-12 15:06:18 +00:00
8edde732b6
improved sponsorblock key with additional metadata 2022-04-12 17:47:13 +07:00
3df1df8b5a
set explicit mappings for sponsorblock key 2022-04-12 17:45:06 +07:00
385f53372c
bump django 2022-04-11 17:57:29 +07:00
Ainsey11
a8ee0da2b8
Addiing clarification on when the speed limit change takes effect (#218)
Relates to https://github.com/bbilly1/tubearchivist/issues/216 

Speed limits work as designed, however the wording in the tooltip is a little unclear to newer users about when the speed limit takes effect on their downloads
2022-04-10 22:33:00 +07:00
Nathan DeTar
c316d05549
Added sponsorblock skipping (#208)
* Added sponsorblock skipping.

* Basic framework for sending SB timestamps

* Sponsorblock send timestamp UI improvements

* Added Sponsorblock Icons

* Minor UI tweaks

* Revert UI changes, implement in new UI

* Added notification when sponsor segment is skipped

* Add formatting for notifications & SB messages

* Added SB messages to JS player

* Added SB skip notifcation to videos page.

* Added SB messages to video page

* Change SB messages.

* Check channel_overwrites

* Check Per Channel Settings.

* Cleanup
2022-04-10 16:20:58 +07:00
31378ac756
better generic schedule validator for impossible input, #209 2022-04-10 15:58:11 +07:00
10385b1414
bump bs4 2022-04-10 15:57:15 +07:00
d8c7b3df0b
better error message for wrong es version, #197 2022-04-09 14:12:03 +07:00
99e0c1c90e
bump yt-dlp 2022-04-08 23:15:58 +07:00
236215cc4c
add config var to video.html template 2022-04-08 22:10:16 +07:00
552636d882
handle 404 in video item API view 2022-04-08 17:55:24 +07:00
9d73dbc45a
implement video overwrites index for sponsorblock 2022-04-08 17:19:25 +07:00
859bf2a28d
add target _blank to external links 2022-04-08 17:18:33 +07:00
365ebf53a5
implement per channel sponsorblock 2022-04-08 17:17:39 +07:00
fe3e3cfacc
fix filenotfounderror for missing subtitles when deleting video 2022-04-08 15:56:34 +07:00
efa240440b
fix userspace for vide base config 2022-04-08 15:15:59 +07:00
e2f4dd124a
bump beautifulsoup4 2022-04-08 15:15:37 +07:00
Sean Norwood
193c3da8ef chore: potentially use plaicholder to create blurred placedholder images 2022-04-07 22:55:10 +00:00
Sean Norwood
be0c098ef9 chore: add channel page and clean up some code 2022-04-07 22:54:15 +00:00
Sean Norwood
cb3a7e555b chore: setup video list to use blurred placeholders for thumbnails 2022-04-07 22:53:01 +00:00
Sean Norwood
9608c892a9 chore: fix up nav
Next requires links to use next/link
Fixed Icon sizes
2022-04-07 22:52:28 +00:00
Sean Norwood
8616959fee chore: render tab title correctly 2022-04-07 22:51:40 +00:00
Sean Norwood
67fec4ae5e chore: use the nextjs way for fonts 2022-04-07 22:51:23 +00:00
Sean Norwood
9ddb651180 Merge branch 'testing' of https://github.com/bbilly1/tubearchivist into feat/react-frontend 2022-04-07 17:31:27 +00:00
a07d789e66
add base64 blur video thumb 2022-04-08 00:29:09 +07:00
6a1cb15114
validate hours to not be greater than 23, #209 2022-04-07 23:02:07 +07:00
b1a7a6a148
use cleaned_data for config form parser 2022-04-07 22:30:20 +07:00
Sean Norwood
4e4db8f0ae chore: don't need to load script.js anymore 2022-04-06 18:48:12 +00:00
Sean Norwood
42ff29c13d chore: use env var for api url 2022-04-06 18:31:05 +00:00
Sean Norwood
d86cf81719 chore: update video list
* Store current video in local state temporaily
* Default to list view temporarily
* Implements the video list and video player with basic funtionality
2022-04-06 18:29:04 +00:00
Sean Norwood
99316eeee8 chore: update links to next/link 2022-04-06 18:27:18 +00:00
Sean Norwood
9988779f3a Merge branch 'master' of https://github.com/bbilly1/tubearchivist into feat/react-frontend 2022-04-05 16:24:16 +00:00
a84e657577
add documentation for sponsorblock api endpoints 2022-04-05 22:27:55 +07:00
03dd25cff4
implement vote on sponsorblock segments api 2022-04-05 22:25:40 +07:00
286b1cf9b6
simulate sponsorblock post request 2022-04-05 21:51:45 +07:00
bace7d41af
add random string generator helper function 2022-04-05 21:51:10 +07:00
738b083a7f
create dedicated SponsorBlock class to handle integration 2022-04-05 21:50:40 +07:00
1ac92254ad
add global vars for version and url 2022-04-05 18:43:15 +07:00
e404bac7c3
bump celery 2022-04-05 18:35:06 +07:00
Sean Norwood
cfffa8bd38 chore: just render api data for now 2022-04-04 19:57:27 +00:00
a8b62e5cdc better error message on sponsorblock fail 2022-04-04 23:28:32 +07:00
730d12212f implement basic sponsblock indexing, #119 2022-04-04 23:28:32 +07:00
29f8e148da bump libraries 2022-04-04 23:28:32 +07:00
Sean Norwood
97c01a2f3a chore: type info for api 2022-04-04 02:52:23 +00:00
Sean Norwood
9284b93f2a chore: start laying out the home page
* Use the layout component
* Use SSR to get videos from API
2022-04-04 02:52:03 +00:00
Sean Norwood
4fa8cd89e2 chore: external script work and comments 2022-04-04 02:51:16 +00:00
Sean Norwood
a129e737d2 chore: add static images 2022-04-04 02:50:54 +00:00
Sean Norwood
8b10fd9302 chore: add various components
* Footer
* Head
* Layout
* Nav
* VideoList
2022-04-04 02:50:43 +00:00
Sean Norwood
7ac6e6c26b chore: use correct typescript version for eslint 2022-04-03 20:04:53 +00:00
Sean Norwood
2c4ab1bb42 chore: use new components 2022-04-03 20:04:28 +00:00
Sean Norwood
73106fc74a chore: add external scripts 2022-04-03 20:04:17 +00:00
Sean Norwood
3c4c15a8e3 chore: move dynamic header component to header file 2022-04-03 20:03:47 +00:00
Sean Norwood
62c219c2de chore: add custom head element 2022-04-03 20:03:30 +00:00
Sean Norwood
734078c5d7 Merge branch 'master' of https://github.com/bbilly1/tubearchivist into feat/react-frontend 2022-04-03 18:33:10 +00:00
Sean Norwood
3870a54d2e chore: enable streaming ssr 2022-04-03 00:28:12 +00:00
Sean Norwood
cf9181919a chore: initial suspense setup 2022-04-03 00:27:33 +00:00
Sean Norwood
ad67cb00e2 chore: remove console log 2022-04-03 00:27:00 +00:00
Sean Norwood
eec288af5f chore: add external js files 2022-04-03 00:26:53 +00:00
Sean Norwood
d880f95c44 chore: header component 2022-04-03 00:26:42 +00:00
Sean Norwood
1e3087c245 chore: update to react 18 2022-04-03 00:26:30 +00:00
cae00b032b return better data for ping api, add to readme 2022-04-01 16:24:40 +07:00
9ab6955125
add connection test api view 2022-03-31 21:13:21 +07:00
46622d9ab2
bump redis lib 2022-03-31 21:13:04 +07:00
Sean Norwood
1b5534b6d4 Initial React frontend work
Uses NextJS as a React framework
Initial import of assets in `public/`:
* css/
* favicon/
* img/

Initial authentication work
* Use next-auth CredentialsProvider to pull user information from TA
* Add sign in and sign out functionality using default next-auth
login page

TODO
* Custom login page
2022-03-29 17:19:24 +00:00
6f5969f520
add video list api view 2022-03-29 17:05:22 +07:00
0c8fa8f49e
clean up prints 2022-03-29 17:03:34 +07:00
80af255f25
reinvent SearchProcess class for API endpoints 2022-03-29 16:48:04 +07:00
cdc617c382
add datestr generator 2022-03-29 16:47:21 +07:00
f1fb504874
fix spacing 2022-03-29 10:33:43 +07:00
5dce2441fa
add API login view 2022-03-29 10:17:47 +07:00
5d8e314983
be more explicit what you are searching now 2022-03-28 12:43:57 +07:00
358194468e
increase version to v0.1.3 2022-03-26 19:47:50 +07:00
f15bb50cfe
fix playlist reindex after PendingList refactor 2022-03-26 18:31:00 +07:00
fcadb5ead8
add random headers for requests outside of yt-dlp 2022-03-26 11:49:53 +07:00
a0ed88580f
fix index validate_mappings for new nested object 2022-03-26 10:52:57 +07:00
40d7e6da37
add secondary sort for channel and title, #193 2022-03-25 17:28:17 +07:00
bcf9185bd3
implement es version check at startup 2022-03-25 15:33:09 +07:00
337b373628
improve build to install debug tools in testing 2022-03-24 19:54:47 +07:00
59d58f8866
bump redis version 2022-03-24 19:51:45 +07:00
d0f826485f
move and rename configure button 2022-03-24 16:10:40 +07:00
d5cd90eb34
style and toggle hide overwrite form 2022-03-24 15:43:15 +07:00
8d1d09e698
extend IndexPaginate to optionally return _source key 2022-03-23 17:17:42 +07:00
fb4c11bd38
refactor ElasticIndex and ElasticBackup to use ElasticWrap and IndexPaginate 2022-03-23 17:17:17 +07:00
bfcc538ed1
fix concurrency issue with subtitle indexing 2022-03-23 16:20:33 +07:00
912c19f6cf
use ElasticWrap in FilesystemScanner 2022-03-23 15:56:53 +07:00
fda520ad44
refactor and consolidate Reindex class 2022-03-23 15:48:38 +07:00
1f7d6871cf
use ElasticWrap to delete item from pending 2022-03-23 11:09:21 +07:00
5b1c9c64de
cleanup, use ElasticWrap 2022-03-23 09:44:31 +07:00
f802c4d596
remove logging 2022-03-22 18:43:29 +07:00