1
0
mirror of https://git.sr.ht/~cadence/cloudtube synced 2024-12-22 13:07:00 +00:00
Commit Graph

137 Commits

Author SHA1 Message Date
Cadence Ember
55065e2a9e
11x speed up of subscription page generation
My 30 subscriptions now take 25 ms to generate, instead of around 280.

Around 120 ms were saved by creating a database index.
Around 120 ms were saved by pre-compiling the pug template for video
description timestamps.
The other changes in this commit produced slight improvements.
2021-08-26 23:47:53 +12:00
Cadence Ember
0aa0505009
Keep subscriptions in database if channel deleted 2021-08-23 23:43:23 +12:00
Cadence Ember
deea909585
Replace mention of "log in" to "visit" 2021-08-21 16:48:15 +12:00
Cadence Ember
7f756d5762
Add narration to "can't think" page 2021-08-20 20:45:36 +12:00
Cadence Ember
539260c8de
Improve documentation and errors around local mode 2021-08-19 19:33:47 +12:00
Cadence Ember
83c34f75d9
Remove logging from background refresh
I'm happy enough with the stability of all code paths to not need
extensive logging any more.
2021-08-18 12:17:12 +12:00
Cadence Ember
57e4507bff
Don't quit background refresh loop on error 2021-08-18 12:15:34 +12:00
Cadence Ember
739f537bc7
Setting to alter recommended videos display 2021-08-16 22:37:12 +12:00
21629de594
Properly rewrite URL params for youtu.be links
Change occurs in converters.rewriteVideoDescription().
Previously the URL could end up with `?` in it twice, this ensures there
will be at most one.
2021-07-02 00:48:19 +12:00
Cadence Ember
f62fce4fea
Highlight current chapter in video description 2021-07-02 00:41:50 +12:00
eb111a44c4
Proxy captions via new /proxy route
We can add more authorized paths to authorizedPaths if we need
more resources to be pulled from the NewLeaf/Invidious backend
on the same domain.

This route forwards to the client a few headers like Bibliogram
https://git.sr.ht/~cadence/bibliogram/tree/ea7cd5d5/item/src/site/api/proxy.js#L28-29
so we can also use this route to possibly proxy videos in the
future.

We are strict about the url parameter not overriding the
NewLeaf/Invidious backend (instanceOrigin) by ensuring
fetchURL has instanceOrigin as prefix.
2021-05-25 00:04:32 +12:00
Cadence Ember
db49bb38b0
Make details/summary keyboard accessible 2021-05-18 00:32:52 +12:00
Cadence Ember
cebc4331bc
Correctly set filter referrer everywhere 2021-05-12 00:43:53 +12:00
Cadence Ember
db7ccabb3b
Implement video filters 2021-05-12 00:29:44 +12:00
Cadence Ember
aa953dc796
Tiny miscellanous changes 2021-05-12 00:29:05 +12:00
Cadence Ember
ec34702d90
Fix footer on chromium 2021-05-11 23:00:51 +12:00
Cadence Ember
77c927ba8c
Remove mistaken console.log 2021-05-11 22:00:10 +12:00
Cadence Ember
ec9b0edadc
Make VSCode type detection happier 2021-05-11 21:58:41 +12:00
Cadence Ember
cd7969973b
Silence some route logs 2021-05-08 17:14:36 +12:00
Cadence Ember
1982ebf9e4
Rework thumbnails to make future changes possible 2021-05-04 00:50:51 +12:00
Cadence Ember
7caa4fb435
Change JS timestamp clicks to be object oriented 2021-05-02 01:01:09 +12:00
Cadence Ember
c811a4aaf9
Fix ?t start time parameter on videos 2021-05-02 00:59:28 +12:00
7023d0287c
Seek videos without reloading the page on clicked timestamps 2021-05-02 00:33:30 +12:00
Cadence Ember
81a4d10474
Refactor video access route
- Move errors to separate files instead of embedding
- Consistent interface for error generation
- Move renderVideo function into route
- Fix unhandled FetchError regression from dbbe950
2021-04-28 00:56:00 +12:00
Cadence Ember
94e12a2ee8
Fix escaped HTML description on settings page 2021-04-28 00:48:38 +12:00
8292c8db57
Fix #14 implement video autoplay with URL parameter
Fixes https://todo.sr.ht/~cadence/tube/14
2021-04-28 00:01:55 +12:00
Cadence Ember
d1e2202cae
Only show continuous mode if there are videos 2021-04-27 19:44:17 +12:00
Cadence Ember
e0238d7e7d
Preserve session-watched param on auto-proceed 2021-04-26 00:22:14 +12:00
Cadence Ember
2b2f8bf84a
Implement continuous mode 2021-04-26 00:06:35 +12:00
Cadence Ember
e4f6ffe122
Add descriptions to settings 2021-04-26 00:06:35 +12:00
Cadence Ember
49d32cfee2
Delete existing watch history when disabled 2021-04-26 00:00:56 +12:00
Cadence Ember
699af63583
Update "preferred quality" setting
- Re-order the options on the settings page
- "best" and "best <= 1080p" now prefer high-fps
2021-04-25 22:19:06 +12:00
Cadence Ember
05b91a7102
Update privacy policy
- Explain how data is shared with YouTube/Google
2021-04-18 20:05:40 +12:00
Cadence Ember
6f8e03e506
Add JavaScript licenses page 2021-04-16 16:31:54 +12:00
Cadence Ember
998bd3d7cb
Add privacy policy 2021-04-16 16:12:04 +12:00
Cadence Ember
248c812f05
Add site footer 2021-04-16 15:24:48 +12:00
Cadence Ember
cc66a8306a
Hide blocked explanation graphic on small windows 2021-04-14 23:15:47 +12:00
Cadence Ember
48534d4e29
Rewrite URLs in subscription feed 2021-04-14 23:02:05 +12:00
Cadence Ember
e829dd4de6
Fix spacing jump when marking videos watched 2021-04-14 22:54:33 +12:00
Cadence Ember
259db34c86
break word for video title 2021-04-10 12:44:36 +12:00
Cadence Ember
848651757a
Autofocus search if user-agent not a mobile device 2021-04-10 01:05:31 +12:00
Cadence Ember
54ae21685f
Rename quality settings to user-friendly values
Removed the unhelpful terms "combined" and "DASH".
2021-04-10 00:28:17 +12:00
Cadence Ember
cbedc46c9b
Synchronise video/audio playback rate 2021-04-10 00:25:06 +12:00
Cadence Ember
431767437d
Support NewLeaf's auto-captions 2021-04-05 01:25:58 +12:00
500aa820bc
Implement video captions
Proxy requests to NewLeaf/Invidious backend so captions are served on the
same domain
2021-04-05 01:25:58 +12:00
dbbe950832
Refactor video fetcher to prefetch data 2021-04-05 01:25:34 +12:00
ABeltramo
1b580ae0b6
Add Docker setup 2021-04-04 16:54:50 +12:00
Cadence Ember
ac3de4b4e6
Implement preferred quality selection
The list is subject to change as I collect more feedback. I just want
to get this initial change out for everyone to use and appreciate.
2021-04-04 16:51:39 +12:00
Cadence Ember
fd854ec222
Refactor instance list fetcher 2021-03-01 23:35:09 +13:00
Cadence Ember
295fac6268
Add comments to configuration 2021-02-27 15:48:35 +13:00