Nolan Lawson
35058ed965
feat: mark media as sensitive without a CW ( #1486 )
...
fixes #1297
2019-09-15 10:45:46 -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
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
43cb92bd61
test: add test for measureText ( #1416 )
2019-08-20 09:20:39 -07:00
Nolan Lawson
4232da5e33
fix: fix lint
2019-08-19 20:23:58 -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
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
00945a3608
chore: update standard to v13 ( #1370 )
2019-08-03 13:49:37 -07:00
Nolan Lawson
59bdd0bb77
fix: large streaming gaps by refetching ( #1362 )
...
fixes #1356
2019-07-28 19:38:34 -07:00
Nolan Lawson
4d098d6b46
fix: fix streaming gap ( #1349 )
2019-07-21 15:31:26 -07:00
Nolan Lawson
95a68e1fe2
fix: delete-and-redraft preserves polls ( #1343 )
...
* fix: delete-and-redraft preserves polls
fixes #1342
* fix test
2019-07-19 20:08:17 -07:00
Nolan Lawson
48f7c64c6c
test: re-enable skipped tests, use quarantine mode ( #1329 )
2019-07-08 20:51:30 -07:00
Nolan Lawson
38241abf35
test: skip flaky tests for now ( #1309 )
2019-07-07 11:43:29 -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
ea220c32d3
tests: try to make tests less flaky ( #1292 )
2019-06-22 13:21:19 -07:00
Nolan Lawson
b2d4279137
chore: update tested mastodon to v2.9.2 ( #1289 )
2019-06-22 13:21:06 -07:00
Nolan Lawson
d75507bbce
fix: fix disableNotificationsBadge aria-label ( #1260 )
2019-06-01 15:51:53 -07:00
Nolan Lawson
fcf64c2169
fix: fix "Show more" button in Notifications timeline when filtered ( #1255 )
2019-05-29 18:48:59 -07:00
Nolan Lawson
45630c185f
feat: add option to disable infinite scroll ( #1253 )
...
* feat: add option to disable infinite scroll
fixes #391 and fixes #270 . Also makes me less nervous about #1251 because now keyboard users can disable infinite load and easily access the "reload" button in the snackbar footer.
* fix test
2019-05-28 22:46:01 -07:00
Nolan Lawson
12179505e1
fix: improve UI/a11y of media upload ( #1241 )
2019-05-27 12:31:49 -07:00
Nolan Lawson
37d3cac7d2
fix: add tests for polls, improve a11y of poll form ( #1239 )
2019-05-27 12:31:35 -07:00
Nolan Lawson
0878275ab9
feat: ability to create polls ( #1235 )
...
* feat: ability to create polls
fixes #1130
* fix adds and deletes
* fix tests
* fix tests again
2019-05-27 00:24:47 -07:00
Nolan Lawson
bf640b9b0f
fix: fix unread notifications badge for filters ( #1231 )
...
fixes #1230
2019-05-26 16:01:06 -07:00
Nolan Lawson
a17948cf99
feat: add home/notification filter settings ( #1226 )
...
Fixes #1223
Fixes #1224
2019-05-25 13:21:36 -07:00
Nolan Lawson
8d0db2c97c
fix: make autosuggestion accessible ( #1183 )
...
* fix: make autosuggestion accessible
fixes #129
* remove tabindexes, fix aria-hidden
2019-05-05 22:08:54 -07:00
Nolan Lawson
3fa285447d
chore: update to mastodon v2.8.2 ( #1181 )
...
* chore: update to mastodon v2.8.2
* fix test
2019-05-05 15:02:14 -07:00
Nolan Lawson
23bdc6c87e
feat: implement notification filters (all vs mentions) ( #1177 )
...
fixes #1176
2019-05-04 17:58:44 -07:00
Nolan Lawson
1712081f0b
fix: fix profile clicks from compose dialog ( #1160 )
...
* fix: don't allow profile clicks from compose dialog
fixes #1159
* make the links work correctly in the modal
* fix tests
2019-04-20 09:12:30 -07:00
Nolan Lawson
0649eee366
fix: fix dialogs within dialogs not opening ( #1154 )
...
* fix: fix dialogs within dialogs not opening
fixes #1153
* remove console logs
2019-04-14 19:47:30 -07:00
Nolan Lawson
b3098c8c5a
fix: tweaks to conversations (direct) UI ( #1137 )
...
- make the url `/direct`
- call it "Direct messages"
- fix sapper export
- retain DM background color
- add test
2019-04-13 15:30:49 -07:00
Nolan Lawson
f169e0063d
test: improve test flakiness ( #1127 )
2019-03-31 10:56:03 -07:00
Nolan Lawson
f758e12b24
fix: replace indexWhere with findIndex ( #1125 )
2019-03-31 09:21:57 -07:00
Nolan Lawson
6744de59f8
feat: add account page filters ( #1124 )
...
* start on account page filters
fixes #1021
* making progress
* more progress, just need style now
* fix lint
* fix style and add test
2019-03-30 21:48:49 -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
5a9d047019
test: improve flakiness of report ui test ( #1117 )
2019-03-23 18:16:20 -07:00
Nolan Lawson
059b455451
fix: fix and test shortcut keys in modals ( #1115 )
2019-03-23 18:16:06 -07:00
Nolan Lawson
13659f544e
test: improve flakiness of emoji test ( #1116 )
2019-03-23 16:23:20 -07:00
Nolan Lawson
c896836ce8
fix: fix spaces in status aria-labels ( #1111 )
...
fixes #1108
2019-03-21 14:38:37 -07:00
Nolan Lawson
f0af8178af
feat: implement "." keyboard shortcut ( #1105 )
...
fixes #1052
2019-03-18 09:09:24 -07:00
Nolan Lawson
4257951f93
test: better idb migration test ( #1080 )
2019-03-05 20:25:33 -08:00
Nolan Lawson
c0918ccdc3
fix: fix pleroma snowflake IDs for real ( #1084 )
...
fixes #1082
2019-03-05 20:25:10 -08:00
Will Pearson
8665a18ac0
fix: Fix reversed base62 encoding ( #1083 )
2019-03-05 20:03:55 -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
93a3e85994
fix: use correct sorting for snowflake IDs ( #1074 )
...
* fix: use correct sorting for snowflake IDs
fixes #1071
* refactor
2019-03-03 17:21:22 -08:00
Nolan Lawson
5aac6a213a
test: improve emoji test ( #1056 )
...
trying to make this test less flakey
2019-02-28 08:56:38 -08:00
Nolan Lawson
63003c3763
fix: fix aria-posinset should be 1-based ( #1055 )
...
* fix: fix aria-posinset should be 1-based
fixes #1053
* second attempt to fix tests
* try to fix test
* fixup
* lint fix
* fix more tests
* simplify test math
2019-02-28 08:56:25 -08:00
Nolan Lawson
d711b37165
test: add tests for image/video modals ( #1045 )
...
should ensure #1042 does not happen again
2019-02-23 21:10:15 -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
31a6ec6857
chore: make test less flaky ( #1038 )
2019-02-23 12:32:10 -08:00
Nolan Lawson
547ee14f88
refactor: use ids instead of attrs for delegate/shortcut/focus ( #1035 )
...
* refactor: use ids instead of attrs for delegate/shortcut/focus
fixes #1034
* console log on error
* fix test
2019-02-23 12:32:00 -08:00