Commit Graph

18513 Commits (f8a610687f93508edea6b65e113b1d49bbe46f67)

Author SHA1 Message Date
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 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
Michael Telatynski 61654a338c
Merge pull request #3540 from matrix-org/t3chguy/use_Keyboard.Key
Use Keyboard Key consts instead of hardcoded strings
2019-10-10 09:13:05 +01:00
Michael Telatynski 0d42b8629e remove SettingsFlag manualSave altogether
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-09 23:20:59 +01: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
David Baker 84e71297ef
Merge pull request #3539 from RiotTranslateBot/weblate-riot-web-matrix-react-sdk
Update from Weblate
2019-10-09 16:37:05 +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
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