Commit Graph

31558 Commits (d6fb08114d8314cb58d446b7ddc14df93f88a69b)

Author SHA1 Message Date
Weblate e8310141ce Merge branch 'origin/develop' into Weblate. 2022-02-17 09:13:15 +00:00
Suguru Hirahara a5922b6f0f Translated using Weblate (Japanese)
Currently translated at 65.1% (2240 of 3437 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ja/
2022-02-17 09:13:14 +00:00
Andy Balaam 7387f3c80a
Allow editing polls (#7806) 2022-02-17 09:13:05 +00:00
Weblate eac92c542f Merge branch 'origin/develop' into Weblate. 2022-02-16 20:26:26 +00:00
Suguru Hirahara 1fe5b08b50 Translated using Weblate (Japanese)
Currently translated at 64.8% (2228 of 3437 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ja/
2022-02-16 20:26:26 +00:00
Travis Ralston fa9af44523
Fix left panel widgets causing app crashes (again) (#7814)
* Add type safety around left panel widget handling

* lint
2022-02-16 13:26:18 -07:00
Weblate ea330eb61c Merge branch 'origin/develop' into Weblate. 2022-02-16 19:52:36 +00:00
Jozef Gaal ae4afde380 Translated using Weblate (Slovak)
Currently translated at 96.4% (3314 of 3437 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sk/
2022-02-16 19:52:36 +00:00
Suguru Hirahara d52cef6cc9 Translated using Weblate (Japanese)
Currently translated at 64.5% (2218 of 3437 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ja/
2022-02-16 19:52:29 +00:00
Travis Ralston bd1568f4e4 Un-break crypto for soft logout 2022-02-16 12:33:33 -07:00
Travis Ralston aba61fa390 Revert "Support refresh tokens (#7802)"
This reverts commit 839593412c.
2022-02-16 12:32:38 -07:00
Weblate 8bf55c6938 Merge branch 'origin/develop' into Weblate. 2022-02-16 15:24:06 +00:00
Šimon Brandner 81f52283cf
Don't change `KEYBOARD_SHORTCUTS` and do some refactoring (#7818) 2022-02-16 15:24:00 +00:00
Weblate d32aca22f9 Merge branch 'origin/develop' into Weblate. 2022-02-16 11:19:39 +00:00
Suguru Hirahara 4710eae194 Translated using Weblate (Japanese)
Currently translated at 64.4% (2214 of 3437 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ja/
2022-02-16 11:19:39 +00:00
noantiq 7cc50cc7e3 Translated using Weblate (German)
Currently translated at 99.5% (3421 of 3437 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2022-02-16 11:19:37 +00:00
J. Ryan Stinnett 0dc1355441
Fix right panel data flow (#7811) 2022-02-16 11:19:28 +00:00
Suguru Hirahara aec11f66e0 Translated using Weblate (Japanese)
Currently translated at 64.3% (2213 of 3437 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ja/
2022-02-16 08:54:48 +00:00
Weblate ad03ebf88f Merge branch 'origin/develop' into Weblate. 2022-02-15 21:05:45 +00:00
Michael Telatynski c2cf3a2d9e
Fix room create tile not showing up with hidden events shown (#7810)
* Replace m.room.create with enum

* Fix room create tile not showing up with hidden events shown
2022-02-15 21:05:41 +00:00
Weblate 917f44c279 Merge branch 'origin/develop' into Weblate. 2022-02-15 20:16:54 +00:00
Travis Ralston 839593412c
Support refresh tokens (#7802)
MSC: https://github.com/matrix-org/matrix-doc/pull/2918
Fixes https://github.com/vector-im/element-web/issues/18698
Fixes https://github.com/vector-im/element-web/issues/20648
**Requires https://github.com/matrix-org/matrix-js-sdk/pull/2178**

**Note**: There's a lot of logging in this PR. That is intentional to ensure that if/when something goes wrong we can chase the exact code path. It does not log any tokens - just where the code is going. Overall, it should be fairly low volume spam (and can be relaxed at a later date).

----

This approach uses indexeddb (through a mutex library) to manage which tab actually triggers the refresh, preventing issues where multiple tabs try to update the token. If multiple tabs update the token then the server might consider the account hacked and hard logout all the tokens.

If for some reason the timer code gets it wrong, or the user has been offline for too long and the token can't be refreshed, they should be sent to a soft logout screen by the server. This will retain the user's encryption state - they simply need to reauthenticate to get an active access token again.

This additionally contains a change to fix soft logout not working, per the issue links above.

Of interest may be the IPC approach which was ultimately declined in favour of this change instead: https://github.com/matrix-org/matrix-react-sdk/pull/7803
2022-02-15 20:16:49 +00:00
Weblate 68ccb5c3c8 Merge branch 'origin/develop' into Weblate. 2022-02-15 20:06:47 +00:00
Johan Smits d203bc7ed2 Translated using Weblate (Dutch)
Currently translated at 100.0% (3437 of 3437 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2022-02-15 20:06:47 +00:00
Szimszon 4c587675b6 Translated using Weblate (Hungarian)
Currently translated at 100.0% (3437 of 3437 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/
2022-02-15 20:06:40 +00:00
David Baker a958cd20f1
Fix delayed badge update for mentions in encrypted rooms (#7813)
* Fix delayed badge update for mentions in encrypted rooms

Fixes https://github.com/vector-im/element-web/issues/20859

More detail on the issue

* Remove unused import

* Fix listener removal
2022-02-15 20:06:29 +00:00
Weblate 9dff56d713 Merge branch 'origin/develop' into Weblate. 2022-02-15 16:58:38 +00:00
LinAGKar 7871a490da Translated using Weblate (Swedish)
Currently translated at 100.0% (3441 of 3441 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sv/
2022-02-15 16:58:38 +00:00
Michael Telatynski 8d4e83084c
Remove Countly analytics integration (#7808) 2022-02-15 16:58:30 +00:00
Weblate d8ef55677a Merge branch 'origin/develop' into Weblate. 2022-02-15 13:53:25 +00:00
Charlie Calendre bb5f62edce
Fix add existing space not showing any spaces (#7801) 2022-02-15 13:53:20 +00:00
Weblate c2d526ae67 Merge branch 'origin/develop' into Weblate. 2022-02-15 13:36:39 +00:00
Michael Telatynski 0a084601c4
Abstract spotlight to allow non-room results too (#7804) 2022-02-15 13:36:32 +00:00
Besnik Bleta 25a2c52a72 Translated using Weblate (Albanian)
Currently translated at 99.8% (3436 of 3441 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sq/
2022-02-15 13:17:51 +00:00
Weblate 6e1ee81ad3 Merge branch 'origin/develop' into Weblate. 2022-02-15 11:50:03 +00:00
random a44fd349df Translated using Weblate (Italian)
Currently translated at 100.0% (3441 of 3441 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
2022-02-15 11:50:03 +00:00
c-cal 15f5a1caaa Translated using Weblate (French)
Currently translated at 99.0% (3408 of 3441 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2022-02-15 11:50:00 +00:00
David Baker 5fe8442f44
Add an end-to-end test for stickers (#7733)
* Add an end-to-end test for stickers

* More logs on login

* Wait for spinners to go away

* Factor out spinner waiting as it seems useful

* Move stickers to the end

* More waiting

* When all else fails... add sleeps

* Waiting for the server picker to appear seems to work..?

* Typos

Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>

* remove commented code from registration usecase

Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2022-02-15 11:49:53 +00:00
Weblate b1ac98865d Merge branch 'origin/develop' into Weblate. 2022-02-15 08:53:13 +00:00
Priit Jõerüüt a0c41dadaa Translated using Weblate (Estonian)
Currently translated at 99.8% (3437 of 3441 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
2022-02-15 08:53:13 +00:00
Xose M 30017251f9 Translated using Weblate (Galician)
Currently translated at 99.9% (3440 of 3441 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/gl/
2022-02-15 08:53:10 +00:00
waclaw66 4409f7906a Translated using Weblate (Czech)
Currently translated at 100.0% (3441 of 3441 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2022-02-15 08:53:06 +00:00
Linerly 4e933210bb Translated using Weblate (Indonesian)
Currently translated at 100.0% (3441 of 3441 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/id/
2022-02-15 08:53:04 +00:00
Ihor Hordiichuk 29bf62e665 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (3441 of 3441 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
2022-02-15 08:53:02 +00:00
Jeff Huang 2b2fe9adb9 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (3441 of 3441 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
2022-02-15 08:52:58 +00:00
Andy Balaam 84e15fa148
Display '(edited)' next to edited polls (#7789) 2022-02-15 08:52:51 +00:00
Weblate 82d5c72253 Merge branch 'origin/develop' into Weblate. 2022-02-14 23:59:07 +00:00
Michael Telatynski 6793ef33ba
Use the resize observer polyfill consistently (#7796) 2022-02-14 23:59:03 +00:00
Weblate 1c318e0523 Merge branch 'origin/develop' into Weblate. 2022-02-14 23:58:34 +00:00
Michael Telatynski 0cf15d27dc
Fix edge cases around event list summaries with hidden events and redactions (#7797) 2022-02-14 23:58:29 +00:00