Commit graph

650 commits

Author SHA1 Message Date
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
70c1a85766
web/DonateOptionsCard: fix input click area 2024-08-30 15:11:28 +06:00
wukko
524235907d
web/DonateOptionsCard: remove stepper in firefox 2024-08-30 15:03:04 +06:00
wukko
1fe419784d
web/DonateOptionsCard: recolor the focus border of input container
also removed additional 0.5px that got partially cropped
2024-08-29 20:58:49 +06:00
wukko
f0ce0ccef7
web/server-info: refresh server info cache if endpoint changes 2024-08-29 18:10:46 +06:00
wukko
f7da62e817
web/Omnibox: increase max length to 512 characters 2024-08-29 13:22:52 +06:00
wukko
5dc0cf1772
web/processing: hide override section when DEFAULT_API isn't present 2024-08-29 13:20:17 +06:00
wukko
e59b7fd375
web/FileReceiver: reduce padding 2024-08-28 15:06:00 +06:00
wukko
2068bba4ee
web/SupportedServices: make the button more minimal 2024-08-27 19:40:30 +06:00
wukko
74a2758413
web/i18n/save: update disclaimer & translate new strings to russian 2024-08-26 23:52:13 +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
59308ed09f
web/about: add the link type of alternative donation method 2024-08-25 17:10:17 +06:00
wukko
1c258ab0ae
web/env: add more donation methods 2024-08-25 17:09:31 +06:00
wukko
83f1744508
web/about: move bottom margin to section 2024-08-25 16:53:51 +06:00
wukko
685f8cb65e
web/sidebar: fix auto scroll & clean up 2024-08-25 16:43:24 +06:00
wukko
a8330b25fa
web/donate: reduce bottom margin 2024-08-25 16:41:10 +06:00
wukko
481697ea12
web/donate: add crypto donation options 2024-08-25 16:38:13 +06:00
wukko
1147244e46
web/env: updated the list of crypto addresses 2024-08-25 16:34:27 +06:00
wukko
b8fc3aeb4c
web/CopyIcon: added regular copy icon 2024-08-25 16:34:08 +06:00
wukko
6aa39dd1d1
web/i18n/error: add token expiration youtube error & update login error 2024-08-24 18:34:38 +06:00
wukko
7478a373fc
api & web: add service context to api.fetch.critical error 2024-08-24 17:24:51 +06:00
wukko
0b7af10ab0
web/i18n/error: update api.link.invalid 2024-08-24 17:21:44 +06:00
wukko
e80a110264
web/i18n: add all strings for api errors 2024-08-24 17:13:35 +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
cc05833c6a
web/SettingsNavBar: fix text line height 2024-08-23 23:17:39 +06:00
wukko
09a6b5179e
web/SidebarTab: fix selection animation in webkit 2024-08-23 21:07:18 +06:00
wukko
2479900bb9
web/donate: adjust donate card gradient colors for dark theme 2024-08-23 20:50:38 +06:00
wukko
1f25b3d793
web/DonateShareCard: remove gradient on mobile 2024-08-23 20:50:17 +06:00
wukko
7daceea049
web/DonateCardContainer: reduce padding on mobile (again) 2024-08-23 20:25:03 +06:00
wukko
8200541b21
web/DonateBanner: reduce padding on mobile 2024-08-23 20:24:47 +06:00
wukko
ba3602aabb
web/DonateBanner: slightly reduce amount of hearts 2024-08-23 20:13:04 +06:00
wukko
0d8065ac70
web/DonateBanner: reduce padding 2024-08-23 20:05:21 +06:00
wukko
8df70cc00b
web: update page title style
prioritize the page title, not "cobalt"
2024-08-23 20:02:17 +06:00
wukko
1e5bc67e92
web/DonateCardContainer: reduce padding 2024-08-23 19:55:10 +06:00
wukko
24f2329e9d
web/settings: slightly update navigation style on mobile 2024-08-23 19:44:10 +06:00
wukko
b6d2175d4b
web/settings/defaults: enable full tiktok audio by default 2024-08-22 23:15:05 +06:00
dumbmoron
d7d707e666
web/DialogHolder: fix dialog animation jumping on new safari versions
WebKit/WebKit@ce08f32453 breaks this animation on newer versions
of safari. why? i guess we'll never know
2024-08-22 17:09:58 +00:00
wukko
c7a08844e3
web/i18n/settings: update audio format & bitrate descriptions 2024-08-22 22:57:51 +06:00
wukko
b3d846a1e3
web/i18n/settings: update audio bitrate description 2024-08-22 20:50:45 +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
ed4a5889ab
web/DownloadButton: fix download audio i18n 2024-08-22 13:05:17 +06:00
wukko
3057f9cffb
web/DownloadButton: replace rem sizes with pixels 2024-08-20 22:34:47 +06:00
wukko
cd9be54023
web/settings: update twitterGif & videoQuality defaults 2024-08-20 22:02:06 +06:00
wukko
98be6f017c
web/i18n/settings: update twitter gif description 2024-08-20 22:01:33 +06:00
wukko
265ab77948
web/i18n: update string name formatting 2024-08-20 21:17:33 +06:00
wukko
c698d272a1
api/jwt: return relative expiration date to accommodate offset clocks 2024-08-19 22:25:21 +06:00
dumbmoron
a4d57f175e
web/libav: try to guess type from filename if browser fails 2024-08-17 14:07:10 +00:00
wukko
911f283b78
web/html: prevent chrome & darkreader from messing up the dark theme 2024-08-17 19:52:39 +06:00
dumbmoron
e678bd25fc
web/lib/libav: clean up extension handling 2024-08-17 13:45:58 +00:00
dumbmoron
9d7512d6e5
web/remux: lower percentage bound 2024-08-17 13:45:18 +00:00
dumbmoron
7d10ab765e
web/remux: override mp3 extension from mime type 2024-08-17 13:26:43 +00:00
dumbmoron
d446dfd87e
web/remux: correctly unset processing state 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
dumbmoron
580ca042f3
web/remux: display error if probe fails 2024-08-17 10:15:05 +00:00
dumbmoron
3bef12ff33
web/remux: copy all streams when remuxing 2024-08-17 10:07:55 +00: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
33c2fee847
web/remux: add page title 2024-08-16 22:52:33 +06:00
wukko
ac9568a422
web/remux: fix ghost click areas when processing 2024-08-16 02:13:26 +06:00
wukko
275c982c80
web/Sidebar: hide unfinished tabs 2024-08-16 01:55:25 +06:00
wukko
b9fabdc327
web/Omnibox: clean up input link icon code 2024-08-16 01:44:13 +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
8b9e3f58f4
web/i18n/error: add api authentication error 2024-08-16 00:24:21 +06:00
wukko
384c6deced
web: add support for cloudflare turnstile 2024-08-16 00:08:57 +06:00
wukko
9d577f23b1
web/FileReceiver: fix focus ring 2024-08-15 12:58:26 +06:00
wukko
5ce4ef8366
web/FileReceiver: reduce padding, fix scaling 2024-08-14 13:07:34 +06:00
wukko
70a8c53cba
web/Sidebar: add blank convert & shrink tabs 2024-08-14 01:43:04 +06:00
dumbmoron
8af6761951
web/remux: transition into processing state before probe 2024-08-13 15:55:47 +00:00
dumbmoron
1493762ce9
web/remux: add speed to progress info 2024-08-13 15:55:30 +00: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
72545ffb5d
web/remux: init libav on page load, basic progress event handling 2024-08-13 15:34:53 +00:00
dumbmoron
28600e7e4c
web/libav: emit progress events 2024-08-13 15:34:53 +00:00
wukko
f661e839b1
web/i18n/remux: less yapping in description 2024-08-13 16:56:46 +06:00
wukko
c8904fd939
web/FileReceiver: reduce icon size, change icon when dragged over 2024-08-13 16:48:53 +06:00
wukko
b9958a8102
web/FileReceiver: fix meowbalt z index 2024-08-13 16:16:50 +06:00
wukko
0d41fe6fa3
web/FileReceiver: animated svg dashed stroke, padding improvements 2024-08-13 16:15:00 +06:00
wukko
70b300bd71
web/remux: add processing state, clean file, prevent render loop 2024-08-13 15:22:24 +06:00
wukko
1fd2b72075
web/remux: rename DropReceiver component 2024-08-13 14:17:58 +06:00
wukko
af428bc964
web: stylize the file receiver, move text to i18n, update remux page 2024-08-13 14:17:10 +06:00
wukko
09deb5c7b6
web/Sidebar: move settings tab to bottom & move updates tab lower 2024-08-13 12:35:18 +06:00
wukko
6cc0871d99
web: add static headers file for multithreading on cloudflare pages 2024-08-13 12:06:09 +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
5fb9b1c809
web: bump libav.js version 2024-08-12 20:34:57 +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
b2288ed037
web: remove ffmpeg worker workaround 2024-08-13 00:23:20 +06:00
wukko
ed722e77ea
web: remove ffmpeg wasm dependencies 2024-08-13 00:20:01 +06: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
dumbmoron
75ef4604d8
web/vite: expose libav.js files directly 2024-08-12 16:47:11 +00:00
wukko
6a04312781
web: update package 2024-08-12 22:30:09 +06: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
3fd05891e6
web/remux: move drop area and open file button into own components 2024-08-11 18:30:42 +06:00
wukko
b33bd39484
web/ffmpeg: accept and return blob, proper types & extensions, clean up 2024-08-11 18:24:29 +06:00
wukko
f87f6fa9c9
web/remux: accept files on drag, update ffmpeg function call 2024-08-11 13:05:15 +06:00
wukko
1113ddd9c5
web/ffmpeg: universal render function for all needs 2024-08-11 13:04:40 +06:00
dumbmoron
7044100aed
web: fix build for remux and remove unused import 2024-08-10 11:45:16 +00:00
wukko
3c2dd93841
web/SidebarTab: fix scroll to first page of tabs 2024-08-10 17:43:53 +06:00
wukko
41a002929e
web: barebones core for ffmpeg & remux page 2024-08-10 17:21:39 +06:00
wukko
ebd6cc801b
web/Sidebar: remove incorrect aria-orientation 2024-08-09 21:07:38 +06:00
wukko
5e0824022c
web/DonateShareCard: add alt text for qr code 2024-08-09 21:04:56 +06:00
wukko
b71d51de21
web: move svg icons from lib to components 2024-08-09 16:35:00 +06:00
wukko
6bda6dab03
web/DonateShareCard: hide twitter button in russia 2024-08-09 16:06:33 +06:00
wukko
d1a2d768d9
web/DonateShareCard: expand the card on QR press & better scaling 2024-08-09 16:06:19 +06:00
wukko
f81f155eb0
web/DonateShareCard: clean up imports 2024-08-09 14:52:48 +06:00
wukko
ffea8e6f2e
web/DonateShareCard: hide share button if user agent doesn't support it 2024-08-09 14:52:22 +06:00
wukko
e7386234bc
web/DonateShareCard: fix unrelated buttons triggering the copy anim 2024-08-09 14:51:25 +06:00
wukko
e4ec468f60
web/DonateShareCard: change action button id and class names
some adblock lists block everything named "share-button(s)"
2024-08-09 14:47:54 +06:00
wukko
077471d799
web/DonateShareCard: localize strings 2024-08-09 14:40:52 +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
e45aa2bdf6
web/CopyIcon: replace copy icon with a link icon 2024-08-09 14:35:06 +06:00
wukko
937d12ddff
web/donate: bring up repeated card css to container
also fixed some scaling quirks on mobile
2024-08-09 13:13:48 +06:00
wukko
209833c8ea
web/DonateOptionsCard: update subtitle color 2024-08-09 12:27:49 +06:00
wukko
b8cd6eb1e7
web/Sidebar: update tab holder aria role 2024-08-09 12:05:59 +06:00
wukko
608824f862
web/DonateBanner: focus the title first on the page 2024-08-09 12:05:15 +06:00
wukko
c94266a127
web/DonateOptionsCard: better accessibility 2024-08-09 12:04:43 +06:00
wukko
d4e91f2a1c
web/DonateOptionsCard: fix button active color 2024-08-09 11:48:04 +06:00
wukko
cc5835a546
web/DonateOptionsCard: adjust padding, fix width, mask options row 2024-08-09 11:46:56 +06:00
wukko
98ac05ad86
web/donate: reduce text padding on mobile 2024-08-09 11:35:05 +06:00
wukko
80c26f712c
web/DonateBanner: better scaling 2024-08-09 11:31:57 +06:00
wukko
abeacd7534
web/DonateOptionsCard: move all strings to i18n, mobile scaling 2024-08-09 11:31:44 +06:00
dumbmoron
b510cbf9e0
web/donate: add dollar sign before custom input 2024-08-06 18:30:06 +00:00
dumbmoron
c90a01daf9
web/donate: update logic for sending custom amounts 2024-08-06 18:30:06 +00:00
dumbmoron
d67ed89c38
web/donate: refactor, implement logic for choosing donation periodicity 2024-08-06 18:30:06 +00:00
dumbmoron
1077797aae
web/donate: add minimum/maximum amounts to donation amount 2024-08-06 18:30:06 +00: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
dumbmoron
5948cab4fb
web: move iPadOS workaround to global level 2024-08-06 14:19:01 +00:00
dumbmoron
3b90f5ee17
web/Omnibox: workaround for link area being unusable on iPadOS 15 2024-08-06 14:02:21 +00:00
dumbmoron
075b2799e3
web/DonateBanner: fix top scroll caused by banner hearts overflowing
wtf
2024-08-06 13:24:11 +00:00
dumbmoron
0b602b9164
web/DonateBanner: disable pointer events for background animation 2024-08-06 12:42:17 +00:00
wukko
83cd51f4db
web/DonateOptionsCard: fix width 2024-08-06 16:53:40 +06:00
wukko
a25e0bfb04
web/DonateOptionsCard: fix prefilled stripe amount 2024-08-06 16:48:39 +06:00
wukko
14d0577895
web/DonateOptionsCard: hide webkit stepper button 2024-08-06 16:46:32 +06:00
wukko
eccf75b7b7
web/donate: redesign the donation options card 2024-08-06 16:45:25 +06:00
wukko
5d58502fd8
web/DonateBanner: fix meowbalt overlapping the update notification 2024-08-06 14:57:10 +06:00
wukko
c98b08fc7f
web/DonateBanner: load imput logo as component 2024-08-06 14:54:31 +06:00
wukko
e074dd5b89
web/layout: more global styling for long-text-noto 2024-08-06 14:50:12 +06:00
wukko
bf73f512e2
web/donate: move donation options card to own component
- moved reused variables to parent
- added body text
2024-08-06 14:48:06 +06:00
wukko
87b76ec1e2
web/layout: add global long-text-noto style class 2024-08-06 14:29:15 +06:00
wukko
894c1ada24
web/DonateBanner: make subtitle easier to read 2024-08-06 14:28:32 +06:00
wukko
250269bc09
web/DonateBanner: move to donate components folder 2024-08-06 14:27:56 +06:00
wukko
c8a0f74e62
web/DonateBanner: dark theme & scaling support 2024-08-06 14:09:16 +06:00
wukko
9dad15b48c
web/DonateBanner: fix up colors & sizes to match mockup 2024-08-06 13:24:40 +06:00
dumbmoron
640898e022
web/donate: move header to component, initial donation options 2024-08-04 16:11:26 +00:00
dumbmoron
e72efae24d
web/donate: initial re-redesign 2024-08-04 16:11:26 +00:00
dumbmoron
d431e9e9a2
web: add fast meowbalt 2024-08-04 16:11:26 +00:00
wukko
6267d1d58f
web/version: use workspace version-info package 2024-08-04 22:01:36 +06:00
wukko
bfbf653463
web/package: update version to 10.0.0 2024-08-04 00:52:27 +06:00
wukko
61f8a61986
web/i18n/settings: point out that processing override desc isn't final 2024-08-04 00:47:09 +06: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
18b3daf90f
web/package: lower minimum node version, replace npm with pnpm 2024-08-03 09:50:42 +00:00
wukko
ec98605336
git: update general gitignore & web gitignore 2024-08-02 21:16:04 +06:00
wukko
4f877f199b
web: add to pnpm workspace and move lock to pnpm 2024-08-02 21:03:25 +06:00
wukko
008163073d
web/updates: merge skeleton & entry components 2024-07-31 19:28:48 +06:00
wukko
2c4ba96d57
web/TransferSettings: pretty formatting 2024-07-31 14:59:53 +06:00
wukko
e7587a2ec6
web/TransferSettings: friendlier error messages 2024-07-31 14:57:34 +06:00
wukko
585ebd9cb4
web/settings/advanced: hide reset settings button if there are no settings 2024-07-31 13:53:34 +06:00
dumbmoron
d1930c1dbc
web/advanced: check if imported settings are valid 2024-07-30 17:15:38 +00:00
dumbmoron
3d34e09e1c
web: don't display pointer cursor for disabled buttons 2024-07-30 16:37:44 +00:00
dumbmoron
a6a0e91674
web/TransferSettings: don't offer export if there is nothing to export 2024-07-30 14:08:49 +00:00
wukko
96df9d55b8
web/updates: fix duplicate css 2024-07-29 14:46:10 +06:00
wukko
5fc893a273
web/updates: add alt text to navigation buttons 2024-07-29 14:32:15 +06:00
wukko
8b866ddf6f
web/SettingsNavTab: reduce padding on desktop 2024-07-29 13:11:29 +06:00
wukko
a4e0e21a97
web/Omnibox: accept keyboard shortcuts only when focused 2024-07-28 23:36:38 +06:00
wukko
48d24ee1ea
web/SavingDialog: show that link was copied, better accessibility 2024-07-28 23:29:32 +06:00
wukko
3aeebcc911
web/SavingDialog: don't render body text parent if there's no text 2024-07-28 19:20:32 +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
87adffaf02
web/ResetSettingsButton: add a timeout to reset button in dialog 2024-07-28 14:51:02 +06:00
wukko
f34340a06d
web/TransferSettings: add a timeout to import button in dialog 2024-07-28 14:50:59 +06:00
wukko
11d3d71937
web/dialogs: move buttons to own component & add optional timeout 2024-07-28 14:49:12 +06:00
wukko
a2ead8a813
web/i18n/dialog: add more info to import warning 2024-07-28 14:08:27 +06:00
wukko
cce3ce4cfa
web/download: show saving dialog if new tab got blocked 2024-07-28 13:49:23 +06:00
dumbmoron
299d1867a2
web/TransferSettings: only export storedSettings instead of all settings 2024-07-28 07:46:15 +00: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
4210b17d89
web/TransferSettings: show a safety warning before importing 2024-07-28 13:20:22 +06:00
wukko
5bb5c6dc3c
web/SmallDialog: fix line breaking in body text 2024-07-28 13:15:28 +06:00
wukko
194ff90d3d
web/layout: fix elevated colored button hover & active states 2024-07-28 13:14:55 +06:00
wukko
2fa1ad8f12
web/SavingDialog: hide buttons when actions are not supported 2024-07-28 12:49:13 +06:00
wukko
32743360be
web/Omnibox: fix dimmed input placeholder in firefox 2024-07-27 19:27:58 +06:00
wukko
1ded7698ff
web/Omnibox: fix input area dimming in safari when processing 2024-07-27 19:26:39 +06:00
wukko
6072fbac5c
web/DialogHolder: fix bottom margin on mobile during the close animation 2024-07-27 19:26:07 +06:00
wukko
59f5560802
web/dialogs: move backdrop close handler to container 2024-07-27 15:30:00 +06:00
wukko
b8eb708748
web/DialogHolder: fix typescript error, add a note 2024-07-27 15:28:02 +06:00
wukko
26eaac5742
web/ActionButton: clean up 2024-07-27 15:07:38 +06:00