Commit Graph

652 Commits

Author SHA1 Message Date
Nolan Lawson 7803bdf797
fix: remove LEGACY mode (#1867) 2020-09-13 13:37:54 -07:00
Nolan Lawson 295bd18e05
chore: update deps (#1863) 2020-09-07 14:42:50 -07:00
Nolan Lawson e3b3382c01
chore: update worker-loader (#1864)
* chore: update worker-loader

* fix: fix worker-loader
2020-09-07 14:42:44 -07:00
Nolan Lawson 35818250c0
chore: remove unused css-loader dependency (#1862) 2020-09-06 20:02:03 -07:00
Nolan Lawson f6ba607493
chore: update deps (#1865) 2020-09-06 20:01:55 -07:00
Nolan Lawson f1907a8315
chore: update dev deps (#1866) 2020-09-06 20:01:48 -07:00
Nolan Lawson fd7c22345c 1.19.1 2020-09-01 22:45:01 -07:00
Nolan Lawson 978afb8753 1.19.0 2020-08-31 17:29:01 -07:00
Nolan Lawson 4d1a72bb98
chore: add husky to automatically fix lint issues (#1852) 2020-08-29 19:18:59 -07:00
Nolan Lawson c081bf67dc
chore: update testcafe (#1821) 2020-08-25 22:16:25 -07:00
Nolan Lawson 07deb122f3
chore: update emoji-picker-element, use declarative format (#1840) 2020-08-25 16:46:02 -07:00
Nolan Lawson 2812e4521e
chore: update from now to vercel (#1844) 2020-08-25 16:45:53 -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 f1606706c4 1.18.0 2020-07-05 19:07:38 -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 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 3cd2d94469.

* fix: fix emoji autosuggest

* test: fix test
2020-06-28 23:12:14 -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 4fc41affe4
chore: update node-sass (#1787) 2020-05-20 19:39:48 -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 1df3b506e9 1.16.0 2020-05-11 19:03:29 -07:00
Nolan Lawson 511d16694c 1.15.9 2020-05-03 14:43:39 -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
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 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
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
greenkeeper[bot] 94fd351638
chore: Update emoji-regex to the latest version 🚀 (#1738)
* fix(package): update emoji-regex to version 9.0.0

* chore(package): update lockfile yarn.lock

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-04-25 14:12:04 -07:00
Nolan Lawson 8d8f30a134 1.15.8 2020-03-21 09:51:03 -07:00
Nolan Lawson 8f3fa34358
chore: update deps (#1731) 2020-03-21 09:09:01 -07:00
greenkeeper[bot] 916889efe9
chore: Update file-loader to the latest version 🚀 (#1730)
* fix(package): update file-loader to version 6.0.0

* chore(package): update lockfile yarn.lock

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-03-21 08:42:05 -07:00
Nolan Lawson acddcab6ee
chore: update webpack and yarn.lock (#1728) 2020-03-08 12:01:17 -07:00
Nolan Lawson cd85e0c4ec
chore: update now (#1725) 2020-03-08 09:15:24 -07:00
greenkeeper[bot] a7cb4db0f7
chore: Update rollup to the latest version 🚀 (#1727)
* fix(package): update rollup to version 2.0.0

* chore(package): update lockfile yarn.lock

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-03-08 09:15:16 -07:00
Nolan Lawson aea42257cc
chore: update babel (#1724) 2020-03-08 09:14:54 -07:00
Nolan Lawson 15b046fee7
chore: update deps (#1723) 2020-03-03 05:53:18 -08:00
Nolan Lawson a56a37b069
chore: update testcafe (#1722) 2020-03-01 18:40:35 -08:00
Nolan Lawson 08490d48b0
chore: update rollup and rollup-plugin-terser (#1721) 2020-03-01 18:40:28 -08:00
Nolan Lawson ce8e457820
chore: update webpack and terser-plugin-webpack (#1720) 2020-03-01 18:40:20 -08:00
Nolan Lawson 737e8ffc31
fix: update @webcomponents/custom-elements (#1719) 2020-03-01 18:40:12 -08:00
Nolan Lawson 681e4c63b8
chore: update mocha (#1718) 2020-03-01 18:40:04 -08:00
Nolan Lawson c202b43cc4
chore: update node-sass (#1710) 2020-02-23 08:15:34 -08:00
Nolan Lawson a522c0ae93
chore: update mocha to v7 (#1709) 2020-02-23 08:15:28 -08:00
Nolan Lawson 8400f10014
chore: update mkdirp (#1699) 2020-02-22 16:45:32 -08:00
greenkeeper[bot] 2f87db8389
chore: Update cross-env to the latest version 🚀 (#1700)
* fix(package): update cross-env to version 7.0.0

* chore(package): update lockfile yarn.lock
2020-02-22 16:42:10 -08:00
greenkeeper[bot] e9b696c96b
chore: Update p-any to the latest version 🚀 (#1706)
* fix(package): update p-any to version 3.0.0

* chore(package): update lockfile yarn.lock
2020-02-22 16:42:02 -08:00
greenkeeper[bot] a0b7e77dc2
chore: Update now to the latest version 🚀 (#1703)
* chore(package): update now to version 17.0.0

* chore(package): update lockfile yarn.lock
2020-02-22 16:41:53 -08:00
Nolan Lawson 2edbd4746d 1.15.7 2020-01-12 14:43:24 -08:00
Nolan Lawson 4a500c16f5
chore: update dependencies (#1697) 2020-01-12 10:32:40 -08:00
Nolan Lawson a4b743caf7
chore: update dependencies (#1691) 2020-01-12 09:56:57 -08:00
Nolan Lawson f5bb8a0b14
perf: use emoji-mart fork for now (#1689) 2019-12-23 20:48:39 -08:00
Nolan Lawson 78014a7f33
fix: remove remount (#1688)
* fix: remove remount

* fixup
2019-12-23 18:10:03 -08:00
Nolan Lawson 22fd567eb1
fix: update emoji-mart, add dark mode and custom categories (#1686) 2019-12-23 11:53:44 -08:00
Nolan Lawson 2477e3a020 1.15.6 2019-12-15 11:51:58 -08:00
Nolan Lawson 32d35a1f11
chore(package): update deps (#1677) 2019-12-15 09:58:05 -08:00
Nolan Lawson 69d0038fc0
chore: update terser-webpack-plugin (#1665) 2019-12-08 13:55:51 -08:00
Nolan Lawson 26e90d23de
chore: update file-loader and rollup (#1661) 2019-11-30 09:56:57 -08:00
greenkeeper[bot] 3bf98804f5 chore: Update file-loader to the latest version 🚀 (#1657)
* fix(package): update file-loader to version 5.0.0

* chore(package): update lockfile yarn.lock
2019-11-27 07:22:08 -08:00
Nolan Lawson 29f42b137f
chore: update dev deps (#1656) 2019-11-24 12:12:01 -08:00
Nolan Lawson 957bdfc479
chore: update deps (#1655) 2019-11-24 12:11:54 -08:00
Nolan Lawson 14762c4a5f 1.15.5 2019-11-23 15:18:12 -08:00
greenkeeper[bot] 4bd51de61d chore: Update fake-indexeddb to the latest version 🚀 (#1638)
* chore(package): update fake-indexeddb to version 3.0.0

* chore(package): update lockfile yarn.lock
2019-11-17 21:23:22 -05:00
Nolan Lawson 6211402afc
chore: update rollup (#1639) 2019-11-17 20:51:36 -05:00
Nolan Lawson ea382acf1d
test: improve testcafe test flakiness, use config file (#1627) 2019-11-09 17:25:33 -05:00
Marcin Cieślak f8356c2eaf chore(package): update node-sass to 4.13.0 (#1625)
This makes deployments based on Node 13 easier.
2019-11-09 09:23:13 -05:00
greenkeeper[bot] 92634dc3ed chore: Update form-data to the latest version 🚀 (#1623)
* fix(package): update form-data to version 3.0.0

* chore(package): update lockfile yarn.lock
2019-11-08 21:36:50 -05:00
Nolan Lawson af1bb984c9 1.15.4 2019-11-01 17:46:54 -07:00
Nolan Lawson 08cd8f645f
chore(package): update to svgo 1.3.2 (#1613)
* chore(package): update svgo to version 1.3.2

* chore(package): update lockfile yarn.lock
2019-10-30 07:50:05 -07:00
Nolan Lawson 4bc8036dd9
chore: update arrow-key-navigation (#1609) 2019-10-29 18:58:41 -07:00
Nolan Lawson bb85bcb32b
fix: switch to arrow-key-navigation library (#1607)
For left/right arrow key navigation, switch to a small library I made to
handle this. Also make it load asynchronously, because why not.
2019-10-28 08:16:51 -07:00
Nolan Lawson 1b40631049 1.15.3 2019-10-24 21:58:40 -07:00
Nolan Lawson 2b63afd4bb 1.15.2 2019-10-23 20:58:14 -07:00
Nolan Lawson 2a248cb482
fix: update tesseract to the latest version (#1596)
* chore: update tesseract to the latest version

* fix stuff

* fix delay

* fix caching, fixes #1457
2019-10-22 20:45:30 -07:00
Nolan Lawson 1d257ed92e 1.15.1 2019-10-18 19:17:55 -07:00
Nolan Lawson 3bc6e3d777
fix: only do range request override in Safari (#1594)
should fix #1590
2019-10-18 19:03:04 -07:00
Nolan Lawson 107ad3727b
chore: update chokidar (#1588) 2019-10-16 07:07:53 -07:00
Nolan Lawson 1e7c3b4e96
chore: update custom elements (#1587) 2019-10-15 20:34:30 -07:00
Nolan Lawson 3e6e39b81e
chore: update webpack-bundle-analyzer (#1586) 2019-10-15 20:11:20 -07:00
Nolan Lawson 2aa0fb505e
chore: update dev deps (#1581) 2019-10-15 18:38:12 -07:00
Nolan Lawson af711d242a
chore: update babel (#1580) 2019-10-15 18:38:07 -07:00
Nolan Lawson 08d1b6b6b5
chore: update webpack (#1584) 2019-10-15 17:27:46 -07:00
Nolan Lawson 90b8f82283
chore: update some deps (#1583) 2019-10-15 17:27:41 -07:00
Nolan Lawson 46b44feb35
chore: update svelte-loader (#1582) 2019-10-15 17:27:36 -07:00
Nolan Lawson 430385457b
chore: update chokidar (#1579) 2019-10-15 17:27:31 -07:00
Nolan Lawson 88e2c2fdc3
chore: update terser plugins (#1578) 2019-10-15 17:27:21 -07:00
Nolan Lawson 87cb8a7b81
chore: update rollup (#1577) 2019-10-15 17:27:13 -07:00
Nolan Lawson 2001e93399 1.15.0 2019-10-13 14:26:54 -07:00
Nolan Lawson 4601ddb92c
chore: update preact (#1569) 2019-10-13 08:08:12 -07:00
Nolan Lawson a0251b20c5 1.14.0 2019-10-08 17:48:51 -07:00
Nolan Lawson d53430fee5
fix: fix uploading photos on iOS 13 (#1550)
fixes #1546
2019-10-07 07:15:05 -07:00
Nolan Lawson 6358af5d04
feat: add legacy build (#1502)
* feat: add legacy build

* service worker should also be in ES5

* fixup
2019-09-20 23:17:52 -07:00
greenkeeper[bot] efe2c7df71 chore(package): Update cross-env to the latest version 🚀 (#1499)
* fix(package): update cross-env to version 6.0.0

* chore(package): update lockfile

https://npm.im/greenkeeper-lockfile
2019-09-20 18:53:52 -07:00
Nolan Lawson 78fa8c2873 1.13.1 2019-09-17 06:38:48 -07:00
Nolan Lawson 09167a18f2 1.13.0 2019-09-16 22:42:39 -07:00
Nolan Lawson 97af0ccdf0
chore: update standard (#1480) 2019-09-13 19:04:36 -07:00
Nolan Lawson db87019dbf
chore(package): update webpack (#1479)
* chore(package): update webpack to version 4.40.2

* chore(package): update lockfile

https://npm.im/greenkeeper-lockfile
2019-09-13 19:04:29 -07:00
Nolan Lawson cdb99cbe78 1.12.2 2019-09-08 11:07:55 -07:00
Nolan Lawson 26a036259e
chore: update standard (#1466) 2019-09-07 20:27:47 -07:00
Nolan Lawson 9c79b69497
fix: move worker-loader to dependencies (#1467)
fixes #1459
2019-09-07 17:19:39 -07:00
Nolan Lawson 78792ec66c
chore: update to now 16.2.0 (#1468)
* chore(package): update now to version 16.2.0

* chore(package): update lockfile

https://npm.im/greenkeeper-lockfile
2019-09-07 16:51:23 -07:00
Nolan Lawson 2d8419f84f
chore: Greenkeeper/terser webpack plugin 2.0.1 (#1463)
* fix(package): update terser-webpack-plugin to version 2.0.1

Closes #1462

* chore(package): update lockfile

https://npm.im/greenkeeper-lockfile
2019-09-07 16:50:41 -07:00
Nolan Lawson ea6f72cbe0 1.12.1 2019-08-29 20:16:52 -07:00
Nolan Lawson b126faeacd 1.12.0 2019-08-29 19:29:22 -07:00
Nolan Lawson c822f19975
chore: update to standard v14.0.2 (#1443) 2019-08-27 22:58:32 -07:00
Nolan Lawson ca9a32d303
feat: add OCR for image descriptions using tesseract.js (#1433)
* feat: add OCR for image descriptions using tesseract.js

* tweak style of alt editor

* remove unnecessary files
2019-08-25 18:33:44 -07:00
Nolan Lawson 7b32c71c93
fix: reset websocket on online/offline/active events (#1429)
* fix: reset websocket on online/offline/active events

* minor fixup

* add comments
2019-08-24 13:33:57 -07:00
Nolan Lawson 8c6a701d6f
fix: ensure "disable blurhash" setting is honored (#1422)
* fix: ensure "disable blurhash" setting is honored

fixes #1421

* remove play button for audio/video
2019-08-22 09:09:21 -07:00
greenkeeper[bot] 8caa0c08c3 chore(package): update standard to version 14.0.0 2019-08-19 20:23:58 -07:00
Nolan Lawson a895abe2c9
chore: update deps (#1408) 2019-08-19 07:49:00 -07:00
Nolan Lawson 1002f8af92
chore: update test deps (#1407) 2019-08-18 23:13:40 -07:00
Nolan Lawson 27c6b3018f
chore: update some webpack deps (#1406) 2019-08-18 23:13:34 -07:00
Nolan Lawson 009a511c80
perf: call revokeObjectURL() on stale blurhash blob URLs (#1403)
* perf: call revokeObjectURL() on stale blurhash blob URLs

fixes #1402

* add a test

* add comment
2019-08-18 15:15:13 -07:00
Nolan Lawson 2c2ea6325c
chore(package): update now to v16 (#1392) 2019-08-17 14:36:21 -07:00
Nolan Lawson f8180e813f
fix: move blurhash worker operations to before status rendering (#1391)
* fix: move blurhash worker operations to before status rendering

* slight refactor

* avoid sending encoded data back and forth

* move cache outside worker
2019-08-17 14:36:13 -07:00
Sorin Davidoi 77bb784efd feat(media): Blurhash (#1381)
* chore(npm): Install blurhash

* feat(media): Show blurhash

* fix(media/blurhash): Better sensitive video handling

* feat(media): Preference for using blurhash

* chore(utils/blurhash): Add performance marks

* fix(utils/blurhash): Performance marks

* fix(utils/blurhash): Use correct dimension

* refactor(utils/blurhash): Use constant for number of pixels

* refactor(media): Simplify logic for displaying blurhash

* chore(tests/spec): Attempt to adjust sensitivity tests for blurhash

* chore(tests/spec): Update sensitivity tests for blurhash

* chore(tests/spec): Check for sensitive

* fix(media/blurhash): Handle videos

* fix: Video handling

* fix: Videos

* minor refactoring, fix Svelte warning

* fix: Large inline images and videos

* feat(settings): Rename blurhash setting

* refactor: Use toBlob, block media rendering until blurhash ready

* refactor: Move computations to Web Worker

* fix(workers/blurhash): More error handling

* feat(workers/blurhash): Use quick-lru for caching

* fix: Don't create Context2D needlessly

* fix(workers/blurhash): Increase cache size to 100

* fix(workers/blurhash): Don't resolve promise twice

* fix(utils/decode-image): Ignore data URLs

Throws exception which prevents the image from loading.
2019-08-17 10:54:45 -07:00
Nolan Lawson d52049cca5 1.11.8 2019-08-11 11:27:14 -07:00
Nolan Lawson 774210f776 1.11.7 2019-08-04 21:31:57 -07:00
Nolan Lawson d58ab52a09
fix: improve focal points draggable style/perf (#1371)
* fix: improve focal points draggable style/perf

* remove unnecessary global

* fix all the things

* fix comment
2019-08-04 13:31:51 -07:00
Nolan Lawson 00945a3608
chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
Nolan Lawson b034b60145
chore: update webpack to 4.39.1 (#1369) 2019-08-03 12:02:18 -07:00
Nolan Lawson ad49831f97 1.11.6 2019-07-30 18:33:42 -07:00
Nolan Lawson cc4f6a4db6 1.11.5 2019-07-24 20:01:27 -07:00
Nolan Lawson 467eb85209
fix: simplify window.matchMedia (#1359)
There is really no reason to call window.matchMedia instead of just matchMedia.
2019-07-23 20:33:40 -07:00
Nolan Lawson cf52b9efc2 1.11.4 2019-07-20 08:17:12 -07:00
Nolan Lawson a72dec0a98
chore: update webpack to 4.36.0, update sub-deps (#1335)
* chore: update webpack to 4.36.0

* chore: update yarn sub-dependencies
2019-07-17 18:56:31 -07:00
Nolan Lawson db2712b8d7 1.11.3 2019-07-08 20:51:49 -07:00
Nolan Lawson 48f7c64c6c
test: re-enable skipped tests, use quarantine mode (#1329) 2019-07-08 20:51:30 -07:00
Nolan Lawson 9a9adfb217 1.11.2 2019-07-07 18:26:32 -07:00
Nolan Lawson 114aaf0c13 1.11.1 2019-07-07 14:51:45 -07:00
Nolan Lawson c2bda9b8f3 1.11.0 2019-07-07 12:38:28 -07:00
Nolan Lawson 85b75900c1
feat: add ability to set focal points for media (#1303)
* feat: add ability to set focal points for media

fixes #739

* fix tests

* actually fix tests

* really really fix tests

* really really really fix tests pinkie swear
2019-07-07 00:14:19 -07:00
Nolan Lawson 994dda4806
chore: update @babel/core (#1301) 2019-07-06 20:53:11 -07:00
Nolan Lawson ce7c9d226d
chore: update now (#1300) 2019-07-06 20:53:04 -07:00
Nolan Lawson 182ff072d7
chore: update webpack (#1299) 2019-07-06 20:52:57 -07:00
greenkeeper[bot] 89b06c1dde chore: Update eslint-plugin-html to the latest version 🚀 (#1295)
* chore(package): update eslint-plugin-html to version 6.0.0

* chore(package): update lockfile yarn.lock
2019-07-06 20:52:50 -07:00
Nolan Lawson f3baf1a56d 1.10.0 2019-06-23 10:01:57 -07:00
Nolan Lawson c034b4c0c5
chore: update deps (#1291) 2019-06-22 13:21:12 -07:00
Nolan Lawson f4177bd0bb 1.9.1 2019-06-20 20:00:22 -07:00