Commit graph

1492 commits

Author SHA1 Message Date
wukko 80300bf766
web/dialogs: moved backdrop to dialog holder, improved animation 2024-07-21 13:41:14 +06:00
dumbmoron 8a080c55f6
web: refactor and deduplicate locale preference logic 2024-07-20 14:37:52 +00:00
wukko d4d4eded32
web/SmallDialog: make button text white if its bg is red 2024-07-20 21:56:43 +06: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
wukko e541bdc6d7
web/Switcher: fix ghost hover effect on active button
it used to appear very briefly when you pressed a button and didn't move the cursor off the button
2024-07-20 19:09:44 +06:00
wukko 8193e8c14d
web/buttons: add hover state to active button 2024-07-20 18:54:12 +06:00
wukko 205494b367
web/SmallDialog: fix scaling on small screens 2024-07-20 18:49:51 +06:00
dumbmoron 31e1fa5c5c
run-an-instance: remove slash from end of CORS_URL example
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
it's somewhat misleading, since this specifies the origin
(https://html.spec.whatwg.org/multipage/browsers.html#concept-origin-tuple) and not a full URL
2024-07-20 12:53:59 +02:00
wukko cd41fc9d49
web/SmallDialog: fix rendering & performance issues, new mobile animation 2024-07-18 17:22:29 +06:00
dumbmoron 2c1bd50e70
Revert "web/vite: change build target to esnext"
This reverts commit 842f91ec54.
2024-07-20 12:43:22 +00:00
dumbmoron c3c7a6b7ba
web/version: convert to readable 2024-07-20 12:43:14 +00:00
dumbmoron 0e60ea9582
web/ChangelogEntry: consistent date formatting 2024-07-17 09:07:25 +00:00
dumbmoron 0391ac7230
web/ChangelogEntryWrapper: use OuterLink component for links 2024-07-17 08:59:45 +00:00
dumbmoron dd16fb65cf
web/changelogs: update all links to markdown format 2024-07-17 08:59:10 +00:00
wukko ce609ad201
web/SmallDialog: allow text selection in body 2024-07-17 14:50:35 +06:00
wukko 204e025656
web/layout: allow text selection in subtext 2024-07-17 14:50:09 +06:00
wukko ce95135234
web/ChangelogEntry: allow text selection 2024-07-17 14:49:25 +06:00
wukko 691a6acb6c
web/ChangelogEntry: slightly reduce font size on mobile 2024-07-17 14:41:44 +06:00
wukko cf4ee05e0e
web/updates: reduce top padding on mobile 2024-07-17 14:38:02 +06:00
wukko dd7c17efeb
web/ChangelogEntry: reduce the size of heading contents 2024-07-17 14:34:03 +06:00
wukko 6a7311874e
web/changelog: make main body text easier to read 2024-07-17 14:29:46 +06:00
wukko 6e374fde62
web/updates: make changelogs look nicer
- fixes horizontal scrolling on mobile
- removes text backdrop
- improves readability
2024-07-17 14:04:53 +06:00
wukko 1ec9d92eb2
web/updates: clean up components 2024-07-17 13:32:07 +06:00
dumbmoron 8eee024899
web/updates: don't prevent default action for keyboard inputs 2024-07-17 07:30:22 +00:00
wukko e6ec8c6734
web/package: fix the svelte icons version & update lock 2024-07-17 13:14:56 +06:00
dumbmoron 5c07afe4ff
web/updates: keyboard navigation 2024-07-16 17:27:43 +00:00
dumbmoron 678adfbda4
web/updates: proper navigation buttons, refactor internal nav logic 2024-07-16 17:25:21 +00:00
dumbmoron 3305bba28a
web/updates: update hash on navigation, navigate if present on load 2024-07-16 17:21:53 +00:00
dumbmoron a22b0e5136
web/ChangelogEntry: initial css 2024-07-16 17:19:17 +00:00
dumbmoron d68ce2f490
stream/types: only use nice if parsed processingPriority is a number
for some reason, isNaN(true) -> false, which is technically correct,
but what the fuck...
2024-07-12 00:01:18 +00:00
dumbmoron 2f4e43f78f
youtube: client_id/client_secret is optional in session data 2024-07-11 07:56:13 +00:00
jj c1f364929c
merge/youtube: bump youtubei.js to v10.1.0, update token format (#626)
to be in line with the structure youtubei.js expects when initializing
a session, the `expires` value of the stored tokens has been renamed
to `expiry_date`. if you have sessions that are stored in the cookies
file, cobalt ad-hoc transforms them into this new format.
2024-07-10 18:53:14 +02:00
dumbmoron 20c409cdb3
generate-youtube-tokens: update response format 2024-07-10 16:44:16 +00:00
dumbmoron 404cad711f
youtube: bump youtubei.js to v10.1.0 2024-07-10 14:13:56 +00:00
dumbmoron 33fa653ee5
package: bump version to 7.14.6 2024-07-09 13:55:38 +00:00
ihatespawn bcb8ab101f
tests: fix broken links, correct expected responses (#618) 2024-07-09 15:17:09 +02:00
hyperdefined cfce04bbd0
tests: fix broken twitter links (#604) 2024-07-09 00:03:03 +02:00
jj 87783a4c86
CONTRIBUTING: replace "message" with "title" when talking about amends 2024-07-07 17:23:42 +02:00
dumbmoron ab1b07fe44
rutube: pick closest quality to requested quality 2024-07-07 15:14:16 +00:00
jj 2f4a013a2a
docs/api: use js-specific type for cors in serverInfo response
there is no such thing as an int in js
2024-07-07 15:31:55 +02:00
dumbmoron 5d122be451
repo: add CONTRIBUTING.md file
Co-authored-by: wukko <me@wukko.me>
2024-07-07 13:11:04 +00:00
jj 216529bfdf
vimeo: use api to get video info, direct download if possible (#612) 2024-07-07 14:25:17 +02:00
wukko eb65e816af
stream/internal: convert headers to iterable object 2024-07-06 23:15:15 +06:00
dumbmoron 92f3d2366c
api: use spread operator for merging headers 2024-07-06 11:40:41 +00:00
dumbmoron 3096bc9df0
api: use Map for internal stream headers instead of plain object 2024-07-06 11:36:25 +00:00
dumbmoron 315ddb17c1
web/onDemand: check blockId is string, early return if not 2024-07-06 08:59:02 +00:00
dumbmoron 479e14778d
services/pinterest: stricter hostname check on video regex 2024-07-06 08:55:48 +00:00
dumbmoron 4daeaa3107
services/soundcloud: properly check script hostname 2024-07-06 08:33:02 +00:00