Commit graph

2218 commits

Author SHA1 Message Date
jj
d466f8a4af
api: upgrade express-rate-limit to v7, reuse key generator 2024-11-01 12:54:16 +00:00
jj
693204b799
api/store: use basic strings instead of hashes for keys 2024-11-01 12:20:01 +00:00
jj
66cb8d360d
api: move hmac secrets to single file 2024-11-01 12:16:53 +00:00
jj
40d6a02b61
api: cluster support
still missing synchronization for some structures
2024-10-31 22:59:06 +00:00
jj
2d6d406f48
api/crypto: use buffers for salt directly instead of hex strings 2024-10-31 22:42:46 +00:00
jj
93e6344fc7
api/stream/manage: make itunnel port configurable
this allows us to bind internal streams to
a specific worker in the future
2024-10-31 22:35:26 +00:00
jj
132255b004
api/stream/manage: use cobalt Store for stream cache 2024-10-31 22:33:32 +00:00
jj
11314fb8d1
api/store: implement has() method 2024-10-30 19:21:45 +00:00
jj
18acad19b9
api: implement redis/memory store for cache 2024-10-30 19:06:46 +00:00
jj
5e92b649a3
api: add API_REDIS_URL env 2024-10-30 18:59:20 +00:00
wukko
0508c2305c
readme: rephrase the thank you section 2024-11-01 19:56:10 +06:00
wukko
9cc2df9efd
docs/docker-compose: revamp the template, add read_only
we use `read_only` on the main instance and i think everyone else should use it too
2024-11-01 19:48:12 +06:00
wukko
2c451c69d0
api/youtube: rename quality variable in matchQuality 2024-10-31 21:43:02 +06:00
wukko
3dd6165472
api/youtube: slight refactor of matchQuality 2024-10-31 21:37:11 +06:00
wukko
5470926d52
api/youtube: adjust matched resolution
heights like 714 are now adjusted to 720, so that preferred quality is picked correctly
2024-10-31 21:31:39 +06:00
wukko
da72b9615e
api/youtube: use best quality if all else fails 2024-10-31 21:18:34 +06:00
wukko
98acea6c58
api: bump version to 10.2.1 2024-10-31 00:14:26 +06:00
wukko
6322c172c1
ci/test: update api test url 2024-10-31 00:10:22 +06:00
wukko
776c4f4dba
api/stream/manage: don't use clones in node cache 2024-10-30 23:56:14 +06:00
wukko
406ac7613c
api/youtube: make sure language exists when checking for hls dubs
oops
2024-10-30 22:55:50 +06:00
wukko
8f89c7f412
web/i18n/settings: update youtube setting titles and descriptions 2024-10-30 22:38:38 +06:00
wukko
904e5aa918
web/video: update youtube codec & hls section ids 2024-10-30 22:37:55 +06:00
wukko
8840396865
web/audio: update youtube dub section id 2024-10-30 22:37:45 +06:00
wukko
fb2b0ad290
web/i18n/settings: update youtube hls toggle title 2024-10-30 22:06:00 +06:00
wukko
d16118ed42
web: bump version to 10.2.1 2024-10-30 21:56:30 +06:00
jj
c4be1d3a37
web/download: don't try to open non-https links 2024-10-30 13:17:38 +00:00
jj
b125894b7e
web/settings: move migration to separate file, rename v7 migration 2024-10-30 12:42:52 +00:00
wukko
44f842997e
api & web: bump version to 10.2 2024-10-30 18:29:53 +06:00
jj
0a471943ca
web/settings: write to storage if migrated 2024-10-30 12:18:27 +00:00
jj
30b7003871
Revert "web/settings/migrate: remove youtubeDubBrowserLang migration"
This reverts commit 94e6acb832.
2024-10-30 12:18:27 +00:00
jj
cafe05d5fb
web/settings: add version 3 of setting schema 2024-10-30 12:18:27 +00:00
jj
ec10019bfa
web/settings: fix types, migrate old settings from v2 2024-10-30 12:12:56 +00:00
jj
bad59750bf
web/settings: rewrite type names, remove unused types
CurrentCobaltSettings -> CobaltSettings
CobaltSettings -> AnyCobaltSettings
2024-10-30 12:12:56 +00:00
jj
7c9a824a69
web/settings: add function for getting browser language
prep for migrating youtubeDubBrowserLang
2024-10-30 12:12:56 +00:00
jj
7a50c89728
web/settings: split settings into versions 2024-10-30 12:12:56 +00:00
wukko
edb340dc66
web/i18n/settings: update reduce transparency description
added that enabling it may also improve ui performance on low end devices
2024-10-30 18:01:43 +06:00
wukko
c3a2386086
docs/api: add one more example of language codes for youtubeDubLang 2024-10-30 17:53:10 +06:00
wukko
94e6acb832
web/settings/migrate: remove youtubeDubBrowserLang migration 2024-10-30 17:19:51 +06:00
wukko
6e61e73a5f
web/i18n/settings: rewrite youtube hls description 2024-10-30 17:18:18 +06:00
wukko
367cab0de4
api/youtube: update hls vp9 container to webm
way better compatibility this way
2024-10-30 17:18:18 +06:00
wukko
f610058b82
api/stream/types/merge: encode audio to aac or opus if hls
audio is encoded to opus only if it's a youtube hls stream with webm container
2024-10-30 17:18:18 +06:00
jj
b9a44f81a0
ci/web: run type check before building 2024-10-30 11:13:36 +00:00
wukko
1e5b30778d
web/settings/audio: add a beta tag to youtube dub section 2024-10-28 23:21:46 +06:00
wukko
ce131b1454
web/settings/privacy: remove beta tag from tunneling 2024-10-28 23:18:04 +06:00
wukko
ea2dd5bb35
web: add support for dubbed youtube audio tracks 2024-10-28 23:15:01 +06:00
wukko
1373d16286
web/SettingsDropdown: add a separator after first item, always lowercase
also split out anything in brackets in preview
2024-10-28 23:14:19 +06:00
wukko
e081751c59
api/youtube: fix dubbed audio track matching 2024-10-28 23:05:56 +06:00
wukko
3a0b0fed8b
web/settings: convert LanguageDropdown to universal SettingsDropdown 2024-10-28 21:42:07 +06:00
wukko
17c020fe22
api/youtube: fix dubbed hls audio marking 2024-10-28 21:38:25 +06:00
wukko
486555bd11
docs/api: add youtubeHLS and remove youtubeDubBrowserLang 2024-10-28 19:57:37 +06:00