Travis Ralston
a5f3318f3b
Convert view_user dispatch to prove the conversion works
...
This is a relatively obvious dispatch action that doesn't require a lot of complicated type definitions, so should be a good candidate to prove the thing works. If for some reason the thing stops working, we've done something wrong.
This also adds a bit of generic types to the dispatch call so we don't confuse the tsx parser by using `dis.dispatch(<ViewUserPayload>{...})` as it thinks that's supposed to be a component. We still get type safety, and the thing remains happy with the generics approach.
2020-05-13 21:07:50 -06:00
Travis Ralston
a3b4c2dfa0
Convert more async actions to AsyncActionPayload
2020-05-13 21:07:50 -06:00
Travis Ralston
8c72c27da9
Break out actions and payloads to their own files
...
The definitions take up a lot of space which makes it hard to see the dispatcher class, so break them out.
2020-05-13 21:07:50 -06:00
Travis Ralston
90a898d03f
Move dispatcher into a subdirectory
...
We're expecting to have a whole bunch of types for the dispatched payloads, so pull the thing into a directory we can throw them in.
2020-05-13 21:07:50 -06:00
Travis Ralston
fa83df4bde
Convert dispatcher to TypeScript and replace async usage with new class
...
Due to TypeScript and flux's types being annoying and highly typesafe, we need an AsyncActionPayload which intentionally doesn't use the 'action' property. This looks a bit awkward, though for the rare cases we do actually fire async actions it should be fine enough.
The call signature changes slightly for async events, therefore this commit also updates its usages for async events.
The `fire()` function is to be used in a future commit.
Remove biased comment
2020-05-13 21:07:50 -06:00
Jorik Schellekens
03e090f4e6
fix chevron
2020-05-13 22:55:14 +01:00
Weblate
39ccbd07cb
Merge branch 'origin/develop' into Weblate.
2020-05-13 21:33:16 +00:00
Stanislav Lukeš
226e4b297a
Translated using Weblate (Czech)
...
Currently translated at 95.4% (2201 of 2307 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/cs/
2020-05-13 21:33:16 +00:00
Travis Ralston
9dd93f14ba
Merge pull request #4555 from matrix-org/travis/sso-xsigning
...
Add copy to SSO prompts during cross-signing setup
2020-05-13 15:33:09 -06:00
Jorik Schellekens
fc6e5227ac
FIx roomsublist heights.
...
- also fiddles the font size numbers
2020-05-13 22:24:22 +01:00
Jorik Schellekens
5c2abcf1a4
Show username on continuations
2020-05-13 17:05:37 +01:00
Weblate
bed6c0b94c
Merge branch 'origin/develop' into Weblate.
2020-05-13 16:02:50 +00:00
David Baker
8e31040c1a
Merge pull request #4592 from matrix-org/dbkr/fix_persistent_widgets_desktop_2
...
Re-fix OpenID requests from widgets
2020-05-13 17:02:44 +01:00
David Baker
50107ebe47
Re-fix OpenID requests from widgets
...
https://github.com/matrix-org/matrix-react-sdk/pull/4591 reverted
https://github.com/matrix-org/matrix-react-sdk/pull/4459 . We need
to pass both URLs as we need both the wURL (for the widget's 'identity'
ie. OpenID) and the URL that's actually in the iframe (for the
messaging).
2020-05-13 16:10:40 +01:00
Jorik Schellekens
20ec900405
Set font range
2020-05-13 15:36:53 +01:00
Jorik Schellekens
fea219915f
fix code regeression
2020-05-13 15:26:11 +01:00
Jorik Schellekens
328bb7bcaf
Remove all animations
2020-05-13 15:24:08 +01:00
Jorik Schellekens
312b616d77
fix i18n
2020-05-13 14:11:16 +01:00
Jorik Schellekens
3f04f5163a
Implement more nitpicks
...
- fix avatar inital aligment
- right align names
- set flair height to avatar's
- fix conditions for resizing to be more stable
2020-05-13 14:04:46 +01:00
Weblate
90afd5ef9a
Merge branch 'origin/develop' into Weblate.
2020-05-13 11:47:59 +00:00
David Baker
ef2678db93
Merge pull request #4591 from matrix-org/dbkr/fix_persistent_widgets_desktop
...
Fix persistent widgets on desktop / http
2020-05-13 12:47:54 +01:00
David Baker
92824411e8
Fix persistent widgets on desktop / http
...
WidgetMessaging needs the URL of the widget that gets rendered into
the iframe because that's where the postmessages will be coming from.
Fixes https://github.com/vector-im/riot-web/issues/13369
2020-05-13 12:33:10 +01:00
Michael Telatynski
51f59c6c32
UserView, show Welcome page in the mid panel instead of empty space
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-05-13 11:40:56 +01:00
Weblate
9d079326f3
Merge branch 'origin/develop' into Weblate.
2020-05-13 10:29:23 +00:00
J. Ryan Stinnett
cda691e359
Tweak Yarn docs link post-review
2020-05-13 11:29:11 +01:00
Weblate
94953d8354
Merge branch 'origin/develop' into Weblate.
2020-05-13 10:26:48 +00:00
J. Ryan Stinnett
c652d4f134
Merge pull request #4589 from chagai95/patch-2
...
Updated link and added:Yarn two is not yet used.
2020-05-13 11:26:43 +01:00
Weblate
324b663b27
Merge branch 'origin/develop' into Weblate.
2020-05-13 09:51:05 +00:00
Michael Telatynski
998b661796
Merge pull request #4578 from matrix-org/t3chguy/topic_dialog
...
Fix topic dialog not supporting escape as it didn't have a "Close"
2020-05-13 10:51:00 +01:00
Weblate
f152837345
Merge branch 'origin/develop' into Weblate.
2020-05-13 09:50:44 +00:00
Michael Telatynski
77e32977dc
Merge pull request #4579 from matrix-org/t3chguy/create_room_public
...
Default to public room when creating room from room directory
2020-05-13 10:50:38 +01:00
chagai95
d68b50feb6
Updated link and added:Yarn two is not yet used.
...
the link was broken and there was no mention of the version of yarn being used.
2020-05-13 11:49:26 +02:00
Michael Telatynski
0e05e6db86
i18n
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-05-13 10:40:23 +01:00
Michael Telatynski
d11923e2e3
Add new keyboard shortcuts for jump to unread and upload file
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-05-13 10:38:32 +01:00
Weblate
2c78eafcbd
Merge branch 'origin/develop' into Weblate.
2020-05-13 08:58:24 +00:00
Kévin C
be61968dca
Translated using Weblate (French)
...
Currently translated at 100.0% (2307 of 2307 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2020-05-13 08:58:24 +00:00
Priit Jõerüüt
cad0f38d4d
Translated using Weblate (Estonian)
...
Currently translated at 45.0% (1037 of 2307 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/et/
2020-05-13 08:58:24 +00:00
Tirifto
1cfdf7e56f
Translated using Weblate (Esperanto)
...
Currently translated at 100.0% (2307 of 2307 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eo/
2020-05-13 08:58:23 +00:00
Stanislav Lukeš
42eb36d628
Translated using Weblate (Czech)
...
Currently translated at 95.2% (2197 of 2307 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/cs/
2020-05-13 08:58:22 +00:00
Jeff Huang
52dec0cc8d
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (2307 of 2307 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2020-05-13 08:58:19 +00:00
tleydxdy
73a6fed1e3
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 61.7% (1424 of 2307 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hans/
2020-05-13 08:58:19 +00:00
Michael Telatynski
d63008f9c5
Merge pull request #4576 from matrix-org/t3chguy/kosovo2.0
...
Replace png flags and add Kosovo to country code dropdown
2020-05-13 09:58:10 +01:00
Michael Telatynski
52e3c97f8c
Revert "ImageView make clicking off it easier"
2020-05-13 06:36:14 +01:00
Michael Telatynski
d8b6b7b976
Pass screenAfterLogin through SSO in the callback url
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-05-13 06:24:04 +01:00
Jorik Schellekens
5029c3f143
Implement IRC draggable display name width
2020-05-13 02:16:43 +01:00
Travis Ralston
6d90a9d1a3
Appease the linter
2020-05-12 17:20:26 -06:00
Travis Ralston
5e86dc2d60
Update i18n strings
2020-05-12 17:20:11 -06:00
Travis Ralston
c0632d0195
Acquire a new session before enacting deactivation
...
Fixes https://github.com/vector-im/riot-web/issues/13645
Every time the checkbox value changes we acquire a new session now. This avoids us asking the server to change its direction partway through the request.
This causes a bit of UI jerk as the dialog goes from auth -> loading -> auth, however it's better than the alternative of reworking the entire UIA structure to support the `authData` dict changing. Originally this commit consisted of a `disabled` flag on the `InteractiveAuth` component which carried through to the stage's component, however it turns out that stack doesn't respect changes to the `authData` prop, which means the session ID we eventually send down is wrong (`erase: false` instead of the one with `erase: true`). Therefore, we do some logic to ensure we remount `InteractiveAuth` completely.
Further work in this area is described in https://github.com/vector-im/riot-web/issues/13646
2020-05-12 17:17:17 -06:00
Weblate
48f012ef10
Merge branch 'origin/develop' into Weblate.
2020-05-12 16:09:07 +00:00
Michael Telatynski
5783a9359e
Merge pull request #4583 from matrix-org/t3chguy/redactions-electron
...
Rename `trash (custom).svg` as electron doesn't like paths with spaces
2020-05-12 17:09:02 +01:00