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

36 Commits

Author SHA1 Message Date
Cadence Ember
0d23d66700 Add theme support, light theme, and edgeless light 2021-12-28 16:32:11 +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
Cadence Ember
739f537bc7
Setting to alter recommended videos display 2021-08-16 22:37:12 +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
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
ec9b0edadc
Make VSCode type detection happier 2021-05-11 21:58:41 +12:00
Cadence Ember
c811a4aaf9
Fix ?t start time parameter on videos 2021-05-02 00:59:28 +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
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
2b2f8bf84a
Implement continuous mode 2021-04-26 00:06:35 +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
48534d4e29
Rewrite URLs in subscription feed 2021-04-14 23:02:05 +12:00
dbbe950832
Refactor video fetcher to prefetch data 2021-04-05 01:25:34 +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
3dbea65c62
Rename Second to NewLeaf 2021-02-27 13:11:27 +13:00
Cadence Ember
9da30868ef
Update timestamp code
- Safer, uses pug for rendering with guaranteed escapes
- Includes data-timestamp attribute for JavaScript progressive
  enhancement later on
2021-02-25 00:49:26 +13:00
406e04b7b0
Rewrite youtube.com links to the same instance and implement timestamp links in videos description 2021-02-25 00:16:33 +13:00
bopol
6186be0a13
fallback to number if text format is not available for counts
e.g. subscriber count, view count
2021-02-12 01:47:52 +13:00
Cadence Ember
ebdc88fe4c
Fix media fragments in local mode 2021-02-03 21:04:48 +13:00
Cadence Ember
1d80e627af
Support fancy blocked page with Invidious 2021-01-14 22:48:45 +13:00
Cadence Ember
52aa158613
Fix format order from Invidious 2021-01-14 22:48:25 +13:00
Cadence Ember
c83bdcb924
Tip: Don't code at 1 AM
- Remove console.log
- Default value for render video locals
2021-01-14 01:49:26 +13:00
Cadence Ember
bb4816c4b3
Support t parameter using media fragments 2021-01-14 00:58:29 +13:00
Cadence Ember
36f33b9f7e
General code cleanup from analysis 2021-01-14 00:55:03 +13:00
Cadence Ember
98ee77def4
Set user-agent for invidious.snopyta ID 2021-01-12 23:49:00 +13:00
Cadence Ember
e0bc0d2e81
Implement watched videos
Watched videos on your subscriptions feed will be darkened, and the
option to hide all of them has been added.

This only takes effect if you have enabled saving watched videos on the
server in the settings menu - default is off.
2020-12-29 01:45:02 +13:00
Cadence Ember
9a890574d5
Add local fetch option 2020-10-26 20:29:05 +13:00
Cadence Ember
f78ee4ff0f
Better notice when instance is blocked 2020-10-18 22:44:50 +13:00
Cadence Ember
a96d97c9d8
Proxy video thumbnails through selected instance 2020-10-18 21:51:09 +13:00
Cadence Ember
5c3a4df209
Rebuild second__lengthText if needed 2020-10-06 23:43:44 +13:00
Cadence Ember
d5d02bcef9
Substitute for second__height and second__order 2020-10-06 22:29:45 +13:00
Cadence Ember
2e69dfc4b7
Move utils folder and fix published text 2020-09-24 00:05:02 +12:00
Cadence Ember
c573a5ac3e
Settings page and instance selection 2020-09-01 01:22:16 +12:00
Cadence Ember
f24e1bb39c
Add database and subscribe button 2020-08-31 01:54:59 +12:00