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
Michael Telatynski
9d5e3d6d9a
Fix dispatcher import to be extension agnostic
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2020-04-21 10:03:59 +01:00
Jorik Schellekens
201053963d
Strings should be explicit
...
Co-Authored-By: Travis Ralston <travpc@gmail.com >
2020-04-21 10:01:45 +01:00
Michael Telatynski
e00d2b9589
Enable esModuleInterop and iterate PR
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2020-04-21 10:01:05 +01:00
Michael Telatynski
bf891c85e8
Enable esModuleInterop and iterate PR
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2020-04-21 10:01:05 +01:00
David Baker
ce65df6a98
Merge remote-tracking branch 'origin/develop' into dbkr/create_secret_storage_handle_load_error
2020-04-21 09:40:44 +01:00
Weblate
c0827e04df
Merge branch 'origin/develop' into Weblate.
2020-04-21 06:32:12 +00:00
Travis Ralston
c16ff9dc11
Merge pull request #13260 from MichaelKohler/issue13089-config-doc
...
Document more config options in config.md (fixes #13089 )
2020-04-21 00:32:07 -06:00
Weblate
53377bba10
Merge branch 'origin/develop' into Weblate.
2020-04-21 06:30:56 +00:00
rkfg
5dd9dd40d8
Translated using Weblate (Russian)
...
Currently translated at 89.8% (2058 of 2292 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2020-04-21 06:30:56 +00:00
Tuomas Hietala
2d6e4fbe72
Translated using Weblate (Finnish)
...
Currently translated at 91.0% (2086 of 2292 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2020-04-21 06:30:55 +00:00
Jeff Huang
500f96ef96
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (2292 of 2292 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2020-04-21 06:30:53 +00:00
Travis Ralston
5dca84379f
Merge pull request #4382 from matrix-org/travis/addwidget-improvements
...
Allow iframes and Jitsi URLs in /addwidget
2020-04-21 00:30:46 -06:00
Michael Telatynski
3b245ee678
add more type annotations
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2020-04-20 21:05:00 +01:00
Michael Telatynski
8398e83d33
add more type annotations
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2020-04-20 20:35:57 +01:00
Michael Telatynski
b3a87b56fa
tsc resolveJsonModule
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2020-04-20 20:14:33 +01:00
Weblate
5f8a46868e
Merge branch 'origin/develop' into Weblate.
2020-04-20 19:13:14 +00:00
Michael Telatynski
3218deff3a
Merge pull request #13295 from vector-im/t3chguy/fix_tests
...
Fix tests post-js-sdk-filters change
2020-04-20 20:13:09 +01:00
Michael Telatynski
1314a8d3f9
undo unrelated change.
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2020-04-20 20:06:34 +01:00
Michael Telatynski
afabf9d4b1
Fix tests post-js-sdk-filters change
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2020-04-20 19:47:16 +01:00
Michael Telatynski
66d2a67142
deduplicate emojibase loading
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2020-04-20 19:17:58 +01:00
Michael Telatynski
5c57b9ab9b
delint
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2020-04-20 19:04:55 +01:00
Michael Telatynski
6328a60301
improve member name
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2020-04-20 19:02:27 +01:00
Michael Telatynski
fced4ea51e
Convert autocomplete stuff to TypeScript
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2020-04-20 19:00:54 +01:00
Weblate
cd62967cae
Merge branch 'origin/develop' into Weblate.
2020-04-20 17:16:17 +00:00
Travis Ralston
22b1231e9a
Merge pull request #13227 from vector-im/travis/inline-jitsi-script
...
Make Jitsi download script a JS script
2020-04-20 11:16:12 -06:00
David Baker
58c8f2188a
Handle load error in create secret storage dialog
2020-04-20 18:10:23 +01:00
Travis Ralston
4c4f67653e
Merge branch 'develop' into travis/inline-jitsi-script
2020-04-20 10:11:55 -06:00
Travis Ralston
3eadf35819
Manually undo emojibase changes in lockfile
2020-04-20 09:49:09 -06:00
Travis Ralston
3f14b31e47
Add more words to explain windows being awful
2020-04-20 09:46:52 -06:00
Travis Ralston
36f154f2b2
Name Jitsi correctly in args
...
Co-Authored-By: J. Ryan Stinnett <jryans@gmail.com >
2020-04-20 09:35:35 -06:00