Wykres commitów

620 Commity (master)

Autor SHA1 Wiadomość Data
Nolan Lawson 52880a4689
chore: update emoji-regex, replace copyright character (#2202) 2022-11-18 09:32:46 -08:00
Nolan Lawson 2131ababf3
fix: fix inserting emoji with skintone (#2201) 2022-11-18 09:32:39 -08:00
Nolan Lawson a318746961
chore: update dev dependencies (#2200) 2022-11-18 09:32:31 -08:00
Nolan Lawson 601c3e40c9
fix: recalculate toot height after voting on poll (#2198) 2022-11-17 19:57:26 -08:00
Nolan Lawson 6ebd6a6a01
fix: fix max number of status characters (#2188)
Fixes #2187
2022-11-17 06:17:49 -08:00
Nolan Lawson f10e9dbcf3
fix(a11y): fix number of headings (#2183)
Fixes #2162
2022-11-13 07:01:12 -08:00
Nolan Lawson 1c6387a0a4
fix: show proper text for signup notifications (#2182) 2022-11-13 07:00:37 -08:00
Nolan Lawson 19e466aa90
fix(a11y): add aria-live for keyboard shortcuts (#2176)
Fixes #2163
2022-11-12 09:47:02 -08:00
Nolan Lawson 8fb4c40275
fix: update link rel=me (#2160)
* fix: update link rel=me

* chore: bump
2022-11-09 06:58:04 -08:00
Nolan Lawson 69bb849508
fix: fix login to limited federation instance (#2147)
Fixes #2146
2022-05-15 10:10:04 -07:00
Nolan Lawson 5fd8d0ac23
fix: invalid date strings (#2145)
* fix: invalid date strings

Fixes #2113

* fix: polls without expiry date

Fixes #2112
2022-05-14 11:27:32 -07:00
Nolan Lawson 78687479df
fix: hide embeds in spoilered statuses (#2143)
Fixes #2142
2022-05-07 10:04:57 -07:00
tobi b312b3b485
fix: use empty array for ws protocols instead of null (#2140) 2022-05-06 08:03:49 -07:00
Nolan Lawson 135c51a856
fix: fix votes count on Misskey polls (#2138) 2022-05-01 10:19:57 -07:00
Nolan Lawson 1a7bbe19a2
fix: add rel=me (#2137) 2022-05-01 08:55:02 -07:00
Nolan Lawson c67be9acc2 fix: fix bell notifications, add tests 2022-05-01 08:54:37 -07:00
Alexander Yakovlev 2e9afd711f feat: support account "bell" notifications
Fixes #1961
2022-05-01 08:54:37 -07:00
Nolan Lawson 58d81a25ad
chore: remove deprecate git.io comments (#2131) 2022-04-30 12:48:05 -07:00
Nolan Lawson 30ad0becb5
fix: make the center nav optional (#2128) 2022-04-25 18:36:29 -07:00
Rylan Cates ce03460b86
feat: center navbar for large screen sizes (#2126)
* feat: center navbar for widths >991px

* fix: update src/routes/_components/Nav.html

fixes #403

Co-authored-by: Nolan Lawson <nolan@nolanlawson.com>
2022-04-23 08:08:55 -07:00
Nolan Lawson 3e2fd130e0
fix: make ios status bar default color again (#2123) 2022-04-10 11:25:29 -07:00
Nolan Lawson a9119fa53f
fix: use /api/v2/media (#2121)
* fix: use /api/v2/media

Fixes #2078

* fix: fix comment
2022-04-10 10:35:24 -07:00
hellojaccc 10ed291950
feat: fix ios white status bar + add iOS splash screen (#2108)
* Fix iOS statusbar #2

add theme-color mea tag

* change default to black

* Update template.html

* return to 'default'

* Update template.html

* Add splash screen

* Update template.html

* Update template.html

* fix: filter splash files in service worker

* perf: zopfli-optimize splash pngs

* fix: wrong cache

Co-authored-by: Nolan Lawson <nolan@nolanlawson.com>
2022-04-10 10:34:56 -07:00
Nolan Lawson f2d752bfc2
fix: add country flag emoji on windows (#2117)
* fix: add country flag emoji on windows

* fix: missing file

* fix: cache font file on-demand

* fix: attempt to fix

* fix: working

* fix: ordering

* fix: ordering

* fix: ordering

* fix: fixup

* fix: fixup

* fix: add comment

* fix: fix vercel

* fix: fix vercel.json

* fix: vercel

* refactor: refactor
2022-03-27 20:59:02 -07:00
Nolan Lawson fd6bb63450
chore: update emoji-picker-element (#2116) 2022-03-21 08:23:17 -07:00
Nolan Lawson cac792a830
fix(ios): change status-bar-style to default (#2107)
Fixes #2104
2022-02-06 11:53:29 -08:00
Nolan Lawson 331f6e8803
fix: fix multiple-choice poll results (#2101)
Fixes #2100
2022-01-02 16:00:41 -08:00
Nolan Lawson f3c5e7de5f
fix: ignore falsy last_status (#2099)
Fixes #2097
2021-12-27 20:57:16 -08:00
Nolan Lawson 0df4b724ca
fix: fix for when notification is undefined (#2093) 2021-11-13 10:57:36 -08:00
Nolan Lawson 21678ec78e
fix: tweak accent colors (#2089)
* fix: tweak accent colors

* fix: fixup
2021-08-20 18:08:26 -07:00
Nolan Lawson 368775e220
fix: add accent-color/color-scheme (#2088) 2021-08-18 07:11:14 -07:00
Nolan Lawson 9d5157f15c
fix: increase poll answer max length to 50 (#2086)
Fixes #2077
2021-08-06 15:20:48 -07:00
Nolan Lawson 821b785e6b
fix: update usage of safari-14-idb-fix (#2072)
* chore: update deps

* fix: fix dep path

* fix: fix import

* fix: fix pkg
2021-07-16 07:42:32 -07:00
Nolan Lawson d30f7f4b1a
fix: enable focus-visible in Firefox 90 (#2075) 2021-07-16 07:14:15 -07:00
Nolan Lawson 374b8b251e
perf: avoid style recalc for spinner in Chrome (#2071) 2021-07-05 10:23:48 -07:00
Nolan Lawson 16e66346d7
fix!: remove esm package, use native Node ES modules (#2064)
BREAKING CHANGE: Node v12.20+, v14.14+, or v16.0+ is required

* fix!: remove esm package, use native Node ES modules

* fix: fix some CJS imports
2021-07-04 20:19:04 -07:00
Nolan Lawson b31a72f850
fix : update deps, remove unused deps, code cleanup (#2061) 2021-07-04 16:38:58 -07:00
Nolan Lawson c692a1850b
fix: work around missing indexedDB.databases (#2054) 2021-06-20 09:48:44 -07:00
Nolan Lawson e0827be8c8
fix: fix safari 14 idb issue (#2053) 2021-06-19 09:29:32 -07:00
Nolan Lawson c4e8d772dd
fix: fully disable focus-visible for firefox for now (#2041) 2021-05-14 17:54:22 -07:00
Nolan Lawson 3971f9a636
fix: switch to native :focus-visible for firefox 88+ (#2039) 2021-05-11 21:40:40 -07:00
Nolan Lawson 85a5874876
fix: internationalize manifest.json (#2034)
* fix: internationalize manifest.json

fixes #2020

* test: fix test
2021-04-11 19:40:24 -07:00
Nolan Lawson 66fc202b5c
fix: internationalize dialogs (#2033)
* fix: internationalize dialogs

Fixes #1988

* test: fix test

* test: fix test

* Revert "test: fix test"

This reverts commit 559e3d80eb.
2021-04-11 19:40:18 -07:00
Nolan Lawson ad9609738b
fix: fix a11y for audio/video controls in dialog (#2031) 2021-04-11 09:58:32 -07:00
Nolan Lawson 7a28bd2d88
fix: use is-emoji-supported library (#2030)
* fix: use is-emoji-supported library

* fix: add code comment
2021-04-11 07:42:30 -07:00
Nolan Lawson c815292b0b
fix: fix aria-labels on relative timestamps (#2028) 2021-04-02 17:01:08 -07:00
Nolan Lawson 69ef9f2798
fix: initialize all Intl formatters lazily (#2026)
fixes #2024
2021-04-02 11:02:01 -07:00
Nolan Lawson 081df2bf82
fix: use day-only time format for wellness setting (#2021)
* fix: use day-only time format for wellness setting

* fix: tweak intl strings

[skip ci]

* test: add test
2021-03-21 18:03:53 -07:00
Calvin Walton 1aa06bc041
feat: add a Wellness option to show absolute timestamps instead of relative (#2014)
Relative timestamps can cause you to feel that things are especially
interesting because they are happening "right now"; the effect is
lessened if you see absolute timestamps instead.

This fixes #2011
2021-03-21 15:06:45 -07:00
Nolan Lawson d044e12aee
feat: add PWA shortcuts for compose/notifications (#2019)
* feat: add PWA shortcuts for compose/notifications

Fixes #2012

* fix: fix icon path
2021-03-21 13:49:59 -07:00
Nolan Lawson 751ed299f6
fix: remove explicit webpack chunk names (#2016)
* fix: remove explicit webpack chunk names

* fix: fix vercel json
2021-03-21 09:06:08 -07:00
Nolan Lawson 75458a3410
feat: use web badge API to show notifications/follow requests (#2005)
* feat: use web badge API to show notifications/follow requests

Fixes #1900

* fix: change detection logic

* fix: add UA check

* fix: tweak
2021-03-19 08:00:59 -07:00
Nolan Lawson 3bf744d2c5
fix: add pwa=true query param when sharing files (#2004) 2021-03-18 07:00:48 -07:00
Nolan Lawson fd321720f2
fix: disable :focus-visible on Firefox (#2003)
* fix: disable :focus-visible on Firefox

* fix: use unambiguous closure
2021-03-18 07:00:42 -07:00
Nolan Lawson 40cb793e81
fix: fix word filter style on small screens (#2002) 2021-03-15 22:25:40 -07:00
Nolan Lawson 98815714ba
fix: fix name of webpack chunk for intl polyfill (#2001)
* fix: fix name of webpack chunk for intl polyfill

* fix: fix typo
2021-03-15 19:46:58 -07:00
Nolan Lawson a7fb2e68dd
perf: avoid importing the DB for non-logged-in users (#1998) 2021-03-15 17:25:20 -07:00
Nolan Lawson c3fb1e2038
fix: media cache should be behind async db API (#1999) 2021-03-15 17:25:13 -07:00
Nolan Lawson 02019e9251
perf: use scheduling.isInputPending() (#1996) 2021-03-14 18:05:57 -07:00
Nolan Lawson 193db0aa15
perf: remove quick-login.html (#1994) 2021-03-14 13:39:32 -07:00
Nolan Lawson cf0f1d884a
feat: add screenshots/categories to web app manifest (#1993)
* feat: add screenshots/categories to web app manifest

fixes #1971

* fix: whoops forgot the screenshots
2021-03-14 13:39:11 -07:00
Nolan Lawson 5e7440aaee
feat: accept files in web share target (#1992)
fixes #1009
2021-03-14 10:20:23 -07:00
Nolan Lawson 5e61a8582b
perf: slightly more efficient word filter format (#1991) 2021-03-14 09:24:00 -07:00
Nolan Lawson 4adc8ff748
feat: implement word/phrase filters (#1990)
* feat: implement word filters

* fix: more progress on word filters

* fix: more progress

* fix: more work

* fix: more work

* fix: more progress

* fix: tweaks

* fix: basic crud stuff

* fix: more work

* test: add tests

* test: more test

* fix: handle filter expiry correctly

* fix: implement more efficient word filter logic

* fix: better required labels

* test: fix test
2021-03-13 17:31:17 -08:00
Nolan Lawson 987e5827b0
fix: fix CSP checksums (#1985) 2021-03-07 08:21:20 -08:00
Nolan Lawson f22b1bf328
perf: reduce tesseract bundle size by directly importing createWorker (#1979) 2021-03-06 09:07:06 -08:00
Nolan Lawson a2dcbcdcda
fix: use class instead of object for easier debugging (#1980) 2021-03-06 09:07:00 -08:00
Nolan Lawson 650751d343
fix: fix dangling } in string (#1976) 2021-02-28 16:36:47 -08:00
Timo Tijhof 5573f7cf32
chore: clean up input.type property access (#1975)
Follows-up 4218c4ce64.

When accessing the IDL property, values tend to be reflected in a normalised
type and form. In the case of HTMLInputElement.type, this means the
returned value is always one of the supported and canonical lowercase
values regardless of what value the corresponding attribute holds, or
even if the attribute doesn't exist (the default will still be "text").
2021-02-28 14:46:23 -08:00
Marco Zehe b9496c9bca
fix: adjust German help text for expand/collapse all CWs (#1974) 2021-02-28 14:45:49 -08:00
Nolan Lawson 8c09ede2d4
feat: implement shortcut for opening/closing all CWs (#1973)
Fixes #1914
2021-02-27 18:31:53 -08:00
Nolan Lawson 67a338be17
fix: tweak style of audio player (#1968) 2021-02-22 20:37:18 -08:00
Nolan Lawson ef3f107d82
fix: tweak emoji picker style on mobile (#1969)
* fix: tweak emoji picker style on mobile

* fix: remove unnecessary global styles
2021-02-22 20:37:08 -08:00
Nolan Lawson b2583277eb
chore: update to webpack v5 (#1967)
The bundle size has decreased slightly, so I really can't complain.
2021-02-20 15:30:58 -08:00
Nolan Lawson 533360e32f
chore: update standard and eslint-plugin-html (#1963) 2021-02-20 13:40:33 -08:00
Nolan Lawson ba3b76f769
fix: fix error message on media upload (#1959) 2021-02-15 19:23:01 -08:00
Nolan Lawson 9cf8f8b516
perf: cache polyfills on-demand (#1954)
* perf: cache polyfills on-demand

* fix: actually apply the name
2021-02-15 16:47:18 -08:00
Nolan Lawson 760b7f6cd4
fix: fix Intl.RelativeTimeFormat on iOS 13 (#1947)
Fixes #1938
2021-02-15 15:07:19 -08:00
Nolan Lawson c3d25b88cf
feat: allow file-drop to accept multiple files (#1945) 2021-02-15 15:07:13 -08:00
Nolan Lawson 2585b55479
fix: fix custom emoji in secure mode (#1940)
Fixes #1915
2021-02-15 12:54:03 -08:00
Nolan Lawson 456dac73b5
fix: partially fix video/audio in dialogs (#1939) 2021-02-15 12:53:58 -08:00
Nolan Lawson a3d0c87e27
fix: fix cursor set incorrectly on WebKit browsers (#1937)
fixes #1921
2021-02-14 18:44:14 -08:00
Nolan Lawson 4218c4ce64
fix: fix up/down arrows in poll options (#1934)
fixes #1928
2021-02-14 14:01:46 -08:00
Marco Zehe 96d84134b4
feat: add German locale (#1930)
* Add German locale

* Appeas the linter.

* Add Emoji Picker strings as well

* Correct double und typo in footer
2021-02-14 09:59:12 -08:00
Nolan Lawson a028a7e880
feat: intl support for emoji picker (#1910)
* feat: intl support for emoji picker

Fixes #1908

* fix: update emoji-picker-element

* fix: fix typo
2020-12-18 20:02:36 -08:00
Nolan Lawson 6433a9c644
test: fix timeago unit test (#1906) 2020-11-29 18:50:13 -08:00
Nolan Lawson 0022286b46
fix: first stab at i18n, extract English strings, add French (#1904)
* first attempt

* progress

* working

* working

* test timeago

* rm

* get timeago working

* reduce size

* fix whitespace

* more intl stuff

* more effort

* more work

* more progress

* more work

* more intl

* set lang=LOCALE

* flatten

* more work

* add ltr/rtl

* more work

* add comments

* yet more work

* still more work

* more work

* fix tests

* more test and string fixes

* fix test

* fix test

* fix test

* fix some more strings, add test

* fix snackbar

* fix }

* fix typo

* fix english

* measure perf

* start on french

* more work on french

* more french

* more french

* finish french

* fix some missing translations

* update readme

* fix test
2020-11-29 14:13:27 -08:00
Nolan Lawson 69aad56421
fix: fix tainted canvas error with OCR (#1902)
* fix: fix tainted canvas error with OCR

fixes #1901

* fix: minor tweaks
2020-11-24 15:37:10 -08:00
Nolan Lawson 006f0deee8
fix: fix tappable area between toolbar buttons (#1893)
fixes #1884

If "disable entire toot area" is on, then the cursor becomes default between the buttons, and clicking does nothing. If it is off (default), then the cursor is always pointer and clicking between the buttons clicks the whole toot.
2020-11-14 17:22:12 -08:00
Nolan Lawson 9cb16ea91c
fix: move "bookmark" button past "report" (#1891)
fixes #1879
2020-11-14 14:13:45 -08:00
Nolan Lawson 870fa0e93c
feat: add "i" as shortcut to open media (#1890)
fixes #1883
2020-11-14 14:13:38 -08:00
Timo Tijhof 9acb3faac8
fix: change dark grayscale to use have a brighter action-button color (#1881)
The pressed state, such as used for the "Unfollow" button, was effectively
identical to the background, thus making it invisible.

Brighten it up to fix this. The relative differences are kept the same as
before and match the default theme,, e.g. the brightness ranges from
(darkest) Unfollow > Unfollow-hover > Follow > Follow-hover (brightest)

Fixes https://github.com/nolanlawson/pinafore/issues/1880.
2020-11-14 11:35:55 -08:00
Nolan Lawson 04b56f5dc5
fix: remove license files from service worker (#1875) 2020-09-20 14:31:15 -07:00
Nolan Lawson 37711ee17e
fix: dynamically import focus-visible polyfill for emoji picker (#1870) 2020-09-13 15:34:01 -07:00
Nolan Lawson 7803bdf797
fix: remove LEGACY mode (#1867) 2020-09-13 13:37:54 -07:00
Nolan Lawson c683a4b85d
fix: ensure bookmarks page has generated HTML file (#1861)
* fix: ensure bookmarks page has generated HTML file

* fix: only render if not logged in
2020-09-02 18:01:46 -07:00
Emilia Michanek 60a146eb40
fix: pinning the bookmarks page (#1859)
Pinning the bookmarks page would accidentally pin the local timeline page due a forgotten `else if`.

Fixes #1858
2020-09-01 21:57:36 -07:00
Nolan Lawson 07f23c5990
feat: pressing / or s focuses search input (#1855) 2020-08-31 16:06:31 -07:00
Nolan Lawson 430ab4db4c
fix: empty timelines no longer show infinite loading spinner (#1854)
Instead, they now show "Nothing to show." I only fixed this for VirtualList because List should never be non-empty (threads).

Fixes #1763
2020-08-30 18:08:55 -07:00
Nolan Lawson 55b9c8d3b8
fix: use absolute positioning over transform (#1850) 2020-08-29 19:19:24 -07:00