Commit graph

1843 commits

Author SHA1 Message Date
Nolan Lawson 0515133ece
fix(a11y): fix NVDA crash on long aria-label (#702)
* fix(a11y): fix NVDA crash on long aria-label

fixes #694

* use the word truncated instead of ellipsis

* fix test

* really fix tests
2018-12-01 00:10:30 -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 e44cafb5fb
feat(scrollbars): add option to disable scrollbars, fix macOS style (#701)
fixes #698 and fixes #700
2018-11-27 19:17:18 -08:00
Nolan Lawson 58f9c09bb8
fix(scrollbars): use standard CSS for scrollbars (#697)
Also use correct SCSS escaping everywhere, and fix a missing semicolon. Fixes #691
2018-11-26 13:15:33 -08:00
Nolan Lawson 7f1ec6036d
fix(a11y): default "prefers reduced motion" to OS/browser default (#696)
fixes #695
2018-11-26 13:13:52 -08:00
Nolan Lawson 9c74a072bf
fix(emojos): actually fix trademark character (#693)
another fix for #679
2018-11-25 12:35:52 -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 bfa37f5105
fix(design): tweak scrollbar colors (#687) 2018-11-24 09:33:07 -08:00
Nolan Lawson 2569b59b32
feat(design): add custom scrollbars for each theme (#685)
* feat(design): add custom scrollbars for each theme

fixes #683

* improve contrast of hotpants theme
2018-11-24 01:39:00 -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 f0b3115be1
fix(scrolling): fix body scrollable when modal is open (#681)
Fixes #680
2018-11-23 21:33:03 -08:00
Nolan Lawson e3debcc5e1
fix(emoji): fix ™® characters treated as emoji (#682)
fixes #679
2018-11-23 21:32:57 -08:00
Nolan Lawson 999d560703 0.11.1 2018-11-21 22:09:36 -08:00
Nolan Lawson bae367da7b
test: make tests less flaky (#678) 2018-11-21 22:08:37 -08:00
Nolan Lawson 673e7b951c
chore(package): update deps (#677) 2018-11-21 20:53:43 -08:00
Nolan Lawson 83d92711e1
fix(safari): fix sticky-positioned button (#674)
fixes #673
2018-11-21 07:27:56 -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 5fdba9366a
fix(scroll): prevent horizontal scroll in mobile safari/firefox (#669)
* fix(scroll): prevent horizontal scroll in mobile safari/firefox

fixes #667

* fix safari vs non-safari browsers
2018-11-21 00:17:59 -08:00
Nolan Lawson 3dae883761
fix(emoji): asterisk should not be treated as emoji (#668) 2018-11-20 22:41:41 -08:00
Nolan Lawson 35a42c9fd3
fix(emoji): fix textarea emoji on linux (#670) 2018-11-20 22:41:32 -08:00
Nolan Lawson d9e79daa6a
fix(emoji): emoji replacer should ignore pound sign (#666)
* fix(emoji): emoji replacer should ignore pound sign

* add test

* fix regex
2018-11-20 09:42:49 -08:00
Nolan Lawson 5f5cb0d36d
fix(scroll): fix offsetHeight for scrolling whole document (#664) 2018-11-20 08:58:13 -08:00
Nolan Lawson 20ae390308
fix(design): input bg should be white on "add instance" page (#663) 2018-11-20 07:54:40 -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 4e35c82f94
perf(terser): remove console logs in production (#658) 2018-11-18 09:07:39 -08:00
Nolan Lawson 639c6eaed7
fix(eventBus): increase event listeners to 1000 (#657) 2018-11-18 09:07:32 -08:00
Nolan Lawson b7f5d04b4c
fix(scrolling): use body as scrolling container (#656)
* fix(scrolling): use body as scrolling container

Fixes #526

* fixup tests and focus
2018-11-17 18:06:49 -08:00
Nolan Lawson c1820f62f7
fix(design): fix large metadata cells (#655)
fixes #654
2018-11-17 12:24:09 -08:00
Nolan Lawson 255bd3b341
chore(travis): use npm ci || npm i (#651) 2018-11-16 00:45:54 -08:00
Nolan Lawson 92d2dbddfc
perf(virtuallist): add contain:content to virtual list items (#650)
* perf(virtuallist): add contain:content to virtual list items

* add a few more contain:contents
2018-11-16 00:37:28 -08:00
Nolan Lawson c99cc7ed67 0.11.0 2018-11-12 18:38:00 -08:00
Nolan Lawson 62ac7330fc
feat(title): add dynamic document title (#645)
* feat(title): add dynamic document title

fixes #490 and #643

* fix code style
2018-11-12 18:28:43 -08:00
Nolan Lawson eee2eb288b
update to svelte 2.15.3 (#644) 2018-11-12 17:34:12 -08:00
Nolan Lawson c54aaf2fa4
fix(video): stop playing video when modal closed (#640)
fixes #622
2018-11-12 16:20:59 -08:00
Nolan Lawson 94baf9e396
feat(metadata): add verified metadata checkmark (#642)
fixes #641
2018-11-12 16:20:54 -08:00
Nolan Lawson 0964442815
chore(travis): update to mastodon v2.6.1 (#630)
* chore(travis): update to mastodon v2.6.1

* check if mastodon v2.6.1 has a race condition

* apparently in 2.6.1 direct messages no longer appear in home timeline

* Revert "check if mastodon v2.6.1 has a race condition"

This reverts commit dde8ef8be58eda0563170e6b73165fdcbea54f6b.

* try to fix tests

* fix more tests
2018-11-12 12:59:47 -08:00
Nolan Lawson 1fa37df59a
chore(tests): fix minor bug in restore mastodon data script (#638) 2018-11-12 08:42:08 -08:00
Nolan Lawson 8ff174b42d
chore(travis): download ffmpeg static file (#636) 2018-11-11 21:34:59 -08:00
Nolan Lawson 31c6f152c1
chore(travis): try to speed up ffmpeg install (#635) 2018-11-11 16:37:19 -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 d36dfc0ee8
chore(travis): more concise travis cache config (#632) 2018-11-11 14:22:28 -08:00
Nolan Lawson 5b5c6937d0 chore(travis): fix travis deploy script logic
fixes a mistake introduced in #631
2018-11-11 14:21: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
Nolan Lawson 00cafece8c
make mastodon installation faster in dev mode (#624) 2018-11-11 11:12:47 -08:00
Nolan Lawson 6bb4c80450
chore(tests): avoid delaying when inserting every post in tests (#625) 2018-11-11 11:12:41 -08:00
Nolan Lawson 8dd9f00135
chore(travis): no explicit npm install (#626) 2018-11-11 11:12:32 -08:00