Nolan Lawson
6d3a0b5fee
fix: allow audio uploads on iOS Safari ( #1472 )
...
fixes #1461
2019-09-08 11:07:20 -07:00
Nolan Lawson
72e187a0fa
perf: disable database cleanups when page is not active ( #1471 )
...
* perf: disable database cleanups when page is not active
* fix test
2019-09-07 21:05:36 -07:00
Nolan Lawson
d71d6b49ef
fix: run idb cleanups in requestIdleCallback ( #1470 )
2019-09-07 20:27:54 -07:00
Nolan Lawson
26a036259e
chore: update standard ( #1466 )
2019-09-07 20:27:47 -07:00
Nolan Lawson
df0afa12ed
perf: periodically clean up old compose drafts ( #1469 )
...
fixes #1419
2019-09-07 17:49:58 -07:00
Nolan Lawson
a0ad82d850
fix: Revert "fix: h2 in media edit dialog should be h1 ( #1453 )" ( #1455 )
...
This reverts commit 450785ea81
.
2019-08-29 20:16:15 -07:00
Nolan Lawson
9787fe9f05
fix: length indicator aria-label should not be negative ( #1454 )
2019-08-29 20:13:25 -07:00
Nolan Lawson
450785ea81
fix: h2 in media edit dialog should be h1 ( #1453 )
...
The dialog is in its own document, so the heading level should start
back at h1.
2019-08-29 20:13:20 -07:00
Nolan Lawson
de27d0e2bf
perf: don't fetch custom emoji on every page load ( #1451 )
...
fixes #812
follow-up to #1448 and #1450
2019-08-29 19:15:30 -07:00
Nolan Lawson
ebd10a43d2
perf: fetch lists from database on page load ( #1450 )
...
* perf: fetch lists from database on page load
follow-up to #1448 , I would like for there not to be a flash on the /community page where the lists suddenly load in, but I would still like to avoid the network request if possible. So when the page first loads, we can load the lists from the database and only fetch them from the network if not in the cache.
* add comment
2019-08-29 18:41:36 -07:00
Nolan Lawson
56f266cb93
perf: terminate tesseract worker after a delay ( #1449 )
...
fixes #1447
2019-08-29 08:51:41 -07:00
Sorin Davidoi
b01191037e
refactor(store/observers/instance): Don't fetch lists eagerly ( #1448 )
...
They are already fetched on-demand when the community column is loaded.
2019-08-29 07:55:40 -07:00
Sorin Davidoi
7d8f19a672
fix(actions/instances): Clear data when token revoked ( #1446 )
2019-08-29 07:55:12 -07:00
Nolan Lawson
7d4cb1914a
fix: make the OCR progress bar accessible ( #1445 )
...
* fix: make the OCR progress bar accessible
* fixup
2019-08-28 08:13:24 -07:00
Nolan Lawson
c8738f17b0
fix: add progress bar for OCR ( #1444 )
2019-08-27 23:23:35 -07:00
Nolan Lawson
fc0f5df6c6
fix: length gauge should respect reduceMotion ( #1440 )
2019-08-27 22:58:25 -07:00
Nolan Lawson
f6981cff01
fix: improve style of focal/alt editor on mobile ( #1439 )
...
fixes #1438
2019-08-27 22:58:17 -07:00
Nolan Lawson
b46f76fbf8
fix: use url over id as media upload cache key ( #1437 )
2019-08-25 22:24:37 -07:00
Nolan Lawson
e2c137b2ef
fix: prefer local file URLs for OCR ( #1436 )
2019-08-25 21:48:59 -07:00
Nolan Lawson
cb12e05584
fix: tweak style of focal point coordinate inputs ( #1435 )
2019-08-25 18:33:50 -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
bd2a7abe2a
fix: tweak backdrop filter in focal point editor ( #1434 )
2019-08-25 17:22:04 -07:00
Nolan Lawson
e79fc8f3bd
fix: fix cursor when grabbing in draggable UI ( #1432 )
2019-08-24 21:23:52 -07:00
Nolan Lawson
59d26f1a09
feat: add length gauge for media alt text editor ( #1431 )
...
* feat: add length gauge for media alt text editor
* fix test
2019-08-24 21:23:43 -07:00
Nolan Lawson
7f9195c2af
feat: combine alt/focal point into single "media edit" dialog ( #1430 )
...
* feat: combine alt/focal point into single "media edit" dialog
* resize text automatically
2019-08-24 19:28:12 -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
88ab0b929c
fix: improve style of "large inline" media ( #1428 )
2019-08-24 10:43:50 -07:00
Sorin Davidoi
da668c5330
fix(components/media): Handle autoplay with blurhash ( #1425 )
...
Closes https://github.com/nolanlawson/pinafore/issues/1424 .
2019-08-23 07:13:25 -07:00
Nolan Lawson
7188454790
perf: use more efficient CSS selectors for inline media ( #1423 )
2019-08-22 09:10:02 -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
Nolan Lawson
dd625b80a0
fix: remove unused nCols computation ( #1420 )
2019-08-21 23:26:16 -07:00
sgenoud
ada6b9f699
fix: Fix the blurhash alignment and general style ( #1418 )
...
* Fix the blurhash alignment issue
* Fix the video blurhash style
2019-08-21 22:31:14 -07:00
Nolan Lawson
f80ca32478
perf: be more consistent about compose input scheduling ( #1414 )
2019-08-20 08:08:15 -07:00
Nolan Lawson
cccbfd70da
perf: improve input responsiveness in compose input ( #1413 )
...
* perf: improve input responsiveness in compose input
* remove some unused code from autosize.js
* remove some more unused code
2019-08-19 21:37:11 -07:00
Nolan Lawson
4232da5e33
fix: fix lint
2019-08-19 20:23:58 -07:00
Nolan Lawson
5c9416b7fa
fix: fix blurhash for reblogged images ( #1412 )
...
fixes #1411
2019-08-19 20:23:05 -07:00
Sorin Davidoi
acb134e518
fix(components/media): Handling of grouped videos ( #1409 )
...
* fix(components/media): Handling of grouped videos
Fixes #1404
* fix(status/media): Wrap in a div
2019-08-19 19:01:35 -07:00
Nolan Lawson
c98b96aa44
fix: move worker-loader to webpack config ( #1405 )
...
This avoids ESLint complaining about the `worker-loader!` declaration
2019-08-18 15:15:20 -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
Sorin Davidoi
c127d0a6bc
feat(settings): Increase clickable area ( #1401 )
2019-08-18 12:29:36 -07:00
Sorin Davidoi
94cf7df954
fix(components/media): Autoplay and blurhash ( #1400 )
...
Fixes https://github.com/nolanlawson/pinafore/issues/1399 .
2019-08-18 10:29:03 -07:00
Sorin Davidoi
823a7abebf
fix(workers/blurhash): Don't use OffscreenCanvas ( #1398 )
2019-08-18 05:14:11 -07:00
Nolan Lawson
03dff1c595
fix: remove firefox UA sniff for img.decode ( #1393 )
...
fixes #1388
2019-08-17 15:35:43 -07:00
Nolan Lawson
f25c93526c
fix: rename "hide all media by default" ( #1394 )
2019-08-17 15:35:38 -07:00
Nolan Lawson
be3b5eb9d9
fix: reduce number of blurhash performance measures ( #1395 )
2019-08-17 15:35:31 -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
Nolan Lawson
daa1978945
fix: tweak position of sensitive media button in blurhash mode ( #1390 )
2019-08-17 14:36:07 -07:00
Nolan Lawson
aca1067568
fix: tweak colors for blurhash sensitive media button/text ( #1389 )
2019-08-17 14:33:57 -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
ea58242b85
fix: fix malformed URLs in statuses ( #1385 )
...
fixes #1384
2019-08-11 11:09:51 -07:00