Commit Graph

3187 Commits

Author SHA1 Message Date
wukko
7aa128d9cc
web/package: bump version to 11.2.1
Some checks are pending
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
Run tests / check lockfile correctness (push) Waiting to run
Run tests / web sanity check (push) Waiting to run
Run tests / api sanity check (push) Waiting to run
2025-06-29 18:11:09 +06:00
wukko
0ac42d5b9d
web/ffmpeg: define multithreading support outside of web worker context
there's no navigator.maxTouchPoints in web worker context, so previously there was no way to detect whether safari is running on ipad or not
2025-06-29 18:08:50 +06:00
wukko
b2c5c42ae3
web/device: add supports.multithreading 2025-06-29 13:42:01 +06:00
wukko
d25a730768
web/device: enable local processing everywhere but android chrome 2025-06-29 13:41:42 +06:00
wukko
aa49892e39
web: update ios safari version regex
Some checks are pending
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
Run tests / check lockfile correctness (push) Waiting to run
Run tests / web sanity check (push) Waiting to run
Run tests / api sanity check (push) Waiting to run
since ipados pretends to be macos, there's no "iphone os" in its user agent. this (hopefully) fixes remuxing/transcoding compatibility with old ipados versions
2025-06-29 10:53:02 +06:00
wukko
214af73a1e
docs/api: add subtitleLang, sublanguage, and update localProcessing
Some checks failed
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
Run tests / check lockfile correctness (push) Waiting to run
Run tests / web sanity check (push) Waiting to run
Run tests / api sanity check (push) Waiting to run
Run service tests / test service functionality (push) Has been cancelled
Run service tests / test service: ${{ matrix.service }} (push) Has been cancelled
2025-06-28 21:50:43 +06:00
wukko
a60e94d628
web/package: bump version to 11.2 2025-06-28 20:47:14 +06:00
wukko
8da71e413e
api/package: bump version to 11.2 2025-06-28 20:47:08 +06:00
wukko
a751f81ea3
version-info: return git branch info correctly in cf workers 2025-06-28 19:06:21 +06:00
wukko
bd0caac5ba
web/changelogs/11.0: set a fixed commit in compare, fix env name error 2025-06-28 17:48:31 +06:00
wukko
4fc2952c54
web/audio-sub-language: update localized values dynamically 2025-06-28 17:43:46 +06:00
wukko
d70180b23c
api/core: merge isApiKey and isSession into authType
cuz they can't be true at the same time
2025-06-28 17:05:18 +06:00
wukko
bc8c16f469
web/env: accept 1 as bool value 2025-06-28 16:59:00 +06:00
wukko
3d2473d8ef
web/audio-sub-language: refactor to avoid code duplication 2025-06-28 16:44:28 +06:00
wukko
c16444126e
api/env: backwards compatibility with SESSION_RATELIMIT 2025-06-28 16:37:54 +06:00
wukko
7298082bd5
api: refactor two static arrays to set 2025-06-28 16:31:39 +06:00
wukko
9d818300f4
api/twitter: add subtitle extraction
closes #1219
2025-06-28 16:19:41 +06:00
wukko
fffb31dbf0
web/i18n/error/api: fix a typo in fetch.short_link
Some checks are pending
Run tests / api sanity check (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
Run service tests / test service functionality (push) Waiting to run
Run service tests / test service: ${{ matrix.service }} (push) Blocked by required conditions
Run tests / check lockfile correctness (push) Waiting to run
Run tests / web sanity check (push) Waiting to run
2025-06-28 14:46:03 +06:00
wukko
51c5d055ec
api/service-patterns/tiktok: allow longer shortLink
tiktok is a/b testing a new shortLink format that's ±19 characters long but behaves the same way as old format
2025-06-28 14:45:04 +06:00
wukko
900c6f27ca
api/tests/vimeo: allow mature video tests to fail
Some checks are pending
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
Run service tests / test service functionality (push) Waiting to run
Run service tests / test service: ${{ matrix.service }} (push) Blocked by required conditions
Run tests / check lockfile correctness (push) Waiting to run
Run tests / web sanity check (push) Waiting to run
Run tests / api sanity check (push) Waiting to run
2025-06-27 21:47:21 +06:00
wukko
8feaf5c636
api/api-keys: replace .find() with .some() in allowedServices
Some checks are pending
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
Run service tests / test service functionality (push) Waiting to run
Run service tests / test service: ${{ matrix.service }} (push) Blocked by required conditions
Run tests / web sanity check (push) Waiting to run
Run tests / api sanity check (push) Waiting to run
Run tests / check lockfile correctness (push) Waiting to run
& also a little refactor
2025-06-26 22:32:39 +06:00
wukko
dce9eb30c1
docs/protect-an-instance: add info about allowedServices in api keys 2025-06-26 22:23:25 +06:00
wukko
3243564f77
api/api-keys: add allowedServices to limit or extend access
it's useful for limiting access to services per key, or for overriding default list of enabled services with "all"
2025-06-26 22:20:09 +06:00
wukko
d69100c68d
api/tiktok: validate that redirected link is still tiktok 2025-06-26 21:32:31 +06:00
wukko
81a0d5e154
web/queue: scale cropped covers to 720x720
instead of 800x800 because usually thumbnails that need to be cropped are 1280x720
2025-06-26 18:11:02 +06:00
wukko
bfb23c86f9
web/queue: add cover only to mp3 files 2025-06-26 18:09:04 +06:00
wukko
84aa80e2d3
api/match-action: don't add cover if metadata is disabled 2025-06-26 17:45:01 +06:00
wukko
655e7a53a2
docs/api: add info about cover & cropCover 2025-06-26 17:39:05 +06:00
wukko
e4ce873b56
web/queue: add audio covers & crop them when needed 2025-06-26 17:36:55 +06:00
wukko
164ea8aeb9
api: return covers from soundcloud and youtube
& refactor createProxyTunnels() in stream/manage a little
2025-06-26 17:36:26 +06:00
wukko
4ff4766bda
docs/api: add info about subtitle bool in local processing response 2025-06-26 15:59:38 +06:00
wukko
f7e5951410
web/lib/device: enable local processing on all ios devices
Some checks are pending
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
Run tests / api sanity check (push) Waiting to run
Run tests / check lockfile correctness (push) Waiting to run
Run tests / web sanity check (push) Waiting to run
2025-06-25 23:19:24 +06:00
wukko
f4637b746c
api/rutube: add subtitles
Some checks are pending
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
Run service tests / test service functionality (push) Waiting to run
Run service tests / test service: ${{ matrix.service }} (push) Blocked by required conditions
Run tests / check lockfile correctness (push) Waiting to run
Run tests / web sanity check (push) Waiting to run
Run tests / api sanity check (push) Waiting to run
2025-06-25 20:12:30 +06:00
wukko
3dae5b2eb0
api/ffmpeg: move stream type + url count check to remux()
& fix it cuz i broke it in last commit
2025-06-25 19:57:23 +06:00
wukko
52695cbd0f
api/service-config: replace static arrays with sets 2025-06-25 19:33:16 +06:00
wukko
fcdf5da73e
api/ffmpeg: refactor even more 2025-06-25 19:32:36 +06:00
wukko
d3793c7a54
api/ffmpeg: map video and audio in remux() with one main input
cuz otherwise if a video has subtitles, then only subtitles get mapped to the output file
2025-06-24 20:46:14 +06:00
wukko
4f4478a21d
api/ffmpeg: fix audio codec args in remux() 2025-06-24 20:24:53 +06:00
wukko
14657e51d3
api/stream: split types.js into proxy.js and ffmpeg.js 2025-06-24 20:09:41 +06:00
wukko
aa376d76f6
api/stream/types: huge refactor & simplification of code
- created render() which handles ffmpeg & piping stuff
- merged remux() and merge() into one function
- simplified and cleaned up arguments
- removed headers since they're handled by internal streams now
- removed outdated arguments
2025-06-24 19:55:50 +06:00
wukko
28b85380c9
api/vk: allow auto generated subs & pick explicitly vtt
Some checks are pending
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
Run service tests / test service functionality (push) Waiting to run
Run service tests / test service: ${{ matrix.service }} (push) Blocked by required conditions
Run tests / check lockfile correctness (push) Waiting to run
Run tests / web sanity check (push) Waiting to run
Run tests / api sanity check (push) Waiting to run
i couldn't find a single video that had any subtitles other than auto generated ones, so i think this is better than nothing at all
2025-06-24 17:56:04 +06:00
wukko
75691d4bac
api/tests/facebook: replace a dead link 2025-06-24 17:28:05 +06:00
wukko
ff06a10b5c
api/processing/url: improve vk url parsing 2025-06-24 17:21:32 +06:00
wukko
997b06ed0e
api/vk: add support for subtitles 2025-06-24 17:06:19 +06:00
wukko
44f4ea32c6
api/stream/internal: stream vk videos in chunks 2025-06-24 17:04:43 +06:00
wukko
599ec9dd92
web/UpdateNotification: update margin & font size
Some checks failed
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
Run tests / check lockfile correctness (push) Has been cancelled
Run tests / web sanity check (push) Has been cancelled
Run tests / api sanity check (push) Has been cancelled
this also fixes position in rtl layout
2025-06-22 20:56:05 +06:00
wukko
b384dc81cd
web/error/api: add missing "the" to fetch.critical.core
Some checks failed
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
Run tests / check lockfile correctness (push) Waiting to run
Run tests / web sanity check (push) Waiting to run
Run tests / api sanity check (push) Waiting to run
Run service tests / test service functionality (push) Has been cancelled
Run service tests / test service: ${{ matrix.service }} (push) Has been cancelled
2025-06-22 20:12:36 +06:00
wukko
6d62bce92d
api/match-action: don't force local-processing response for pickers
cuz that won't work, at least for now
2025-06-22 20:12:22 +06:00
wukko
21c4a1ebbc
api/match: set alwaysProxy to true if local processing is forced 2025-06-22 20:09:48 +06:00
wukko
0fca9c440c
api/schema: remove deprecated variables 2025-06-22 20:07:37 +06:00