Commit Graph

12801 Commits (ece5cb1fcc78589442eb549f234b60254bb8d038)

Author SHA1 Message Date
Travis Ralston 633be5061c Introduce a default_server_name for aesthetics and rework .well-known
Fixes https://github.com/vector-im/riot-web/issues/7724

The `default_server_name` from the config gets displayed in the "Login with my [server] matrix ID" dropdown when the default server is being used. At this point, we also discourage the use of the `default_hs_url` and `default_is_url` options because we do an implicit .well-known lookup to configure the client based on the `default_server_name`. If the URLs are still present in the config, we'll honour them and won't do a .well-known lookup when the URLs are mixed with the new server_name option. Users will be warned if the `default_server_name` does not match the `default_hs_url` if both are supplied. Users are additionally prevented from logging in, registering, and resetting their password if the implicit .well-known check fails - this is to prevent people from doing actions against the wrong homeserver.

This relies on https://github.com/matrix-org/matrix-js-sdk/pull/799 as we now do auto discovery in two places. Instead of bringing the .well-known out to its own utility class in the react-sdk, we might as well drag it out to the js-sdk.
2018-12-04 23:34:57 -07:00
Jeff Huang 7f4ee2b1ca Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1382 of 1382 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2018-12-05 03:54:42 +00:00
J. Ryan Stinnett 22ff76e6b7 Add error to UI when group member list fails to load
Signed-off-by: J. Ryan Stinnett <jryans@gmail.com>
2018-12-04 18:46:15 -06:00
J. Ryan Stinnett 5fc25fd6ba Only mark group as failed to load for summary
Currently, any error in the `GroupStore`s several requests can cause the whole
`GroupView` component to hide and be mark the group as failed to load.

Since it is known that group members may fail to load in some cases, let's only
show failed to load for the whole group when the summary fails.

This also strengthens the `GroupView` test by ensuring we wait for multiple
updates for checking results.

