Commit graph

29760 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
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
Michael Telatynski
6d737fe6c4 Fix Widget event notification text including spurious space 2020-11-24 11:27:02 +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
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
David Baker
f0fdfd53d2
Merge pull request #5432 from matrix-org/dbkr/new_look_callview
New Look in-Call View
2020-11-23 15:51:09 +00:00
Weblate
552f344761 Merge branch 'origin/develop' into Weblate. 2020-11-23 15:33:04 +00:00
Priit Jõerüüt
146a5d56e9 Translated using Weblate (Estonian)
Currently translated at 99.1% (2675 of 2699 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
2020-11-23 15:33:04 +00:00
Besnik Bleta
8223add180 Translated using Weblate (Albanian)
Currently translated at 98.8% (2667 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:33:01 +00:00
Travis Ralston
054560b6a7
Merge pull request #5435 from matrix-org/travis/window-widgets
Support arbitrary widgets sticking to the screen + sending stickers
2020-11-23 08:32:46 -07:00
David Baker
2e3d889bbf consistent capitalisation 2020-11-23 15:28:54 +00:00
David Baker
729d59160d Rename buttons in CSS & remove unused 2020-11-23 15:27:37 +00:00
David Baker
eca1851f02 Rename voip buttons 2020-11-23 15:21:18 +00:00
David Baker
576ba21210 Comment nonzero opacity 2020-11-23 15:13:19 +00:00
Weblate
d98a49e295 Merge branch 'origin/develop' into Weblate. 2020-11-23 14:14:38 +00:00
Priit Jõerüüt
ebb998d0d5 Translated using Weblate (Estonian)
Currently translated at 98.7% (2669 of 2702 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
2020-11-23 14:14:38 +00:00
Michael Telatynski
56ffa17b89
Merge pull request #5433 from matrix-org/t3chguy/socials_preamble
Auth typescripting and validation tweaks
2020-11-23 14:14:25 +00:00
XoseM
f2f5cd7127 Translated using Weblate (Galician)
Currently translated at 100.0% (2702 of 2702 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/gl/
2020-11-22 13:50:33 +00:00