Commit Graph

62531 Commits

Author SHA1 Message Date
Weblate 788ee3a0e9 Merge branch 'origin/develop' into Weblate. 2020-04-22 12:59:49 +00:00
Michael Telatynski ca3ddb3760 Merge pull request #4461 from matrix-org/t3chguy/register_email_not_possible
If user cannot set email during registration don't tell them to
2020-04-22 13:59:43 +01:00
Michael Telatynski 59cc7f0867 here's hoping Synapse doesn't actually try to send an email :D
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-22 13:50:40 +01:00
Michael Telatynski e5a232b0d8 make typescript happy
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-22 13:41:29 +01:00
Michael Telatynski 162531f1c5 try to enable e2e test synapse registration 3pid support
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-22 13:36:14 +01:00
Weblate 2342e7cf2f Merge branch 'origin/develop' into Weblate. 2020-04-22 12:29:22 +00:00
Michael Telatynski f2a91e7039 Merge pull request #4463 from matrix-org/t3chguy/fix_autocomplete
Fix post-ts autocomplete, it is not null
2020-04-22 13:29:17 +01:00
Michael Telatynski d486782dd4 convert app.js to app.tsx
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-22 13:29:12 +01:00
Michael Telatynski 54e976f5a8 delint
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-22 13:22:33 +01:00
Michael Telatynski fc828378fa Fix post-ts autocomplete, it is not null
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-22 13:18:54 +01:00
Michael Telatynski 01abb61e9a C
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-22 13:08:33 +01:00
MacLemon 5a39eafc37 Optimized PNG image assets by recompressing without affecting quality.
SVG assets have not been altered to maintain readability.
2020-04-22 14:04:55 +02:00
Michael Telatynski d915e613dc Convert promise utility module to tyepscript
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-22 12:27:39 +01:00
Michael Telatynski 89345c9e8b Convert MatrixChat to an ES6 Class Component
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-22 11:55:03 +01:00
Michael Telatynski 4bbd507e7a If user cannot set email during registration don't tell them to
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-22 11:33:45 +01:00
Weblate 7971f993cd Merge branch 'origin/develop' into Weblate. 2020-04-22 09:27:30 +00:00
Michael Telatynski 7ffa1ba1bd Merge pull request #13296 from vector-im/t3chguy/autocomplete
add config option to tsc resolveJsonModule
2020-04-22 10:27:25 +01:00
Weblate c553d81b7c Merge branch 'origin/develop' into Weblate. 2020-04-22 09:20:28 +00:00
Michael Telatynski dd1f1b3092 Merge pull request #4452 from matrix-org/t3chguy/autocomplete
Convert autocomplete stuff to TypeScript
2020-04-22 10:20:24 +01:00
Weblate ac0c2d89f0 Merge branch 'origin/develop' into Weblate. 2020-04-22 09:15:31 +00:00
rkfg cec4330618 Translated using Weblate (Russian)
Currently translated at 100.0% (28 of 28 strings)

Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/ru/
2020-04-22 09:15:30 +00:00
Michael Telatynski 9632f296e1 Merge pull request #13297 from vector-im/t3chguy/autocomplete2
Fix dispatcher import to be extension agnostic
2020-04-22 10:15:25 +01:00
Weblate f61f0eea85 Merge branch 'origin/develop' into Weblate. 2020-04-22 09:15:10 +00:00
Zoe cb84904638 Merge pull request #4455 from matrix-org/foldleft/devtool-verif-back
Add a back button to the devtools verifications panel
2020-04-22 10:15:05 +01:00
Jorik Schellekens 04e4c7804d Add scaling to develop config. 2020-04-22 09:53:13 +01:00
Bruno Windels 84552048e6 Merge pull request #4457 from matrix-org/bwindels/waitforxsignkeystoverify-rc
Fix: wait until cross-signing keys are fetched to show verify button
2020-04-22 08:12:52 +00:00
Weblate 8075c63dc7 Merge branch 'origin/develop' into Weblate. 2020-04-22 07:36:12 +00:00
rkfg 7d89c385fa Translated using Weblate (Russian)
Currently translated at 91.0% (2087 of 2294 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2020-04-22 07:36:12 +00:00
random bc989abff6 Translated using Weblate (Italian)
Currently translated at 100.0% (2294 of 2294 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2020-04-22 07:36:10 +00:00
Kévin C 1958e55677 Translated using Weblate (French)
Currently translated at 100.0% (2294 of 2294 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2020-04-22 07:36:07 +00:00
Jeff Huang 927142a1bb Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2294 of 2294 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2020-04-22 07:36:07 +00:00
Bruno Windels 47cf4afa90 Merge pull request #4456 from matrix-org/bwindels/waitforxsignkeystoverify
Fix: wait until cross-signing keys are fetched to show verify button
2020-04-22 07:35:58 +00:00
Travis Ralston 3a360b91b9 Update logging for unmanaged widgets, and add TODO comments for other areas
Just a minor thing that is bothersome. Renaming classes and functions is a bit more of an impact than is worth right now, so have settled for littering TODO comments all over the place.
2020-04-22 00:34:08 -06:00
Travis Ralston d851f2e45f Fix OpenID requests from widgets
Fixes https://github.com/vector-im/riot-web/issues/13131

Widgets can request an OpenID token to authenticate the user when the widget is missing authentication information. A common case for this is the Dimension sticker picker: sometimes the Riot is running in doesn't have the configuration to match the Dimension instance, so Riot rightly refuses to send an auth token to the widget. When this happens, it requests a token through postMessage().

There's a toggle on the permission dialog to remember the setting, which is the widget's security key. As an added measure, the security key generation ensures the widget URL matches as the 'remember this choice' toggle will silently work in the background, and it could be dangerous if the widget's URL changed and Riot secretly allows the widget to identify the user. This check was failing because the WidgetMessaging class was being set up with the rendered URL, which will not match the widget's URL at all. To fix this, we simply use the widget's URL to set up the messaging, which by proxy uses the right URL in calculating the security key.
2020-04-22 00:27:20 -06:00
Travis Ralston f54e99c708 Use WidgetType more often to avoid breaking new sticker pickers
Turns out that setUserWidget() wasn't updated to take a real WidgetType, but the code in ScalarMessaging thought it did. This leads to integration managers trying to add sticker widgets with an object `type` rather than a string `type`, which doesn't work.

This updates other code paths which call into the various widget classes to use WidgetType more often. The actual code path for fixing widgets is resolved in WidgetUtils for the setUserWidget function body.
2020-04-21 16:01:10 -06:00
Travis Ralston 601816862f Clarify that the .well-known method for Jitsi isn't available yet
We should remove this at release time, but if we forget it should be vaguely worded well enough.

People keep assuming it'll just work even though the feature hasn't launched yet. The original theory was that a release was around the corner, but it's since been pushed back several times.
2020-04-21 13:27:05 -06:00
Michael Telatynski fd10ab840e undo unrelated change
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-21 18:10:47 +01:00
Michael Telatynski 65b3adfbe3 discard propTypes some more
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-21 18:08:01 +01:00
Michael Telatynski 598cf21684 discard propTypes.
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-21 18:01:23 +01:00
Bruno Windels d842944f61 wait until cross-signing keys are fetched to show verify button 2020-04-21 18:42:09 +02:00
Bruno Windels b8dd68dda2 wait until cross-signing keys are fetched to show verify button 2020-04-21 18:36:15 +02:00
Zoe 61c6c8de45 Add a back button to the devtools verifications panel 2020-04-21 16:27:31 +01:00
Travis Ralston 25dbeca083 Fix default_federate settting description 2020-04-21 09:27:03 -06:00
Jorik Schellekens 7d74e789ca Fix slight innacuracy. 2020-04-21 15:18:22 +01:00
David Baker c244d75fcb Merge pull request #4454 from matrix-org/dbkr/create_secret_storage_handle_load_error_rel
Handle load error in create secret storage dialog
2020-04-21 10:43:40 +01:00
Weblate 88b923ab33 Merge branch 'origin/develop' into Weblate. 2020-04-21 09:27:27 +00:00
Kévin C 89058f057d Translated using Weblate (French)
Currently translated at 100.0% (2293 of 2293 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2020-04-21 09:27:26 +00:00
David Baker 02ed921d57 Merge pull request #4451 from matrix-org/dbkr/create_secret_storage_handle_load_error
Handle load error in create secret storage dialog
2020-04-21 10:27:21 +01:00
David Baker 39b3675583 Handle load error in create secret storage dialog 2020-04-21 10:24:04 +01:00
Jorik Schellekens abcf0b73c0 Docs on font-scaling 2020-04-21 10:05:05 +01:00