Commit graph

18385 commits

Author SHA1 Message Date
Bruno Windels
c1edd6d0b5 apply new pallete with 13 colors 2019-10-01 15:31:43 +02:00
Bruno Windels
558f8daeeb support custom themes from setting
also move theme setting code from MatrixChat to own file.
2019-10-01 15:21:22 +02:00
Bruno Windels
79d4434c9f remove custom color pickers 2019-10-01 15:20:11 +02:00
J. Ryan Stinnett
617a5290f9 Change back to develop branch for deps 2019-10-01 13:30:13 +01:00
Michael Telatynski
891eb7af3f
Merge pull request #3499 from matrix-org/t3chguy/accessibility2
Accessibility fixes to the LeftPanel
2019-10-01 12:21:45 +01:00
Michael Telatynski
2d6461d376
Merge pull request #3497 from matrix-org/t3chguy/autocomplete_a11y
Make Autocomplete more accessible to screen reader users
2019-10-01 12:07:39 +01:00
David Baker
d369e1ff5c
Merge pull request #3496 from matrix-org/bwindels/fix-ac-bis
Fix: even more resilience to detect slash commands
2019-10-01 11:52:36 +01:00
David Baker
a75fd1801c
Merge pull request #3486 from matrix-org/t3chguy/fixes
Fix PropTypes usage, sdk import path and GroupMemberTile letter-avatar
2019-10-01 11:49:32 +01:00
RiotRobot
e457ef3679 v1.6.1 2019-10-01 11:40:47 +01:00
RiotRobot
ca18e167db Prepare changelog for v1.6.1 2019-10-01 11:40:46 +01:00
RiotRobot
fa12b60c4a Upgrade to JS SDK 2.4.1 2019-10-01 11:35:33 +01:00
J. Ryan Stinnett
e7cfafad07
Merge pull request #3502 from RiotTranslateBot/weblate-riot-web-matrix-react-sdk
Update from Weblate
2019-10-01 11:22:00 +01:00
Besnik Bleta
d3264b03e0 Translated using Weblate (Albanian)
Currently translated at 99.7% (1807 of 1812 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2019-10-01 10:20:59 +00:00
Weblate
decc2cbf6a Merge branch 'origin/develop' into Weblate. 2019-10-01 09:04:16 +00:00
J. Ryan Stinnett
6424edfe55
Merge pull request #3489 from matrix-org/jryans/terms-dialog-tweaks
Adjust details of terms dialog
2019-10-01 10:04:09 +01:00
Travis Ralston
0862ad029d Fix permalinks test 2019-09-30 21:15:31 -06:00
Travis Ralston
f903f431ed Fix BigEmoji handling for permalinks
OR doesn't give us the right thing, but AND does.
2019-09-30 21:08:34 -06:00
Travis Ralston
6b09c3e9e6 Appease the linter 2019-09-30 21:03:16 -06:00
Travis Ralston
fc66e69c02 Rename RoomPermalinkCreator -> Permalinks due to scope
The file handles more than just a RoomPermalinkCreator, so we should name it accordingly.
2019-09-30 20:39:58 -06:00
Travis Ralston
6f5ccd4c12 Minor comment updates 2019-09-30 20:38:03 -06:00
Travis Ralston
6e6f8a13e1 Handle BigEmoji permalinks better
Now that permalinks could be not-matrix.to we should be safer in what we'll allow.
2019-09-30 20:37:50 -06:00
Travis Ralston
ce0a534db1 Fix pills for CIDER too 2019-09-30 20:37:24 -06:00
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