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
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
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
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
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
dumbmoron
66479a9791
web/translations: add fallback locale name to unnamed locales
2024-09-16 15:13:44 +00:00
dumbmoron
4af48dd2f9
web: add UserActivation polyfill for browsers that don't have it
2024-09-11 11:15:25 +00:00
wukko
d7454a073b
web/download: assume userActivation expired if agent doesn't support it
2024-09-11 14:42:54 +06:00
dumbmoron
8df4bc00cb
web/svelte: change public prefix to WEB_
2024-09-09 15:24:23 +00:00
wukko
93ca553fb2
web/about/community: add community links
2024-09-09 21:19:43 +06:00
wukko
ebd1104df3
web/libav: remove redundant async
2024-09-09 19:36:16 +06:00
wukko
bd93da94dc
web/download: remove redundant async
2024-09-09 19:36:08 +06:00
wukko
11b756945f
web/about: thanks & licenses page
2024-09-09 14:24:11 +06:00
wukko
2049e65221
web/about/general: update the community section
2024-09-09 13:39:30 +06:00
wukko
fbe8ccfc2a
web/download: show an explanation when user activation expires
2024-09-09 12:53:22 +06:00
wukko
8a18645e0b
web/remux: warn user & terminate libav before switching tabs
...
warning about aborting processing will be shown before navigating away from remuxing tab
2024-09-09 03:08:18 +06:00
wukko
853bc26587
web/download: support downloading and sharing raw files
2024-09-09 02:30:03 +06:00
wukko
53eb052fe6
web/SavingDialog: add ios saving tutorial
2024-09-09 00:10:21 +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
1821b4b614
web/settings/defaults: set tiktokFullAudio to false
2024-09-08 20:19:12 +06:00
wukko
fcde8ad745
web/settings/migrate: don't migrate twitterGif
2024-09-08 20:18:50 +06:00
wukko
e839aa4c41
web/types/settings: add 8kbps bitrate option back
2024-09-07 22:33:43 +06:00
dumbmoron
6a67ed29ca
web/remux: split memory allocations into chunks
...
browsers don't like to allocate huge chunks of contiguous memory, but
we do not actually need a huge chunk of contiguous memory, and this
lets us process much larger files than before
2024-09-07 14:35:36 +00:00
dumbmoron
0a37c84e93
web/libav: always clean up files on function exit
2024-09-07 14:35:36 +00:00
wukko
7a45866c7c
web/about: write the general about page
2024-09-07 18:31:02 +06:00
dumbmoron
08490c54e4
api: include generated filename
in api response
2024-09-07 12:26:43 +00:00
dumbmoron
3232c4a51b
web/libav: simplify reading probe data
2024-09-07 11:41:56 +00:00
wukko
16d59a239c
web/types/settings: remove 8kbps option
2024-09-06 15:57:37 +06: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
49460bd16d
web: load turnstile only in save tab and only once
...
turnstile will stay in background after being loaded once (just like before), but now it will not load on pages other than save if they are opened first
2024-09-05 00:04:41 +06:00
wukko
520725462a
web: fix auto navigation on scale change for about & settings pages
2024-09-04 21:20:56 +06:00
wukko
d98353d5af
web/about: about page routing & navigation
2024-09-04 20:59:05 +06:00
wukko
56008676f5
web/settings: move sub navigation into its own component
2024-09-04 17:50:47 +06:00
dumbmoron
1262bc20fe
web/version: don't try to fetch when server-side rendering
2024-09-03 13:33:16 +00:00
wukko
30c4c1ad20
web/device: add default values & types
2024-09-03 13:52:41 +06:00
dumbmoron
51c140fbfa
web: make everything ssr-compatible
2024-08-31 17:46:10 +00: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
1c258ab0ae
web/env: add more donation methods
2024-08-25 17:09:31 +06:00
wukko
1147244e46
web/env: updated the list of crypto addresses
2024-08-25 16:34:27 +06:00
wukko
0d58fad580
web/session: update session fetch error code
2024-08-24 16:16:12 +06:00
wukko
c0284fac13
web/translations: handle error contexts
2024-08-24 16:15:48 +06:00
wukko
b6d2175d4b
web/settings/defaults: enable full tiktok audio by default
2024-08-22 23:15:05 +06:00
wukko
ff9efdc471
api & web: update default audio bitrate to be 128kbps
2024-08-22 20:50:21 +06:00
wukko
42ff874c95
api/schema: add 8bkps audio bitrate option
2024-08-22 20:06:54 +06:00
wukko
49184a235d
web/save: add support for audio bitrate functionality
2024-08-22 19:38:39 +06:00
wukko
cd9be54023
web/settings: update twitterGif & videoQuality defaults
2024-08-20 22:02:06 +06:00
wukko
c698d272a1
api/jwt: return relative expiration date to accommodate offset clocks
2024-08-19 22:25:21 +06:00
dumbmoron
e678bd25fc
web/lib/libav: clean up extension handling
2024-08-17 13:45:58 +00:00
dumbmoron
7d10ab765e
web/remux: override mp3 extension from mime type
2024-08-17 13:26:43 +00: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
wukko
a49a87544c
web/session: don't expect a trailing slash in DEFAULT_URL
2024-08-16 23:52:40 +06:00
wukko
3336210e93
web/state/session: clean up
2024-08-16 23:48:50 +06:00
wukko
4857030933
web/api: jwt session token, clean up, move related modules to own dir
2024-08-16 23:36:56 +06:00
wukko
478dd6e515
web/Omnibox: show a spinner when loading
...
replaces the link icon with a spinner when loading the turnstile checks or processing the link
2024-08-16 01:37:05 +06:00
wukko
384c6deced
web: add support for cloudflare turnstile
2024-08-16 00:08:57 +06:00
dumbmoron
4c2acc595e
web/remux: add basic progress example
2024-08-13 15:34:53 +00:00
dumbmoron
f93d84c457
web/libav: add ffprobe wrapper
2024-08-13 15:34:53 +00:00
dumbmoron
4636f7b0d4
web/libav/wrapper: make sure libav is initialized only once
2024-08-13 15:34:53 +00:00
dumbmoron
28600e7e4c
web/libav: emit progress events
2024-08-13 15:34:53 +00:00
wukko
af428bc964
web: stylize the file receiver, move text to i18n, update remux page
2024-08-13 14:17:10 +06:00
dumbmoron
e79f466c5f
web/libav: shrink buffer _after_ ffmpeg is done running
2024-08-13 00:23:13 +00:00
dumbmoron
e084092f37
web/libav: remove stray curly brace
2024-08-12 20:39:36 +00:00
dumbmoron
bc272b910e
web/libav: fix import double slash, use unlinkreadaheadfile
2024-08-12 20:36:24 +00:00
dumbmoron
83f46864b2
web/libav: properly instantiate libav property
2024-08-12 20:03:30 +00:00
dumbmoron
038c29dc8d
web/libav: move types to dedicated file
2024-08-12 20:03:07 +00:00
wukko
55ab3c36b1
web/lib: remove ffmpeg
2024-08-13 00:18:45 +06:00
dumbmoron
940826697c
web/libav: preallocate memory for output when remuxing
2024-08-12 18:07:04 +00:00
dumbmoron
2198a696ce
web/libav: make it work & clean up
2024-08-12 17:06:45 +00:00
wukko
57054c24b2
web: draft libav functionality
2024-08-12 22:28:38 +06:00
wukko
778eb51502
web/ffmpeg: don't return an empty blob
2024-08-11 19:13:04 +06:00
wukko
b33bd39484
web/ffmpeg: accept and return blob, proper types & extensions, clean up
2024-08-11 18:24:29 +06:00
wukko
1113ddd9c5
web/ffmpeg: universal render function for all needs
2024-08-11 13:04:40 +06:00
wukko
41a002929e
web: barebones core for ffmpeg & remux page
2024-08-10 17:21:39 +06:00
wukko
b71d51de21
web: move svg icons from lib to components
2024-08-09 16:35:00 +06:00
wukko
536d9c9742
web/i18n: move call to action button strings to own file
2024-08-09 14:40:30 +06:00
wukko
21ef35ea20
web/donate: add a share card with qr and buttons
...
also:
- fixed more scaling quirks
- fixed thick icons
- fixed icon padding
2024-08-09 14:35:55 +06:00
wukko
4505d6cfe1
web/api: merge picker types
2024-08-06 21:32:17 +06:00
wukko
ac6d68ec45
web/api: remove deprecated statuses, update error type, time out request
...
also updated some error codes
2024-08-06 20:50:20 +06:00
wukko
c98b08fc7f
web/DonateBanner: load imput logo as component
2024-08-06 14:54:31 +06:00
dumbmoron
d431e9e9a2
web: add fast meowbalt
2024-08-04 16:11:26 +00:00
wukko
aba444ec8b
web: updated api endpoint & params, default instance override
...
- dialogs can be undismissable now (impossible to click away by pressing the bg behind it)
- added security warning about api override
- moved default api url to env
- added new processing settings page
2024-08-04 00:43:24 +06:00
dumbmoron
d1930c1dbc
web/advanced: check if imported settings are valid
2024-07-30 17:15:38 +00:00
wukko
5fc893a273
web/updates: add alt text to navigation buttons
2024-07-29 14:32:15 +06:00
wukko
97e7763503
web/download: show explanation when getting blocked by browser
2024-07-28 19:15:22 +06:00
wukko
5c780a2d2e
web: added saving method preference, made downloading resilient
2024-07-28 18:59:58 +06:00
wukko
11d3d71937
web/dialogs: move buttons to own component & add optional timeout
2024-07-28 14:49:12 +06:00
wukko
cce3ce4cfa
web/download: show saving dialog if new tab got blocked
2024-07-28 13:49:23 +06:00
wukko
71204054c7
web/settings/defaults: disable downloadPopup by default
2024-07-28 13:33:09 +06:00
wukko
82091db154
web/download: open saving dialog if user action expired
2024-07-28 13:32:21 +06:00
wukko
a9f9a3e342
web/dialogs: add saving method dialog
2024-07-27 15:07:26 +06:00
wukko
7427788efd
web/PickerItem: add support for gifs in picker
2024-07-26 21:34:18 +06:00
dumbmoron
8ac834ec80
web: initial donate page
2024-07-26 08:22:30 +00:00
dumbmoron
7a5e4c56d3
web/settings: make old settings migration use initial schema
2024-07-24 10:27:06 +00:00
dumbmoron
f8d06cf18b
web/settings: settings import/export
2024-07-23 18:17:38 +00:00
dumbmoron
61e47b38d1
web/DownloadButton: slight refactor
2024-07-23 10:09:42 +00:00
dumbmoron
89181c6ddc
web/settings: make version info optional, wait for load
2024-07-23 09:36:49 +00:00
wukko
0225a7c46c
web/settings: simplify sidebar, add version info, flatten page navigation
2024-07-23 11:00:27 +06:00
wukko
bc8e3d4a7c
web/Omnibox: simplify link state storage
2024-07-22 16:34:19 +06:00
dumbmoron
7c5b703e37
web/dialog: refactor types and logic
2024-07-22 09:06:11 +00:00
dumbmoron
4e4f7af437
web/settings: types for preparation for future migrations
2024-07-22 08:38:06 +00:00
wukko
66bac03e30
web/dialogs: add picker dialog & clean up small dialog
2024-07-22 14:33:43 +06:00
wukko
24b783e5fb
web/Omnibox: remember the link input when switching between tabs
2024-07-22 09:55:04 +06:00
dumbmoron
bb446ecf3e
web: add Optional type and use it
2024-07-21 17:26:21 +00:00
dumbmoron
4fab0d3fb8
web/ChangelogEntry: expect date to always exist
2024-07-21 11:31:55 +00:00
dumbmoron
534af330ce
web/changelogs: make date
attribute required
2024-07-21 11:30:06 +00:00
dumbmoron
0cea58922d
web/changelogs: display skeleton when changelog is loading
2024-07-21 09:42:48 +00:00
dumbmoron
8a080c55f6
web: refactor and deduplicate locale preference logic
2024-07-20 14:37:52 +00:00
wukko
d7bf98a80b
web: settings reset confirmation, icons for small dialog
...
- cleaned up dialog i18n
- better red color
- made :active state visible for dialog buttons on mobile
- better body padding in small dialog
- better small dialog typing with optional values
2024-07-20 21:48:17 +06:00
dumbmoron
def6e26b9f
web/settings: add "erase all settings" button
2024-07-20 14:01:13 +00:00
wukko
720b3c5f68
web: full SmallDialog component, one flexible meowbalt component
...
- fully stylized small dialog: header, title, subtext, state without meowbalt
- moved meowbalt into his own adaptive component, no need to import/create new ones for each emotion
- better types for dialog related stuff
- type for meowbalt's emotions
- better padding in small dialog
2024-07-20 20:34:19 +06:00
dumbmoron
c3c7a6b7ba
web/version: convert to readable
2024-07-20 12:43:14 +00:00
dumbmoron
766482c21a
frontend: setup initial updates page
2024-06-29 18:23:56 +00:00
wukko
fa835d0010
web/dialog: css for small dialog
...
- moved backdrop to each dialog
- dialog is now closable by clicking the backdrop
- added meowbalt to dialogs
- added more meowbalt assets & components
- added "main" boolean to indicate the main action button in a list of buttons
2024-07-16 14:00:56 +06:00
wukko
128ab388f3
web: add env variable & plausible functionality
2024-07-14 22:50:18 +06:00
dumbmoron
436b735d2a
web/settings: try to migrate settings if new format is not used yet
2024-07-13 20:39:40 +00:00
dumbmoron
5a630c2320
web/migrate: set up migration from old settings format
2024-07-13 20:37:38 +00:00
dumbmoron
ee9421b831
web/state/settings: add "disable analytics" option
2024-07-14 15:22:42 +00:00
dumbmoron
1f0958a0d1
web/settings: move to state folder
2024-07-13 13:17:03 +00:00
wukko
4232c3437b
web: dialog system & basic small dialog
2024-07-13 19:15:43 +06:00
dumbmoron
3f98f5bee8
settings: move schemaVersion definition to updateSetting
2024-07-13 12:32:08 +00:00
dumbmoron
2cce4bd521
settings: expose settings that have only been modified
...
also reduce unnecessary loads from storage
2024-07-13 12:25:27 +00:00
dumbmoron
2a0366a58d
settings: add migrations, include schemaVersion in storage
2024-07-13 12:05:52 +00:00
wukko
d27bed7add
web: respect reduced motion & transparency preferences
...
also cleaned up settings & device libs
2024-07-12 18:49:29 +06:00
wukko
4759f2037c
web/device: add user agent
2024-07-11 00:27:46 +06:00
wukko
6c7695ca6c
web/error: redirect home on 404
2024-07-10 23:50:50 +06:00
dumbmoron
95bcf7bf66
settings: only store settings if changed by user
2024-07-10 17:47:46 +00:00
wukko
a6ddceb643
web/settings: add advanced & debug pages
2024-07-10 23:35:53 +06:00
wukko
2b907e5684
web/lib/settings: use default settings as base when loading from storage
2024-07-10 23:29:47 +06:00
wukko
bc63b0c6b7
web/lib/device: fix ipad recognition
2024-07-10 23:28:23 +06:00
wukko
19a0b00853
web/i18n: add fallback locale
2024-07-09 17:40:45 +06:00
wukko
9b3f289b0e
web/lib/api: don't follow redirects away from api
2024-07-07 18:52:06 +06:00
dumbmoron
16c76e7e92
web/settings: redirect invalid settings paths to default settings page
2024-07-04 22:18:02 +00:00
dumbmoron
8fd2c66441
web/i18n: dynamically determine languages from i18n folder contents
2024-07-03 19:28:44 +00:00
wukko
8b801bad50
web/save: keyboard shortcut for muted mode
2024-07-04 00:03:46 +06:00
wukko
97d381e993
web: move all strings to i18n & improve a11y
...
- omnibox is now fully usable with a screen reader
- back button is now interpreted as such
- subtext now accepts line breaks
2024-07-03 23:54:44 +06:00
dumbmoron
743338ea4c
web/omnibox: add keyboard shortcuts support
...
- shift+d to paste
- ⌘/ctrl+v to paste
- shift+k for auto mode
- shift+l for audio mode
- esc to clear input
todo:
- shortcut for "muted" mode
2024-07-03 17:42:34 +00:00
wukko
374611553b
web: add notch easter egg & optimize for landscape
...
it took way too much time to optimize the damn logo sticker under notch for all devices & zoom states
also improved device lib api
2024-07-03 19:05:14 +06:00
wukko
5ced7b5388
web/save: move strings to i18n & translate to ru
...
also fixed line break in switcher for future lengthier translations (german, for example)
2024-07-03 13:52:27 +06:00
wukko
9939f3b172
web: i18n system & navbar translations
...
dynamic page language and language dropdown!! finally!!
2024-07-03 00:16:03 +06:00
wukko
f383f5d94e
web/theme: add dynamic status bar color on mobile
2024-06-29 20:24:51 +06:00
wukko
d817888838
web/device: add global constant for device info
2024-06-29 20:24:14 +06:00
wukko
10a9c955d9
web: proper theming
2024-06-29 20:09:17 +06:00
wukko
042d2e9cc8
web: settings ui & const for settings type options
2024-06-24 23:05:51 +06:00
wukko
b9e7661b6d
web: basic settings page needed for testing
...
typescript cries about types but i don't care at this point
2024-06-20 18:05:17 +06:00
wukko
4564f409aa
web/types/settings: add missing 480p video quality
2024-06-19 23:42:52 +06:00
wukko
3b2178fd1a
web/api: full api request with user preferences
2024-06-19 23:29:26 +06:00
wukko
00cdb2121d
web: data-driven switcher & save mode switcher
...
also:
- disabled ssr to enable localstorage
- removed the workaround for hover, as it looks bad
2024-06-19 23:04:09 +06:00
wukko
009a2cc863
web: implement settings core
...
this was a torture
2024-06-19 21:12:51 +06:00
wukko
068af6a965
web/types/api: add trailing commas
2024-06-19 15:28:36 +06:00
wukko
eaf63fdd45
web: reduced omnibox & button sizes
2024-06-17 18:46:21 +06:00
wukko
3554222f42
web: add api response types & clean up DownloadButton
2024-06-16 18:53:45 +06:00
wukko
1f2c28bd02
web: basic api interaction & downloading
...
download button now acts the way it should with various states
2024-06-16 18:22:44 +06:00
wukko
324729eb21
web: basic switcher component & mute mode button
2024-06-16 15:30:14 +06:00
wukko
bf26988cde
web/save: add paste button & dummy mode buttons
...
tuned default button look, moved custom icons to lib for easy access
2024-06-15 20:39:34 +06:00
wukko
8cc11367ef
web: project skeleton
2024-06-13 15:32:17 +06:00