Commit graph

41866 commits

Author SHA1 Message Date
Weblate
8e893eb19c Merge branch 'origin/develop' into Weblate. 2022-02-17 09:18:42 +00:00
David Baker
01b00bf3fe
Add test for RoomNotificationState (#7820)
Regression test for https://github.com/vector-im/element-web/issues/20859
2022-02-17 09:18:37 +00:00
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
2802d39bc9 Merge branch 'revert-7802-travis/refresh-token-idb' into develop 2022-02-16 12:52:15 -07: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
Weblate
4dc4ff5109 Merge branch 'origin/develop' into Weblate. 2022-02-16 08:54:48 +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
Kerry
78524bddce
apply mask-size for svgs with bigger viewbox (#7812)
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-02-16 09:54:40 +01: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
88f2c15a5e Merge branch 'origin/develop' into Weblate. 2022-02-15 20:52:40 +00:00
dependabot[bot]
b5e3ba28d9
Bump ajv from 6.10.0 to 6.12.6 in /test/end-to-end-tests (#7792)
Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.10.0 to 6.12.6.
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](https://github.com/ajv-validator/ajv/compare/v6.10.0...v6.12.6)

---
updated-dependencies:
- dependency-name: ajv
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kerry Archibald <kerrya@element.io>
2022-02-15 13:52:35 -07: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
Weblate
64b1ceaacc Merge branch 'origin/develop' into Weblate. 2022-02-15 13:17:51 +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
Kat Gerasimova
201e552b0c
Triage PRs that need design or product (#7805)
Add automation to check if PR is assigned to a team/any member of that team and if it is, add it to the correct board to get it reviewed quicker
2022-02-15 13:17:43 +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