1
0
mirror of https://git.sr.ht/~cadence/cloudtube synced 2024-11-14 04:17:29 +00:00
Commit Graph

170 Commits

Author SHA1 Message Date
Cadence Ember
55696a1b54 Update better-sqlite3 dependency 2024-04-22 18:05:07 +12:00
Cadence Ember
31ba4035b0 Don't crash if instances are unavailable 2024-04-22 18:04:28 +12:00
Cadence Ember
59266a6419 Manually opening a channel will check its status again 2023-04-07 21:43:39 +12:00
Cadence Ember
cfa04f4a27 Work around cookie max-age bug in Epiphany 2023-03-06 00:06:09 +13:00
Cadence Ember
9f7b1bbcae Update dependencies (now lockfile v3)
The new lockfile version appears to still be readable by old versions
of npm that only support version 1.
2023-01-15 22:07:29 +13:00
Cadence Ember
3d5927ab28 Optional no ssl flag using x-insecure header 2023-01-15 22:06:31 +13:00
jo!
8d292cc200 Add maskable icons for PWA manifest 2022-12-21 18:34:36 +13:00
jo!
17185c6b5e Add favicon and PWA manifest 2022-12-20 22:48:08 +13:00
Cadence Ember
61c8e205d8
Show subscribed properly on /user or /c pages 2022-09-16 17:18:51 +12:00
Cadence Ember
a2dfeb2edc Fix calls to fetchChannel
Should fix subscribing to channels
2022-08-23 10:37:43 +12:00
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