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

160 Commits

Author SHA1 Message Date
6de9abd499 Partially fix #29: add routes for /c/ and /user/ paths for channels 2022-08-18 19:10:54 +12:00
Cadence Ember
5e6b2bf31c
Add /api/settings to get current settings as JSON 2022-07-27 18:54:45 +12:00
Cadence Ember
f04be0d3f9
Add video durations to can't think page
Because why would I care when I instinctively click anyway?
2022-03-14 21:54:42 +13:00
Cadence Ember
25baf8c73b
Fix z-index on can't think page
Because why would I be able to test if I'm not able to think?
2022-03-14 21:48:33 +13:00
Cadence Ember
1333b990f6
Add recommended videos to the can't think page
this is probably some kind of sick irony yeah yeah
no, no thinking. content. consume the content. watch more videos.

https://tube.cadence.moe/cant-think
watch more videos.
https://tube.cadence.moe/cant-think
watch more videos.
https://tube.cadence.moe/cant-think
watch more videos.
https://tube.cadence.moe/cant-think
watch more videos.
https://tube.cadence.moe/cant-think

...

can't think?
2022-03-14 21:32:34 +13:00
Cadence Ember
893684c311
Fix data deletion checkbox styles 2022-01-13 18:19:56 +13:00
Cadence Ember
109dcd22de
Rework subscribing to deleted channels 2022-01-10 14:18:45 +13:00
Cadence Ember
15e3f06ad6 Fix theme on can't think page 2021-12-28 20:36:54 +13:00
Cadence Ember
0d23d66700 Add theme support, light theme, and edgeless light 2021-12-28 16:32:11 +13:00
Cadence Ember
4e1f2b3607 Update dependencies 2021-12-22 00:17:57 +13:00
Cadence Ember
5246a74115
Remove rating/sentiment bar
There are no more dislikes and there is no more ratio bar.
2021-12-16 13:30:13 +13:00
Cadence Ember
893c22aded
Change dropdown marker to be more visible
The colour now contrasts more and the outline is reduced so that less
space is hinted in the middle of the arrow.

References: https://todo.sr.ht/~cadence/tube/46
2021-12-16 12:56:05 +13:00
Cadence Ember
4bd832e37d
Make link colour a little brighter
References: https://todo.sr.ht/~cadence/tube/46
2021-12-16 12:48:56 +13:00
Cadence Ember
bec802fad5
Change input placeholder and border colour
References: https://todo.sr.ht/~cadence/tube/46
2021-12-16 12:47:30 +13:00
Cadence Ember
e97d1b958e
Use h1 for channel title on channel page
References: https://todo.sr.ht/~cadence/tube/46
2021-12-16 12:29:29 +13:00
Cadence Ember
0dfa8ca2b6
Add quality label on video page, move main element 2021-12-16 12:16:03 +13:00
Cadence Ember
5a5901db7d
Add aria-label to search inputs
References: https://todo.sr.ht/~cadence/tube/46
2021-12-16 12:02:06 +13:00
Cadence Ember
b9f703086f
Implement takedown system 2021-11-20 19:42:34 +13:00
Cadence Ember
741a1199dd
Sort formats from Invidious extractor correctly 2021-11-05 16:13:40 +13:00
bopol
a11febd426
fix channel description overflow 2021-11-05 02:12:52 +13:00
bopol
ef897b23d2
Fix channel banner overflow on iOS
fixes #45
2021-10-31 16:56:11 +13:00
Cadence Ember
9babaccd3b
Support Netscape Navigator 9 2021-10-06 20:55:14 +13:00
Cadence Ember
6d560b8507
Null check view count 2021-09-13 18:30:10 +12:00
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