Commit Graph

12251 Commits (e52eb52db9ec0b3d4fd1f6214c0b71216cdef406)

Author SHA1 Message Date
Travis Ralston 84b568a235 Appease the linter 2018-11-29 15:16:45 -07:00
Travis Ralston 987ad0b0db Check if users exist before inviting them and communicate errors
Fixes https://github.com/vector-im/riot-web/issues/3283
Fixes https://github.com/vector-im/riot-web/issues/3968
Fixes https://github.com/vector-im/riot-web/issues/4308
Fixes https://github.com/vector-im/riot-web/issues/1597
Fixes https://github.com/vector-im/riot-web/issues/6790

This does 3 things:
* Makes the `MultiInviter` check for a user profile before attempting an invite. This is to prove the user exists.
* Use the `MultiInviter` everywhere to avoid duplicating the logic. Although a couple places only invite one user, it is still worthwhile.
* Communicate errors from the `MultiInviter` to the user in all cases. This is done through dialogs, where some existed previously but were not invoked.

Specifically to the 403 error not working: What was happening was the `MultiInviter` loop was setting the `fatal` flag, but that didn't resolve the promise it stored. This caused a promise to always be open, therefore never hitting a dialog.
2018-11-29 15:05:53 -07:00
Szimszon 3aa768f776 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1353 of 1353 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2018-11-29 07:23:00 +00:00
Kévin C 2d8a07224c Translated using Weblate (French)
Currently translated at 100.0% (1353 of 1353 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2018-11-27 23:56:53 +00:00
Travis Ralston 2b027b716f Suppress CORS errors in the 'failed to join room' dialog
This isn't pretty, but it does address https://github.com/vector-im/riot-web/issues/7526

Tested with Chrome and Firefox to ensure the message is stable enough to parse.
2018-11-27 14:23:28 -07:00
Weblate 438b940b00 Merge remote-tracking branch 'origin/develop' into develop 2018-11-27 20:51:50 +00:00
Karol Kosek f58cf6ccd1 Translated using Weblate (Polish)
Currently translated at 88.6% (1197 of 1350 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2018-11-27 20:51:50 +00:00
Akarshan Biswas ec3173c8dd Translated using Weblate (Hindi)
Currently translated at 24.0% (325 of 1350 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hi/
2018-11-27 20:51:49 +00:00
Travis Ralston e3f2e69087
Merge pull request #2227 from matrix-org/travis/well-known
Support .well-known discovery
2018-11-27 13:51:44 -07:00
Travis Ralston 015af7d771 Use sensible logging 2018-11-27 13:41:34 -07:00
Osoitz e27f3f0c4b Translated using Weblate (Basque)
Currently translated at 100.0% (1350 of 1350 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2018-11-24 09:56:26 +00:00
David Baker 075c13a5bd Add password strength meter to backup creation UI
https://github.com/vector-im/riot-meta/issues/227
2018-11-23 15:50:23 +00:00
Weblate 25a4aaf749 Merge remote-tracking branch 'origin/develop' into develop 2018-11-23 11:19:28 +00:00
David Baker 0c6e98548e
Merge pull request #2291 from matrix-org/dbkr/create_key_backup_async
Make create key backup dialog async
2018-11-23 11:19:23 +00:00
David Baker 4f8c4f1c6e Make create key backup dialog async
So we can add zxcvbn to it without inflating the main bundle size
2018-11-23 10:55:18 +00:00
Weblate 02d950bd59 Merge remote-tracking branch 'origin/develop' into develop 2018-11-23 07:46:09 +00:00
Osoitz 7d45994c07 Translated using Weblate (Basque)
Currently translated at 95.8% (1294 of 1350 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2018-11-23 07:46:08 +00:00
David Baker a9ae7f3eef
Merge pull request #2288 from matrix-org/dbkr/fix_continue_disabled_download
Forgot to enable continue button on download
2018-11-23 07:46:03 +00:00
David Baker d443d6173d Forgot to enable continue button on download 2018-11-22 19:06:58 +00:00
Weblate 4122f20887 Merge remote-tracking branch 'origin/develop' into develop 2018-11-22 16:55:57 +00:00
Karol Kosek c6f317b83b Translated using Weblate (Polish)
Currently translated at 88.5% (1195 of 1350 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2018-11-22 16:55:57 +00:00
David Baker 43013c65f6 Merge branch 'master' into develop 2018-11-22 16:55:46 +00:00
David Baker 60e22b7e0f v0.14.6 2018-11-22 16:54:53 +00:00
David Baker e27a4af817 Prepare changelog for v0.14.6 2018-11-22 16:54:21 +00:00
David Baker a25ae924b1 js-sdk v0.14.1 2018-11-22 16:49:20 +00:00
David Baker ab40a0b264 Actually add the dialog 2018-11-22 16:39:26 +00:00
David Baker a8db02ff02 Handle crypto db version upgrade
Display a dialog telling the user what the situation is with
options to sign out or continue withwout e2e.

Requires https://github.com/matrix-org/matrix-js-sdk/pull/785
2018-11-22 16:39:20 +00:00
Kévin C 328ab4d824 Translated using Weblate (French)
Currently translated at 100.0% (1350 of 1350 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2018-11-22 10:19:39 +00:00
Besnik Bleta 5810f596b8 Translated using Weblate (Albanian)
Currently translated at 99.1% (1339 of 1350 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2018-11-22 08:41:14 +00:00
Travis Ralston 5600a9d02a Validate the identity server 2018-11-21 14:14:08 -07:00
Travis Ralston 4cfefe4c3c Introduce an onUsernameBlur and fix hostname parsing 2018-11-21 14:13:56 -07:00
Szimszon d324c31027 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1350 of 1350 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2018-11-21 21:07:42 +00:00
Travis Ralston 6f0f930e0a Merge branch 'develop' into travis/well-known 2018-11-21 13:30:57 -07:00
Weblate 8b4702a365 Merge remote-tracking branch 'origin/develop' into develop 2018-11-21 18:53:44 +00:00
David Baker 23d935fd78 Let's use a version of node we can download rather than dig up 2018-11-21 18:53:18 +00:00
Weblate 0252cf4332 Merge remote-tracking branch 'origin/develop' into develop 2018-11-21 18:37:49 +00:00
David Baker d714176fcd
Merge pull request #2169 from matrix-org/dbkr/e2e_backups
Online incremental megolm backups (v2)
2018-11-21 18:37:43 +00:00
David Baker b529c98095
Merge pull request #2284 from matrix-org/dbkr/e2e_backups_download_recovery_key
Add recovery key download button
2018-11-21 18:25:33 +00:00
David Baker db26513136
Merge pull request #2283 from matrix-org/dbkr/e2e_backups_passphrase
Passphrase Support for e2e backups
2018-11-21 18:25:09 +00:00
David Baker 3828798099 lint 2018-11-21 18:17:26 +00:00
David Baker 40ef2e0cf4 another missed translation 2018-11-21 18:08:44 +00:00
David Baker 1c06d781ae Missed translation 2018-11-21 18:06:37 +00:00
David Baker 08e2ba8c6c Don't allow enter to submit if field invalid 2018-11-21 18:02:58 +00:00
Weblate c40f6095a0 Merge remote-tracking branch 'origin/develop' into develop 2018-11-21 17:49:02 +00:00
David Baker 3529482be5
Merge pull request #2286 from matrix-org/dbkr/async_dialog_promises
Update async dialog interface to use promises
2018-11-21 17:48:56 +00:00
David Baker 2ba4d8a2d9 Remove outdated logging & log on failure 2018-11-21 17:35:28 +00:00
David Baker 985966f8be Update async dialog interface to use promises
Hopefully makes the syntax a bit nicer. Also uses ES6 async import
rather than require.ensure which is now deprecated. Also also
displays an error if the component fails to load rather than falling
over in a heap, which is nice.
2018-11-21 16:56:44 +00:00
David Baker ed5d87e797 Add recovery key download button 2018-11-21 13:57:31 +00:00
David Baker 6fe2c9c2bb Merge branch 'dbkr/e2e_backups' into dbkr/e2e_backups_passphrase 2018-11-20 18:10:57 +00:00
David Baker 8ccaf53d20 Merge remote-tracking branch 'origin/develop' into dbkr/e2e_backups 2018-11-20 18:08:39 +00:00