Commit Graph

167 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 530fad2079
chore: update yarn (#1372) 2019-08-04 21:31:30 -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 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 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 c034b4c0c5
chore: update deps (#1291) 2019-06-22 13:21:12 -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 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 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 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 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 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
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 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 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 839e8e35c4
fix: use fork of sapper for now (#1001) 2019-02-16 00:48:37 -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 9bc960ecdd
chore: update all deps (#984) 2019-02-14 19:38:42 -08:00
Nolan Lawson 30048a7f12
perf: remove duplicate custom props from theme CSS (#969) 2019-02-11 21:04:19 -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 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