Commit Graph

52 Commits

Author SHA1 Message Date
wukko
add0ab4adf
web/lib/api: wait for turnstile solution, refactor
now cobalt waits for turnstile for 15 seconds before showing an assistive dialog, instead of showing the dialog right away. much better ux!
2025-05-23 20:37:47 +06:00
wukko
98cd4dfc0d
web/queue: in-place queue task retrying
Some checks failed
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
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
no more duplicate tasks
2025-05-19 22:49:54 +06:00
wukko
700067c4ec
web/saving-handler: refactor error dialog handling
& remove debug logging for local processing
2025-05-14 15:26:39 +06:00
wukko
37a71837a7
web/lib/saving-handler: regular get for localProcessing 2025-04-23 22:36:20 +06:00
wukko
e3f999ace7
web/lib: add support for youtubeBetterAudio 2025-04-20 20:45:52 +06:00
wukko
e5d9521819
web/api-url: don't return officialApiURL 2025-04-20 16:31:04 +06:00
wukko
b0fba0dadb
web/api-url: rename defaultApiURL to officialApiURL 2025-04-20 16:18:14 +06:00
wukko
06bc51db54
merge: 10.9 from main
Some checks failed
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
Run service tests / test service functionality (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
Run service tests / test service: ${{ matrix.service }} (push) Has been cancelled
2025-04-02 21:48:58 +06:00
wukko
0fb4cd7888
web: rename queen-bee to task-manager
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
less corny and less cryptic
2025-04-02 14:57:45 +06:00
jj
59665af44a
web/api: re-request session if server claims it's invalid 2025-03-30 17:41:28 +00:00
wukko
0bee4b1ade
web/queue/createSavePipeline: store original request & allow to retry 2025-03-06 17:04:47 +06:00
wukko
158ba6f28f
web/saving-handler: destructure params, reuse request if passed 2025-03-06 17:02:06 +06:00
wukko
f9c0decd4c
web/api: move api request creation to saving-handler & limit the type
prerequisites for reusing the requests 👀
2025-03-06 15:58:31 +06:00
wukko
b463ec7a7d
web/settings: move alwaysProxy & localProcessing, add useWebCodecs 2025-02-24 15:48:52 +06:00
wukko
5d7724762d
web: very early implementation of a fetch worker
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-01-30 01:04:33 +06:00
wukko
91f5d63b93
web/DownloadButton: extract api interaction logic into a lib
download button state is now stored, well, in a state
2025-01-29 16:35:43 +06:00
wukko
b6472d5406
web: update h265 & gif params, migrate old params to new names 2025-01-29 15:40:29 +06:00
wukko
a43e7a629b
web: add local processing setting & api type
response is not handled at all yet, this is a raw draft
2025-01-29 15:06:16 +06:00
wukko
d8f3bbe0f3
web/lib/api: return errors from authorization function 2024-11-24 13:37:36 +06:00
jj
326bc52f27
web: fix turnstile/server-info circular dependency 2024-11-23 14:37:23 +00:00
wukko
d4044e3350
web/server-info: remove turnstile in more cases 2024-11-23 19:14:14 +06:00
wukko
601597eb15
web: add support for custom api keys & improve turnstile states 2024-11-23 19:13:23 +06:00
wukko
9c8cb5611f
web/server-info: reload the page only if the sitekey actually changed 2024-11-20 14:26:45 +06:00
wukko
a3c807a993
web/turnstile: use own callback for refreshing the widget
or at least try to, idk man, im so tired of cf turnstile
2024-11-19 00:20:27 +06:00
wukko
b38cb77952
web/turnstile: refresh turnstile if it expires in background
also renamed `turnstileLoaded` to `turnstileSolved` for more clarity
2024-11-18 21:05:47 +06:00
wukko
d8348dfa1c
web: remove instance override warning, use custom api right away 2024-11-18 16:32:33 +06:00
wukko
2b2bc57331
web/env: rename apiURL to defaultApiURL
references to it are now easier to read and understand
2024-11-18 16:30:27 +06:00
wukko
ea2dd5bb35
web: add support for dubbed youtube audio tracks 2024-10-28 23:15:01 +06:00
wukko
60b22cb5f7
web: add support for youtube hls
also increased api response timeout to 20 seconds
2024-10-28 15:27:51 +06:00
jj
be7c09bd07
web/lib: move dialogs to state folder 2024-10-20 12:51:59 +00:00
jj
4c43a00e88
web/api/session: replace writable with normal variable 2024-10-20 12:51:59 +00:00
wukko
0e52e1f8b0
web/safety-warning: reduce continue button timeout
Some checks failed
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
2024-10-16 17:03:34 +06:00
wukko
416a9efdd1
web/server-info: reload the page if turnstile sitekey changes 2024-09-23 16:16:17 +06:00
wukko
dfaef913c4
web/DownloadButton: move server info cache checks to the api lib 2024-09-22 15:05:40 +06:00
wukko
fdd5feac92
web: use turnstile & session only when the processing instance has them
now also always fetching server info in the save tab
2024-09-18 00:24:54 +06:00
dumbmoron
a351264ede
web/api: send parameters to server only if they differ from defaults 2024-09-08 16:30:02 +00:00
dumbmoron
1f86faad12
web/api: don't request/send session token to custom instances 2024-09-08 16:30:02 +00:00
dumbmoron
b4599e68bb
web/safety-warning: early returns 2024-09-08 16:30:02 +00:00
wukko
fff1c6c7a6
web & api: rename stream to tunnel
- updated the endpoint to /tunnel
- updated status to tunnel
- fixed one incorrectly named error in web
2024-09-05 00:26:48 +06:00
wukko
d0d0f16c5f
web/privacy: add support for always proxying files 2024-08-31 14:08:48 +06:00
wukko
ebb5deb43c
web/safety-warning: remove misplaced comparison 2024-08-30 17:25:31 +06:00
wukko
33d6b5bd81
web: base custom instance functionality
also:
- renamed processing tab in settings to "instances"
- improved override description
- prefer custom over override (and grey out the option)
- dedicated lib for all api safety warnings
- left aligned small popup with smaller icon
- ability to grey out settings category & toggle
2024-08-30 17:15:05 +06:00
wukko
f0ce0ccef7
web/server-info: refresh server info cache if endpoint changes 2024-08-29 18:10:46 +06:00
wukko
42410f7b20
web/save: add supported services popover 2024-08-26 23:43:39 +06:00
wukko
7524d202f7
web/session: merge cached state into main lib 2024-08-26 23:38:24 +06:00
wukko
0d58fad580
web/session: update session fetch error code 2024-08-24 16:16:12 +06:00
wukko
49184a235d
web/save: add support for audio bitrate functionality 2024-08-22 19:38:39 +06:00
wukko
c698d272a1
api/jwt: return relative expiration date to accommodate offset clocks 2024-08-19 22:25:21 +06:00
wukko
0e461d4ebe
web/session: add a delta to prevent token expiring on its way to api 2024-08-17 18:05:00 +06:00
wukko
9592e59f76
api/jwt: fix timestamp to match the spec 2024-08-17 17:58:40 +06:00