Commit graph

29926 commits

Author SHA1 Message Date
Travis Ralston
b9af446c1b Make it possible in-code to hide rooms from the room list
Fixes https://github.com/vector-im/element-web/issues/15745

This was surprisingly easy given the number of errors I remember last time, but here it is. This also includes an over-engineered VisibilityProvider with the intention that it'll get used in the future for things like Spaces and other X as Rooms stuff.
2020-11-25 19:42:57 -07:00
Travis Ralston
c2cb791f7d Appease the linter 2020-11-25 18:58:30 -07:00
Travis Ralston
fc820c4b1a Construct modal widgets in the same way we do any other widget
Fixes https://github.com/vector-im/element-web/issues/15800
2020-11-25 18:51:27 -07:00
Travis Ralston
51f6205258 Fix modal buttons not being disabled by disabling them
Looks like this was just a missed block of code, but also the important bit.

Fixes https://github.com/vector-im/element-web/issues/15801
2020-11-25 18:48:18 -07:00
Travis Ralston
5da27aed94 Replace the concept of a Widget Security Key with an OIDC state
The security key naming/practice was misguided, so let's call it what it is (a settings key) and abstract away the complexity to a new store.

Fixes https://github.com/vector-im/element-web/issues/15820 while we're here.
2020-11-25 18:39:11 -07:00
Travis Ralston
c91dc55bc1 Make modal widgets static to avoid being destroyed
Fixes https://github.com/vector-im/element-web/issues/15818
2020-11-25 18:35:00 -07:00
Travis Ralston
3780afff7d Fix existing widgets not having approved capabilities for their function
Fixes https://github.com/vector-im/element-web/issues/15827

