Commit graph

2040 commits

Author SHA1 Message Date
shine c86d2b5088
feat: add / as a navigation shortcut for search (#1838)
`/` 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 cc8c605828
chore: update deps (#1834) 2020-07-20 07:02:05 -07:00
Nolan Lawson d40cd429e0 1.18.1 2020-07-07 07:43:37 -07:00
Nolan Lawson bd09718cf6
fix: improve a11y of autosuggest labels (#1830) 2020-07-06 22:27:04 -07:00
Alex 780db2be22
fix: Updated Dockerfile. Referenced in #1826 (#1828) 2020-07-06 19:52:13 -07:00
Nolan Lawson f1606706c4 1.18.0 2020-07-05 19:07:38 -07:00
Nolan Lawson b8fef16a92
fix: fix mobile size of picker when searching (#1822) 2020-07-05 12:38:05 -07:00
Nolan Lawson 518691b8b2
chore: update all dev deps except testcafe (#1820) 2020-07-05 12:37:53 -07:00
Nolan Lawson 60dc4c4e7b
chore: update tesseract deps (#1819) 2020-07-05 12:37:33 -07:00
Nolan Lawson f6f9b7d294
chore: update rollup deps (#1815) 2020-07-05 12:07:17 -07:00
Nolan Lawson c5c6b6a14b
chore: update deps (#1818) 2020-07-05 10:26:32 -07:00
Nolan Lawson 30819c6c47
chore: update babel deps (#1816) 2020-07-05 10:26:25 -07:00
Nolan Lawson 8c8934a8c6
chore: update webpack deps (#1814) 2020-07-05 10:26:16 -07:00
Nolan Lawson ad066e39b1
chore: remove package-lock.json (#1813) 2020-07-05 10:26:09 -07:00
Nolan Lawson 55ded5c234
fix: fix stacking context in Safari/WebKit (#1812)
fixes #1806
2020-07-04 23:17:55 -07:00
Nolan Lawson f17096a8ac
fix: emoji picker height on mobile (#1811) 2020-07-04 19:34:21 -07:00
Nolan Lawson 44c1b6feb5 fix: fix ajax code, add test, switch parser library 2020-07-04 19:34:01 -07:00
charlag 5e7c8003db fix: Fix favorites, fix #850
This commit fixes invalid assumption that all timelines are sorted by status id.
Some, like favorites or bookmarks are sorted by private server id. To correctly
paginate we must use the Link header.

To work around the issue, offline for favorites was effectively disabled.
Statuses are still inserted into the database but we can't reproduce correct
timeline order.
2020-07-04 19:34:01 -07:00
Nolan Lawson 8bbe372fda
chore: upgrade emoji-picker-element (#1809) 2020-07-01 12:49:44 -07:00
Nolan Lawson eb436de9c3
chore: update emoji-picker-element to v1.0.1 (#1807) 2020-06-30 13:42:03 -07:00
Nolan Lawson 1371175bce
feat: use emoji-picker-element, add emoji autocompletions/tooltips (#1804)
* 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 3cd2d94469b2f1a20c847c2a69e088d7c8d1efdd.

* fix: fix emoji autosuggest

* test: fix test
2020-06-28 23:12:14 -07:00
Nolan Lawson 85ce93177b
fix: add apple-mobile-web-app-capable (#1803)
Fixes #1802
2020-06-25 19:09:27 -07:00
Nolan Lawson 949fb5f8a4
docs: improve docs in Admin guide (#1794)
[skip ci]
2020-05-30 12:55:20 -07:00
Nolan Lawson ec8e872f8d
fix: better error message for invalid instances (#1793) 2020-05-30 11:05:13 -07:00
Nolan Lawson 3476b9dc7e
chore: use sass instead of node-sass (#1792)
* chore: use sass instead of node-sass

* perf: renderSync is slightly faster
2020-05-28 21:06:24 -07:00
Nolan Lawson d26470592c 1.17.0 2020-05-23 09:56:59 -07:00
Nolan Lawson ceff1f1f8f
fix: tweak indicator design again (#1789) 2020-05-23 09:28:23 -07:00
Nolan Lawson 1fc14107c8
fix: tweak nav indicator so it's a bit more prominent (#1788) 2020-05-20 21:10:56 -07:00
Nolan Lawson 4fc41affe4
chore: update node-sass (#1787) 2020-05-20 19:39:48 -07:00
Nolan Lawson bedb636182
fix: css cleanup of nav-related variables (#1786)
* fix: css cleanup of nav-related variables

* changed my mind on this margin
2020-05-20 07:07:47 -07:00
Nolan Lawson f080148aad
perf: lazy-lazy-load the :focus-visible polyfill (#1785) 2020-05-19 07:52:28 -07:00
Nolan Lawson a790004be7
fix: Revert "perf: always load focus-visible polyfill (#1780)" (#1784)
This reverts commit c98b198e60.
2020-05-18 22:19:33 -07:00
Nolan Lawson c98b198e60
perf: always load focus-visible polyfill (#1780) 2020-05-18 21:11:13 -07:00
Nolan Lawson ea1315858d
perf: use OffscreenCanvas in Chrome 82+ (#1779) 2020-05-18 20:00:02 -07:00
Nolan Lawson beade4aec3
fix: use attr rather than class for focus-visible polyfill (#1778)
fixes #1777
2020-05-16 14:25:12 -07:00
Nolan Lawson cc62000b21
feat: use :focus-visible, add setting to enable/disable it (#1775)
* feat: use :focus-visible, add setting to enable it

* add the ids back

* css cleanup
2020-05-16 13:36:08 -07:00
Nolan Lawson 836b0e341f
perf: lazy-load the thread context (#1774)
* perf: lazy-load the thread context

fixes #898

* more tests

* test: more tests

* simplify implementation
2020-05-16 13:35:57 -07:00
Nolan Lawson 9e09ba6ca1
test: add another threading test (#1773) 2020-05-15 07:47:42 -07:00
Nolan Lawson 3f7aa7fb00
test: add more tests for thread order (#1772) 2020-05-14 22:39:57 -07:00
Nolan Lawson c610a259d5
fix: ListItem should have proper fade animations (#1771) 2020-05-14 21:22:33 -07:00
Nolan Lawson f5eb5fc50b
test: add tests for thread order (#1770) 2020-05-14 21:22:22 -07:00
Nolan Lawson 1df3b506e9 1.16.0 2020-05-11 19:03:29 -07:00
Nolan Lawson dacd9dcc5b
fix: fix polls with content warnings (#1768)
* fix: fix polls with content warnings

fixes #1766

* fixup
2020-05-10 19:41:55 -07:00
Alex a4820a2792
feat: Docker compose (#1767)
* Added docker-compose.yml file to replace Dockerfile.

* Added instruction in the README.md on starting the docker-compose build.
2020-05-07 19:45:52 -07:00
Nolan Lawson 511d16694c 1.15.9 2020-05-03 14:43:39 -07:00
Nolan Lawson 5c4b44e3dd
fix: fix potential null exception (#1765) 2020-05-03 10:45:32 -07:00
Nolan Lawson 4b4cee3662
fix: fix delete-and-redraft in Firefox Android (#1762)
fixes #1681
2020-05-03 10:45:11 -07:00
Nolan Lawson 5348b3ccce
test: do not write to mastodon.log in travis (#1761)
* test: do not write to mastodon.log in travis

* fixup
2020-05-02 19:58:58 -07:00
Nolan Lawson 6447326f5c
fix: beef up CSP headers (#1759)
* fix: beef up CSP headers

* add base-uri self

* fix connect-src for tesseract

* more csp fixes
2020-05-02 18:09:07 -07:00
Nolan Lawson 00b9b1c216
chore: update tested mastodon to v3.1.3 (#1760)
* chore: update tested mastodon to v3.1.3

* fix tests

* fixup

* fix test
2020-05-02 18:02:29 -07:00