Commit graph

15232 commits

Author SHA1 Message Date
Jeff Huang
dcb45d30b4 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1838 of 1838 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-10-20 10:21:31 +00:00
Besnik Bleta
1613c39a70 Translated using Weblate (Albanian)
Currently translated at 99.7% (1833 of 1838 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2019-10-20 10:21:31 +00:00
Matthew Hodgson
e632b520f2
Merge pull request #3554 from maunium/emoji-picker
Add full emoji picker for reactions
2019-10-20 11:21:24 +01:00
Tulir Asokan
b2deb548d3 Translate search button titles
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2019-10-20 12:41:16 +03:00
Tulir Asokan
438ad54701 Remove space between emojis in picker
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2019-10-20 12:31:28 +03:00
Tulir Asokan
10732e8e73 Fix license headers
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2019-10-20 12:31:21 +03:00
Tulir Asokan
be829980f6 Split inline SVGs to their own files
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2019-10-20 12:13:32 +03:00
Michael Telatynski
4de0b3c177 Clean up useEventEmitter 2019-10-19 16:48:39 +01:00
Michael Telatynski
02f8b18346 Merge branch 't3chguy/nvl/userinfo' of https://github.com/matrix-org/matrix-react-sdk into t3chguy/nvl/userinfo
 Conflicts:
	src/components/views/right_panel/UserInfo.js
2019-10-19 16:42:00 +01:00
Michael Telatynski
0e6359ab24 replace @use-it/event-listener as it doesn't like Node EE's 2019-10-19 16:39:06 +01:00
J. Ryan Stinnett
3a428efb60 Abort scroll updates when already unmounted
This checks whether we're unmounted before updating scroll state, as we use
async functions and timeouts in this area.

Fixes https://github.com/vector-im/riot-web/issues/11150
2019-10-18 18:01:57 +01:00
Tulir Asokan
75bcc3f849
Update src/editor/deserialize.js
Co-Authored-By: Bruno Windels <bruno@windels.cloud>
2019-10-18 19:58:55 +03:00
Weblate
acb397db71 Merge branch 'origin/develop' into Weblate. 2019-10-18 16:09:48 +00:00
Michael Telatynski
4494e3b61b
Merge pull request #3555 from matrix-org/t3chguy/a11y3
Accessibility fixes to autocomplete and tabpanels
2019-10-18 17:09:44 +01:00
Weblate
74d30611b1 Merge branch 'origin/develop' into Weblate. 2019-10-18 15:53:29 +00:00
J. Ryan Stinnett
7ac14e48dc
Merge pull request #3549 from matrix-org/jryans/disconnect-dead-is
Show warning dialog when changing unreachable IS
2019-10-18 16:53:25 +01:00
Walter
0c6daf4f19 Translated using Weblate (Russian)
Currently translated at 95.2% (1743 of 1831 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2019-10-18 13:49:54 +00:00
J. Ryan Stinnett
579ada3ca2 Add an overall reachability timeout of 10s
This adds a reachability timeout of 10s when checking the IS for 3PID bindings.
This ensures we stop in a reasonable time, rather than waiting for a long list
of requests to eventually timeout via some general mechanism.

Part of https://github.com/vector-im/riot-web/issues/10909
2019-10-18 12:40:50 +01:00
Michael Telatynski
7e4d429fa3 delint
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-17 19:18:14 +01:00
Michael Telatynski
93429d7c2e Break withLegacyMatrixClient into a util module
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-17 19:13:37 +01:00
Michael Telatynski
2494af37c8 Break UserInfo:RoomAdminToolsContainer into smaller components
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-17 19:08:40 +01:00
Michael Telatynski
fe46925c00 Handle LEFT Arrow as expected by Aria Treeview Widget pattern
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-17 17:49:28 +01:00
Michael Telatynski
f72ff95efb Handle ARROW_RIGHT on group node in treelist as per aria suggestions
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-17 17:30:37 +01:00
Weblate
c93b321080 Merge branch 'origin/develop' into Weblate. 2019-10-17 16:24:48 +00:00
Sava Radoš
e0d534e8e4 Translated using Weblate (Serbian (latin))
Currently translated at 3.9% (72 of 1831 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sr_Latn/
2019-10-17 16:24:48 +00:00
random
86dad09b36 Translated using Weblate (Italian)
Currently translated at 100.0% (1831 of 1831 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-10-17 16:24:46 +00:00
Szimszon
9c3b85b9ee Translated using Weblate (Hungarian)
Currently translated at 100.0% (1831 of 1831 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-10-17 16:24:46 +00:00
J. A. Durieux
86d3c5e56a Translated using Weblate (Dutch)
Currently translated at 100.0% (1831 of 1831 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2019-10-17 16:24:45 +00:00
Osoitz
1586ed85f1 Translated using Weblate (Basque)
Currently translated at 100.0% (1831 of 1831 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2019-10-17 16:24:44 +00:00
Michael Telatynski
afe2226cb8 Handle ARROW_LEFT correctly on any room tile in sublist
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-17 17:14:00 +01:00
Michael Telatynski
1286cf287e remove TODO for now
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-17 17:09:43 +01:00
Michael Telatynski
3eef1bf87e Fix tabbing through room sublist
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-17 17:03:37 +01:00
Michael Telatynski
f09a3b4281 Fix outline on RoomSubList badges
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-17 16:21:33 +01:00
Michael Telatynski
8b5d3b93f4 Prevent double read of ARIA expanded
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-17 15:59:32 +01:00
Michael Telatynski
3400808f6e Use navigation treeview aria pattern for roomlist sublists and tiles
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-17 15:53:39 +01:00
Tulir Asokan
30ffd65b6c Fix reacting to messages with reactions from other users
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2019-10-16 21:35:12 +03:00
Tulir Asokan
318754d31c Reorganize reaction sending and show if emoji is selected
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2019-10-15 19:07:04 +03:00
Tulir Asokan
7acae6dc32 Autofocus search and fix bugs
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2019-10-15 18:22:23 +03:00
Tulir Asokan
824685ae64 Redact existing reaction instead of trying to double-react
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2019-10-15 00:15:18 +03:00
Tulir Asokan
7fc12b4b13 Simplify onChangeFilter category updating
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2019-10-14 21:30:26 +03:00
Tulir Asokan
bb1a242ef0 Don't underline recently category in header if it's empty
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2019-10-14 21:03:41 +03:00
Tulir Asokan
2dad33cd3e Close menu after clicking emoji
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2019-10-14 20:45:17 +03:00
Tulir Asokan
a6e0986bf8 Improve style
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2019-10-14 20:38:09 +03:00
Tulir Asokan
e16d0bfa4d Underline visible sections in header
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2019-10-14 20:14:44 +03:00
Tulir Asokan
088c9bff9e Add recently used section and scroll to category
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2019-10-14 19:41:10 +03:00
Michael Telatynski
2de88449aa Clean up RoomSubList from stale unused code paths
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-14 16:08:56 +01:00
Michael Telatynski
d3517cdb71 actually pass role="tabpanel" to the DOM for FilePanel and NotifPanel
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-14 10:44:42 +01:00
Michael Telatynski
c882b7f332 Improve A11Y for Autocomplete Commands and DDG
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-14 10:37:10 +01:00
Aleksei Perepelkin
0d7e9bb9c7 Translated using Weblate (Russian)
Currently translated at 93.8% (1718 of 1831 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2019-10-14 07:18:42 +00:00
Aleksei Perepelkin
4273d5e9a9 Translated using Weblate (Russian)
Currently translated at 93.8% (1718 of 1831 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2019-10-14 07:09:51 +00:00
Aleksei Perepelkin
adbb20f47f Translated using Weblate (Russian)
Currently translated at 93.5% (1712 of 1831 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2019-10-14 06:22:16 +00:00
Aleksei Perepelkin
c0dab5c3cc Translated using Weblate (Russian)
Currently translated at 93.4% (1711 of 1831 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2019-10-14 06:16:38 +00:00
Tulir Asokan
497b779334 Add full emoji picker for reactions
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2019-10-14 00:32:11 +03:00
Tulir Asokan
a95f7be22d Persist list indexes when editing
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2019-10-13 14:31:32 +03:00
Tulir Asokan
29367766fd Fix "decend" typo
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2019-10-13 14:31:32 +03:00
Tulir Asokan
a160bdf4df Persist code block language when editing
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2019-10-13 14:31:32 +03:00
Nils J. Haugen
07dd088c10 Translated using Weblate (Norwegian Nynorsk)
Currently translated at 62.3% (1141 of 1831 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nn/
2019-10-13 10:53:22 +00:00
Szimszon
4d505900d4 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1831 of 1831 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-10-13 10:53:20 +00:00
Jeff Huang
c41d17bb44 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1831 of 1831 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-10-13 10:53:20 +00:00
Tulir Asokan
2555fcb38f Fix reply fallback being included in edit m.new_content
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2019-10-13 13:32:09 +03:00
J. Ryan Stinnett
e6a81c5733 Show warning dialog when changing unreachable IS
If the IS is unreachable, this handles the error by showing a warning
encouraging the user to check after their personal data and resolve the
situation, but still allows them to continue if they want.

Fixes https://github.com/vector-im/riot-web/issues/10909
2019-10-11 15:57:12 +01:00
Weblate
a975ecb009 Merge branch 'origin/develop' into Weblate. 2019-10-11 14:54:19 +00:00
송태섭
cb11182e20 Translated using Weblate (Korean)
Currently translated at 100.0% (1831 of 1831 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-10-11 14:54:19 +00:00
Kévin C
03d1454ee7 Translated using Weblate (French)
Currently translated at 100.0% (1831 of 1831 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-10-11 14:54:18 +00:00
J. Ryan Stinnett
d7631ed9f8 Catch errors in Settings when IS is unreachable
A few bits of Settings try to talk to the IS when Settings is opened. This
changes them to handle failure by logging warnings to the console.
2019-10-11 15:52:15 +01:00
Travis Ralston
61cc6c8293 Correctly update the banned users list when a user is unbanned
Fixes https://github.com/vector-im/riot-web/issues/11123

Error wasn't actually the user being unbanned twice - it was a React error about "cannot call enqueueForceUpdate of undefined", which was a binding problem with onUnbanned. However, fixing that didn't do the intended thing - the user was still shown in the settings. We now just listen for membership and  fix it that way.
2019-10-11 12:56:48 +01:00
Weblate
ab05e9eaf7 Merge branch 'origin/develop' into Weblate. 2019-10-11 08:53:32 +00:00
Kaa Jii
df01af0f66 Translated using Weblate (Italian)
Currently translated at 100.0% (1830 of 1830 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-10-11 08:53:32 +00:00
Michael Telatynski
6e33cc0650
Merge pull request #3433 from matrix-org/t3chguy/nvl/react16/EventListSummary
Summarise state events after room creation
2019-10-11 09:53:26 +01:00
Weblate
91925781a7 Merge branch 'origin/develop' into Weblate. 2019-10-10 16:52:15 +00:00
Michael Telatynski
dcc948f43d
Merge pull request #3543 from matrix-org/t3chguy/timeline_keyboard_focus
Don't intercept TAB on the app outside of the composer, fix tabIndex > 0
2019-10-10 17:52:10 +01:00
Weblate
557c78af27 Merge branch 'origin/develop' into Weblate. 2019-10-10 16:46:31 +00:00
David Baker
c2a5253479
Merge pull request #3546 from matrix-org/dbkr/malformed_events
Add some type checking on event body
2019-10-10 17:46:26 +01:00
David Baker
847acff894 Add some type checking on event body 2019-10-10 17:36:22 +01:00
Weblate
0d350c92ef Merge branch 'origin/develop' into Weblate. 2019-10-10 14:57:25 +00:00
random
efa5ae0aac Translated using Weblate (Italian)
Currently translated at 99.9% (1828 of 1830 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-10-10 14:57:25 +00:00
Bruno Windels
f8a610687f don't persist caret when selection is missing
so caret will be put back at end of editor when remounting
2019-10-10 16:40:03 +02:00
Bruno Windels
905aa81bf8 safeguard if the offsetnode is null when determining caret position 2019-10-10 16:39:41 +02:00
Michael Telatynski
5643743167 Don't intercept TAB on the app outside of the composer, fix tabIndex > 0
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-10 14:13:29 +01:00
Weblate
2d94fe8852 Merge branch 'origin/develop' into Weblate. 2019-10-10 08:39:38 +00:00
Michael Telatynski
7160922b77
Merge pull request #3541 from matrix-org/t3chguy/fix_150rc1
SettingsFlag always run ToggleSwitch fully-controlled
2019-10-10 09:39:33 +01:00
Weblate
fb50db5695 Merge branch 'origin/develop' into Weblate. 2019-10-10 08:13:13 +00:00
Sava Radoš
eb3e2e5049 Translated using Weblate (Serbian (latin))
Currently translated at 1.2% (22 of 1830 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sr_Latn/
2019-10-10 08:13:13 +00:00
Sava Radoš
7a3bf5639f Translated using Weblate (Serbian)
Currently translated at 55.7% (1020 of 1830 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sr/
2019-10-10 08:13:12 +00:00
송태섭
6427054d66 Translated using Weblate (Korean)
Currently translated at 100.0% (1830 of 1830 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-10-10 08:13:12 +00:00
jadiof
103d7fe748 Translated using Weblate (German)
Currently translated at 84.0% (1537 of 1830 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2019-10-10 08:13:11 +00:00
Kévin C
c37ea98cd0 Translated using Weblate (French)
Currently translated at 100.0% (1830 of 1830 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-10-10 08:13:11 +00:00
Claus Conrad
116425f346 Translated using Weblate (Danish)
Currently translated at 29.6% (542 of 1830 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/da/
2019-10-10 08:13:11 +00:00
Michael Telatynski
0d42b8629e remove SettingsFlag manualSave altogether
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-09 23:20:59 +01:00
Sava Radoš
09978e40eb Added translation using Weblate (Serbian (latin)) 2019-10-09 21:55:50 +00:00
Michael Telatynski
685c2f494a actually always run fully controlled
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-09 22:33:14 +01:00
Michael Telatynski
2b9c102f07 SettingsFlag always run ToggleSwitch fully-controlled
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-09 22:27:49 +01:00
Michael Telatynski
58317b1608 Use Keyboard Key variables instead of hardcoded strings
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-09 19:59:11 +01:00
Weblate
5fba897754 Merge branch 'origin/develop' into Weblate. 2019-10-09 15:26:28 +00:00
Szimszon
3771b9fd60 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1830 of 1830 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-10-09 15:26:28 +00:00
Tentarial
fddf13aa49 Translated using Weblate (German)
Currently translated at 84.0% (1537 of 1830 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2019-10-09 15:26:28 +00:00
jadiof
ef6f722d2c Translated using Weblate (German)
Currently translated at 84.0% (1537 of 1830 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2019-10-09 15:26:27 +00:00
Michael Telatynski
ff18a04da1
Merge pull request #3529 from matrix-org/t3chguy/react16_cleanup2
React error/warning cleanup
2019-10-09 16:26:24 +01:00
Weblate
ab21265b81 Merge branch 'origin/develop' into Weblate. 2019-10-09 11:38:46 +00:00
J. Ryan Stinnett
93ff43f7e1
Merge pull request #3535 from matrix-org/jryans/tag-react-soft-crashes
Add label to rageshakes for React soft crashes
2019-10-09 12:38:42 +01:00
Weblate
eefcbecd78 Merge branch 'origin/develop' into Weblate. 2019-10-09 11:02:11 +00:00
송태섭
642e58b2c1 Translated using Weblate (Korean)
Currently translated at 100.0% (1828 of 1828 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-10-09 11:02:11 +00:00
Kévin C
8ce810830a Translated using Weblate (French)
Currently translated at 100.0% (1828 of 1828 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-10-09 11:02:11 +00:00
Jeff Huang
17dc3aa093 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1828 of 1828 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-10-09 11:02:10 +00:00
David Baker
aa6ce97b2f
Merge pull request #3534 from matrix-org/dbkr/add_threepid_ui_auth
Support UI Auth on adding email addresses & phone numbers
2019-10-09 12:02:05 +01:00
J. Ryan Stinnett
e905abe5ce Add label to rageshakes for React soft crashes
This adds a label all rageshakes submitted via the React error boundary marking
them as soft crashes for triage.

Fixes https://github.com/vector-im/riot-web/issues/11072
2019-10-09 11:59:10 +01:00
Michael Telatynski
f2d73793ee delint again
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-09 12:51:08 +02:00
Michael Telatynski
9331ca9d07 delint
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-09 12:51:08 +02:00
Michael Telatynski
6be318b59d Only insert ELS if it'll be non-empty
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-09 12:51:08 +02:00
Michael Telatynski
efeb6e87c4 Use new React Shallow renderer with hooks support
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-09 12:51:08 +02:00
Michael Telatynski
efde7f289f Use EventListSummary on m.room.create events and state events thereafter
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-09 12:50:03 +02:00
Michael Telatynski
34530843f4 Factor out generic EventListSummary from MELS
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-09 12:50:03 +02:00
David Baker
93aebf9e68 Return promises a better way 2019-10-09 11:30:44 +01:00
David Baker
1c207f3b55 Revert 2040587826 2019-10-09 11:28:16 +01:00
David Baker
2040587826 Return promises 2019-10-09 10:47:34 +01:00
David Baker
a653fea020 Removed unused lines
Moved these around to avpid NPEs but they went away and I didn't
notice when merging.
2019-10-09 10:33:29 +01:00
Weblate
66a9308e27 Merge branch 'origin/develop' into Weblate. 2019-10-08 22:23:44 +00:00
J. Ryan Stinnett
4635b1319a
Merge pull request #3533 from matrix-org/jryans/null-client-soft-crash
Unmount React components before stopping the client
2019-10-08 23:23:40 +01:00
Weblate
415244438f Merge branch 'origin/develop' into Weblate. 2019-10-08 22:23:02 +00:00
Szimszon
4423b94185 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1828 of 1828 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-10-08 22:23:02 +00:00
J. Ryan Stinnett
e81df88ec2
Merge pull request #3532 from matrix-org/jryans/join-soft-crash
Fix soft crash on room join
2019-10-08 23:22:57 +01:00
David Baker
4a56aa16b8 Merge remote-tracking branch 'origin/develop' into dbkr/add_threepid_ui_auth 2019-10-08 19:11:00 +01:00
David Baker
f4a2d216c3 Support UI auth on adding phone numbers 2019-10-08 19:07:39 +01:00
David Baker
0b334c0bbc Support UI Auth on adding email address 2019-10-08 18:56:13 +01:00
Weblate
db71e90d3e Merge branch 'origin/develop' into Weblate. 2019-10-08 16:49:55 +00:00
Bruno Windels
051fd0fd92
Merge pull request #3528 from matrix-org/bwindels/addemailerror
Fix:  Unable to verify email address error
2019-10-08 16:49:51 +00:00
Bruno Windels
8c8b1430e4 fix spelling 2019-10-08 18:39:35 +02:00
Weblate
ac06a97206 Merge branch 'origin/develop' into Weblate. 2019-10-08 16:36:10 +00:00
Kévin C
2d0d11d747 Translated using Weblate (French)
Currently translated at 100.0% (1826 of 1826 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-10-08 16:36:10 +00:00
Bruno Windels
14bbaae585
Merge pull request #3509 from matrix-org/bwindels/createroomenter
Fix: submit create room dialog when pressing enter
2019-10-08 16:36:05 +00:00
J. Ryan Stinnett
2880ade45c Unmount React components before stopping the client
This fixes an entire class of React soft crashes that can happen when you:

1. Log out, causing the client peg to become `null`
2. Some async process (event handler, timeout, request, etc.) tries to use the
   client in a component before it unmounts, triggering a soft crash
3. Several moments later, the app actually unmounts

With this change, we change the app's view and unmount components first and then
after that we stop the client.

Fixes https://github.com/vector-im/riot-web/issues/11078
2019-10-08 17:10:19 +01:00
J. Ryan Stinnett
1dc2ae007f Fix soft crash on room join
This fixes a soft crash that can happen on room join if you keep the right panel
open (which is the default). The `MainSplit` component was not properly testing
for the edge cases of when the resize container would be mounted.

Fixes https://github.com/vector-im/riot-web/issues/10997
2019-10-08 15:43:57 +01:00
Weblate
73c3e28dc5 Merge branch 'origin/develop' into Weblate. 2019-10-08 13:41:04 +00:00
J. Ryan Stinnett
f384d4e5c1
Merge pull request #3531 from matrix-org/jryans/cyclic-rageshake
Allow cyclic objects in console logs
2019-10-08 14:41:00 +01:00
J. Ryan Stinnett
538c3795d8 Allow cyclic objects in console logs
This fixes a bug in rageshake handling that would throw an error if you log a
cyclic object, which can be convenient during development.
2019-10-08 14:29:03 +01:00
Weblate
d41a7a7fa0 Merge branch 'origin/develop' into Weblate. 2019-10-08 12:54:08 +00:00
송태섭
a766043a27 Translated using Weblate (Korean)
Currently translated at 100.0% (1826 of 1826 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-10-08 12:54:08 +00:00
random
78e9803631 Translated using Weblate (Italian)
Currently translated at 99.9% (1824 of 1826 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-10-08 12:54:08 +00:00
Szimszon
9a1b6faabf Translated using Weblate (Hungarian)
Currently translated at 100.0% (1826 of 1826 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-10-08 12:54:08 +00:00
Nathan Follens
103e08c500 Translated using Weblate (Dutch)
Currently translated at 100.0% (1826 of 1826 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2019-10-08 12:54:08 +00:00
Claus Conrad
c37fa307c5 Translated using Weblate (Danish)
Currently translated at 29.1% (532 of 1826 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/da/
2019-10-08 12:54:06 +00:00
Bruno Windels
5bcb4b0fb6
Merge pull request #3530 from matrix-org/bwindels/watchemoticonsetting
Fix: watch emoticon autoreplace setting
2019-10-08 12:53:54 +00:00
Bruno Windels
91d593cb71 watch emoticon autoreplace setting 2019-10-08 14:40:10 +02:00
Michael Telatynski
4c82496bca export ToggleSwitch
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-08 12:22:22 +01:00
Michael Telatynski
a03e9e7a4f tidy ToggleSwitch
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-08 12:18:44 +01:00
Michael Telatynski
a782baf510 React error/warning cleanup
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-08 12:10:37 +01:00
Michael Telatynski
fa8ad70880 run i18n
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-08 11:16:27 +01:00
Michael Telatynski
37b122aa16 delint
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-08 10:50:37 +01:00
Weblate
b5ef83986a Merge branch 'origin/develop' into Weblate. 2019-10-08 06:58:27 +00:00
Kévin C
e08d8c01b3 Translated using Weblate (French)
Currently translated at 100.0% (1824 of 1824 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-10-08 06:58:27 +00:00