Commit Graph

31542 Commits (652e4845e54d63ea2c1be8a0ed26f897b39716f2)

Author SHA1 Message Date
Travis Ralston d38a6ad1be Add more widget sanity checking
This is for https://github.com/vector-im/element-web/issues/15705

https://github.com/matrix-org/matrix-react-sdk/pull/5459 was unable to track down all the instances of where the issue happens, so this commit tries to do a more complete job.

Specifically, this replaces the getRoomId() function given widgets cannot reliably be referenced by widget ID in this way, and the store has been updated to handle a more unique widget ID for the store (just in case).

Further sanity checking has also been added to ensure that we are at least returning a valid result.
2020-12-02 12:20:59 -07:00
Šimon Brandner bab541a652 Hide spell-check settings if not using Electron 2020-12-02 20:14:58 +01:00
Weblate f7d45c38aa Merge branch 'origin/develop' into Weblate. 2020-12-02 15:48:58 +00:00
LinAGKar 5787915cb5 Translated using Weblate (Swedish)
Currently translated at 97.4% (2633 of 2702 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sv/
2020-12-02 15:48:58 +00:00
Michael Telatynski a1159545c4
Merge pull request #5426 from matrix-org/t3chguy/socials
Social Login and login delight tweaks
2020-12-02 15:48:48 +00:00
Michael Telatynski 8593845e3d i18n 2020-12-02 15:12:16 +00:00
Michael Telatynski 3fda7e3f46 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/socials 2020-12-02 15:08:13 +00:00
RiotRobot db354ff888 v3.10.0-rc.1 2020-12-02 14:38:28 +00:00
RiotRobot 054dff31d5 Prepare changelog for v3.10.0-rc.1 2020-12-02 14:38:28 +00:00
RiotRobot ed59b50448 Upgrade matrix-js-sdk to 9.3.0-rc.1 2020-12-02 14:25:55 +00:00
J. Ryan Stinnett 2574ba1cfe
Merge pull request #5461 from RiotTranslateBot/weblate-element-web-matrix-react-sdk
Translations update from Weblate
2020-12-02 13:41:34 +00:00
Weblate 45dc9f697d Merge branch 'origin/develop' into Weblate. 2020-12-02 13:22:07 +00:00
Ezwen 5c6b040983 Translated using Weblate (French)
Currently translated at 86.5% (2338 of 2702 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2020-12-02 13:22:07 +00:00
J. Ryan Stinnett 80e7aa7fe6
Merge pull request #5460 from matrix-org/dbkr/something_something_dark_theme
Fix VoIP call plinth on dark theme
2020-12-02 13:21:56 +00:00
David Baker 4a503fb32e Fix VoIP call plinth on dark theme
Fixes https://github.com/vector-im/element-web/issues/15873
2020-12-02 12:14:41 +00:00
Jason Robinson 31c7c05f2e Convert ConfirmCloseHostingSignupDialog to typescript 2020-12-02 11:12:45 +02:00
Simon Merrick 6670c727a4 Add getCanonicalAlias to mock 2020-12-02 13:28:35 +13:00
Simon Merrick cf8c98e076 More explicit reference checking 2020-12-02 12:34:43 +13:00
Weblate 04001e22f9 Merge branch 'origin/develop' into Weblate. 2020-12-01 20:40:33 +00:00
Hassan Algoz 89eaa9654f Translated using Weblate (Arabic)
Currently translated at 53.9% (1458 of 2702 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ar/
2020-12-01 20:40:32 +00:00
MSG-maniac 58ed858f40 Translated using Weblate (Chinese (Simplified))
Currently translated at 83.2% (2250 of 2702 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hans/
2020-12-01 20:40:23 +00:00
Nikita Epifanov 3a3e42e439 Translated using Weblate (Russian)
Currently translated at 88.1% (2383 of 2702 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ru/
2020-12-01 20:40:20 +00:00
Travis Ralston 3b9a1d90af
Merge pull request #5459 from matrix-org/travis/pinned-fixes
Add sanity checking around widget pinning
2020-12-01 13:40:09 -07:00
Travis Ralston 5df6932051 Add various amounts of sanity checking for widget pinning
This should also help https://github.com/vector-im/element-web/issues/15705 by either implicitly fixing the problem, causing chaos as described in the issue, or by forcing a crash to identify the problem more easily.
2020-12-01 13:19:51 -07:00
Travis Ralston bd1de8d45b Require a room ID for WidgetStore's pinned widget contracts
This should alleviate https://github.com/vector-im/element-web/issues/15705 from happening, though the cause is still unknown.

Requiring a room ID is safe for this because only room widgets can be pinned, and widget IDs are not globally unique which means from a logical standpoint the contract still makes sense here.
2020-12-01 13:05:48 -07:00
Šimon Brandner db5bc0cb7a Fix formatting 2020-12-01 20:36:25 +01:00
Šimon Brandner 3c2bb6e4f6 Cleanup 2020-12-01 20:17:24 +01:00
Šimon Brandner 44a363f188 Fix default value 2020-12-01 20:16:48 +01:00
Šimon Brandner 8287f197f4 Fix i18n 2020-12-01 19:49:31 +01:00
Michael Telatynski d8e46c7797 Merge remote-tracking branch 'origin/t3chguy/socials' into t3chguy/socials
# Conflicts:
#	src/i18n/strings/en_EN.json
2020-12-01 16:39:51 +00:00
Michael Telatynski e0b68441bc i18n 2020-12-01 16:39:26 +00:00
nurjinn jafar 111515e794 fixed linter problem 2020-12-01 17:37:28 +01:00
Michael Telatynski eb25c39318 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/socials
 Conflicts:
	src/i18n/strings/en_EN.json
2020-12-01 16:33:29 +00:00
Šimon Brandner e9203d7571 Removed unnecessary imports 2020-12-01 17:21:23 +01:00
Šimon Brandner a6d6af1a93 Added defaults 2020-12-01 17:19:45 +01:00
nurjinn jafar 1bf7ff8994 null check added
path to confetti fixed after refactoring
2020-12-01 17:15:02 +01:00
Šimon Brandner cf61d50df4 Added SpellCheckLanguagesDropdown 2020-12-01 16:59:21 +01:00
Šimon Brandner b207a877eb Change label 2020-12-01 16:59:02 +01:00
Michael Telatynski ba542f291b
Merge branch 'develop' into t3chguy/socials 2020-12-01 15:50:07 +00:00
David Baker 31044b68d1 Merge remote-tracking branch 'origin/develop' into dbkr/hold_ui 2020-12-01 15:09:25 +00:00
David Baker d3b1ec0648 Revert unintentional part of 4ca35fabef 2020-12-01 15:08:59 +00:00
David Baker 4ca35fabef Visual tweaks 2020-12-01 13:44:24 +00:00
Michael Telatynski 26e1cdb82c Update i18n 2020-12-01 12:04:41 +00:00
Jason Robinson c03a50e34b
Semiclon
Co-authored-by: Travis Ralston <travpc@gmail.com>
2020-12-01 13:51:46 +02:00
Jason Robinson 8f7b012ec1
Interface syntax
Co-authored-by: Travis Ralston <travpc@gmail.com>
2020-12-01 13:50:58 +02:00
Jason Robinson 85ce95e066
Interface syntax
Co-authored-by: Travis Ralston <travpc@gmail.com>
2020-12-01 13:50:42 +02:00
Jason Robinson f112f4fcef
Method scoping
Co-authored-by: Travis Ralston <travpc@gmail.com>
2020-12-01 13:49:47 +02:00
Jason Robinson a67ad0750d
Code styling
Co-authored-by: Travis Ralston <travpc@gmail.com>
2020-12-01 13:49:04 +02:00
Weblate f6532859fd Merge branch 'origin/develop' into Weblate. 2020-11-30 20:43:09 +00:00
Travis Ralston 2d74bb0dcc
Merge pull request #5457 from CodingAnonymous/patch-1
Update i18n for Appearance User Settings
2020-11-30 13:43:01 -07:00