Commit graph

41697 commits

Author SHA1 Message Date
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
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
Weblate
c07bcdf60c Merge branch 'origin/develop' into Weblate. 2022-02-14 23:54:54 +00:00
c-cal
6a87cb2a22 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-14 23:54:54 +00:00
Michael Telatynski
76fb2abae1
Consolidate, simplify and improve copied tooltips (#7799) 2022-02-14 23:54:46 +00:00
Weblate
114f22916c Merge branch 'origin/develop' into Weblate. 2022-02-14 23:38:33 +00:00
Michael Telatynski
226eed2a7f
Hide Clear room list filter field shortcut if new search enabled (#7798) 2022-02-14 23:38:29 +00:00
Weblate
a2e92a570c Merge branch 'origin/develop' into Weblate. 2022-02-14 23:37:49 +00:00
Michael Telatynski
8d3c2eddd6
Improve styling of edge case devtools state keys (#7794) 2022-02-14 23:37:45 +00:00
Weblate
f941f88745 Merge branch 'origin/develop' into Weblate. 2022-02-14 23:36:15 +00:00
Jozef Gaal
27a74f9783 Translated using Weblate (Slovak)
Currently translated at 95.5% (3285 of 3438 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sk/
2022-02-14 23:36:15 +00:00
Michael Telatynski
401e5127f4
Don't scroll to bottom when executing non-message slash commands (#7793) 2022-02-14 23:36:06 +00:00