Commit Graph

437 Commits

Author SHA1 Message Date
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
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