Travis Ralston
2824f468d9
Update pill processing to handle better permalinks
2019-09-30 20:27:51 -06:00
Travis Ralston
2cb0b4903a
Converge on permalink processing for HtmlUtils and linkify-matrix
2019-09-30 20:17:54 -06:00
Travis Ralston
ff4eee5239
Minor cleanup of getPermalinkConstructor
2019-09-30 16:09:19 -06:00
Travis Ralston
6656ef112f
Rework /join to parse permalinks more safely
...
They might not be matrix.to anymore, so parse them more correctly.
2019-09-30 16:06:56 -06:00
Travis Ralston
8acaa3ce95
Update generated Riot permalinks
...
Also adds some safety around the Riot URL to ensure it mostly looks like a URL
2019-09-30 16:05:28 -06:00
Travis Ralston
199dfa7bf9
Always check if the permalink is a spec permalink
...
See code for rationale
2019-09-30 16:04:49 -06:00
Travis Ralston
3e5a39d646
Add utility function for permalink parsing
2019-09-30 16:04:22 -06:00
Travis Ralston
9bb1ebb89d
Support riot-level permalink parsing
2019-09-30 16:03:52 -06:00
Travis Ralston
baf78da791
Support spec-level permalink parsing
2019-09-30 16:03:24 -06:00
Travis Ralston
f183e96d66
Introduce a RiotPermalinkConstructor and fix the setting name
...
Originally we were planning on using the current location as the permalink prefix, but that doesn't work if the user is a desktop user.
2019-09-30 13:04:20 -06:00
Travis Ralston
f879185aef
Move permalink host check into permalink constructors
...
Without the requirement for a room to work
2019-09-30 12:53:45 -06:00
Travis Ralston
926e1146f9
Move spec permalinks into their own class
...
This allows for Riot permalinks to be introduced without if-else ladders everywhere.
2019-09-30 12:51:17 -06:00
Travis Ralston
f9d5e89017
Move early parts of matrix.to bits into its own class
2019-09-30 12:37:13 -06:00
Travis Ralston
64aa6695f5
Move matrix-to.js to utils/permalinks/RoomPermalinkCreator
...
Just a little bit of refactoring to make the feature of custom prefixes a bit easier.
2019-09-30 12:16:46 -06:00
J. Ryan Stinnett
8b622dbd53
Only show service summary once
2019-09-30 17:37:30 +01:00
Weblate
07c8a0a52a
Merge branch 'origin/develop' into Weblate.
2019-09-30 16:04:10 +00:00
pebles
c8a5f9459c
Translated using Weblate (Spanish)
...
Currently translated at 74.5% (1350 of 1813 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2019-09-30 16:04:10 +00:00
Diego Esaa
53d0c89e9c
Translated using Weblate (Spanish)
...
Currently translated at 74.5% (1350 of 1813 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2019-09-30 16:04:10 +00:00
Sava Radoš
5545012b28
Translated using Weblate (Serbian)
...
Currently translated at 56.3% (1021 of 1813 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sr/
2019-09-30 16:04:09 +00:00
J. Ryan Stinnett
0ce227fc58
Merge pull request #3491 from aaronraimist/ok
...
Okay -> OK
2019-09-30 17:04:02 +01:00
J. Ryan Stinnett
bb9fc609bf
Merge pull request #3498 from matrix-org/jryans/undef-avatar
...
Guard against falsy names in getInitialLetter
2019-09-30 16:56:04 +01:00
Michael Telatynski
2621ad1b43
Group room tiles in room sub list in the room list for ARIA
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-30 16:04:43 +01:00
Michael Telatynski
22fb925743
Stop using deprecated KeyboardEvent properties
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-30 16:04:06 +01:00
J. Ryan Stinnett
762e0111fb
Add trace as well
2019-09-30 16:00:58 +01:00
Bruno Windels
8dc94af1ba
use native color picker instead of library
2019-09-30 16:54:32 +02:00
J. Ryan Stinnett
e7fdc5002e
Guard against falsy names in getInitialLetter
...
This ensures we check for a falsy name in `getInitialLetter` instead of throwing
errors. We should perhaps also fix whatever other issues have led to the input
being undefined in the first place, but for now we leave this for another day.
Hopefully helps with https://github.com/vector-im/riot-web/issues/10983
2019-09-30 15:40:39 +01:00
Michael Telatynski
f299f7e092
delint
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-30 14:32:42 +01:00
Michael Telatynski
f160a308b4
Make Autocomplete more accessible to screen reader users
...
Use ARIA to:
+ notate that the composer has an autocomplete
+ notate the open/closed state of the autocomplete
+ notate the name of the open autocomplete options
+ notate the ID of the highlighted autocomplete option
+ improve naming of emoji autocomplete options for screen readers
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-30 14:04:39 +01:00
Bruno Windels
77a61519ef
also allow commands to be pill-candidates
2019-09-30 11:15:46 +02:00
Nils J. Haugen
c8b0c92745
Translated using Weblate (Norwegian Nynorsk)
...
Currently translated at 60.3% (1093 of 1813 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nn/
2019-09-30 08:15:01 +00:00
Claus Conrad
4357110b59
Translated using Weblate (Danish)
...
Currently translated at 19.1% (347 of 1813 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/da/
2019-09-30 08:14:56 +00:00
Stanislav Lukeš
610188c9ef
Translated using Weblate (Czech)
...
Currently translated at 94.0% (1704 of 1813 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/cs/
2019-09-30 08:14:56 +00:00
Kenneth Larsson
730539712b
Translated using Weblate (Swedish)
...
Currently translated at 79.5% (1441 of 1813 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sv/
2019-09-28 15:51:32 +00:00
송태섭
63f924820e
Translated using Weblate (Korean)
...
Currently translated at 100.0% (1813 of 1813 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-09-28 15:51:31 +00:00
random
66f0b2ffc4
Translated using Weblate (Italian)
...
Currently translated at 99.9% (1811 of 1813 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-09-28 15:51:31 +00:00
Szimszon
ee5fed337f
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (1813 of 1813 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-09-28 15:51:29 +00:00
Kévin C
cf730fed8b
Translated using Weblate (French)
...
Currently translated at 100.0% (1813 of 1813 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-09-28 15:51:29 +00:00
Tirifto
33ebc1808c
Translated using Weblate (Esperanto)
...
Currently translated at 96.6% (1751 of 1813 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eo/
2019-09-28 15:51:28 +00:00
Jeff Huang
7ff6bc55d9
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (1813 of 1813 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-09-28 15:51:25 +00:00
Slavi Pantaleev
e5803c847c
Translated using Weblate (Bulgarian)
...
Currently translated at 100.0% (1813 of 1813 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2019-09-28 15:51:24 +00:00
Travis Ralston
59b29e4a7f
Add an option to hide image previews
...
Applies to images, stickers, and URL previews.
Fixes https://github.com/vector-im/riot-web/issues/10735
2019-09-27 21:08:31 -06:00
Aaron Raimist
68bbe25446
Okay -> OK
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2019-09-27 21:32:32 -05:00
J. Ryan Stinnett
d80a2df979
Move document name to new column
2019-09-27 17:57:10 +01:00
J. Ryan Stinnett
701ec259e6
Rename Terms column in modal to Document
2019-09-27 17:43:04 +01:00
J. Ryan Stinnett
66f450b995
Lowercase terms
2019-09-27 17:32:57 +01:00
Bruno Windels
5e960f50e3
Merge pull request #3487 from matrix-org/bwindels/redactpeers
...
Fix: allow mass redaction for members with same or larger power level
2019-09-27 14:56:24 +00:00
Bruno Windels
a8695d345b
allow mass redaction for members with same or larger power level
2019-09-27 16:16:44 +02:00
Michael Telatynski
37978e5ef5
Fix GroupMemberTile wrong default avatar letter and colour
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-27 12:24:01 +01:00
Michael Telatynski
12c46838c3
fix sdk import
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-27 12:20:48 +01:00
Michael Telatynski
cde75dc4f7
fix PropTypes.oneOfType
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-27 12:18:19 +01:00
J. Ryan Stinnett
bfcd28f00a
Merge pull request #3483 from matrix-org/t3chguy/accesibility
...
Improve keyboard/screen reader accesibility some more
2019-09-27 10:07:51 +01:00
Michael Telatynski
ce78de2185
re-order imports
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-27 10:05:08 +01:00
Michael Telatynski
8d1d3090f3
Improve keyboard accessibility using :focus-visible CSS polyfill
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-27 09:00:54 +01:00
David Baker
509833e213
Merge pull request #3484 from matrix-org/dbkr/rageshake_go_backwards
...
Truncate debug logs at the start, not the end
2019-09-26 19:20:04 +01:00
David Baker
796f5746db
Truncate debug logs at the start, not the end
...
We left out later parts if we exceeded the maximum log size, which
was deeply unhelpful since the problem almost certainly happened
just before the user hit the 'submit debug logs' button.
Instead, iterate backwards through the fragments and prepend them,
leaving off the earlier ones if we run over the size.
Also, check we're not going to run over the size before adding
the fragment so we might actually stick to the maximum log size.
May fix https://github.com/vector-im/riot-web/issues/10951
2019-09-26 18:46:19 +01:00
Bruno Windels
cca41c184c
very basic color pickers for custom theme
2019-09-26 17:35:06 +02:00
Bruno Windels
8301943cfa
Merge pull request #3481 from matrix-org/bwindels/cider-ac-shifttab
...
Fix: don't block Shift+Tab in CIDER autocomplete
2019-09-26 15:08:36 +00:00
Michael Telatynski
3674b87415
delint
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-26 14:58:40 +01:00
Michael Telatynski
c37e27f03d
Improve a11y:
...
+ Close context menu on escape
+ Use AccessibleButtons for more things (Context Menus and TabbedView)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-26 14:52:20 +01:00
Michael Telatynski
8ec0ffea3a
Make the message context menu more accessible
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-26 14:24:10 +01:00
Michael Telatynski
14e3cb8736
Allow keyboard control even without a screen reader
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-26 13:52:09 +01:00
Bruno Windels
a4b905ef38
debug: add custom theme to theme list
2019-09-26 12:08:42 +02:00
Bruno Windels
f5b9373eb5
don't block Shift+Tab keypresses
2019-09-26 11:00:55 +02:00
Bruno Windels
99961df9d0
Merge pull request #3479 from matrix-org/bwindels/command-detection-resilience
...
Fix: make command detection more resilient
2019-09-26 07:36:25 +00:00
Michael Telatynski
f5fda72b0c
Merge pull request #3475 from matrix-org/t3chguy/accesibility
...
Settings A11Y tweaks
2019-09-25 19:32:18 +01:00
Michael Telatynski
d588e709e5
Add tab indexes, role=button and aria-labels to TabbedViews for a11y
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-25 18:55:18 +01:00
Michael Telatynski
3672832d38
conform to style
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-25 18:10:05 +01:00
Michael Telatynski
ab3e5c3b87
Merge branches 'develop' and 't3chguy/accesibility' of github.com:matrix-org/matrix-react-sdk into t3chguy/accesibility
2019-09-25 16:59:46 +01:00
Bruno Windels
0bbbb5e336
use mxid for user pill in command
2019-09-25 17:30:12 +02:00
Bruno Windels
c760ba0839
make command detection more resilient
2019-09-25 17:30:01 +02:00
Weblate
fc7bdcc3e2
Merge branch 'origin/develop' into Weblate.
2019-09-25 14:21:20 +00:00
Bruno Windels
10b692c1a2
Merge pull request #3477 from matrix-org/bwindels/cjk-ime-fixes
...
Fix: latin input through Chinese IME
2019-09-25 14:21:15 +00:00
Weblate
740b2991b3
Merge branch 'origin/develop' into Weblate.
2019-09-25 14:16:59 +00:00
Bruno Windels
30af9a9056
need to check isComposing on native event
2019-09-25 16:11:37 +02:00
Bruno Windels
1c11b8e274
Move focus to first field in create room dialog when showing
2019-09-25 15:08:48 +02:00
Bruno Windels
c8af1a6256
fixup: remove flag
2019-09-25 14:59:27 +02:00
Bruno Windels
ffe34ee8a1
try to see if this fixes safari back
...
on of the 2 changes (updating dom async from compositionend,
or ignoring keydown while composing) here has, while fixing chrome,
broken safari.
Don't do the async dom updating for safari if that was it.
2019-09-25 14:47:35 +02:00
Bruno Windels
7bda1c58eb
better naming
2019-09-25 14:45:39 +02:00
Weblate
99fc931efd
Merge branch 'origin/develop' into Weblate.
2019-09-25 10:30:41 +00:00
Kenneth Larsson
e3d4a6c05d
Translated using Weblate (Swedish)
...
Currently translated at 78.5% (1422 of 1812 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sv/
2019-09-25 10:30:41 +00:00
Slavi Pantaleev
ac7ccd497c
Translated using Weblate (Bulgarian)
...
Currently translated at 100.0% (1812 of 1812 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2019-09-25 10:30:40 +00:00
J. Ryan Stinnett
b248918aca
Merge pull request #3476 from matrix-org/jryans/msisdn-reg-submit-url
...
Send MSISDN validation token to submit_url during registration
2019-09-25 11:30:33 +01:00
J. Ryan Stinnett
9e33be9b2a
Send MSISDN validation token to submit_url during registration
...
Similar to previous changes for 3PID add, this changes registration with MSISDN
to also send tokens to `submit_url` when supplied.
Fixes https://github.com/vector-im/riot-web/issues/10939
2019-09-25 10:29:18 +01:00
Michael Telatynski
e01be212e6
improve Settings Accessibility for Toggles and Dialogs
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-25 09:25:11 +01:00
Michael Telatynski
4a5ee4a969
Put aria-disabled on AccessibleButtons and attempt to a11y ToggleSwitch
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-25 09:01:49 +01:00
Weblate
59ccd853ef
Merge branch 'origin/develop' into Weblate.
2019-09-24 18:49:26 +00:00
Kenneth Larsson
7afa6f0a96
Translated using Weblate (Swedish)
...
Currently translated at 77.5% (1404 of 1812 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sv/
2019-09-24 18:49:26 +00:00
Travis Ralston
6ab816f79e
Hide browser a11y outline on context menus
...
Fixes https://github.com/vector-im/riot-web/issues/10926
Regressed by https://github.com/matrix-org/matrix-react-sdk/pull/3454/files
Class introduced in https://github.com/matrix-org/matrix-react-sdk/pull/2994
2019-09-24 12:29:20 -06:00
Weblate
10797f4a3e
Merge branch 'origin/develop' into Weblate.
2019-09-24 16:34:51 +00:00
Szimszon
9cd6c9859b
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (1812 of 1812 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-09-24 16:34:51 +00:00
J. Ryan Stinnett
17e42eacd4
Merge pull request #3473 from matrix-org/jryans/rm-id-server-reg-and-reset
...
Remove id_server param from threepid_creds
2019-09-24 17:34:45 +01:00
J. Ryan Stinnett
ec9e7f5855
Remove id_server for MSISDN registration
...
For HSes that no longer need it, remove the id_server param when verifying
MSISDNs at registration.
Fixes https://github.com/vector-im/riot-web/issues/10941
2019-09-24 15:02:30 +01:00
Weblate
e4dc87774b
Merge branch 'origin/develop' into Weblate.
2019-09-24 13:57:53 +00:00
Matthew Hodgson
df33d0f74c
Remove debug for https://github.com/vector-im/riot-web/issues/10940
2019-09-24 14:57:45 +01:00
J. Ryan Stinnett
0c51e41ea4
Remove id_server param for password reset
...
For HSes that no longer need it, remove the id_server param from password reset.
Part of https://github.com/vector-im/riot-web/issues/10941
2019-09-24 14:54:26 +01:00
Bruno Windels
9f47fad305
ignore keydown events while doing IME composition
2019-09-24 15:32:30 +02:00
Bruno Windels
4d151722ff
delay DOM modification after compositionend
2019-09-24 15:32:08 +02:00
Weblate
8c7a943972
Merge branch 'origin/develop' into Weblate.
2019-09-24 11:00:52 +00:00
Bruno Windels
26a8398a0e
make sure client exists while logging out
2019-09-24 12:53:33 +02:00
Jeff Huang
a1d2629655
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (1812 of 1812 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-09-24 10:39:13 +00:00