Commit graph

2157 commits

Author SHA1 Message Date
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 c4e73106cf
fix: fix tesseract in dev mode (#2000) 2021-03-15 17:25:07 -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 3271344c76
fix: add cross-origin-opener-policy (#1989) 2021-03-09 08:08:19 -08:00
Nolan Lawson 9a5ce33efb
test: add CI test that vercel.json does not change (#1986)
* test: add CI test that vercel.json does not change

* fix: fixup

* test: debug

* test: do not use tmp file
2021-03-07 10:34:13 -08:00
Nolan Lawson a6c9d41f46
fix: fix permissions policy format (#1987) 2021-03-07 08:55:03 -08:00
Nolan Lawson 987e5827b0
fix: fix CSP checksums (#1985) 2021-03-07 08:21:20 -08:00
Nolan Lawson 88ccfdad6e
fix: add permissions policy (#1984)
does not really do anything right now, but fun to experiment with
2021-03-06 15:21:26 -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 1f2ce30fd4
fix: fix DEBUG mode for inline script (#1981) 2021-03-06 09:06:53 -08:00
Nolan Lawson 7d96876aca
chore: break up circle CI tasks (#1983) 2021-03-06 09:06:42 -08:00
Nolan Lawson 650751d343
fix: fix dangling } in string (#1976) 2021-02-28 16:36:47 -08:00
Nolan Lawson 8f63cc479c
chore: do not throw intl errors in dev mode (#1977) 2021-02-28 16:36:38 -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 a21a889f5f
chore: update sapper to actually fix webpack 5 (#1972) 2021-02-27 18:31:09 -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 b0c694b1bd
test: fix flakey test (#1970) 2021-02-22 20:36:59 -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 2c34527411
chore: update lodash-webpack-plugin (#1966) 2021-02-20 13:40:50 -08:00
Nolan Lawson e507618451
chore: update deps (#1965) 2021-02-20 13:40:45 -08:00
Nolan Lawson 0b3ccdb6a2
chore: update webpack (#1964) 2021-02-20 13:40:41 -08:00
Nolan Lawson 533360e32f
chore: update standard and eslint-plugin-html (#1963) 2021-02-20 13:40:33 -08:00
Nolan Lawson e3d3249a20
chore: update webpack-bundle-analyzer (#1962) 2021-02-20 12:39:25 -08:00
Nolan Lawson ba3b76f769
fix: fix error message on media upload (#1959) 2021-02-15 19:23:01 -08:00
Nolan Lawson c209fb23d5 1.22.0 2021-02-15 16:59:44 -08:00
Nolan Lawson c1e9cab238
chore: update mocha (#1953) 2021-02-15 16:47:42 -08:00
Nolan Lawson 68178ce40e
chore: update emoji-regex (#1952) 2021-02-15 16:47:31 -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 2ecd8a39a9
chore: update yarn.lock (#1955) 2021-02-15 16:45:56 -08:00
Nolan Lawson ddd565c708
test: fix flakey notification test (#1958) 2021-02-15 16:45:51 -08:00
Nolan Lawson b451093ece
test: fix flakey test (#1957) 2021-02-15 16:45:46 -08:00
Nolan Lawson 5b04db8442
test: fix flakey test (#1956) 2021-02-15 16:45:41 -08:00
Nolan Lawson 1e974824e1
chore: update cross-env (#1951) 2021-02-15 15:07:35 -08:00
Nolan Lawson cad8201692
chore: update sass (#1949) 2021-02-15 15:07:30 -08:00
Nolan Lawson 63790021a9
chore: update chokidar (#1948) 2021-02-15 15:07:26 -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 6fdbedd594
chore: update husky and lint-staged (#1943) 2021-02-15 15:07:03 -08:00
Nolan Lawson 1afd14b7ac
chore: update testcafe (#1942) 2021-02-15 12:54:13 -08:00
Nolan Lawson 09b5474e22
test: always migrate mastodon server when launching (#1941)
This fixes some bugs in dev mode where the Mastodon DB might say it needs a Rails migration stil.
2021-02-15 12:54:08 -08:00