Commit graph

20032 commits

Author SHA1 Message Date
Travis Ralston
4548713c19 Appease the linter 2019-12-09 20:38:56 -07:00
Travis Ralston
f529a6c7a2 Render policy room event updates in the timeline
Fixes https://github.com/matrix-org/mjolnir/issues/15

This should be completely safe to deploy, even without a labs flag, because policy rooms (ban lists) are usually only joined by the people who know what they are. This also has no relation to the Mjolnir functionality currently in Riot, though it does make seeing your ban list a bit less awkward. 

Ban list rules only show up in ban list rooms and rarely show up in public rooms, hence the somewhat vague messaging. It should be obvious that it's a ban list room due to the surrounding room decoration/purpose.
2019-12-09 20:36:00 -07:00
Michael Telatynski
44adda3547 Add right-click context menu to GroupInviteTile.js
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-10 00:14:36 +00:00
Michael Telatynski
5c92f8ab25 Fix RoomTile right click context menu
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-10 00:08:45 +00:00
Michael Telatynski
52c20db963 Fix chevron offset for toRightOf
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-09 23:58:09 +00:00
Michael Telatynski
196d8fcd90
Merge pull request #3714 from matrix-org/t3chguy/fix_mab_regression
Fix message action bar reaction picker regression
2019-12-09 23:53:28 +00:00
Michael Telatynski
2691d1a611 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix_mab_regression 2019-12-09 14:13:11 +00:00
Michael Telatynski
69eeabd99e Fix accessibility to the reaction picker (not of it though)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-09 14:12:30 +00:00
Michael Telatynski
cd73162957
Merge branch 'develop' into t3chguy/react16_refs 2019-12-09 13:47:06 +00:00
Michael Telatynski
f079c2fdd2
Merge pull request #3709 from matrix-org/t3chguy/what-input
Add what-input to allow different scoping to focus-visible for MAB a11y
2019-12-09 13:45:59 +00:00
Michael Telatynski
b1788fb4b5
Merge pull request #3708 from matrix-org/t3chguy/search_accessible_radios
Mark the This/All Rooms scope buttons as radios for a11y
2019-12-09 13:43:32 +00:00
Michael Telatynski
21647cf596
Merge pull request #3707 from matrix-org/t3chguy/improve_a11y_reactions_row_button
Switch ReactionsRowButton to an AccessibleButton for space/enter handling
2019-12-09 13:43:06 +00:00
Michael Telatynski
36ad71e291
Merge pull request #3710 from matrix-org/t3chguy/edited_a11y_btn
Change the (edited) link to an AccessibleButton for a11y
2019-12-09 13:42:27 +00:00
RiotRobot
fb44996f27 Merge branch 'master' into develop 2019-12-09 11:36:51 +00:00
RiotRobot
0ac4e6f5a0 v1.7.5 2019-12-09 11:34:42 +00:00
RiotRobot
264f24dfc8 Prepare changelog for v1.7.5 2019-12-09 11:34:41 +00:00
RiotRobot
36a3fe7ecf released js-sdk 2019-12-09 11:29:39 +00:00
David Baker
a1cc04869a
Merge pull request #3713 from RiotTranslateBot/weblate-riot-web-matrix-react-sdk
Update from Weblate
2019-12-09 10:05:51 +00:00
Jeff Huang
f10e5c8660 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1933 of 1933 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-12-09 10:04:16 +00:00
Michael Telatynski
702f061341 ref is used earlier so assign it earlier
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-08 12:45:59 +00:00
Michael Telatynski
ff71f4ec8d Migrate RoomSubList to ES6 Class due to new/vs old React API incompat
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-08 12:43:06 +00:00
Michael Telatynski
d22985f12e Migrate string refs over to createRef
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-08 12:16:17 +00:00
Michael Telatynski
4c55f3c5b5 Remove unused refs
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-08 12:12:06 +00:00
Weblate
a1e2babe4c Merge branch 'origin/develop' into Weblate. 2019-12-08 10:04:47 +00:00
David Prieto
2b0d534f76 Translated using Weblate (Spanish)
Currently translated at 70.5% (1363 of 1933 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2019-12-08 10:04:47 +00:00
Kévin C
170a7a6908 Translated using Weblate (French)
Currently translated at 100.0% (1933 of 1933 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-12-08 10:04:47 +00:00
Michael Telatynski
142a71cc67
Merge pull request #3694 from matrix-org/t3chguy/fix_SpecPermalinkConstructor
Fix ?via= args in SpecPermalinkConstructor.js
2019-12-08 10:04:41 +00:00
Michael Telatynski
33eff43313 Change the (edited) link to an AccessibleButton for a11y
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-07 21:01:21 +00:00
Michael Telatynski
4be8b87869 Add what-input to allow different scoping to focus-visible for MessageActionBar keyboard a11y
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-07 13:07:52 +00:00
Michael Telatynski
86e52d1ef3 Mark the This/All Rooms scope buttons as radios for a11y
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-07 12:45:28 +00:00
Michael Telatynski
680c5c2b27 Switch ReactionsRowButton to an AccessibleButton for space/enter handling
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-07 12:20:06 +00:00
Travis Ralston
0e1d5daee4 i18n 2019-12-06 17:08:55 -07:00
Travis Ralston
8d3418dfa9 Update copy for DM invites
Fixes https://github.com/vector-im/riot-web/issues/10766
2019-12-06 17:08:24 -07:00
Weblate
69093abcf2 Merge branch 'origin/develop' into Weblate. 2019-12-06 23:45:16 +00:00
Szimszon
836fdb4a57 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1933 of 1933 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-12-06 23:45:16 +00:00
Travis Ralston
89fdfd7a23
Merge pull request #3705 from aaronraimist/acl-dont-bold
Don't mark a room as unread when server ACLs are set
2019-12-06 16:45:10 -07:00
Aaron Raimist
aa8e6186eb
Don't mark a room as unread when server ACLs are set
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2019-12-06 17:34:31 -06:00
Travis Ralston
405b3f6be6 Fix member list not being open for end-to-end tests 2019-12-06 16:33:03 -07:00
Travis Ralston
94ae06db4d Fix cold open of the RightPanel directly to MemberInfo
This requires us to track some of the phase's state in the RightPanelStore, which is not great - trying to get it through the app is a bit difficult.
2019-12-06 15:05:02 -07:00
Travis Ralston
78ce801c25 Fix incorrect function call into RightPanelStore
We dispatch to open, not call directly into the store.
2019-12-06 14:52:31 -07:00
Travis Ralston
4bcf99f65e Fix member info not opening
The subclasses listen for view_user and similar dispatches, which then start up the RightPanel. We weren't registering a listener though because we changed to using the RightPanelStore for most of our logic.
2019-12-06 14:51:49 -07:00
Travis Ralston
185830e4f3 Fix end-to-end tests
The right panel needs to be opened manually now.
2019-12-06 14:22:27 -07:00
Travis Ralston
814c408e23 Disable the right panel when the app asks us to
Currently this is only used in the GroupView and for forwarding messages.
2019-12-06 14:18:18 -07:00
J. Ryan Stinnett
24d6e7e456 Use private key check to provide feedback 2019-12-06 17:54:00 +00:00
Weblate
ff6aa96334 Merge branch 'origin/develop' into Weblate. 2019-12-06 15:43:36 +00:00
David Prieto
e641a74452 Translated using Weblate (Spanish)
Currently translated at 70.6% (1363 of 1931 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2019-12-06 15:43:36 +00:00
Kévin C
af31844a9d Translated using Weblate (French)
Currently translated at 100.0% (1931 of 1931 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-12-06 15:43:30 +00:00
J. Ryan Stinnett
cb28e2062b
Merge pull request #3704 from MarcoZehe/MoreAccessibleReactions
Make reaction buttons more accessible
2019-12-06 15:43:20 +00:00
Marco Zehe
19e6587548 Add tabIndex to the button to make it keyboard focusable
Signed-off-by: Marco Zehe <marcozehe@mailbox.org>
2019-12-06 16:03:19 +01:00
Marco Zehe
78555ed422 Make reaction buttons more accessible
Fixes vector-im/riot-web/issues/11608.

This patch:

1. Turns the container of reaction buttons into a toolbar.
2. Makes each button span into a button with a tabindex and an aria-label.
3. Constructs an alternative label that differs slightly from the text displayed by the tool tip:
   * It uses the names of the people who reacted.
   * It puts a space before the "reacted with" text.
   * It uses the actual emoji characters, not the converted colon-delimited shortNames, because the emojis usually tell blind users more about the expression.
   * It omits the number of reactions, since that information is already conveyed by the names.

Signed-off-by: Marco Zehe <marcozehe@mailbox.org>
2019-12-06 15:58:28 +01:00