Commit graph

632 commits

Author SHA1 Message Date
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
Nolan Lawson 5dfbee3901
chore: update webpack to 4.34.0 (#1286) 2019-06-19 23:01:01 -07:00
Nolan Lawson fb906b4170
chore: update rollup to 1.15.6 (#1285) 2019-06-19 23:00:54 -07:00
greenkeeper[bot] 51e7f703d3 chore: Update css-loader to the latest version 🚀 (#1280)
* fix(package): update css-loader to version 3.0.0

* chore(package): update lockfile yarn.lock
2019-06-19 20:13:01 -07:00
Nolan Lawson 155cb05e39 1.9.0 2019-06-02 09:26:27 -07:00
Nolan Lawson 0de6c3a09f 1.8.0 2019-05-27 18:00:56 -07:00
Nolan Lawson 3453b10ffb
chore: update deps (#1247)
* chore: update deps

* chore: actually update all deps
2019-05-27 15:15:47 -07:00
greenkeeper[bot] 979bb4815f chore: Update stringz to the latest version 🚀 (#1228)
* fix(package): update stringz to version 2.0.0

* chore(package): update lockfile yarn.lock
2019-05-26 09:37:11 -07:00
Nolan Lawson d92bd2e94b
chore: update to esm 3.2.25 (#1217)
* chore(package): update esm to version 3.2.25

* chore(package): update lockfile yarn.lock
2019-05-25 08:19:05 -07:00
greenkeeper[bot] 5178650e78 chore: Update rollup-plugin-terser to the latest version 🚀 (#1218)
* fix(package): update rollup-plugin-terser to version 5.0.0

* chore(package): update lockfile yarn.lock
2019-05-25 08:16:27 -07:00
greenkeeper[bot] 9862858b2e chore: Update assert to the latest version 🚀 (#1212)
* chore(package): update assert to version 2.0.0

* chore(package): update lockfile yarn.lock
2019-05-19 08:07:27 -07:00
Nolan Lawson 6aec213c3d 1.7.0 2019-05-11 08:26:38 -07:00
Nolan Lawson 867de5cc78
chore: update deps (#1206) 2019-05-11 08:13:30 -07:00
greenkeeper[bot] 77cae71568 chore: Update intersection-observer to the latest version 🚀 (#1204)
* fix(package): update intersection-observer to version 0.7.0

* chore(package): update lockfile yarn.lock
2019-05-11 07:46:03 -07:00
Nolan Lawson 43baaf36ae
fix: close IDB connections when page is frozen (#1196)
OK let's try this
2019-05-08 20:53:33 -07:00
Nolan Lawson 70da9a92a6
fix: close/open websocket on freeze/resume events (#1195)
* fix: close/open websocket on freeze/resume events

attempt to address #14

* fix unit tests
2019-05-08 19:58:32 -07:00
Nolan Lawson de220e7262
fix: throttle XHRs from autosuggest (#1190)
* fix: throttle XHRs from autosuggest

* throttle and abort properly

* add comment

* fix xhr bug
2019-05-06 20:29:43 -07:00
Nolan Lawson c9d93cc44b
chore(package): update rollup to version 1.11.3 (#1180)
* chore(package): update rollup to version 1.11.3

* chore(package): update lockfile yarn.lock
2019-05-05 15:02:03 -07:00
Nolan Lawson bbf5b7f0c6
chore: update preact (#1174)
* chore: update preact

* fix preact
2019-05-04 14:16:07 -07:00
Nolan Lawson af9cad89d9
chore: update remount to v0.11.0 (#1171) 2019-05-01 18:57:41 -07:00
Nolan Lawson d0112f3694
chore: update deps (#1170)
* chore: update deps

* do not update remount
2019-05-01 18:31:29 -07:00
Nolan Lawson 0beb410204
chore: make greenkeeper ignore svelte for now (#1169) 2019-05-01 18:31:21 -07:00
Nolan Lawson 9c3d5be2e7 1.6.1 2019-04-14 20:17:04 -07:00
Nolan Lawson d7fb6d1baa 1.6.0 2019-04-13 15:58:36 -07:00
Nolan Lawson 37a50dd8ea
chore: update deps (#1150) 2019-04-13 13:46:31 -07:00
Nolan Lawson ecfbc57aed
chore: update deps (#1144) 2019-04-10 07:55:27 -07:00
greenkeeper[bot] 7086b09f4f chore: Update now to the latest version 🚀 (#1142)
* chore(package): update now to version 15.0.3

* chore(package): update lockfile yarn.lock
2019-04-08 19:27:31 -07:00
greenkeeper[bot] db222ef007 chore: Update quick-lru to the latest version 🚀 (#1139)
* fix(package): update quick-lru to version 4.0.0

* chore(package): update lockfile yarn.lock
2019-04-05 09:37:32 -07:00
Nolan Lawson 4d11e0ffbe
chore: update deps (#1123) 2019-03-30 21:48:40 -07:00
Nolan Lawson 8fc8108454
fix: back button dismisses the modal dialog (#826)
* fix: back button dismisses the modal dialog

fixes #60

* try to manage nested modals

* seems working now

* fix modal timing issue

* fix test flakiness

* improve test flakiness again

* fix muting timing issue

* Revert "fix muting timing issue"

* remove setTimeout from MediaDialog

* refactor
2019-03-24 15:08:34 -07:00
Nolan Lawson a862191d12 1.5.1 2019-03-22 16:07:24 -07:00
Nolan Lawson 861c7dbe1e 1.5.0 2019-03-21 14:39:21 -07:00
Nolan Lawson f69c5c683e
chore: update deps (#1110) 2019-03-21 12:51:08 -07:00
Nolan Lawson 4751791dcc
chore: update dependencies (#1100) 2019-03-17 11:34:45 -07:00
Nolan Lawson 190190bb22 1.4.0 2019-03-16 09:06:25 -07:00
greenkeeper[bot] ff98c59237 chore: Update p-any to the latest version 🚀 (#1096)
* fix(package): update p-any to version 2.0.0

* chore(package): update lockfile yarn.lock
2019-03-14 21:14:54 -07:00
Nolan Lawson 34d5f05859
chore: update to emoji-mart 2.10.0 (#1097) 2019-03-14 21:14:41 -07:00
Nolan Lawson 117b5bee25
chore: update emoji-mart again for more testing (#1095)
* chore: update emoji-mart again for more testing

* update

* update again
2019-03-13 09:20:12 -07:00
Nolan Lawson 13792aef66
perf: switch from inferno to preact, use emoji-mart prerelease (#1094)
* perf: switch from inferno to preact, use emoji-mart prerelease

* use preact@10
2019-03-10 14:13:05 -07:00
greenkeeper[bot] 8ccef1b2b5 chore: Update quick-lru to the latest version 🚀 (#1093)
* fix(package): update quick-lru to version 3.0.0

* chore(package): update lockfile yarn.lock
2019-03-10 13:33:42 -07:00
Nolan Lawson ec02a2665d
chore: update to latest emoji-mart (#1091)
using a branch that allows for modern ES6 builds as well
2019-03-09 12:23:46 -08:00
Nolan Lawson a6d14e2d54
chore(package): update rollup to version 1.5.0 (#1088)
* chore(package): update rollup to version 1.5.0

* chore(package): update lockfile yarn.lock
2019-03-07 17:12:51 -08:00
greenkeeper[bot] 15198f19d6 chore: Update emoji-regex to the latest version 🚀 (#1079)
* fix(package): update emoji-regex to version 8.0.0

* chore(package): update lockfile yarn.lock
2019-03-05 20:25:24 -08:00
Nolan Lawson 5cde48c2c5
test: add IndexedDB tests (#1075)
* test: add IndexedDB tests

Adds unit tests using fake-indexeddb.

* remove wtfnode dep
2019-03-03 18:34:10 -08:00
Nolan Lawson 880bc7a38a
perf: use a separate icons.svg file (#1067)
* perf: use a separate icons.svg file

This splits icons into inline and non-inline. The inline ones are high
priority; the rest go in an icons.svg file.

* create SvgIcon.html

* determine inlined svgs at build time
2019-03-02 19:02:06 -08:00
Nolan Lawson fe0018262f 1.3.1 2019-03-02 13:25:20 -08:00
Nolan Lawson 948316381d
chore: update all deps (#1062) 2019-02-28 21:35:22 -08:00
Nolan Lawson 53126c421e
chore(package): update testcafe to version 1.1.0 (#1061)
* chore(package): update testcafe to version 1.1.0

* chore(package): update lockfile yarn.lock
2019-02-28 21:05:39 -08:00
Nolan Lawson 6715bbdfd5
chore(package): update rollup to version 1.3.2
* chore(package): update rollup to version 1.3.2

* chore(package): update lockfile yarn.lock
2019-02-28 20:02:53 -08:00
Nolan Lawson b7299f53fb
chore(package): update rollup to version 1.3.0
* chore(package): update rollup to version 1.3.0

* chore(package): update lockfile yarn.lock
2019-02-26 21:57:30 -08:00
Nolan Lawson 97b0585fa0 1.3.0 2019-02-24 11:09:05 -08:00
Nolan Lawson e83bd492f5
fix: when building, use a port unlikely to be in use (#1047)
Right now if you run `yarn build` while port 4002 is in use, it will
fail. Let's just pick a random port that's unlikely to be used by any
self-hosters. I chose a random 5-digit number.
2019-02-24 10:48:49 -08:00
Nolan Lawson 6708b06a59
chore(package): update dependencies (#1046) 2019-02-23 23:34:48 -08:00
Nolan Lawson fabf9399f2
fix: use static server for node server.js (#1041)
* fix: use static server for `node server.js`

Aligns the Node server with the Zeit server. Fixes #1019

* fix test
2019-02-23 16:09:48 -08:00
Nolan Lawson 5d703e9612
chore(package): Greenkeeper/svelte loader 2.13.3 (#1027)
* chore(package): update svelte-loader to version 2.13.3

* chore(package): update lockfile yarn.lock
2019-02-21 22:03:44 -08:00
greenkeeper[bot] 8049977563 chore: Update file-drop-element to the latest version 🚀 (#1017)
* fix(package): update file-drop-element to version 0.2.0

* chore(package): update lockfile yarn.lock

* fix: update for file drop 0.2.0
2019-02-19 22:24:03 -08:00
greenkeeper[bot] ebbe6ba9f8 chore: Update mocha to the latest version 🚀 (#1012)
* chore(package): update mocha to version 6.0.0

* chore(package): update lockfile yarn.lock
2019-02-18 15:43:32 -08:00
Nolan Lawson cd5b6f8e81
perf: use lite web animations polyfill (#1011) 2019-02-18 11:47:02 -08:00
Nolan Lawson ef5fb4ce0c 1.2.0 2019-02-16 15:39:00 -08:00
Nolan Lawson c6ebe6ab44
chore: use a script to generate the now.json (#1007) 2019-02-16 14:30:34 -08:00
Nolan Lawson 839e8e35c4
fix: use fork of sapper for now (#1001) 2019-02-16 00:48:37 -08:00
Nolan Lawson 0d9dc7809c
chore: upgrade to zeit 2 (#998) 2019-02-15 19:46:27 -08:00
greenkeeper[bot] beaac988b3 Update now to the latest version 🚀 (#995)
* chore(package): update now to version 14.0.0

* chore(package): update lockfile yarn.lock
2019-02-15 19:03:05 -08:00
Nolan Lawson 2c98bbda58
chore: pin to zeit v1 for the time being (#994)
more junk I am doing to try to address #985
2019-02-14 23:56:48 -08:00
Nolan Lawson d947f819ab
fix: increase cache, use csp checksums over nonce (#988)
attempt to address #985
2019-02-14 19:39:24 -08:00
Nolan Lawson 9bc960ecdd
chore: update all deps (#984) 2019-02-14 19:38:42 -08:00
Nolan Lawson d0ba4fa5f7 1.1.0 2019-02-13 21:11:58 -08:00
Nolan Lawson 290401903d
chore: tell now about server.js (#977)
fixes a deploy bug introduced in #976
2019-02-12 23:35:30 -08:00
Nolan Lawson 2adf8a738e
fix: fix port not defaulting to 4002, add server.js (#976)
fixes #972
2019-02-12 23:12:50 -08:00
Nolan Lawson 91f954de36
perf: reduce server-side memory usage of Pinafore (#973)
fixes #971
2019-02-12 21:43:04 -08:00
Nolan Lawson 30048a7f12
perf: remove duplicate custom props from theme CSS (#969) 2019-02-11 21:04:19 -08:00
Nolan Lawson 73182552d4 1.0.1 2019-02-10 13:29:15 -08:00
Nolan Lawson 37a95c04ab 1.0.0 2019-02-10 11:34:03 -08:00
greenkeeper[bot] b05855f7ca Update testcafe to the latest version 🚀 (#950)
* chore(package): update testcafe to version 1.0.0

* chore(package): update lockfile yarn.lock
2019-02-09 12:01:38 -08:00
Nolan Lawson 7583d488a0
chore: update sapper to v0.25.0 (#938) 2019-02-03 15:45:51 -08:00
Nolan Lawson 6d2b3ec072
feat: add pinch-zoom to media dialog (#933)
* feat: add pinch-zoom to media dialog

* fix zoom buttons
2019-02-03 12:33:15 -08:00
Nolan Lawson 5e082e5f5f
chore: give "now" the yarn.lock (#929) 2019-02-02 23:24:32 -08:00
Nolan Lawson 2ef4743b3c
core: update webpack and remove browserlist (#926) 2019-01-27 18:23:25 -08:00
Nolan Lawson d198250eab
chore: switch to yarn (#927)
* chore: switch to yarn

BREAKING CHANGE: Pinafore is now using yarn rather than npm, so those
who self-host will need to stop running e.g. `npm install` and run `yarn
install` instead.

* install latest yarn
2019-01-27 17:44:30 -08:00
Nolan Lawson 58b0c56ad8 0.18.0 2019-01-27 12:36:54 -08:00
Nolan Lawson 7a8be06412
chore: update dep rollup-plugin-terser (#925) 2019-01-27 12:29:27 -08:00
Nolan Lawson 14932e2479
chore: update dep rollup (#924) 2019-01-27 12:29:20 -08:00
Nolan Lawson 3dfab37f53
chore: update dep inferno-compat (#923) 2019-01-27 12:29:13 -08:00
Nolan Lawson 2f743299ec
chore: update dep esm (#922) 2019-01-27 12:29:06 -08:00
Nolan Lawson 6b3d53a795
chore: remove pify dependency, use util.promisify (#901) 2019-01-19 15:06:25 -08:00
Nolan Lawson ae918a226c
chore: update browserslist/esm/now (#899) 2019-01-19 13:32:29 -08:00
Nolan Lawson a508f494f0 0.17.0 2019-01-13 17:15:45 -08:00
Nolan Lawson 981af04c6d
chore: update now to latest (#885) 2019-01-12 13:13:59 -08:00
Nolan Lawson 610f5be1e9
chore: update testcafe to latest (#884) 2019-01-12 13:13:53 -08:00
Nolan Lawson f2d1054af6
chore: update webpack to latest (#883) 2019-01-12 13:13:47 -08:00
Nolan Lawson 39e77eeb4a
chore: update terser-webpack-plugin to latest (#882) 2019-01-12 13:13:39 -08:00
Nolan Lawson adf04aa1ad
chore: update svelte-loader to latest (#881) 2019-01-12 13:13:32 -08:00
Nolan Lawson 55879362a4
chore: update rollup-plugin-terser to latest (#880) 2019-01-12 13:13:24 -08:00
Nolan Lawson a39c57af8d
chore: update rollup to latest (#879) 2019-01-12 13:13:18 -08:00
Nolan Lawson af827d1338
chore: update inferno-compat to latest (#878) 2019-01-12 13:13:12 -08:00
Nolan Lawson dfd53c056d
chore: update emoji-regex to latest (#877) 2019-01-12 13:13:05 -08:00
Nolan Lawson 14faed41e5
chore: update css-loader to latest (#876) 2019-01-12 13:12:56 -08:00
Nolan Lawson ec01534e00
chore: update browserslist to latest (#875) 2019-01-12 13:11:56 -08:00
Nolan Lawson a5a6c49269
chore: improve steps in export process (#871) 2019-01-12 10:17:37 -08:00
greenkeeper[bot] b90bcbcfef chore: Update now to the latest version 🚀 (#868)
* chore(package): update now to version 13.0.0

* chore(package): update lockfile package-lock.json
2019-01-12 09:50:43 -08:00
greenkeeper[bot] 5bb48e89e2 chore: Update rollup-plugin-terser to the latest version 🚀 (#864)
* fix(package): update rollup-plugin-terser to version 4.0.0

* chore(package): update lockfile package-lock.json
2019-01-12 09:49:44 -08:00
greenkeeper[bot] 26d0b827bc Update rollup to the latest version 🚀 (#860)
* fix(package): update rollup to version 1.0.0

* chore(package): update lockfile package-lock.json

* fix inline script script
2019-01-01 10:42:50 -08:00
Nolan Lawson 59f9be448d 0.16.0 2018-12-19 09:09:33 -08:00
Nolan Lawson cd44e33a7e
perf: reduce size of emoji-mart dep using fork (#841) 2018-12-18 14:40:14 -08:00
Nolan Lawson e6ca246527
fix: use emoji-mart all.json, split out json (#839) 2018-12-18 12:45:49 -08:00
Nolan Lawson 7da2076791
chore: add prop-types to deps to unbreak now (#837) 2018-12-18 10:00:12 -08:00
Nolan Lawson 098a20db49
feat: add full emoji picker using emoji-mart (#836)
* feat: add full emoji picker using emoji-mart

Fixes #4

* use a sailboat as the default emoji in the emoji picker

* fix tests

* fix lint
2018-12-18 00:43:51 -08:00
Nolan Lawson 943a1ed5e6
chore: fix build process in dev mode (#835) 2018-12-17 22:42:39 -08:00
Nolan Lawson 93c2358a71
chore: upgrade travis/now to node v10 (#834) 2018-12-17 17:30:12 -08:00
Nolan Lawson bb7fe6e30a
chore: make build process faster/simpler (#833)
This gets rid of the awkward checking-in of `template.html` to git (when
it's a built file) and also makes the rebuilds faster and more
consistent by running everything through the same pipeline. So inline
CSS, SVG, and JS are all partially built on-the-fly.

I've basically reinvented gulp, but it's pretty lightweight and
zero-dep, so I'm happy with it.
2018-12-17 17:21:29 -08:00
Nolan Lawson 049bbba639 0.15.0 2018-12-17 11:54:51 -08:00
Nolan Lawson 14a618f374
perf: lazy-load logged-in observers, fix circular dependencies (#823)
* perf: lazy-load logged-in observers, fix circular dependencies

* I guess async deps don't count as circular deps
2018-12-16 10:22:34 -08:00
greenkeeper[bot] 77b84d44f4 Update rollup to the latest version 🚀 (#822)
* fix(package): update rollup to version 0.68.0

* chore(package): update lockfile package-lock.json
2018-12-16 09:34:53 -08:00
Nolan Lawson 146ac8d4aa
chore(package): update svelte to version 2.16.0 (#821)
* chore(package): update svelte to version 2.16.0

* chore(package): update lockfile package-lock.json
2018-12-16 09:34:41 -08:00
Nolan Lawson 4220df9418
fix: fix "now" files for thirdparty (#819) 2018-12-15 19:58:39 -08:00
Nolan Lawson 3ae532aee5
fix: fix NODE_ENV and webpack config (#818) 2018-12-15 19:21:20 -08:00
Nolan Lawson 260f6acf0e
perf: download and cache polyfills on-the-fly (#814)
* perf: download and cache polyfills on-the-fly

* fixup the localhost switch for service worker, does nothing
2018-12-15 17:13:46 -08:00
Nolan Lawson b4164653db
fix: remove font-awesome-svg-png (#810)
* fix: remove font-awesome-svg-png

* update readme
2018-12-15 17:13:27 -08:00
Nolan Lawson 7ddfe3830a
feat: add drag and drop for media uploads (#809)
* feat: add drag and drop for media uploads

fixes #65

* tweak colors
2018-12-15 02:06:12 -08:00
Nolan Lawson fd1310c2c1 0.14.1 2018-12-14 00:26:03 -08:00
Nolan Lawson 319a158deb
fix: remove non-functional globalize/deglobalize scripts (#800)
fixes #787
2018-12-13 21:32:25 -08:00
Nolan Lawson 0fa0658b59
Revert "fix: re-enable mini-css-extract-plugin (#791)" (#799)
This reverts commit dc93685c18.

This fixes #798
2018-12-13 21:32:12 -08:00
Nolan Lawson a442b5ef43 0.14.0 2018-12-13 08:04:22 -08:00
Nolan Lawson 381d1dd120
chore(package): update dependencies (#792) 2018-12-12 23:46:51 -08:00
Nolan Lawson dc93685c18
fix: re-enable mini-css-extract-plugin (#791)
fixes #776
2018-12-12 23:46:02 -08:00
Nolan Lawson 4bd181d3cc
fix: update Sapper to latest (#775)
* fix: update to latest sapper

fixes #416

* fix error and debug pages

* requestIdleCallback makes column switching feel way nicer than double rAF

* add export feature

* add better csp info

* workaround for sapper sub-page issue

* clarify in readme about exporting

* fix now config

* switch from rIC to triple raf

* style-loader is no longer used

* update theming guide
2018-12-11 07:31:48 -08:00
Nolan Lawson 8eb30d02e9
chore: cleanup travis scripts (#766)
* chore: cleanup travis scripts

* remove unused script
2018-12-08 17:15:01 -08:00
Nolan Lawson 7876f82871
fix: build inline script using Rollup (#761)
* fix: build inline script using Rollup

This reduces code duplication and allows the theme engine to work the
same without modifying the code in two places. It does extra extra deps,
but I tried to keep them to a minimum.

* change code comment

* remove unnecessary constant
2018-12-08 11:21:54 -08:00
Nolan Lawson 7954a63588
chore(package): update sapper's deps (#755) 2018-12-07 23:24:28 -08:00
greenkeeper[bot] 2280ff2832 Update css-loader to the latest version 🚀 (#749)
* fix(package): update css-loader to version 2.0.0

* chore(package): update lockfile package-lock.json
2018-12-07 07:55:23 -08:00
greenkeeper[bot] 495d9b7438 Update mini-css-extract-plugin to the latest version 🚀 (#748)
* fix(package): update mini-css-extract-plugin to version 0.5.0

* chore(package): update lockfile package-lock.json
2018-12-07 07:55:14 -08:00
Nolan Lawson 0e524f3e9a
fix: detect private browsing and safari blocked cookies (#733)
* WIP: detect private browsing and safari blocked cookies

* just check for indexeddb

* just check for indexeddb

* change warning text

* change text

* change text again

* change text again

fixes #444
2018-12-05 21:34:30 -08:00
Nolan Lawson 0f0db010eb 0.13.0 2018-12-04 07:26:12 -08:00
Nolan Lawson 09f3281e36
chore(package): use events-lights instead of events (#721) 2018-12-04 06:44:13 -08:00
Nolan Lawson ee3dfd8e28 0.12.0 2018-12-02 16:14:10 -08:00
Nolan Lawson 945c1e7a23
fix(iOS): fix horizontal scroll, use fake sticky button on iOS (#711)
fixes #667
2018-12-02 11:22:18 -08:00
Nolan Lawson 12892d0032
chore(package): update to webpack 4.26.1 (#703) 2018-12-01 00:00:11 -08:00
Nolan Lawson ea4e21281f
chore(package): update now to 12.1.8 (#704) 2018-12-01 00:00:05 -08:00
Nolan Lawson 41d7e40662
fix(deps): remove timeago.js (#692) 2018-11-25 10:33:59 -08:00
Nolan Lawson cc81a7bec6
fix(a11y): improved aria-label for status and notifications (#690)
* fix(a11y): improved aria-label for status and notifications

fixes #689

* only calculate formatted date once

* fixup tests

*  fixup tests more

* fixup

* fixup tests again
2018-11-25 01:20:58 -08:00
Nolan Lawson 2db06ea472
chore(package): update npm-run-all to version 4.1.5 (#688)
* chore(package): update npm-run-all to version 4.1.5

* chore(package): update lockfile package-lock.json
2018-11-24 21:21:42 -08:00
Nolan Lawson 48a1bd47b3
refactor(themes): use CSS specificity order for themes (#684)
The point of this PR is to make it easier to implement scrollbars (#683).

With this PR, the themes move from a body tag-based system (e.g. `body.theme-scarlet`) to a system where they simply declare global CSS and we use CSS specificity order to give us the right theme.
2018-11-24 00:41:36 -08:00
Nolan Lawson 999d560703 0.11.1 2018-11-21 22:09:36 -08:00
Nolan Lawson 673e7b951c
chore(package): update deps (#677) 2018-11-21 20:53:43 -08:00
Nolan Lawson 689dae5d39
fix(dialog): when dialog is hidden, don't scroll to top (#672)
* fix(dialog): when dialog is hidden, don't scroll to top

* update package-lock.json
2018-11-21 00:33:46 -08:00
Nolan Lawson 4124da2439
fix(emojos): fix emojos on Ubuntu and Chrome on Windows (#661)
* fix(emojos): fix emojos on Ubuntu and Chrome on Windows

* fixup

* start working on unit tests

* fixup

* add more tests and fix emoji
2018-11-20 00:01:23 -08:00
Nolan Lawson c99cc7ed67 0.11.0 2018-11-12 18:38:00 -08:00
Nolan Lawson eee2eb288b
update to svelte 2.15.3 (#644) 2018-11-12 17:34:12 -08:00
greenkeeper[bot] bf0812df6a Update eslint-plugin-html to the latest version 🚀 (#634)
* chore(package): update eslint-plugin-html to version 5.0.0

* chore(package): update lockfile package-lock.json
2018-11-11 16:37:10 -08:00
Nolan Lawson dd824822cb
chore(travis): use travis to deploy to production (#631) 2018-11-11 13:01:32 -08:00
Nolan Lawson ae6ae34b7d
fix(server): use compression instead of shrink-ray-current (#629) 2018-11-11 11:31:32 -08:00
greenkeeper[bot] cedf33b2cb Update quick-lru to the latest version 🚀 (#623)
* fix(package): update quick-lru to version 2.0.0

* chore(package): update lockfile package-lock.json
2018-11-11 09:47:00 -08:00
greenkeeper[bot] db4ab87adc Update now to the latest version 🚀 (#621)
* chore(package): update now to version 12.0.0

* chore(package): update lockfile package-lock.json
2018-11-10 13:41:49 -08:00
Nolan Lawson 819c1e6b8d 0.10.1 2018-11-05 08:28:54 -08:00
Nolan Lawson 4519a3fe2d 0.10.0 2018-11-04 23:07:10 -08:00
Nolan Lawson 6f4c7e6f4e
chore: update svelte to 2.15.2 (#616) 2018-11-04 23:03:21 -08:00
Nolan Lawson 754e4da638
chore(package): update shrink-ray-current to version 3.0.1 (#615)
* chore(package): update shrink-ray-current to version 3.0.1

* chore(package): update lockfile package-lock.json
2018-11-04 23:03:14 -08:00
Nolan Lawson b3a31aa21a
update express to 4.16.4 (#614) 2018-11-04 21:30:07 -08:00
Nolan Lawson f591b90629
update mini-css-extract-plugin to 0.4.4 (#613) 2018-11-04 21:29:58 -08:00
Nolan Lawson 2cf35e58eb
update now to 11.5.2 (#612) 2018-11-04 21:29:52 -08:00
Nolan Lawson 16d21947a4
update to webpack-bundle-analyzer 3.0.3 (#611) 2018-11-04 16:39:10 -08:00
Nolan Lawson 398fb2fcd7
update style-loader to 0.23.1 (#610) 2018-11-04 16:37:33 -08:00
Nolan Lawson cf7ec984e1
chore(package): update node-sass to version 4.10.0 (#609)
* chore(package): update node-sass to version 4.10.0

* chore(package): update lockfile package-lock.json
2018-11-04 16:35:17 -08:00
Nolan Lawson 951c2b6527
chore(package): update css-loader to version 1.0.1 (#608)
* chore(package): update css-loader to version 1.0.1

* chore(package): update lockfile package-lock.json
2018-11-04 16:35:08 -08:00
Nolan Lawson 7fdf8ca721
chore: update to webpack 4.24.0 (#606) 2018-11-04 15:57:39 -08:00
Nolan Lawson 599f56ab02
chore(package): update svelte to version 2.15.0 (#594)
* chore(package): update svelte to version 2.15.0

* chore(package): update lockfile package-lock.json
2018-11-04 15:57:33 -08:00
greenkeeper[bot] 5936e978dd Update testcafe to the latest version 🚀 (#590)
* chore(package): update testcafe to version 0.23.0

* update package-lock
2018-11-04 15:57:21 -08:00
Nolan Lawson df91057334
chore(package): update browserslist to version 4.3.4 (#592)
* chore(package): update browserslist to version 4.3.4

* chore(package): update lockfile package-lock.json
2018-11-04 15:57:14 -08:00
Nolan Lawson 68c2dc47b9
update form-data, helmet, pify, intersection-observer (#596) 2018-11-04 14:52:51 -08:00
greenkeeper[bot] d4a208bf20 Update shrink-ray-current to the latest version 🚀 (#599)
* fix(package): update shrink-ray-current to version 3.0.0

* chore(package): update lockfile package-lock.json
2018-11-04 14:30:38 -08:00
Nolan Lawson bc3a74bbcb don't wait if idb is blocked, remove workerize-loader (#602)
There are two issues here:

- if IDB is blocked, then the promise never resolves when you log out (and call indexedDB.deleteDatabase) and the app remains in a permanently hung state
- why is IDB blocked? well, something seems to have changed in Chrome 70 such that doing these operations in a web worker causes the blocked error. The benefits of workerizing IDB is so small that I'd rather just remove it at this point.
2018-11-04 13:59:14 -08:00
Sorin Davidoi e45af16bf9 Push notifications (#579)
* feat: Push notifications

* feat: Feature-detect push notifications support

* feat: Prompt user to reauthenticate when missing push scope

* fix(service-worker): Add tags to notifications

* feat: Push notification actions for mentions
2018-10-06 13:06:10 -07:00
Nolan Lawson 50f2cadf50
chore(package): update webpack to version 4.20.2 (#580)
* chore(package): update webpack to version 4.20.2

* chore(package): update lockfile package-lock.json
2018-09-30 12:14:07 -07:00
Nolan Lawson 568352bcd5 0.9.0 2018-09-23 14:40:41 -07:00
Nolan Lawson 9b2b90b46e
simplify theme definitions (#574)
* simplify theme definitions

* remove rollup dep which is overkill

* fix syntax error

* fix lint

* fix test
2018-09-23 12:26:01 -07:00
Nolan Lawson 289c7eb7a7
update now and optimize-css-assets-webpack-plugin deps (#571) 2018-09-23 10:11:18 -07:00
Nolan Lawson fbd57d67a7
remove yargs as dependency (#570) 2018-09-23 07:57:07 -07:00
Nolan Lawson 1cc22fee7a
update some more deps (#569) 2018-09-23 07:55:06 -07:00
Nolan Lawson d1a666aa4f
chore(package): update mini-css-extract-plugin to version 0.4.3 (#553)
* chore(package): update mini-css-extract-plugin to version 0.4.3

* chore(package): update lockfile package-lock.json
2018-09-23 07:54:49 -07:00
Nolan Lawson 56190efce1
switch from uglify to terser (#567) 2018-09-22 23:08:23 -07:00
Nolan Lawson 0402d825bc
chore(package): update lodash-es to version 4.17.11 (#557)
* chore(package): update lodash-es to version 4.17.11

* chore(package): update lockfile package-lock.json
2018-09-22 23:08:17 -07:00
Nolan Lawson e2ab92107e
update svelte-loader to 2.11.0 (#561) 2018-09-22 22:18:45 -07:00
Nolan Lawson f92f6f7261
update webpack-bundle-analyzer to 3.0.2 (#558) 2018-09-22 22:18:37 -07:00
Nolan Lawson ce2c23463a
chore(package): update svgo to version 1.1.1 (#556)
* chore(package): update svgo to version 1.1.1

* chore(package): update lockfile package-lock.json
2018-09-22 22:05:50 -07:00
Nolan Lawson c449d3a209
chore(package): update now to version 11.4.5 (#552) 2018-09-22 22:04:44 -07:00
Nolan Lawson 7588ff2cb8
update svelte to version 2.13.5 (#551)
* chore(package): update svelte to version 2.13.5

* chore(package): update lockfile package-lock.json
2018-09-22 22:02:07 -07:00
Nolan Lawson cb4c7b18c0
update eslint-plugin-html to version 4.0.6 (#550)
* chore(package): update eslint-plugin-html to version 4.0.6

* chore(package): update lockfile package-lock.json
2018-09-22 22:01:11 -07:00
Nolan Lawson 1fecbb4c8e
chore(package): update esm to version 3.0.84 (#555)
* chore(package): update esm to version 3.0.84

* chore(package): update lockfile package-lock.json
2018-09-22 21:59:37 -07:00
Nolan Lawson 2fc9053322
update sapper's deps (#549) 2018-09-22 21:59:20 -07:00
Nolan Lawson 07c48f23a5
Revert to older webpack-uglifyjs-plugin to unbreak build (#565)
* Revert "Update uglifyjs-webpack-plugin to the latest version 🚀 (#545)"

This reverts commit 15d8137f6c.

* update package-lock.json
2018-09-22 19:32:21 -07:00
greenkeeper[bot] 15d8137f6c Update uglifyjs-webpack-plugin to the latest version 🚀 (#545)
* fix(package): update uglifyjs-webpack-plugin to version 2.0.0

* chore(package): update lockfile package-lock.json
2018-09-22 16:48:05 -07:00
greenkeeper[bot] 7a705c83ba Update webpack-bundle-analyzer to the latest version 🚀 (#544)
* fix(package): update webpack-bundle-analyzer to version 3.0.0

* chore(package): update lockfile
2018-09-22 16:47:55 -07:00
Nolan Lawson a30bd23155 0.8.3 2018-09-06 17:56:07 -07:00
greenkeeper[bot] 334a6e1e74 Update testcafe to the latest version 🚀 (#533)
* chore(package): update testcafe to version 0.22.0

* chore(package): update lockfile

https://npm.im/greenkeeper-lockfile
2018-09-05 19:22:40 -07:00
Nolan Lawson 65c026a32a 0.8.2 2018-09-02 09:22:30 -07:00
greenkeeper[bot] 8dbc1b0503 Update standard to the latest version 🚀 (#519)
* chore(package): update standard to version 12.0.0

* package lock update

* fix eslint
2018-08-29 21:42:57 -07:00
Nolan Lawson d599f2f308
run idb operations in a web worker (#517) 2018-08-29 19:03:12 -07:00
Nolan Lawson 1c20c6b762 0.8.1 2018-08-28 08:52:57 -07:00
Nolan Lawson 464ed5ab71
update now to v11.4.0 (#502) 2018-08-27 18:30:17 -07:00
greenkeeper[bot] 29dca5d8f4 Update style-loader to the latest version 🚀 (#504)
* fix(package): update style-loader to version 0.23.0

* chore(package): update lockfile

https://npm.im/greenkeeper-lockfile
2018-08-27 18:30:08 -07:00
Nolan Lawson 02bce843aa 0.8.0 2018-08-26 20:13:42 -07:00
Nolan Lawson 9bdb723edb 0.7.0 2018-08-25 12:54:04 -07:00
Nolan Lawson 5fdde8c63f
update deps again (#476) 2018-08-23 14:47:26 -07:00
Nolan Lawson 39cd96da70
update now to v11.3.12 (#468) 2018-08-22 07:53:02 -07:00
Nolan Lawson e9c704c7fc 0.6.2 2018-08-21 23:39:47 -07:00
Nolan Lawson 2956e20d18 0.6.1 2018-08-21 08:04:58 -07:00
Nolan Lawson c4c70dfd89 0.6.0 2018-08-19 20:43:50 -07:00
Nolan Lawson 37e12e8d73
add option to remove emoji from user display names (#450)
* add option to remove emoji from user display names

fixes #449

* slight memory perf improvement
2018-08-19 18:03:26 -07:00
Nolan Lawson c660c7d3a3
update Mastodon used in tests to v2.4.3 (#447)
* update Mastodon used in tests to v2.4.3

* fix count of total number of statuses
2018-08-19 14:46:48 -07:00
greenkeeper[bot] b93212f57b Update css-loader to the latest version 🚀 (#410)
* fix(package): update css-loader to version 1.0.0

* update package-lock.json

* fix missing browserslist
2018-08-18 09:39:14 -07:00
Nolan Lawson e495542656
update various dev deps (#436) 2018-08-17 22:26:45 -07:00
Nolan Lawson eb0fa4ce87
update various deps (#435) 2018-08-17 22:26:36 -07:00
Nolan Lawson 8911eadc0e
update webpack to 4.16.5 (#434) 2018-08-17 22:26:28 -07:00
Nolan Lawson 36d4cf9796
update svelte to 2.11.0 (#433) 2018-08-17 22:26:15 -07:00
Nolan Lawson b77c80200c 0.5.2 2018-08-17 07:50:15 -07:00
Nolan Lawson b8863e684e
use page lifecycle (#424)
* use page lifecycle

* fix eslint
2018-08-16 10:23:26 -07:00
Nolan Lawson 977380011d
Greenkeeper/style loader 0.22.1 (#423)
* fix(package): update style-loader to version 0.22.1

Closes #418

* chore(package): update lockfile

https://npm.im/greenkeeper-lockfile
2018-08-16 09:52:11 -07:00
greenkeeper[bot] c715d0a268 Update pify to the latest version 🚀 (#419)
* fix(package): update pify to version 4.0.0

* chore(package): update lockfile

https://npm.im/greenkeeper-lockfile
2018-08-16 07:29:41 -07:00
greenkeeper[bot] 5fc508c7f8 Update testcafe to the latest version 🚀 (#417)
* chore(package): update testcafe to version 0.21.0

* chore(package): update lockfile

https://npm.im/greenkeeper-lockfile
2018-08-16 07:29:34 -07:00
greenkeeper[bot] c9d51ba128 Update optimize-css-assets-webpack-plugin to the latest version 🚀 (#415)
* fix(package): update optimize-css-assets-webpack-plugin to version 5.0.0

* chore(package): update lockfile

https://npm.im/greenkeeper-lockfile
2018-08-16 07:29:27 -07:00
greenkeeper[bot] 1ba5f38b62 Update yargs to the latest version 🚀 (#405)
* fix(package): update yargs to version 12.0.1

* chore(package): update lockfile

https://npm.im/greenkeeper-lockfile
2018-07-02 10:09:29 -07:00