Commit Graph

290 Commits

Author SHA1 Message Date
Nolan Lawson 16e66346d7
fix!: remove esm package, use native Node ES modules ()
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 c5de673990
test: improve flaky tests () 2021-07-04 17:42:43 -07:00
Nolan Lawson 7bc9c3f263
test: fix flaky test () 2021-07-03 18:07:54 -07:00
Nolan Lawson 85a5874876
fix: internationalize manifest.json ()
* fix: internationalize manifest.json

fixes 

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

Fixes 

* test: fix test

* test: fix test

* Revert "test: fix test"

This reverts commit 559e3d80eb.
2021-04-11 19:40:18 -07:00
Nolan Lawson c815292b0b
fix: fix aria-labels on relative timestamps () 2021-04-02 17:01:08 -07:00
Nolan Lawson 081df2bf82
fix: use day-only time format for wellness setting ()
* 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
Nolan Lawson d044e12aee
feat: add PWA shortcuts for compose/notifications ()
* feat: add PWA shortcuts for compose/notifications

Fixes 

* fix: fix icon path
2021-03-21 13:49:59 -07:00
Nolan Lawson c3fb1e2038
fix: media cache should be behind async db API () 2021-03-15 17:25:13 -07:00
Nolan Lawson 193db0aa15
perf: remove quick-login.html () 2021-03-14 13:39:32 -07:00
Nolan Lawson 5e7440aaee
feat: accept files in web share target ()
fixes 
2021-03-14 10:20:23 -07:00
Nolan Lawson 4adc8ff748
feat: implement word/phrase filters ()
* 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 8c09ede2d4
feat: implement shortcut for opening/closing all CWs ()
Fixes 
2021-02-27 18:31:53 -08:00
Nolan Lawson b0c694b1bd
test: fix flakey test () 2021-02-22 20:36:59 -08:00
Nolan Lawson 533360e32f
chore: update standard and eslint-plugin-html () 2021-02-20 13:40:33 -08:00
Nolan Lawson ddd565c708
test: fix flakey notification test () 2021-02-15 16:45:51 -08:00
Nolan Lawson b451093ece
test: fix flakey test () 2021-02-15 16:45:46 -08:00
Nolan Lawson 5b04db8442
test: fix flakey test () 2021-02-15 16:45:41 -08:00
Nolan Lawson a3e970fe7a
test: use mastodon 3.3.0 for testing ()
* test: use mastodon 3.3.0 for testing

* test: fix test

* test: fix test

* test: fix test

* test: fix test

* test: revert test change

* test: use ruby 2.6.6
2021-01-24 18:26:40 -08:00
Nolan Lawson a028a7e880
feat: intl support for emoji picker ()
* feat: intl support for emoji picker

Fixes 

* fix: update emoji-picker-element

* fix: fix typo
2020-12-18 20:02:36 -08:00
Nolan Lawson 0022286b46
fix: first stab at i18n, extract English strings, add French ()
* 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 5bf5e1d36e
test: add test for relative timeago date formatting () 2020-11-25 16:43:12 -08:00
Nolan Lawson 69aad56421
fix: fix tainted canvas error with OCR ()
* fix: fix tainted canvas error with OCR

fixes 

* fix: minor tweaks
2020-11-24 15:37:10 -08:00
Nolan Lawson 870fa0e93c
feat: add "i" as shortcut to open media ()
fixes 
2020-11-14 14:13:38 -08:00
Nolan Lawson 07f23c5990
feat: pressing / or s focuses search input () 2020-08-31 16:06:31 -07:00
Nolan Lawson 430ab4db4c
fix: empty timelines no longer show infinite loading spinner ()
Instead, they now show "Nothing to show." I only fixed this for VirtualList because List should never be non-empty (threads).

Fixes 
2020-08-30 18:08:55 -07:00
Nolan Lawson 1466371909
test: count store listeners in memory leak test () 2020-08-29 19:18:53 -07:00
Nolan Lawson 5a9e5ae8bc fix: tidy up bookmarks, add tests 2020-08-25 23:47:20 -07:00
Nolan Lawson 36cf9fd56d
test: add test for accessible radio buttons in /community () 2020-08-25 22:16:14 -07:00
shine c86d2b5088
feat: add `/` as a navigation shortcut for search ()
`/` is a well-known vi/vim key-binding for search. It is supported by
Firefox for a 'quick find' feature in addition to the main find feature
available with the Ctrl+F key combination. DuckDuckGo also supports the
key to focus the search bar as well.

