Commit graph

18550 commits

Author SHA1 Message Date
Michael Telatynski
5c5c095737
Merge pull request #4350 from matrix-org/t3chguy/default_home
Add new default home page fallback
2020-04-07 14:46:23 +01:00
Michael Telatynski
b5e6f8b8c1 Iterate PR
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-07 13:34:10 +01:00
David Baker
bce22c620f Don't show spinner over encryption setup dialogs
Fixes https://github.com/vector-im/riot-web/issues/13051
2020-04-07 13:08:18 +01:00
Weblate
b5d77d2774 Merge branch 'origin/develop' into Weblate. 2020-04-07 11:48:03 +00:00
J. Ryan Stinnett
b8a57aa6f2
Merge pull request #4351 from matrix-org/jryans/check-more-account-data
Check more account data in toast listener
2020-04-07 12:47:57 +01:00
Weblate
c2eeaee219 Merge branch 'origin/develop' into Weblate. 2020-04-07 11:31:10 +00:00
David Baker
5b263f1905
Merge pull request #4353 from matrix-org/dbkr/start_presence_after_client_init
Don't try to send presence updates until the client is started
2020-04-07 12:31:04 +01:00
David Baker
8d68a4ab52 Don't try to send presence updates until the client is started
Otherwise we can start making API reqiests which can fail which
can trigger things like the soft logout code.