Signed-off-by: J. Ryan Stinnett <jryans@gmail.com>
2018-12-04 18:32:16 -06:00
Szimszon cf9fbe041a Translated using Weblate (Hungarian)
Currently translated at 100.0% (1382 of 1382 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2018-12-04 18:53:44 +00:00
Weblate bfe8f3a440 Merge remote-tracking branch 'origin/develop' into develop 2018-12-04 16:49:55 +00:00
David Baker f1869edfd5
Merge pull request #2324 from matrix-org/dbkr/text_if_skip_passphrase
Show correct text if passphrase is skipped
2018-12-04 16:49:50 +00:00
David Baker c849a2389c Show correct text if passphrase is skipped
Also set 'downloaded' state in a couple more places
2018-12-04 16:38:32 +00:00
Besnik Bleta 6ab9ae7aa5 Translated using Weblate (Albanian)
Currently translated at 99.3% (1372 of 1381 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2018-12-04 15:32:55 +00:00
Szimszon 3f7a3b8cfb Translated using Weblate (Hungarian)
Currently translated at 100.0% (1381 of 1381 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2018-12-04 13:42:44 +00:00
Weblate c5daf14869 Merge remote-tracking branch 'origin/develop' into develop 2018-12-04 11:50:48 +00:00
Besnik Bleta 98b2398923 Translated using Weblate (Albanian)
Currently translated at 99.3% (1346 of 1355 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2018-12-04 11:50:46 +00:00
David Baker 5d94da07af
Merge pull request #2294 from matrix-org/dbkr/zxcvbn
Add password strength meter to backup creation UI
2018-12-04 11:50:42 +00:00
David Baker 5b2c2a0adf comment typo 2018-12-04 11:41:04 +00:00
Bruno Windels 7936e1a0b7
Merge pull request #2321 from matrix-org/bwindels/persistcollapsedandrhssize
Redesign: resizer persistence
2018-12-04 09:27:30 +00:00
Kévin C c4ad15f919 Translated using Weblate (French)
Currently translated at 100.0% (1355 of 1355 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2018-12-04 07:45:06 +00:00
Szimszon 8510fe721c Translated using Weblate (Hungarian)
Currently translated at 100.0% (1355 of 1355 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2018-12-04 07:08:14 +00:00
Jeff Huang e131a76e80 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1355 of 1355 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2018-12-04 03:16:38 +00:00
Weblate 35ef2cde61 Merge remote-tracking branch 'origin/develop' into develop 2018-12-04 00:31:21 +00:00
Karol Kosek dbc3e87e53 Translated using Weblate (Polish)
Currently translated at 88.5% (1198 of 1353 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2018-12-04 00:31:21 +00:00
Akarshan Biswas e25df6afd8 Translated using Weblate (Hindi)
Currently translated at 26.3% (356 of 1353 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hi/
2018-12-04 00:31:20 +00:00
Krombel f7a8e144f2 Translated using Weblate (German)
Currently translated at 98.3% (1330 of 1353 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2018-12-04 00:31:20 +00:00
Besnik Bleta c163773248 Translated using Weblate (Albanian)
Currently translated at 99.2% (1343 of 1353 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2018-12-04 00:31:19 +00:00
Travis Ralston c0ef2f7df3
Merge pull request #1876 from Half-Shot/hs/upload-limits
Check upload limits before trying to upload large files
2018-12-03 17:31:14 -07:00
Bruno Windels 541b0011ac actually persist right panel width on resize 2018-12-03 10:43:35 +01:00
Bruno Windels 13491e797d persists & load collapsed room sub lists 2018-12-03 10:39:31 +01:00
Osoitz 0834985ff4 Translated using Weblate (Basque)
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/eu/
2018-12-01 16:58:24 +00:00
Will Hunt 2b077b4f5d Merge remote-tracking branch 'upstream/develop' into hs/upload-limits 2018-12-01 16:24:43 +00:00
Bruno Windels 0212df922a dont render who is typing tile when no room available (like in notif panel) 2018-11-30 13:59:00 +01:00
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
Bruno Windels 8f4292399b
Merge pull request #2297 from matrix-org/bwindels/roomlistsizingimprovements
Redesign: improve room sub list sizing & persist sizes
2018-11-27 13:40:48 +00:00
Bruno Windels 31902b25b4
Merge pull request #2298 from matrix-org/bwindels/makeroomsettingsusable
Redesign: temp solution to make room settings usable
2018-11-27 11:09:11 +00:00
Bruno Windels 887defda9c temp solution to make room settings usable
make mx_fadable not do anything anymore, and make room settings
full size.

Room settings haven't been designed yet, so all of this will
have a full pass when we have a go at it.
2018-11-26 17:58:51 +01:00
Bruno Windels 0c7d51d70d persist room sub list sizes 2018-11-26 16:46:57 +01:00
Bruno Windels f7a37be6dd support associating an id with a resize item/handle 2018-11-26 16:46:27 +01:00
Bruno Windels 35fc5307b6 remove unneeded params (as we're going to change their meaning) 2018-11-26 16:45:55 +01:00
Bruno Windels dae509d0eb introduce resizeFromContainerOffset method on distributor
up till now, resize received the offset of the resize handle
within the container upon resizing, and would then calculate
it's new size. For this first item in the container, this is
the same, and has therefor not been a problem yet.

Now however, we'll need to be able to programatically
(from localStorage) set the size of any roomsublist,
so need a method we can call with just the size and not an offset
within the container. The resizer calls the new method,
which subsequently calls resize.

This also has the nice side-effect that you can now easily
call super.resize after having transformed the new item size
2018-11-26 16:42:58 +01:00
Bruno Windels 3e496833fc remove unused PercentageDistributor
it's not used and we need to make some
api changes that don't work with it (resize will receive itemSize
which it doesn't really support)
2018-11-26 16:41:49 +01:00
Bruno Windels 257bac2b09 unrelated fix for searchbox being squashed by other roomlist content 2018-11-26 14:50:53 +01:00
Bruno Windels 61d9fe95e9 add 3 flex-shrink categories + make it work with overflow indicators 2018-11-26 14:50:29 +01:00
Bruno Windels 8e77a6716c don't set initial size based on item count anymore 2018-11-26 14:49:30 +01:00