Signed-off-by: shine <4771718+shinenelson@users.noreply.github.com>
2020-08-25 16:45:32 -07:00
Nolan Lawson 44c1b6feb5 fix: fix ajax code, add test, switch parser library 2020-07-04 19:34:01 -07:00
Nolan Lawson 1371175bce
feat: use emoji-picker-element, add emoji autocompletions/tooltips ()
* feat: use emoji-picker-element, add emoji autocompletions/tooltips

* fix: fix lint bug

* test: fix emoji in chrome on linux in travis

* test: try bionic in travis

* chore: try to fix travis

* chore: try to fix travis

* fix: filter unsupported emoji

* chore: try to fix travis

* chore: try to fix travis

* chore: try to fix travis

* chore: try to fix travis

* Revert "chore: try to fix travis"

This reverts commit 3cd2d94469.

* fix: fix emoji autosuggest

* test: fix test
2020-06-28 23:12:14 -07:00
Nolan Lawson 836b0e341f
perf: lazy-load the thread context ()
* perf: lazy-load the thread context

fixes 

* more tests

* test: more tests

* simplify implementation
2020-05-16 13:35:57 -07:00
Nolan Lawson 9e09ba6ca1
test: add another threading test () 2020-05-15 07:47:42 -07:00
Nolan Lawson 3f7aa7fb00
test: add more tests for thread order () 2020-05-14 22:39:57 -07:00
Nolan Lawson f5eb5fc50b
test: add tests for thread order () 2020-05-14 21:22:22 -07:00
Nolan Lawson dacd9dcc5b
fix: fix polls with content warnings ()
* fix: fix polls with content warnings

fixes 

* fixup
2020-05-10 19:41:55 -07:00
Nolan Lawson 00b9b1c216
chore: update tested mastodon to v3.1.3 ()
* chore: update tested mastodon to v3.1.3

* fix tests

* fixup

* fix test
2020-05-02 18:02:29 -07:00
Nolan Lawson 06a403df28
fix: left/right hotkey works on all settings page ()
fixes 
2020-04-25 19:35:14 -07:00
Nolan Lawson 1f0d67fcc4
feat: aria-labels and buttons contain more media info ()
* feat: aria-labels and buttons contain more media info

fixes 

* fix lint
2020-04-25 19:03:39 -07:00
Nolan Lawson 1d3859a4e2
fix: fix duplicates in threads ()
fixes 
2019-12-14 12:04:36 -08:00
Nolan Lawson aa662682f3
fix: restore focus on community page () 2019-12-13 08:31:05 -08:00
Nolan Lawson 4f9fb5f253
fix: settings pages preserve focus ()
fixes 
2019-12-08 18:03:26 -08:00
Nolan Lawson c071ac1174
refactor: refactor focus management () 2019-11-30 17:43:31 -08:00
Nolan Lawson cbbf5abd7a
test: test for DOM listener memory leaks ()
* test: test for DOM listener memory leaks

* fix whitespace change, unintended
2019-11-23 23:42:22 -08:00
Nolan Lawson 95ef639b21
test: add basic memory leak test ()
* test: add basic memory leak test

* try to fix test
2019-11-23 19:11:15 -08:00
Nolan Lawson d03d223fd9
fix: remove aria-pressed entirely ()
More progress on 
2019-11-23 11:25:36 -08:00
Nolan Lawson 1b95499008
fix: use radio buttons for pinning timelines ()
* fix: use radio buttons for pinning timelines

more work on 

* cleanup styles
2019-11-17 23:02:05 -05:00
Nolan Lawson 568a3f51fe
fix: convert many toggle buttons into regular buttons ()
work on 
2019-11-17 21:23:32 -05:00
Nolan Lawson 63c9f8dc32
fix: fix autocomplete in voiceover+safari ()
* fix: fix autocomplete in voiceover+safari

fixes 

* fix test

* fix test
2019-11-09 23:01:32 -05:00