This also fixes sticker pickers.
2020-11-25 14:40:01 -07:00
Michael Telatynski
3bdedd73f7 fix another test 2020-11-25 11:38:43 +00:00
Michael Telatynski
c4084196d1 delint 2020-11-25 10:39:44 +00:00
Michael Telatynski
1b1c482f9c Iterate tests 2020-11-25 10:22:16 +00:00
Michael Telatynski
758b47c64d Replace *ServerConfig and SignInToText with ServerPicker 2020-11-25 09:46:56 +00:00
Michael Telatynski
6a315e80b6 Improve auth error messages 2020-11-25 09:24:24 +00:00
Michael Telatynski
225d541487 Extend Field and InfoDialog with more configurability 2020-11-25 09:19:08 +00:00
Michael Telatynski
2f64160a0e Remove backwards compatibility in ServerConfig for m.require_identity_server 2020-11-25 09:00:31 +00:00
Arsh Sharma
5e239690da fix(EventTile): made revisions 2020-11-25 12:46:14 +05:30
Weblate
365ba85505 Merge branch 'origin/develop' into Weblate. 2020-11-24 16:44:38 +00:00
m4sk1n
d2b0e362d3 Translated using Weblate (Polish)
Currently translated at 63.5% (1711 of 2692 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pl/
2020-11-24 16:44:38 +00:00
Travis Ralston
1db130b8f0
Merge pull request #5440 from matrix-org/travis/openid2
Use the WidgetDriver to run OIDC requests
2020-11-24 09:44:27 -07:00
Travis Ralston
67a0f1ef4c Update widget API 2020-11-24 09:43:21 -07:00
Weblate
d05bbfd740 Merge branch 'origin/develop' into Weblate. 2020-11-24 16:38:00 +00:00
m4sk1n
6b1a3c1422 Translated using Weblate (Polish)
Currently translated at 62.5% (1685 of 2692 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pl/
2020-11-24 16:38:00 +00:00
Travis Ralston
4543789a74
Merge pull request #5439 from matrix-org/travis/caps2
Add a customisation point for widget permissions and fix amnesia issues
2020-11-24 09:37:38 -07:00
Weblate
88e052fdbd Merge branch 'origin/develop' into Weblate. 2020-11-24 15:56:50 +00:00
XoseM
4758f4b971 Translated using Weblate (Galician)
Currently translated at 100.0% (2692 of 2692 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/gl/
2020-11-24 15:56:50 +00:00
m4sk1n
41586b6d02 Translated using Weblate (Polish)
Currently translated at 58.3% (1571 of 2692 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pl/
2020-11-24 15:56:47 +00:00
Юрий Руренко
fe2cc31461 Translated using Weblate (Ukrainian)
Currently translated at 46.1% (1243 of 2692 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
2020-11-24 15:56:34 +00:00
Jeff Huang
c84a9eefc0 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2692 of 2692 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
2020-11-24 15:56:25 +00:00
LinAGKar
3d01deadb8 Translated using Weblate (Swedish)
Currently translated at 97.3% (2621 of 2692 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sv/
2020-11-24 15:56:23 +00:00
Michael Telatynski
f70f957c49
Merge pull request #5441 from matrix-org/t3chguy/fix/15796
Fix Widget event notification text including spurious space
2020-11-24 15:56:12 +00:00
Arsh Sharma
f271e117cf fix(EventTile): conditionally added avatar 2020-11-24 17:45:20 +05:30
Michael Telatynski
f7d7182dc9 Iterate Multi-SSO support 2020-11-24 12:09:11 +00:00
Michael Telatynski
b1ca1eb3f5 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/socials 2020-11-24 11:30:51 +00:00
Michael Telatynski
6d737fe6c4 Fix Widget event notification text including spurious space 2020-11-24 11:27:02 +00:00
Michael Telatynski
1d53a5cf23 Initial support for MSC2858 2020-11-24 11:18:11 +00:00
Travis Ralston
28c78509a1 Use the WidgetDriver to run OIDC requests
Fixes https://github.com/vector-im/element-web/issues/15775
2020-11-23 14:10:14 -07:00
Travis Ralston
8ff8a8ad40 Appease the linter 2020-11-23 12:06:05 -07:00
Travis Ralston
da32d9decd Add a customisation point for widget permissions and fix amnesia issues
The "remember my selection" option wasn't working because the `missing` set still included the approved permission. Solution: remove it from `missing`.

The customisation point is to allow forks to change which widgets get which additional capabilities dependent on their own rules.
2020-11-23 11:59:38 -07:00
Michael Telatynski
613710b75c Iterate Auth copy 2020-11-23 17:01:35 +00:00
Weblate
0fd10598cc Merge branch 'origin/develop' into Weblate. 2020-11-23 16:53:13 +00:00
David Baker
2144932bbc
Merge pull request #5438 from matrix-org/dbkr/move_calls_to_callhandler
Move call listener out of MatrixChat
2020-11-23 16:53:08 +00:00
Weblate
03f03edf01 Merge branch 'origin/develop' into Weblate. 2020-11-23 16:42:07 +00:00
David Baker
bc2fd7cf05 Start is not stop 2020-11-23 16:41:57 +00:00
RiotRobot
ddc3f275a8 Reset matrix-js-sdk back to develop branch 2020-11-23 16:41:50 +00:00
RiotRobot
8239649a45 Merge branch 'master' into develop 2020-11-23 16:40:45 +00:00
RiotRobot
5ca18590af v3.9.0 2020-11-23 16:35:16 +00:00
RiotRobot
6fbc359175 Prepare changelog for v3.9.0 2020-11-23 16:35:15 +00:00
RiotRobot
be25a0e432 Upgrade matrix-js-sdk to 9.2.0 2020-11-23 16:29:44 +00:00
David Baker
37059a3fcd Move call listener out of MatrixChat
and into callhandler
2020-11-23 16:20:15 +00:00
Weblate
be75125280 Merge branch 'origin/develop' into Weblate. 2020-11-23 15:51:22 +00:00
Besnik Bleta
ec26a2f465 Translated using Weblate (Albanian)
Currently translated at 99.7% (2692 of 2699 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sq/
2020-11-23 15:51:22 +00:00