Commit Graph

18291 Commits

Author SHA1 Message Date
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
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
J. Ryan Stinnett
762e0111fb Add trace as well 2019-09-30 16:00:58 +01: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
David Baker
ca0130db02
Merge pull request #3495 from RiotTranslateBot/weblate-riot-web-matrix-react-sdk
Update from Weblate
2019-09-30 09:20:09 +01: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
Aaron Raimist
68bbe25446
Okay -> OK
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2019-09-27 21:32:32 -05:00
J. Ryan Stinnett
55e834f0ae
Merge pull request #3488 from matrix-org/jryans/deps-2019-09-27
Upgrade deps
2019-09-27 16:01:58 +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
J. Ryan Stinnett
de3e0c45f9 Upgrade deps 2019-09-27 15:18:11 +01:00
Bruno Windels
a8695d345b allow mass redaction for members with same or larger power level 2019-09-27 16:16:44 +02:00
J. Ryan Stinnett
9221dcd154 Change back to develop branch for deps 2019-09-27 14:39:59 +01:00
RiotRobot
77e7e46464 Merge branch 'master' into develop 2019-09-27 11:53:10 +01:00
RiotRobot
3cc67cfa6f v1.6.0 2019-09-27 11:52:15 +01:00
RiotRobot
1ac0d884f7 Prepare changelog for v1.6.0 2019-09-27 11:52:14 +01:00
RiotRobot
709504ff80 Upgrade to JS SDK 2.4.0 2019-09-27 11:48:33 +01:00
J. Ryan Stinnett
fb7864095b
Merge pull request #3485 from matrix-org/jryans/release-v1.6.0/3483
Merge "Improve keyboard/screen reader accesibility some more" to release
2019-09-27 10:30:30 +01:00
J. Ryan Stinnett
5a8943353f Merge branch 't3chguy/accesibility' into release-v1.6.0 2019-09-27 10:17:30 +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
192dcbb31f delint
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-27 09:14:29 +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