Commit graph

2024 commits

Author SHA1 Message Date
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
Nolan Lawson 4fe7a818ab
fix: bump sapper version (#1758) 2020-05-02 13:42:33 -07:00
Nolan Lawson 7c8cd271ca
fix: update sapper to fix SNYK-JS-SAPPER-561051 (#1757) 2020-05-02 12:27:25 -07:00
Nolan Lawson 2f602e5a58
chore: remove greenkeeper (#1756) 2020-05-02 11:37:04 -07:00
Nolan Lawson a78c7c6992
chore: update travis badge (#1755)
* chore: update travis badge

* fix typo
2020-05-02 11:11:30 -07:00
greenkeeper[bot] 3e63323c27
chore: Update terser-webpack-plugin to the latest version 🚀 (#1754)
* fix(package): update terser-webpack-plugin to version 3.0.0

* chore(package): update lockfile

https://npm.im/greenkeeper-lockfile

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
Co-authored-by: greenkeeperio-bot <support@greenkeeper.io>
2020-05-02 10:10:54 -07:00
Nolan Lawson 0c300f8e70
fix: change all opacity animation timings to 0.2s (#1753) 2020-04-30 21:54:07 -07:00
Nolan Lawson 4ad7de8e8d
fix: fix rendering order bug in Firefox for Android (#1752) 2020-04-29 22:00:20 -07:00
Nolan Lawson 0ce47f0379
fix: fix fade animations on slow devices (#1751)
I noticed that, on 6x CPU throttling in Chrome, the status fade-in animations were not consistent when switching columns. This fixes that using rAF.
2020-04-28 17:48:31 -07:00
Nolan Lawson 5f6c5d89d1
fix: only avoid scrollbar motion for prefers-reduced-motion (#1750)
After thinking about it, I do not believe the scrollbar is that distracting. But for prefers-reduced-motion we should be careful about the scrollbar growing so quickly.
2020-04-28 17:48:25 -07:00
Nolan Lawson e1532ed9d1
perf: calculate plaintext from HTML content in advance in rIC (#1748)
On the Nexus 5 especially, this ensures we no longer have nearly so many
"long tasks" (i.e. responsiveness is better). It moves html-to-txt
calculation to the same step as blurhash decoding, where it can be done
in requestIdleCallback (heck, maybe someday it could just be done in a
worker thread as well).
2020-04-26 18:30:49 -07:00
Nolan Lawson ae3bd2bda2
perf: make timeline rendering less janky (#1747)
* perf: make timeline rendering less janky

1. Ensures all statuses are rendered from top to bottom (no more shuffling-card-effect rendering)
2. Wraps all individual status renders in their own requestIdleCallback to improve input responsiveness especially only slow devices like Nexus 5.

* fix focus restoration

* only do rIC on mobile
2020-04-26 16:54:00 -07:00
Nolan Lawson 06a403df28
fix: left/right hotkey works on all settings page (#1745)
fixes #1744
2020-04-25 19:35:14 -07:00
Nolan Lawson a4a9cb7962
fix: fix nav links in Voice Control on iOS (#1746)
fixes #1735
2020-04-25 19:35:03 -07:00
Nolan Lawson 1f0d67fcc4
feat: aria-labels and buttons contain more media info (#1743)
* feat: aria-labels and buttons contain more media info

fixes #1733

* fix lint
2020-04-25 19:03:39 -07:00
greenkeeper[bot] bfb1da6bd0
chore: Update now to the latest version 🚀 (#1741)
* chore(package): update now to version 18.0.0

* chore(package): update lockfile yarn.lock

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-04-25 15:01:06 -07:00
greenkeeper[bot] ee5d911d49
chore: Update intersection-observer to the latest version 🚀 (#1740)
* fix(package): update intersection-observer to version 0.8.0

* chore(package): update lockfile yarn.lock

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-04-25 14:17:52 -07:00