Commit graph

2070 commits

Author SHA1 Message Date
dumbmoron
9bf6cd36b5
tests: add canFail to facebook shortlink test 2024-07-24 15:56:50 +00:00
dumbmoron
27a6310357
ci/test: update basic test to use more reliable example link 2024-07-24 15:52:40 +00:00
dumbmoron
93c27f262b
tests/twitter: fix incorrect status, expect age restricted test to fail 2024-07-24 15:52:40 +00:00
dumbmoron
cdb2b401ce
ci: test services in github actions 2024-07-24 15:52:40 +00:00
dumbmoron
0fe85b2ae9
services/ok: fallback to compilation title if author name is missing 2024-07-24 15:52:28 +00:00
alina sireneva
a6623567e2
feat: support external proxies (#588) 2024-07-24 21:49:47 +06:00
dumbmoron
85e376bffd
api: move accept header check into handler, simplify error handling (#614) 2024-07-24 17:27:26 +02:00
dumbmoron
b516033f09
match: clean up snapchat call & add missing breaks 2024-07-24 15:17:58 +00:00
Snazzah
4080cd4581
services: add snapchat support (#429)
* feat: snapchat support

* chore: remove redundancy

* chore: a bit of better matching

* chore: update readme

* refactor(snapchat): refactor story matching to use pickers

* fix: small fix to directly linked stories

* fix(snapchat): fix filenames

* chore: update readme

* ref(snapchat): rewrite service, new test, split redirects into a util

* fix(snapchat): small fixes

* chore: deepscan error fixed

* fix: remove debug logging

* fix(snapchat): fix merge, clean up code with new utils

* fix(snapchat): update with suggested changes

---------

Signed-off-by: Snazzah <7025343+Snazzah@users.noreply.github.com>
Co-authored-by: jj <log@riseup.net>
2024-07-24 17:06:10 +02:00
Brama Udi
c77ee2eb44
services: add facebook support (#403)
* feat: add facebook support

* chore: fix fail check

* chore: minor fix

* chore: add service in README.md

* chore: cleaning post-merge code

* facebook: add shared link pattern

* chore: clean up removing unnecessarily code

* fix: facebook shared link pattern

* matchActionDecider: redirect to facebook video instead of rendering

* facebook: pass sourceUrl in object

* url: fix botched lint

* fix: facebook shared link pattern with clean up

* test: change facebook test response to redirect

---------

Co-authored-by: dumbmoron <log@riseup.net>
2024-07-24 17:05:21 +02:00
dumbmoron
7a5e4c56d3
web/settings: make old settings migration use initial schema 2024-07-24 10:27:06 +00:00
wukko
49973eceb1
web/omnibox: disable input area when processing & reduce timeout
also fixed a typo that broke key spamming protection
2024-07-26 14:07:23 +06:00
dumbmoron
f8d06cf18b
web/settings: settings import/export 2024-07-23 18:17:38 +00:00
wukko
6e24a8d172
web/PickerItem: enable video thumb mode only when item is a video 2024-07-23 22:11:25 +06:00
dumbmoron
5e26c1e122
web/PickerItem: small refactor 2024-07-23 16:07:12 +00:00
dumbmoron
690ae835b4
web/ChangelogEntry: hide focus ring for version 2024-07-23 12:18:18 +00:00
dumbmoron
3218adf5fd
web/changelogs: focus on version on page load 2024-07-23 11:42:13 +00:00
wukko
b540703de8
web/UpdateNotification: increase icon size 2024-07-23 16:46:18 +06:00
wukko
8b6775ca86
web/UpdateNotification: reduce right padding 2024-07-23 16:43:29 +06:00
dumbmoron
c32a5301a0
web/updates: make page scrollable on navigation sides on desktop 2024-07-23 10:32:18 +00:00
dumbmoron
61e47b38d1
web/DownloadButton: slight refactor 2024-07-23 10:09:42 +00:00
wukko
2d7d4cf091
web: add an update notification 2024-07-23 16:04:43 +06:00
dumbmoron
89181c6ddc
web/settings: make version info optional, wait for load 2024-07-23 09:36:49 +00:00
wukko
23c9eb73aa
web: global data-focus-ring-hidden attribute 2024-07-23 14:41:55 +06:00
wukko
19ee8360c4
web/updates: revert div -> main to fix html hierarchy 2024-07-23 14:19:22 +06:00
wukko
0d34bc0ab3
web/updates: focus the main content & fix ghost buttons 2024-07-23 14:13:05 +06:00
wukko
a9e8ea1306
web/Placeholder: focus first on page 2024-07-23 14:08:34 +06:00
wukko
f2de69f153
web/save: focus the page content on navigation 2024-07-23 14:06:44 +06:00
wukko
1234cc1083
web/settings: focus the page after navigation
mobile: focus page header
desktop: focus page content
2024-07-23 14:04:19 +06:00
wukko
c9ca0d51d9
web: add first focus functionality
element with `data-first-focus` will be focused first after navigation. extremely useful for screen readers.
2024-07-23 13:53:43 +06:00
wukko
314d3590ec
web/DialogButtons: don't apply hover effect if button is colored 2024-07-23 13:22:05 +06:00
wukko
c12088e297
web/SmallDialog: flex container for header & icon
fixes stranded padding
2024-07-23 13:18:08 +06:00
wukko
836da67f19
web/changelogs: remove 3.3 changelog as it's a duplicate of 3.4 2024-07-23 12:44:13 +06:00
wukko
94853f0b7b
web/FilenamePreview: finish the component 2024-07-23 12:34:14 +06:00
wukko
518f634385
web/settings: reduce thickness of back button icon 2024-07-23 12:20:30 +06:00
wukko
5c6ef19132
web/settings: update the back button icon 2024-07-23 12:19:38 +06:00
wukko
48078e7e75
web/updates: replace chevron with arrow 2024-07-23 12:19:12 +06:00
wukko
ee162aa236
web/ClearButton: fix rendering bug in safari & clean up 2024-07-23 12:13:40 +06:00
wukko
0225a7c46c
web/settings: simplify sidebar, add version info, flatten page navigation 2024-07-23 11:00:27 +06:00
wukko
8c96ccbc7b
web/SmallDialog: make body scrollable on overflow & limit height 2024-07-23 10:01:55 +06:00
wukko
bdd572ea51
web/dialogs: reduce margin on mobile 2024-07-23 09:59:08 +06:00
wukko
7ee99ad30f
web/Skeleton: add elevated skeleton and use it for picker item
- fixed bg not being visible when shimmer is not on the element in dark theme
- fixed stuck gradient when motion is reduced
- fixed big skeleton
- skeleton is no longer focusable
2024-07-23 09:55:55 +06:00
wukko
718dc4cf0a
web/DownloadButton: darken when disabled 2024-07-22 16:42:37 +06:00
wukko
2fb05d018c
web/DownloadButton: show done button state for picker 2024-07-22 16:35:36 +06:00
wukko
bc8e3d4a7c
web/Omnibox: simplify link state storage 2024-07-22 16:34:19 +06:00
dumbmoron
44243cc4c2
web/PickerDialog: fix typo 2024-07-22 14:17:33 +00:00
dumbmoron
d170f619d2
web: use conditionals instead of special classes where it makes sense 2024-07-22 10:17:06 +00:00
wukko
b0a69f9944
web/PickerItem: always show type badge, prevent right click on video
- fixed type badge centering in webkit
- increased border radius of type badge to match icons inside it
2024-07-22 16:14:26 +06:00
dumbmoron
c03337fed9
web/skeleton: don't render if hidden 2024-07-22 10:11:23 +00:00
dumbmoron
705fac16a6
web/dialog: internal refactor 2024-07-22 09:24:17 +00:00