Commit Graph

23757 Commits (58eaccbba823a449ec2eb5cb7736155b0ab917b4)

Author SHA1 Message Date
J. Ryan Stinnett e64b6b07c9
Merge pull request #5448 from matrix-org/jryans/lifecycle-customisations
Add lifecycle customisation point after logout
2020-11-27 11:45:48 +00:00
J. Ryan Stinnett 25cc4b89b8 Add lifecycle customisation point after logout
This will help specific deployments that need to do something custom here such
as redirect the user or call some API after Element has logged out and cleared
storage.
2020-11-27 11:23:01 +00:00
J. Ryan Stinnett 86b2cd1f82 Use typeof in customisations to avoid repeating 2020-11-27 11:11:11 +00:00
Weblate 571b5a2a84 Merge branch 'origin/develop' into Weblate. 2020-11-27 10:58:36 +00:00
Tuomas Hietala 859f842cbd Translated using Weblate (Finnish)
Currently translated at 81.5% (2196 of 2692 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fi/
2020-11-27 10:58:36 +00:00
Юрий Руренко a609b396cd Translated using Weblate (Ukrainian)
Currently translated at 53.5% (1441 of 2692 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
2020-11-27 10:58:28 +00:00
LinAGKar d468a37de5 Translated using Weblate (Swedish)
Currently translated at 97.5% (2625 of 2692 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sv/
2020-11-27 10:58:05 +00:00
Michael Telatynski edd5bf5842
Merge pull request #5421 from matrix-org/t3chguy/fix/15700
Simplify UserMenu for Guests as they can't use most of the options
2020-11-27 10:57:54 +00:00
Michael Telatynski 00b1cd01eb Update copy 2020-11-27 09:44:04 +00:00
Arsh Sharma cb3b8b6c77 fix(EventTile): updated comment 2020-11-27 14:13:42 +05:30
Travis Ralston 80f1df6d95 Don't needlessly persist user widgets
Fixes https://github.com/vector-im/element-web/issues/15842

We don't have a concept of a stickerpicker staying on screen, so don't make it a thing yet.
2020-11-26 15:09:08 -07:00
Aleks Kissinger 79baea9c4a fixed indent 2020-11-26 17:54:11 +00:00
Aleks Kissinger 494ae3e421 parse html for latex rendering inside settings block 2020-11-26 17:45:11 +00:00
Aleks Kissinger 7013483dad UK spelling maths 2020-11-26 17:26:42 +00:00
Aleks Kissinger dacef10fa6 reverted US translation 2020-11-26 16:22:10 +00:00
Šimon Brandner acd148d807 Remove nonsense lines 2020-11-26 16:58:34 +01:00
Michael Telatynski 5f03cbd88f Iterate PR some more 2020-11-26 15:45:15 +00:00
Travis Ralston c2c328e23c Appease the linter 2020-11-26 08:06:48 -07:00
Travis Ralston b9c57f47b0 Remove example 2020-11-26 08:01:38 -07:00
Michael Telatynski 86025459f4 Remove unused dialog, todo comments and other tiny tweaks 2020-11-26 15:01:12 +00:00
Weblate 7efa8afa79 Merge branch 'origin/develop' into Weblate. 2020-11-26 15:00:18 +00:00
Travis Ralston 24f3ecb69a
Merge branch 'develop' into travis/modal-widget-fixes 2020-11-26 08:00:02 -07:00
Weblate f8cc02a752 Merge branch 'origin/develop' into Weblate. 2020-11-26 14:01:49 +00:00
Priit Jõerüüt 9e90037163 Translated using Weblate (Estonian)
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/et/
2020-11-26 14:01:49 +00:00
XoseM 5c176f15d9 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-26 14:01:43 +00:00
m4sk1n 2be4a0439d Translated using Weblate (Polish)
Currently translated at 69.4% (1870 of 2692 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pl/
2020-11-26 14:01:41 +00:00
Юрий Руренко d98a13adb9 Translated using Weblate (Ukrainian)
Currently translated at 46.9% (1265 of 2692 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
2020-11-26 14:01:18 +00:00
LinAGKar 928436020f Translated using Weblate (Swedish)
Currently translated at 97.4% (2623 of 2692 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sv/
2020-11-26 14:01:14 +00:00
notramo 2b140470f9 Translated using Weblate (Hungarian)
Currently translated at 97.3% (2622 of 2692 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/
2020-11-26 14:01:12 +00:00
Dellle 179daf92cd Translated using Weblate (German)
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/de/
2020-11-26 14:01:09 +00:00
@a2sc:matrix.org e6ef2911d6 Translated using Weblate (German)
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/de/
2020-11-26 14:00:33 +00:00
Arsh Sharma 8386e50240 fix(EventTile): commited suggestions 2020-11-26 17:18:11 +05:30
Travis Ralston 80b93e0843 Mute all updates from rooms that are invisible 2020-11-25 20:03:58 -07:00
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 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
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
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 bc2fd7cf05 Start is not stop 2020-11-23 16:41:57 +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
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
Michael Telatynski 2263280035 Improve no email warning during registration 2020-11-23 10:25:46 +00:00
Michael Telatynski 6f6e850075 lowercase username placeholder in Password Login and Registration Form 2020-11-23 10:23:28 +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
Jeff Huang d8941a6656 Translated using Weblate (Chinese (Traditional))
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/zh_Hant/
2020-11-22 13:50:23 +00:00
aWeinzierl f33fc1da07 Translated using Weblate (German)
Currently translated at 90.3% (2440 of 2702 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2020-11-22 13:50:14 +00:00
Šimon Brandner 15ffdcb652 Added trailing comma 2020-11-22 09:57:22 +01:00
Šimon Brandner dbce418b63 Check if old password is empty 2020-11-22 09:26:51 +01:00
Šimon Brandner cd197133aa Button click validation
Check validity when clicking change password button
2020-11-22 08:49:20 +01:00
Šimon Brandner 4d7886d177 Fix i18n 2020-11-21 21:18:26 +01:00
Šimon Brandner 651d6f4320 Merge branch 'develop' into feature-change-password-validation 2020-11-21 20:23:27 +01:00
Šimon Brandner 7e786e67a8 Added live validation 2020-11-21 20:10:38 +01:00
Travis Ralston 43be434aec Appease the linter 2020-11-20 19:36:45 -07:00
Travis Ralston 107fa98180 Support arbitrary widgets sticking to the screen + sending stickers
Following https://github.com/matrix-org/matrix-react-sdk/pull/5385, it is now possible for a widget to request these capabilities without being a video conference or sticker picker. This commit actually enables this support for those kinds of widgets.

This commit also fixes an issue in the URL templating where some variables might get set to 'undefined' - this appears to be a scoping issue, so StopGapWidget now stores the definition alongside the superclass. 

Fixes https://github.com/vector-im/element-web/issues/15001
2020-11-20 16:53:15 -07:00
Weblate 60451e0bdc Merge branch 'origin/develop' into Weblate. 2020-11-20 16:17:25 +00:00
Travis Ralston 5f47077a30
Merge pull request #5385 from matrix-org/travis/msc-send-widget-events
Add new widget API actions for changing rooms and sending/receiving events
2020-11-20 09:17:18 -07:00
Weblate 1a344ea0ed Merge branch 'origin/develop' into Weblate. 2020-11-20 16:15:07 +00:00
Tuomas Hietala 02d9ff3455 Translated using Weblate (Finnish)
Currently translated at 82.0% (2168 of 2642 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fi/
2020-11-20 16:15:07 +00:00
Michael Telatynski 8c2f1b4342
Merge pull request #5434 from matrix-org/t3chguy/fix/15755
Revert room header click behaviour to opening room settings
2020-11-20 16:14:49 +00:00