Commit graph

15764 commits

Author SHA1 Message Date
Travis Ralston
9a1a9825b0
Merge pull request #3019 from matrix-org/travis/sr/fix-timeline
Make the timeline less noisy for screen readers (mk II)
2019-05-22 19:18:40 -06:00
Travis Ralston
a7d2309286 Convert ternary to multiple if statements for clarity 2019-05-22 16:36:14 -06:00
Weblate
6f58456ae5 Merge branch 'origin/develop' into Weblate. 2019-05-22 22:30:51 +00:00
Karol Kosek
7425068272 Translated using Weblate (Polish)
Currently translated at 73.7% (1205 of 1634 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2019-05-22 22:30:51 +00:00
Tirifto
baad81660d Translated using Weblate (Esperanto)
Currently translated at 79.1% (1292 of 1634 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eo/
2019-05-22 22:30:51 +00:00
J. A. Durieux
9ba7b5c6ec Translated using Weblate (Dutch)
Currently translated at 95.3% (1557 of 1634 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2019-05-22 22:30:49 +00:00
Travis Ralston
62dc83310a
Merge pull request #3020 from matrix-org/travis/sr/edit
Label message edit field as such for screen readers
2019-05-22 16:30:45 -06:00
Travis Ralston
d571709fe8
Apply suggestions from code review
Co-Authored-By: J. Ryan Stinnett <jryans@gmail.com>
2019-05-22 16:29:37 -06:00
Travis Ralston
2537a58162
Merge pull request #3014 from matrix-org/anoa/key_backup_checkmark
Move checkmark to the front of key backup message
2019-05-22 16:14:09 -06:00
Travis Ralston
09d195b2d1 Fix events not being spoken in the most complicated way possible
There's details in the comment body of this diff.

See https://github.com/vector-im/riot-web/issues/9747
2019-05-22 15:55:16 -06:00
Travis Ralston
c55f083a28 Always mute timestamp from screen readers
The short time is still read out (eg: 15:24), however by ignoring the anchor we prevent the reader from saying the title of the containing span. This prevents readers saying "Wed May 22, 2019 at 15:24 15:24".

See https://github.com/vector-im/riot-web/issues/9747
2019-05-22 15:25:34 -06:00
Travis Ralston
8f6884ec15 Mute timestamps for irrelevant updates
Other fix for https://github.com/vector-im/riot-web/issues/5697

See https://github.com/vector-im/riot-web/issues/9747
2019-05-22 15:18:57 -06:00
Travis Ralston
6edf760943 Mute avatars and read receipts on event tiles
This reduces overall noise from the screen reader. It was reading the alt attribute from the sender avatar, which was just a mxid. The read receipts were just nonsensical noise.

Fixes https://github.com/vector-im/riot-web/issues/2716
Fixes https://github.com/vector-im/riot-web/issues/5697
See https://github.com/vector-im/riot-web/issues/9747
2019-05-22 15:18:51 -06:00
Travis Ralston
85a024175b Hide flair from screen readers
To have less noise when they run over the sender profile.

See https://github.com/vector-im/riot-web/issues/9747
2019-05-22 15:18:46 -06:00
Travis Ralston
8844706e5f
Merge pull request #3017 from matrix-org/revert-3007-travis/sr/mute-timeline
Revert "Make the timeline less noisy for screen readers"
2019-05-22 10:56:22 -06:00
Travis Ralston
6c0213bb3d
Revert "Make the timeline less noisy for screen readers" 2019-05-22 10:54:51 -06:00
Travis Ralston
6368566887
Merge pull request #3016 from matrix-org/travis/scroll-breadcrumbs
Translate scroll movement if the deltaX is the same as the threshold
2019-05-22 10:24:43 -06:00
Travis Ralston
f7ba8ffbd0 Translate scroll movement if the deltaX is the same as the threshold
Because the threshold is zero and the X movement is zero, we were not translating vertical movement to horizontal scrolling. 

Fixes https://github.com/vector-im/riot-web/issues/9804
2019-05-22 10:19:38 -06:00
Travis Ralston
983214f4bf
Merge pull request #3007 from matrix-org/travis/sr/mute-timeline
Make the timeline less noisy for screen readers
2019-05-22 09:55:23 -06:00
J. Ryan Stinnett
1ff196a964
Merge pull request #3015 from matrix-org/jryans/windows-emoji
Windows emoji tweaks
2019-05-22 16:38:24 +01:00
J. Ryan Stinnett
c9300650ed Add browser comment to extra fonts 2019-05-22 16:37:52 +01:00
J. Ryan Stinnett
e01a6ce24c Add Segoe UI Emoji as native fallback for Windows 2019-05-22 16:27:03 +01:00
J. Ryan Stinnett
11828c40e5 Add more weight of emoji font
For at least Chrome on Windows 10, we need to explicitly add additional weights
for emoji to appear when bold.
2019-05-22 16:22:18 +01:00
Andrew Morgan
d0deffac3d Move checkmark to the front of key backup message 2019-05-22 15:19:42 +01:00
Bruno Windels
723086e4d7 Decend into P & DIV elements while parsing a message.
Also split on newline so all newlines are represented by a newlinepart
2019-05-22 16:19:07 +02:00
Bruno Windels
5f5a2f7140 put code block on new line 2019-05-22 16:19:07 +02:00
Bruno Windels
53b6586986 re-apply markdown when saving a message 2019-05-22 16:19:07 +02:00
Bruno Windels
5373007301 initial attempt at converting html back to markdown 2019-05-22 16:18:35 +02:00
Bruno Windels
ff61376c07
Merge pull request #3004 from matrix-org/bwindels/update-link-previews-after-edit
Message editing: update link previews after editing
2019-05-22 14:17:34 +00:00
Bruno Windels
6b1134bdf0 add matrix foundation copyright header 2019-05-22 16:16:32 +02:00
David Baker
03d092c574
Merge pull request #3010 from matrix-org/dbkr/uiauth_send_email
js-sdk interactive auth now sends email token
2019-05-22 14:24:14 +01:00
Bruno Windels
e44f3b65e6
Merge pull request #3011 from matrix-org/bwindels/removesbix
remove SBIX font and fallback to native emoji
2019-05-22 11:50:06 +00:00
David Baker
983f39cb5f
Merge pull request #3012 from RiotTranslateBot/weblate-riot-web-matrix-react-sdk
Update from Weblate
2019-05-22 12:47:48 +01:00
Bruno Windels
7a20dbe657 make sure we don't load the twemoji font multiple times on firefox 2019-05-22 13:07:54 +02:00
Bruno Windels
ee86471691 remove SBIX font and fallback to native emoji 2019-05-22 13:06:04 +02:00
David Baker
90eb3ce9ec js-sdk interactive auth now sends email token
We previously sent it in componentWillMount of the email token
auth component which definitely gets us on react's naughtly list.
We now pass the js-sdk a callback it can call at the appropriate
time to send the token (https://github.com/matrix-org/matrix-js-sdk/pull/926).

We should make password reset and adding email addresses work the
same way, but currently they don't even use the interactive-auth
helpers(!) so they're unaffected.

https://github.com/vector-im/riot-web/issues/9586
2019-05-22 11:51:26 +01:00
Weblate
e7c1bd45b3 Merge branch 'origin/develop' into Weblate. 2019-05-22 09:36:21 +00:00
Bruno Windels
038cc45ee1
Merge pull request #3008 from matrix-org/matthew/fontmanager
load twemoji dynamically as colr or sbix; fix monospace
2019-05-22 09:36:15 +00:00
Bruno Windels
3d9e631d18
no space in !important
Co-Authored-By: J. Ryan Stinnett <jryans@gmail.com>
2019-05-22 09:35:09 +00:00
Bruno Windels
1bdcb0c35a remove obsolete comments 2019-05-22 11:19:35 +02:00
Bruno Windels
10b5a9376e fix lint 2019-05-22 11:17:38 +02:00
Bruno Windels
1345db5f98 remove fira font 2019-05-22 11:16:29 +02:00
Bruno Windels
85b448deb6 enable cache busting for twemoji font 2019-05-22 11:13:44 +02:00
Weblate
d610ffb6aa Merge branch 'origin/develop' into Weblate. 2019-05-22 09:13:41 +00:00
J. Ryan Stinnett
a79dd43f2d
Merge pull request #3009 from matrix-org/jryans/decrypt-null-room
Guard against null rooms in `onEventDecrypted`
2019-05-22 10:13:37 +01:00
J. Ryan Stinnett
2648dbd221 Guard against null rooms in onEventDecrypted
Timeline sets may have a null room, such as with the notification timeline set.
Here we check that case when events are decrypted to avoid throw an error.

Fixes https://github.com/vector-im/riot-web/issues/9798
2019-05-22 10:08:16 +01:00
Bruno Windels
9f4eb7782c exclude FF from COLR font check 2019-05-22 11:08:11 +02:00
Weblate
d2c9cc8785 Merge branch 'origin/develop' into Weblate. 2019-05-22 08:15:12 +00:00
Szimszon
294f1f84f8 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1634 of 1634 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-05-22 08:15:12 +00:00
Kévin C
012ce3896d Translated using Weblate (French)
Currently translated at 99.9% (1632 of 1634 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-05-22 08:15:12 +00:00