Commit Graph

258 Commits

Author SHA1 Message Date
wukko
f544768784 web/cutout: add a button to cancel the job 2025-01-15 23:14:29 +06:00
wukko
0e26424355 web/libav: remove environment import to fix the worker 2025-01-15 22:25:59 +06:00
wukko
1ed2eef65a web/remux: convert to a web worker (wip) 2025-01-15 22:11:08 +06:00
wukko
28d8927c08 web/removebg: convert to a proper web worker
no more hanging ui :3
2025-01-15 17:22:34 +06:00
wukko
2f2d39dc4c web/removebg: fix types (remove garbage) 2025-01-14 18:30:33 +06:00
wukko
e02e7f2260 web: very early proof-of-concept of on-device image background removal 2025-01-13 01:26:54 +06:00
wukko
50db4d342a api & web: roll back the default hls change due to doubled CPU usage 2025-01-08 11:22:05 +06:00
wukko
b47987754a web/settings/defaults: enable youtubeHLS by default (again) 2025-01-08 10:56:59 +06:00
wukko
937fddf3e9 web/settings/defaults: roll back default hls
it seems to be doing more bad than good, we need to scale or finish the duck project first
2025-01-07 13:16:58 +06:00
wukko
f07ebaa04c web/settings/defaults: enable youtubeHLS by default
yolo #testinprod
2025-01-06 15:38:58 +06:00
wukko
a9515d376a web/settings: add duck to settings types 2024-12-22 23:04:20 +06:00
wukko
3f46395bd2 web/state/queue: add nukeEntireQueue() 2024-12-18 17:10:08 +06:00
wukko
13ec4f4faf web/queue: add types & states 2024-12-18 16:59:08 +06:00
wukko
13c4438a57 web/DownloadManager: item component & type 2024-12-17 01:25:02 +06:00
wukko
d8f3bbe0f3 web/lib/api: return errors from authorization function 2024-11-24 13:37:36 +06:00
wukko
57734822ea web/settings/migrate: refactor, migrate to v4 schema
why the fuck was tab 2 spaces here
2024-11-24 00:23:06 +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
baebeed488 web/settings/v4: add api key settings, remove override settings 2024-11-23 19:08:24 +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
jj
f7dc6cebad all: add space after catch 2024-11-15 12:19:49 +00:00
wukko
c477b728e1 web/about/community: add a link to bluesky 2024-11-04 21:26:38 +06:00
jj
f4ca4ea719 web/settings: validate youtubeDubLang as literal 2024-11-03 20:02:43 +00: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
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
94e6acb832 web/settings/migrate: remove youtubeDubBrowserLang migration 2024-10-30 17:19:51 +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 2024-10-16 17:03:34 +06:00
dumbmoron
0b06299da0 web/DialogButton: add "link" buttons 2024-10-12 17:42:53 +00:00
wukko
416a9efdd1 web/server-info: reload the page if turnstile sitekey changes 2024-09-23 16:16:17 +06:00
wukko
402b4b6485 web/types/api: fix formatting 2024-09-23 15:11:58 +06:00
wukko
ba93492c8d web: prevent openURL action on ios devices if url is redirect 2024-09-23 15:06:57 +06:00
wukko
dfaef913c4 web/DownloadButton: move server info cache checks to the api lib 2024-09-22 15:05:40 +06:00
dumbmoron
5ba83f3d56 web/polyfills: add polyfill for AbortSignal.timeout 2024-09-21 09:08:56 +00: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