Fixes https://github.com/vector-im/riot-web/issues/12943
2020-04-07 12:07:41 +01:00
Weblate
aea8c3248c Merge branch 'origin/develop' into Weblate. 2020-04-07 10:55:31 +00:00
Slavi Pantaleev
0dd3ded2a9 Translated using Weblate (Bulgarian)
Currently translated at 84.9% (1924 of 2266 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2020-04-07 10:55:31 +00:00
Michael Telatynski
90255be499 Fix copy button on code blocks when there is no code just pre
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-07 11:17:19 +01:00
J. Ryan Stinnett
971c57552b Check more account data in toast listener
Since any change to cross-signing or secret storage account data may affect the
outcome of checks in the toast listener, we need to broaden the account data
listener there to re-run for changes to all such bits of account data.

Fixes https://github.com/vector-im/riot-web/issues/13048
2020-04-07 10:57:10 +01:00
Michael Telatynski
4d002bd24d delint
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-07 10:51:51 +01:00
Michael Telatynski
faab35738f Add new default home page fallback
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-07 10:48:56 +01:00
Travis Ralston
53f4820e8e Appease the linter 2020-04-06 16:08:43 -06:00
Travis Ralston
2ec7f2290c Support Jitsi information from client .well-known
It can be useful for the homeserver to support a dedicated Jitsi instance instead of requiring that all their users change/update their configs manually.
2020-04-06 16:04:41 -06:00
Travis Ralston
bdeba252ec Support deactivating your account with SSO
Fixes https://github.com/vector-im/riot-web/issues/12940
2020-04-06 15:42:06 -06:00
Weblate
b638f43873 Merge branch 'origin/develop' into Weblate. 2020-04-06 15:51:13 +00:00
J. Ryan Stinnett
a0d54bd43a Clear sessionStorage on sign out
The browser's `sessionStorage` is only used for composer history today, but
still we should also clear this on sign out for those on shared computers, etc.

Fixes https://github.com/vector-im/riot-web/issues/13041
2020-04-06 16:40:53 +01:00
Zoe
959801cf2f Special-case certain msgtypes for notifications 2020-04-06 16:26:04 +01:00
Weblate
6eee8484e8 Merge branch 'origin/develop' into Weblate. 2020-04-06 12:43:38 +00:00
Zoe
0e1341c498
Merge pull request #4341 from matrix-org/foldleft/12843-resend-requests
Re-request room keys after auth
2020-04-06 13:43:32 +01:00
Weblate
b207936ed4 Merge branch 'origin/develop' into Weblate. 2020-04-06 11:05:49 +00:00
Karol Kosek
60e3f55f5a Translated using Weblate (Polish)
Currently translated at 61.3% (1388 of 2266 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2020-04-06 11:05:49 +00:00
MamasLT
2778f1fa51 Translated using Weblate (Lithuanian)
Currently translated at 43.6% (987 of 2266 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/lt/
2020-04-06 11:05:46 +00:00
random
faae7d0b1b Translated using Weblate (Italian)
Currently translated at 100.0% (2266 of 2266 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2020-04-06 11:05:42 +00:00
Melvyn Laïly
39edfc7c05 Translated using Weblate (French)
Currently translated at 100.0% (2266 of 2266 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2020-04-06 11:05:41 +00:00
Kévin C
340fd6914f Translated using Weblate (French)
Currently translated at 100.0% (2266 of 2266 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2020-04-06 11:05:41 +00:00
Stanislav Lukeš
da9fbba37d Translated using Weblate (Czech)
Currently translated at 96.4% (2184 of 2266 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/cs/
2020-04-06 11:05:40 +00:00
Jeff Huang
0b549ddf7f Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2266 of 2266 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2020-04-06 11:05:38 +00:00
Besnik Bleta
a5856042b1 Translated using Weblate (Albanian)
Currently translated at 99.7% (2259 of 2266 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2020-04-06 11:05:37 +00:00
Michael Telatynski
fc74d927c0 import VelocityBounce sync as it is *tiny* (481B)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-04 17:23:19 +01:00
Weblate
334d76bcf9 Merge branch 'origin/develop' into Weblate. 2020-04-03 19:33:47 +00:00
Michael Telatynski
fe401ce4da
Merge branch 'develop' into t3chguy/xsigning/fix_userinfo_e2eicon 2020-04-03 18:38:30 +01:00
Weblate
956d354ce7 Merge branch 'origin/develop' into Weblate. 2020-04-03 16:01:59 +00:00
random
4c46ae1864 Translated using Weblate (Italian)
Currently translated at 100.0% (2258 of 2258 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2020-04-03 16:01:59 +00:00
@a2sc:matrix.org
fd5a7ad74d Translated using Weblate (German)
Currently translated at 76.7% (1731 of 2258 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2020-04-03 16:01:58 +00:00
Jonathan
c0dff26235 Translated using Weblate (German)
Currently translated at 76.7% (1731 of 2258 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2020-04-03 16:01:58 +00:00
@a2sc:matrix.org
e8848892f2 Translated using Weblate (German)
Currently translated at 76.7% (1731 of 2258 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2020-04-03 15:55:20 +00:00
Jonathan
2c29172d70 Translated using Weblate (German)
Currently translated at 76.7% (1731 of 2258 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2020-04-03 15:55:19 +00:00
@a2sc:matrix.org
aaad265190 Translated using Weblate (German)
Currently translated at 76.7% (1731 of 2258 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2020-04-03 15:55:03 +00:00
Bruno Windels
adead76882 Merge branch 'develop' into bwindels/selfverifux 2020-04-03 17:53:07 +02:00
Bruno Windels
37289bc832 i18n 2020-04-03 17:05:20 +02:00
Bruno Windels
364421b088 adjust self-verification copy in incoming verif req toast 2020-04-03 17:04:58 +02:00
Bruno Windels
cdbd4da0e4 adjust copy for self-verification in verification panel 2020-04-03 17:04:29 +02:00
Bruno Windels
030d594e67 for self-verif, mention which device, not user we're verifying in panel 2020-04-03 17:03:37 +02:00
Weblate
a0805e8a55 Merge branch 'origin/develop' into Weblate. 2020-04-03 12:28:46 +00:00
Bruno Windels
c15fa2ba0c
Merge pull request #4334 from matrix-org/bwindels/qr-reciprocate
QR code reciprocation
2020-04-03 12:28:41 +00:00
Weblate
20c6dc208c Merge branch 'origin/develop' into Weblate. 2020-04-03 11:52:58 +00:00
Bruno Windels
2698751429
Merge pull request #4339 from jungeonkim/develop
Fix Hangul typing does not work properly
2020-04-03 11:52:53 +00:00
JungEon Kim
94236de637 Fix Hangul typing does not work properly
compositionstart event may fire in the meantime because
compositionend event is being processed asynchronously.

Signed-off-by: JungEon Kim <me@jungeon.kim>
2020-04-03 20:43:34 +09:00
Zoe
0102876e40 Re-request room keys after auth 2020-04-03 11:49:08 +01:00
Weblate
c46358c4bb Merge branch 'origin/develop' into Weblate. 2020-04-03 10:27:37 +00:00
Bruno Windels
9407df3da0
Merge pull request #4336 from matrix-org/bwindels/fixverifytoastaftercompletesecurity
Fix: dismiss setup encryption toast if cross-signing is ready
2020-04-03 10:27:32 +00:00
Weblate
257e2e7266 Merge branch 'origin/develop' into Weblate. 2020-04-03 10:07:54 +00:00
Kévin C
4b5e2198fd Translated using Weblate (French)
Currently translated at 100.0% (2256 of 2256 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2020-04-03 10:07:54 +00:00
J. Ryan Stinnett
cabaf36794
Merge pull request #4340 from matrix-org/jryans/read-marker-groupers
Fix read marker visibility for grouped events
2020-04-03 11:07:46 +01:00
J. Ryan Stinnett
86f39ee0ee Fix read marker visibility for grouped events
The recent "groupers" which extracted out timeline grouping logic forgot to
pass through the last event state for read marker computation. This causes the
read marker to become visible when e.g. returning to room if it was last placed
inside a grouped set of events (currently room creation and membership events).

Regressed by https://github.com/matrix-org/matrix-react-sdk/pull/4059
Related to https://github.com/vector-im/riot-web/issues/12338
2020-04-03 01:14:31 +01:00
Bruno Windels
2ee780caa2 pass isSelf flag to sas component 2020-04-02 18:28:14 +02:00
Bruno Windels
6bb6885578 adjust sas copy to use device -> session 2020-04-02 18:28:01 +02:00
Bruno Windels
cc9c5cabb3 adapt encryption info to self-verification
- hide text when shown in a dialog
 - adapt "waiting for ... to accept" text to self-verif
2020-04-02 17:51:25 +02:00
Bruno Windels
081baa2359 set dialog title for self-verification
use request.isSelfVerification helper
2020-04-02 17:51:06 +02:00
Bruno Windels
009941a6ac Merge branch 'bwindels/qr-reciprocate' into bwindels/selfverifux 2020-04-02 16:57:44 +02:00
Bruno Windels
1baaafe7b9 some comments to explain the mess 2020-04-02 16:44:42 +02:00
Bruno Windels
0307361fa2 more polish for self-verification 2020-04-02 16:42:39 +02:00
Weblate
2f0d409708 Merge branch 'origin/develop' into Weblate. 2020-04-02 14:30:06 +00:00
Nils J. Haugen
63ed6c3dac Translated using Weblate (Norwegian Nynorsk)
Currently translated at 59.6% (1345 of 2256 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nn/
2020-04-02 14:30:06 +00:00
call_xz
2b7bbe7013 Translated using Weblate (Japanese)
Currently translated at 55.1% (1244 of 2256 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ja/
2020-04-02 14:30:01 +00:00
David Baker
705fd57a4b Fix spurious extra devices on registration
We send a parameter to prevent being immediately logged in after
registration, but we regressed it from snake case to camelcase
during the course of cross-signing dev.

Fixes https://github.com/vector-im/riot-web/issues/12865
2020-04-02 15:09:33 +01:00
Bruno Windels
ee61a3aff6 dismiss setup encryption toast if cross-signing is ready 2020-04-02 16:07:55 +02:00
Bruno Windels
1f65cfb7f6 polish design and disable buttons after click 2020-04-02 13:44:19 +02:00
Bruno Windels
ccf6c9efdc fixup: more i18n 2020-04-02 13:44:19 +02:00
Bruno Windels
a4f448d4ca update i18n 2020-04-02 13:44:19 +02:00
Bruno Windels
119fd2f519 fixup: these are actually on the verifier 2020-04-02 13:44:19 +02:00
Bruno Windels
fd04f248c4 fix proptype typo 2020-04-02 13:44:19 +02:00
Bruno Windels
00b1afe0fa first go at reciprocate UX 2020-04-02 13:44:19 +02:00
Bruno Windels
1353ddaa96 move qr code data generation to js-sdk 2020-04-02 13:41:19 +02:00
Weblate
ed3642f9b2 Merge branch 'origin/develop' into Weblate. 2020-04-02 10:59:59 +00:00
call_xz
a327cf9d60 Translated using Weblate (Japanese)
Currently translated at 55.1% (1244 of 2256 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ja/
2020-04-02 10:59:59 +00:00
random
43bfa3127e Translated using Weblate (Italian)
Currently translated at 100.0% (2256 of 2256 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2020-04-02 10:59:57 +00:00
David Baker
74186740ee Fix the edit messager composer
Broken in https://github.com/matrix-org/matrix-react-sdk/pull/4313
Fixes https://github.com/vector-im/riot-web/issues/13001
2020-04-02 11:30:43 +01:00
Weblate
90b749b02c Merge branch 'origin/develop' into Weblate. 2020-04-02 08:51:07 +00:00
Nils J. Haugen
0f1ebb0107 Translated using Weblate (Norwegian Nynorsk)
Currently translated at 57.0% (1287 of 2256 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nn/
2020-04-02 08:51:07 +00:00
Jeff Huang
87ba5f4c8a Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2256 of 2256 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2020-04-02 08:51:04 +00:00
Michael Telatynski
6db51cf9aa
Merge pull request #4321 from matrix-org/t3chguy/room_settings_notif_icon
Fix Room Settings Dialog Notifications tab icon
2020-04-02 09:50:57 +01:00
Weblate
1f8bb54a2b Merge branch 'origin/develop' into Weblate. 2020-04-02 00:56:47 +00:00
Nils J. Haugen
d19ef7cddd Translated using Weblate (Norwegian Nynorsk)
Currently translated at 55.4% (1250 of 2256 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nn/
2020-04-02 00:56:47 +00:00
Nils J. Haugen
ec49dccadc Translated using Weblate (Norwegian Nynorsk)
Currently translated at 52.9% (1194 of 2256 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nn/
2020-04-01 23:51:05 +00:00
Nils J. Haugen
9d33d16104 Translated using Weblate (Norwegian Nynorsk)
Currently translated at 52.9% (1194 of 2256 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nn/
2020-04-01 23:51:05 +00:00
J. A. Durieux
4402398d90 Translated using Weblate (Dutch)
Currently translated at 94.1% (2123 of 2256 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2020-04-01 23:50:56 +00:00
Travis Ralston
c5cf04f6d2 More appeasing of the linter 2020-04-01 16:25:59 -06:00
Travis Ralston
8e405dda2e Fix soft crash when editing message
Fixes https://github.com/matrix-org/riot-web-rageshakes/issues/2504
2020-04-01 16:22:42 -06:00
Travis Ralston
31ec984c86 Actually appease the linter 2020-04-01 14:49:39 -06:00
Travis Ralston
5c2841323e Appease the linter by turning it off 2020-04-01 14:45:54 -06:00
Travis Ralston
f2c41a5da7 Silence another console.warn that should have been a log 2020-04-01 14:40:51 -06:00
Travis Ralston
47e5cfecf2 Silence usages of componentWillReceiveProps
For https://github.com/vector-im/riot-web/issues/12877
2020-04-01 14:35:39 -06:00
Travis Ralston
ab6bd4104f Flag componentWillUpdate as UNSAFE in MatrixChat
For https://github.com/vector-im/riot-web/issues/12877
2020-04-01 14:32:35 -06:00
Travis Ralston
0bb8973ee6 Move rendering of PersistedElements into other lifecycle stages
For https://github.com/vector-im/riot-web/issues/12877

Original error:
```
Warning: Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.

Check the render method of PersistedElement.
    in PersistedElement (created by AppTile)
    in div (created by AppTile)
    in div (created by AppTile)
    in AppTile (created by AppsDrawer)
    in div (created by AppsDrawer)
    in div (created by AppsDrawer)
    in AppsDrawer (created by AuxPanel)
    in div (created by AutoHideScrollbar)
    in AutoHideScrollbar (created by AuxPanel)
    in AuxPanel (created by RoomView)
    in div (created by RoomView)
    in div (created by MainSplit)
    in MainSplit (created by RoomView)
    in ErrorBoundary (created by RoomView)
    in main (created by RoomView)
    in RoomView (created by LoggedInView)
    in div (created by LoggedInView)
    in DragDropContext (created by LoggedInView)
    in div (created by LoggedInView)
    in LoggedInView (created by MatrixChat)
    in ErrorBoundary (created by MatrixChat)
    in MatrixChat
```
2020-04-01 14:30:57 -06:00
Weblate
65c7ec92a8 Merge branch 'origin/develop' into Weblate. 2020-04-01 20:14:56 +00:00
Travis Ralston
05b58dc81d
Merge pull request #4330 from matrix-org/travis/react-warnings/4-false-positives
Use console.log in place of console.warn for less warnings
2020-04-01 14:14:51 -06:00