Commit graph

2287 commits

Author SHA1 Message Date
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
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 c909b0d9d9
chore: disable vercel comment bot (#1936) 2021-02-14 14:02:02 -08:00
Nolan Lawson c833680ecc
chore: update vercel config and docs (#1933) 2021-02-14 14:01:52 -08:00
Nolan Lawson 4218c4ce64
fix: fix up/down arrows in poll options (#1934)
fixes #1928
2021-02-14 14:01:46 -08:00
Nolan Lawson 6d5bb0e39e
fix: increase sapper timeout from 5s to 5min (#1935)
fixes #1924
2021-02-14 14:01:40 -08:00
Nolan Lawson eba90b3122 1.21.0 2021-02-14 11:46:33 -08:00
Nolan Lawson 46a4774a61
chore: move format-message-parse to dependencies (#1931)
fixes #1925, see also #1927
2021-02-14 11:32:04 -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 fc96d7137d
docs: add better docs on internationalization (#1932)
[skip ci]
2021-02-14 09:58:55 -08:00
Nolan Lawson a3e970fe7a
test: use mastodon 3.3.0 for testing (#1917)
* 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 eff9d6c52e
chore: update testcafe (#1918) 2021-01-24 09:36:30 -08:00
Nolan Lawson 67feaef844
chore: update emoji-picker-element (#1916) 2021-01-23 15:58:07 -08:00
Nolan Lawson 0afaef350a
perf: remove lookup-closest-locale (#1911) 2020-12-20 15:33:41 -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
dependabot[bot] 2de875795b
chore(deps): bump ini from 1.3.5 to 1.3.7 (#1907)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-13 11:33:12 -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 583285a09c
chore: update testcafe to 1.9.4 (#1905) 2020-11-27 19:13:55 -08:00