Commit Graph

9986 Commits (88bfe6fc399ed6ea7cf9aeba198fa19ad2a8faae)

Author SHA1 Message Date
giqtaqisi 8b0eb40abe Translated using Weblate (Lojban)
Currently translated at 17.1% (217 of 1263 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/jbo/
2018-10-04 19:29:06 +00:00
David Baker a6f177c80b Translated using Weblate (English (United States))
Currently translated at 64.6% (817 of 1263 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/en_US/
2018-10-04 19:29:06 +00:00
Travis Ralston 93d32f97fc
Merge pull request #2183 from matrix-org/travis/settings-no-sniping
Track how far the user travels before dismissing their user settings
2018-10-04 13:29:00 -06:00
Slavi Pantaleev d073f3f7f5 Translated using Weblate (Bulgarian)
Currently translated at 100.0% (1263 of 1263 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-10-04 17:26:24 +00:00
random 22dd416efe Translated using Weblate (Italian)
Currently translated at 100.0% (1263 of 1263 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2018-10-04 14:03:25 +00:00
David Baker 18661e042d Fall back to another store if indexeddb start fails
If we can't start indexeddb, fall back to a different store.

Previously we just ignored the exception and ploughed on anyway, on
the assumption that startup() was just for the indexeddb store to
load data anyway, and if that failed it would just do an initial
/sync instead (and also we'd keep trying to save the sync back which
would fail...). Then, in the previous release we started pulling
the settings out of the store on startup, making the assumpton that
the store actually worked, so the read obviously failed and the app
failed to start up.

This makes Riot work in Tor browser / firefox in daft mode again.
2018-10-04 13:40:56 +01:00
Peter Vágner faf63e9b99 Translated using Weblate (Slovak)
Currently translated at 100.0% (1263 of 1263 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sk/
2018-10-04 11:48:29 +00:00
Weblate 8a3093d7e8 Merge remote-tracking branch 'origin/develop' into develop 2018-10-04 09:46:20 +00:00
giqtaqisi 8286456794 Translated using Weblate (Lojban)
Currently translated at 15.5% (196 of 1263 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/jbo/
2018-10-04 09:46:19 +00:00
David Baker 8ceca3abe9
Update Pill.js
Commas are not semicolons
2018-10-04 10:34:34 +01:00
Osoitz 41c9b0be62 Translated using Weblate (Basque)
Currently translated at 100.0% (1263 of 1263 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2018-10-03 19:16:38 +00:00
Will Hunt 1e5101aa0c
The comment can go 2018-10-03 19:39:47 +01:00
Will Hunt 17915b5082
Merge branch 'develop' into hs/purge-irc-hack 2018-10-03 19:39:14 +01:00
Will Hunt fe788486b7 Drop (IRC) suffix hacks 2018-10-03 19:34:06 +01:00
Weblate 71beb9386c Merge remote-tracking branch 'origin/develop' into develop 2018-10-03 18:08:50 +00:00
giqtaqisi f3a947305e Translated using Weblate (Lojban)
Currently translated at 15.2% (192 of 1263 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/jbo/
2018-10-03 18:08:49 +00:00
David Baker 1189b75409
Merge pull request #2192 from matrix-org/dbkr/remove_migration_code
Remove old migration code
2018-10-03 19:08:44 +01:00
David Baker 1ec0f04baf Remove old migration code
...as instructed!
2018-10-03 18:33:34 +01:00
Will Hunt 259063eda6
Remove useless comment. 2018-10-03 10:39:09 +01:00
Weblate c7e08f3160 Merge remote-tracking branch 'origin/develop' into develop 2018-10-03 03:24:18 +00:00
Aaron Raimist 91e8ee98a1
Fix brace style in TextForEvent.js
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2018-10-02 22:12:39 -05:00
Weblate 9484141a87 Merge remote-tracking branch 'origin/develop' into develop 2018-10-02 19:27:36 +00:00
giqtaqisi 8e53644ad5 Translated using Weblate (Lojban)
Currently translated at 8.3% (106 of 1263 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/jbo/
2018-10-02 19:27:36 +00:00
IMIN 8cdfe97776 Translated using Weblate (Korean)
Currently translated at 96.3% (1217 of 1263 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2018-10-02 19:27:36 +00:00
Peter Vágner 2b394c1869
Address review comments and fix lint errors 2018-10-02 20:32:54 +02:00
David Baker e1f68551f1 Fix error logging 2018-10-02 19:23:43 +01:00
Peter Vágner e05ae29146
Also fix accessibility of sticker buttons 2018-10-02 20:19:21 +02:00
Peter Vágner ded35e43a0
A11y: repurpose more divs into AccessibleButtons.
With this more of the
controls that look like buttons can be operated via the keyboard and
navigated to by screen reader users. This includes editor buttons such
as File upload, Audio / Video call, Right pannel hide button, Jump to
the bottom timeline button, and some more buttons found in the user
settings.
Also I have added alt texts to some images that in turn label buttons
which these happen to be packed in and removed some untranslated alt
texts from decorative non-actionable images that might add more
verbosity when talking about screen reader user experience.
2018-10-02 13:55:24 +02:00
Weblate 595bf752b7 Merge remote-tracking branch 'origin/develop' into develop 2018-10-02 11:14:23 +00:00
giqtaqisi 825f873a75 Translated using Weblate (Lojban)
Currently translated at 3.0% (39 of 1263 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/jbo/
2018-10-02 11:14:22 +00:00
Aaron Raimist ef3d1a611a
Fix Promise.defer warning in ScalarAuthClient.js
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2018-10-01 19:57:27 -05:00
Kévin C 57ced38771 Translated using Weblate (French)
Currently translated at 100.0% (1263 of 1263 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2018-10-01 19:24:37 +00:00
giqtaqisi 3b327b8201 Translated using Weblate (Lojban)
Currently translated at 0.6% (8 of 1263 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/jbo/
2018-10-01 14:10:30 +00:00
Szimszon f8bb8a0ed5 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1263 of 1263 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2018-10-01 14:10:29 +00:00
Jeff Huang f875b89ff8 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1263 of 1263 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2018-10-01 13:36:51 +00:00
giqtaqisi 073db1eb7e Added translation using Weblate (Lojban) 2018-10-01 13:23:37 +00:00
Weblate a551423e91 Merge remote-tracking branch 'origin/develop' into develop 2018-10-01 12:27:40 +00:00
Matthew Hodgson bccfb5dafc better englishing 2018-10-01 13:27:32 +01:00
Szimszon 63245ee7d2 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1263 of 1263 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2018-10-01 11:49:20 +00:00
Weblate 640e1bbc72 Merge remote-tracking branch 'origin/develop' into develop 2018-10-01 10:55:58 +00:00
csybr f34f8992ce Translated using Weblate (Norwegian Nynorsk)
Currently translated at 96.5% (1218 of 1261 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nn/
2018-10-01 10:55:57 +00:00
Stnby 5b9bd118d1 Translated using Weblate (Lithuanian)
Currently translated at 69.1% (872 of 1261 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/lt/
2018-10-01 10:55:57 +00:00
Kévin C cfa8088e83 Translated using Weblate (French)
Currently translated at 100.0% (1261 of 1261 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2018-10-01 10:55:57 +00:00
Ryu SASAOKA 9f6dad9ec8 Translated using Weblate (English (United States))
Currently translated at 64.7% (817 of 1261 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/en_US/
2018-10-01 10:55:57 +00:00
Jeff Huang 69213023db Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1261 of 1261 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2018-10-01 10:55:57 +00:00
David Baker 3751074244
Merge pull request #2180 from matrix-org/travis/3pid-required
Communicate early that a 3pid is required during registration if needed
2018-10-01 11:55:53 +01:00
Szimszon eb7edcc41e Translated using Weblate (Hungarian)
Currently translated at 100.0% (1261 of 1261 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2018-09-30 17:50:39 +00:00
Jeff Huang 69622853b2 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1261 of 1261 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2018-09-30 13:58:10 +00:00
Kévin C 4cf65b3b21 Translated using Weblate (French)
Currently translated at 100.0% (1261 of 1261 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2018-09-29 09:16:05 +00:00
Weblate cc1bd3ca11 Merge remote-tracking branch 'origin/develop' into develop 2018-09-28 21:19:20 +00:00
Milena Brum 7bb5e6b332 Translated using Weblate (Spanish)
Currently translated at 100.0% (1261 of 1261 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2018-09-28 21:19:20 +00:00
Matthew Hodgson 6652d2b0e6 try to encourage people to attach logs to bugs 2018-09-28 21:05:05 +01:00
Weblate b098538837 Merge remote-tracking branch 'origin/develop' into develop 2018-09-28 13:55:13 +00:00
Travis Ralston a1cb6d64cf
Merge pull request #2182 from matrix-org/travis/warn-disconnect-early
Show the 'homeserver unavailable' warning when the first sync fails
2018-09-28 07:55:07 -06:00
Weblate 8e26a6a0a6 Merge remote-tracking branch 'origin/develop' into develop 2018-09-28 12:20:55 +00:00
Bruno Windels 5765d59132
Merge pull request #2083 from matrix-org/t3chguy/is_url
allow passing initial is_url like hs_url in query params
2018-09-28 13:20:50 +01:00
Weblate ab6a48be7e Merge remote-tracking branch 'origin/develop' into develop 2018-09-28 00:10:01 +00:00
Matthew Hodgson c0b89866de
Merge pull request #2184 from matrix-org/matthew/fudge-hangup-reason
fudge hangup reasons
2018-09-28 01:09:55 +01:00
Matthew Hodgson d839629aea fudge hangup reasons 2018-09-27 23:51:33 +01:00
Travis Ralston d74efd09ab Track how far the user travels before dismissing their user settings
Fixes https://github.com/vector-im/riot-web/issues/7158

Because the onClick was on a fullpage div, the browser was firing it regardless of how far the mouse moved. The onClick event itself doesn't give us any sort of travel distance, or a start point we can use to determine if they clicked a scrollbar or something. This means we have to rely on good ol' fashioned mouse down and up events to see if the user moved their mouse during their click. 

If the user's click starts in a valid container, we record the coordinates. This is so we can easily identify when the user clicks inside something like the settings container itself. When the user releases their mouse, we determine how far they moved their mouse - if the distance is within some threshold (~5 pixels in this case) then we can count it as a click. Because we've already filtered on the component they started their click in, we can safely rely on the presence of coordinates as a flag that they are in the right container, combined with the fact that they can't stray too far before their click not counting anyways.
2018-09-27 16:13:51 -06:00
Travis Ralston 16b2fb7fe6 Show the 'homeserver unavailable' warning when the first sync fails
Fixes https://github.com/vector-im/riot-web/issues/7380
2018-09-27 14:31:55 -06:00
Weblate 91ca2842ed Merge remote-tracking branch 'origin/develop' into develop 2018-09-27 18:08:17 +00:00
Milena Brum 040360707d Translated using Weblate (Spanish)
Currently translated at 100.0% (1261 of 1261 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2018-09-27 18:08:17 +00:00
zottel 012aa2f149 Translated using Weblate (German)
Currently translated at 99.8% (1259 of 1261 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2018-09-27 18:08:16 +00:00
Travis Ralston fb262596b2 Provide more helpful errors when i18n generation fails
Also fix TextForEvent.js so it doesn't break the script. Using a variable here is not recognized, so the object has been moved inline instead.
2018-09-27 11:55:57 -06:00
Travis Ralston de132a8f8e Communicate early that a 3pid is required during registration if needed
Fixes https://github.com/vector-im/riot-web/issues/7297
2018-09-27 11:53:45 -06:00
lazz0 57116de32b Translated using Weblate (Spanish)
Currently translated at 100.0% (1261 of 1261 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2018-09-27 16:57:43 +00:00
Milena Brum e587a7610a Translated using Weblate (Spanish)
Currently translated at 100.0% (1261 of 1261 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2018-09-27 16:55:22 +00:00
lazz0 b340cbed8d Translated using Weblate (Spanish)
Currently translated at 100.0% (1261 of 1261 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2018-09-27 16:51:01 +00:00
Milena Brum b9a01bebda Translated using Weblate (Spanish)
Currently translated at 100.0% (1261 of 1261 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2018-09-27 16:48:05 +00:00
Sejo a1910314ea Translated using Weblate (Spanish)
Currently translated at 100.0% (1261 of 1261 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2018-09-27 16:47:44 +00:00
Milena Brum c1116053e4 Translated using Weblate (Spanish)
Currently translated at 100.0% (1261 of 1261 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2018-09-27 16:46:02 +00:00
Kévin C 6a478ee7f5 Translated using Weblate (French)
Currently translated at 100.0% (1261 of 1261 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2018-09-27 11:10:58 +00:00
Weblate 4d4762eacb Merge remote-tracking branch 'origin/develop' into develop 2018-09-27 08:49:47 +00:00
csybr 0cd592ca66 Translated using Weblate (Norwegian Nynorsk)
Currently translated at 96.9% (1220 of 1259 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nn/
2018-09-27 08:49:46 +00:00
Bruno Windels 9c78610c62 Merge branch 'develop' into bwindels/resynconlltoggle 2018-09-26 18:22:24 +01:00
Bruno Windels f4860cfe63 update copyright notice 2018-09-26 18:22:05 +01:00
Bruno Windels 83c2bd7313 Translated using Weblate (English (United States))
Currently translated at 65.0% (819 of 1259 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/en_US/
2018-09-26 16:27:44 +00:00
Bruno Windels e0c5b0d5ed translations 2018-09-26 17:23:51 +01:00
Bruno Windels fd2ab406d4 update copy 2018-09-26 16:48:04 +01:00
Bruno Windels 130f3cc2ff only get component when needed 2018-09-26 16:30:35 +01:00
Bruno Windels 824ad5e318 delete sync data when LL is toggled, show message when enabling 2018-09-26 16:25:21 +01:00
Will Hunt 41336a9de6
Oops, missing deferred 2018-09-26 02:06:02 +01:00
Will Hunt ceaa3aaca4
Use createObjectURL instead of readAsDataURL for videos 2018-09-26 02:04:55 +01:00
csybr 0c8b920db8 Translated using Weblate (Norwegian Nynorsk)
Currently translated at 96.9% (1220 of 1259 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nn/
2018-09-25 20:16:41 +00:00
Victor Grousset 9a48284064 Translated using Weblate (Esperanto)
Currently translated at 87.3% (1100 of 1259 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eo/
2018-09-25 20:16:40 +00:00
Simó Albert i Beltran 5cbe432795 Translated using Weblate (Catalan)
Currently translated at 79.9% (1006 of 1259 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ca/
2018-09-25 20:16:40 +00:00
Slavi Pantaleev 72a535ddac Translated using Weblate (Bulgarian)
Currently translated at 100.0% (1259 of 1259 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-09-24 12:53:34 +00:00
Jeff Huang 0fd360d35d Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1259 of 1259 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2018-09-21 00:55:56 +00:00
Silvano 879f11b88b Translated using Weblate (Italian)
Currently translated at 100.0% (1259 of 1259 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2018-09-20 23:12:33 +00:00
Kévin C 83f939d5be Translated using Weblate (French)
Currently translated at 100.0% (1259 of 1259 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2018-09-20 20:55:10 +00:00
Osoitz f2d1bf46e2 Translated using Weblate (Basque)
Currently translated at 100.0% (1259 of 1259 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2018-09-20 15:10:48 +00:00
Krombel a1a0dd5691 Translated using Weblate (German)
Currently translated at 100.0% (1259 of 1259 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2018-09-20 14:34:11 +00:00
Szimszon 95cfedb906 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1259 of 1259 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2018-09-20 11:09:46 +00:00
Weblate e08af42647 Merge remote-tracking branch 'origin/develop' into develop 2018-09-20 10:42:11 +00:00
Matthew Hodgson 1157320cba s/canonical address/main address/g for consistency 2018-09-20 11:41:59 +01:00
Kévin C 63dd155ad0 Translated using Weblate (French)
Currently translated at 100.0% (1259 of 1259 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2018-09-20 10:26:30 +00:00
Szimszon 19da696058 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1259 of 1259 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2018-09-20 10:25:44 +00:00
Weblate e15c581f6a Merge remote-tracking branch 'origin/develop' into develop 2018-09-20 09:34:18 +00:00
Victor Grousset 4d34f5f966 Translated using Weblate (Esperanto)
Currently translated at 87.5% (1100 of 1257 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eo/
2018-09-20 09:34:17 +00:00
Slavi Pantaleev 805c856324 Translated using Weblate (Bulgarian)
Currently translated at 100.0% (1257 of 1257 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-09-20 08:14:16 +00:00
Matthew Hodgson 0f806d5b99 Merge branch 'develop' into matthew/canonical_aliases 2018-09-20 01:45:08 +01:00
Matthew Hodgson e9806bb147 autocomplete domains on aliases 2018-09-20 01:38:25 +01:00
Matthew Hodgson 1aa85c69e4 fix vector-im/riot-web#7293 2018-09-20 01:23:29 +01:00
Matthew Hodgson c6fa8ea24c show canonical aliases in timeline, and set/remove implicit ones 2018-09-20 01:07:01 +01:00
Weblate abe6d72125 Merge remote-tracking branch 'origin/develop' into develop 2018-09-19 11:35:23 +00:00
Bruno Windels 920e0d397c Merge branch 'develop' into bwindels/fixstalerr 2018-09-19 12:15:41 +02:00
Bruno Windels 93d34e7b3d fix lint 2018-09-19 12:00:29 +02:00
random 909e4052bc Translated using Weblate (Italian)
Currently translated at 100.0% (1257 of 1257 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2018-09-19 09:21:23 +00:00
Victor Grousset 1020580653 Translated using Weblate (Esperanto)
Currently translated at 87.5% (1100 of 1257 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eo/
2018-09-19 09:05:11 +00:00
Kévin C e5b151ea26 Translated using Weblate (French)
Currently translated at 100.0% (1257 of 1257 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2018-09-18 21:48:21 +00:00
Szimszon c2c735d521 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1257 of 1257 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2018-09-18 18:48:51 +00:00
Weblate 042bbca473 Merge remote-tracking branch 'origin/develop' into develop 2018-09-18 10:14:50 +00:00
Matthew Hodgson d39889e2cf
Merge pull request #2167 from matrix-org/t3chguy/m.room.aliases
Add m.room.aliases to the timeline
2018-09-18 11:14:44 +01:00
Weblate c78ccd7856 Merge remote-tracking branch 'origin/develop' into develop 2018-09-17 23:16:36 +00:00
Moo 23c91f22ef Translated using Weblate (Lithuanian)
Currently translated at 69.4% (870 of 1252 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/lt/
2018-09-17 23:16:35 +00:00
Victor Grousset 719f7c6d01 Translated using Weblate (Esperanto)
Currently translated at 87.8% (1100 of 1252 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eo/
2018-09-17 23:16:35 +00:00
Matthew Hodgson ece041d059 fix NPE on name (related to LL?) 2018-09-18 00:16:25 +01:00
Matthew Hodgson fc81dbbfad remove i18n used by RoomAliasesEvent 2018-09-17 22:40:00 +01:00
Bruno Windels 8c4f4765df remove initial parameter and show available members on invite instead 2018-09-17 20:03:01 +02:00
Bruno Windels 0727e0f8d3 mounted can be set straight in componentWillMount 2018-09-17 20:02:15 +02:00
Bruno Windels e8b4770940 fix lint 2018-09-17 20:01:55 +02:00
Bruno Windels 841aa4b800 check LL with client as this takes server support into account 2018-09-17 19:28:06 +02:00
Bruno Windels 0ce7bb8995 pass membersLoaded state to TimelinePanel to force it to re-render
... once the members are loaded.
2018-09-17 19:27:25 +02:00
Matthew Hodgson 0e1a814d23 remove RoomAliasesEvent in favour of simpler textual event 2018-09-17 18:27:17 +01:00
Bruno Windels 473f2dd72b pass room to _loadMembersIfJoined, it's called when newState not applied
_loadMembersIfJoined is called from
_onRoomLoaded < _onRoomViewStoreUpdate, before incoming state
from the store is applied to this.state, so looking up the room
with this.state.roomId doesn't always work, which would cause
the members not to be loaded. Pass in the room instead.
2018-09-17 19:24:34 +02:00
Bruno Windels e0a789f77e remove untrue comment, as we only load the members when joining 2018-09-17 19:21:22 +02:00
Bruno Windels e1b9aa9626 better naming and document method 2018-09-17 19:20:26 +02:00
Matthew Hodgson dc7212ec2b switch back to simple TextForEvent
I haven't found anyone who can justify to me why we need
more complicated plurals for i18n (even in Polish) for
%(senderName)s added %(addedAddresses)s and removed %(removedAddresses)s as addresses for this room.
2018-09-17 18:20:12 +01:00
Bruno Windels d276b17c2a remove dead code 2018-09-17 19:19:07 +02:00
Bruno Windels c3914d3493 show empty list as initial state instead of spinner
the spinner should only be shown when joined
2018-09-17 19:18:55 +02:00
Bruno Windels 2ed414494f use Room.myMembership event instead of RoomMember.membership for me
This is more reliable with LL enabled as the syncing user is
only known when it was active in the current timeline
or when the members have been loaded
2018-09-17 19:14:52 +02:00
Weblate f8478f0644 Merge remote-tracking branch 'origin/develop' into develop 2018-09-17 09:22:04 +00:00
Andri 06a74707de Translated using Weblate (Indonesian)
Currently translated at 29.8% (374 of 1252 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/id/
2018-09-17 09:22:03 +00:00
xyzi 0ae37f2796 Translated using Weblate (German)
Currently translated at 99.6% (1248 of 1252 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2018-09-17 09:22:03 +00:00
Victor Grousset 647ab09b43 Translated using Weblate (Esperanto)
Currently translated at 87.8% (1100 of 1252 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eo/
2018-09-17 09:22:03 +00:00
Tim Stahel 3f7e7f8da5 Translated using Weblate (English (United States))
Currently translated at 65.4% (820 of 1252 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/en_US/
2018-09-17 09:22:03 +00:00
Simó Albert i Beltran 8a1c85f7a0 Translated using Weblate (Catalan)
Currently translated at 80.3% (1006 of 1252 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ca/
2018-09-17 09:22:02 +00:00
Osoitz 33f648a6f6 Translated using Weblate (Basque)
Currently translated at 100.0% (1252 of 1252 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2018-09-17 09:22:02 +00:00
ali almi 6e12399fe9 Translated using Weblate (Arabic)
Currently translated at 5.4% (68 of 1252 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ar/
2018-09-17 09:22:02 +00:00
Matthew Hodgson 003083d9fc fix plurals 2018-09-16 20:19:02 +01:00
Matthew Hodgson a4b7348703 fix merge on i18n again 2018-09-16 19:11:11 +01:00
Matthew Hodgson 599697ca2f fix merge on i18n 2018-09-16 19:08:31 +01:00
Matthew Hodgson 3b868064c7 merge in develop 2018-09-16 19:06:52 +01:00
Bruno Windels 86cbe34181 rerender after members are loaded so pills and RR get rerendered 2018-09-14 18:35:16 +02:00
random 7fcedbc65d Translated using Weblate (Italian)
Currently translated at 100.0% (1252 of 1252 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2018-09-14 15:00:51 +00:00
Milena Brum 8ed411cd43 Translated using Weblate (Spanish)
Currently translated at 99.7% (1249 of 1252 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2018-09-14 14:42:59 +00:00
Victor Grousset 62c763da60 Translated using Weblate (Esperanto)
Currently translated at 87.8% (1100 of 1252 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eo/
2018-09-14 14:42:59 +00:00
Bruno Windels 27c496aecb remove unneeded async keywords 2018-09-14 13:55:47 +02:00
Bruno Windels fe734b944e remove obsolete warning as peeking will cause the membership to be null 2018-09-13 18:45:38 +02:00
Bruno Windels f194f323f4 postpone loading the members until the user joined the room
when peeking, the members weren't being loaded at all because
the room wasn't available yet,
and the need for loading the members was never re-evaluated after that.

This only loads the members once the user has joined the room,
which also helps to avoid load all the members before an invite
is accepted.
2018-09-13 18:43:24 +02:00
Weblate b4815d1a07 Merge remote-tracking branch 'origin/develop' into develop 2018-09-11 12:03:14 +00:00
David Baker 518be24a5b
Merge pull request #2164 from matrix-org/dbkr/dont_exit_fullscreen_when_not
Don't try to exit fullscreen if not fullscreen
2018-09-11 13:03:09 +01:00
David Baker d3038ea765 Don't try to exit fullscreen if not fullscreen
This was causing annoying exceptions on latest Chrome. Use
document.fullScreenElement to detect if we're fullscreen and don't
try to exit if we aren't.
2018-09-11 11:31:24 +01:00
Weblate 1e6e82c3cf Merge remote-tracking branch 'origin/develop' into develop 2018-09-11 08:57:34 +00:00
Bruno Windels ecaabd6b75
Merge pull request #2161 from matrix-org/bwindels/dontupdatememberlistwhileloading
avoid updating the memberlist while the spinner is shown
2018-09-11 10:57:29 +02:00
Weblate e99f42a743 Merge remote-tracking branch 'origin/develop' into develop 2018-09-11 08:54:34 +00:00
Milena Brum cf591244e6 Translated using Weblate (Spanish)
Currently translated at 99.6% (1248 of 1252 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2018-09-11 08:54:34 +00:00
David Baker 666c9a68e3
Merge pull request #2163 from matrix-org/bwindels/logllfailroomidcorrectly
fix logging room id when LL members fail
2018-09-11 09:54:29 +01:00
Bruno Windels deaad4bcb1 even better as the method called is on room 2018-09-10 18:11:08 +02:00
Bruno Windels 694ee5a2c8 fix logging room id when LL members fail 2018-09-10 18:09:11 +02:00
Bruno Windels 2aaf3e6b89 dont assign member in getInitialState 2018-09-10 17:39:03 +02:00
Bruno Windels 92f7e29132 missed one {} -> [], fix e2e tests 2018-09-10 17:32:40 +02:00
Weblate ca771ec912 Merge remote-tracking branch 'origin/develop' into develop 2018-09-10 15:31:37 +00:00
Bruno Windels f0e33dff24
Merge pull request #2162 from matrix-org/bwindels/dontspinaftermemberserror
dont keep the spinner in the memberlist when fetching /members fails
2018-09-10 17:31:31 +02:00
Weblate e5d334a4e8 Merge remote-tracking branch 'origin/develop' into develop 2018-09-10 15:30:48 +00:00
Kenneth Larsson 2f6b529eb3 Translated using Weblate (Swedish)
Currently translated at 100.0% (1252 of 1252 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sv/
2018-09-10 15:30:47 +00:00
Victor Grousset 1a4a22d13c Translated using Weblate (Esperanto)
Currently translated at 87.8% (1100 of 1252 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eo/
2018-09-10 15:30:46 +00:00
Bruno Windels dcc8a45aa1 add final return for clarity 2018-09-10 16:55:24 +02:00
Bruno Windels 5044d4f2d6 dont keep the spinner in the memberlist when fetching /members fails 2018-09-10 14:56:10 +02:00
Kenneth Larsson 78e258eb8d Translated using Weblate (Swedish)
Currently translated at 100.0% (1252 of 1252 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sv/
2018-09-10 12:19:09 +00:00
Moo d3f86aad10 Translated using Weblate (Lithuanian)
Currently translated at 68.0% (852 of 1252 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/lt/
2018-09-10 10:41:16 +00:00
Victor Grousset 39f56af21f Translated using Weblate (Esperanto)
Currently translated at 87.8% (1100 of 1252 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eo/
2018-09-10 10:41:15 +00:00
Milena Brum 85df81b220 Translated using Weblate (Spanish)
Currently translated at 99.6% (1248 of 1252 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2018-09-09 09:26:27 +00:00
RainSlide 54519a6da4 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1252 of 1252 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hans/
2018-09-09 09:26:26 +00:00
Osoitz 5e755b38da Translated using Weblate (Basque)
Currently translated at 100.0% (1252 of 1252 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2018-09-09 09:26:26 +00:00
Osoitz 09f5f02611 Translated using Weblate (Basque)
Currently translated at 100.0% (1252 of 1252 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2018-09-09 08:03:36 +00:00
Slavi Pantaleev d1a173bd55 Translated using Weblate (Bulgarian)
Currently translated at 100.0% (1252 of 1252 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-09-08 07:13:12 +00:00
Bruno Windels 0cd222ef0b make users available in member by requesting them from client right before
before this was already foreseen, but memberDict wasn't being refreshed
as it's only used in roomMembers(), I got rid of memberDict as well
2018-09-07 23:44:20 +02:00
Bruno Windels 7fe822ca17 Merge branch 'develop' into bwindels/dontupdatememberlistwhileloading 2018-09-07 23:43:25 +02:00
RainSlide faa6bd367a Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1252 of 1252 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hans/
2018-09-07 19:10:05 +00:00
Szimszon c5c4317352 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1252 of 1252 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2018-09-07 18:31:23 +00:00
Bruno Windels 9a3717a274 only dispatch an action for self-membership
as everything listens to the dispatcher, dispatching an action can be quite slow,
especially when only matched in one listener, and the rest all having to be called
to just say "no, thanks". This is especially the case for the RoomMember.membership
event being put on the dispatcher, as there can be thousands of these events
when the room members are loading.

Since the RoomMember.membership action is only used on one place,
and only for the syncing user, change it to just that and only dispatch
in that case. This saves 100-300ms when setting the OOB members in
a big room (7000k members)

Maybe later on we can back this by room.getMyMembership() and avoid the
listener even...
2018-09-07 19:53:01 +02:00
Kévin C d2e31ac95d Translated using Weblate (French)
Currently translated at 100.0% (1252 of 1252 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2018-09-07 17:29:55 +00:00
Weblate dba35945b3 Merge remote-tracking branch 'origin/develop' into develop 2018-09-07 17:09:08 +00:00
Milena Brum 596bb5ffc7 Translated using Weblate (Spanish)
Currently translated at 99.6% (1248 of 1252 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2018-09-07 17:09:07 +00:00
Bruno Windels 467cdd2f1f Merge branch 'develop' into bwindels/optimizememberlist 2018-09-07 18:32:13 +02:00
David Baker 73c28f3aae Merge translations from #2157 to release 2018-09-07 14:23:26 +01:00
Weblate 1592e7a22f Merge remote-tracking branch 'origin/develop' into develop 2018-09-07 12:57:35 +00:00
David Baker 877e949d1c
Merge pull request #2156 from matrix-org/bwindels/dontrefreshmembersforotherrooms
avoid memberlist refresh for events related to rooms other but the current
2018-09-07 13:57:29 +01:00
Jeff Huang 603fe4f92b Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1252 of 1252 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2018-09-07 12:47:46 +00:00
Weblate b21faea25d Merge remote-tracking branch 'origin/develop' into develop 2018-09-07 12:37:06 +00:00
Kenneth Larsson 6e795a2d08 Translated using Weblate (Swedish)
Currently translated at 99.6% (1247 of 1251 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sv/
2018-09-07 12:37:06 +00:00
Milena Brum 69f2f06468 Translated using Weblate (Spanish)
Currently translated at 99.7% (1248 of 1251 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2018-09-07 12:37:06 +00:00
Szimszon f8cc510542 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1251 of 1251 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2018-09-07 12:37:05 +00:00
Kévin C 55271c858e Translated using Weblate (French)
Currently translated at 100.0% (1251 of 1251 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2018-09-07 12:37:05 +00:00
Bruno Windels 101dad83aa same for right panel 2018-09-07 14:16:26 +02:00
Bruno Windels 9cc9fbf924 avoid memberlist refresh for events related to rooms other but the current 2018-09-07 14:05:26 +02:00
David Baker fa669bf096 Error on splash screen if sync is failing
Display an error on the splash screen with the spinner if the sync
request is not working, rather than just sitting there with a spinner
as if nothing is wrong.

Fixes https://github.com/vector-im/riot-web/issues/7148
2018-09-07 12:18:25 +01:00
Bruno Windels fec7d2ee5f avoid updating the memberlist while the spinner is shown
the memberlist gets updated constantly while the LL members
are being added to the room state. this slows things down unneed, and is one of the
main cause of dropping frames when member arrive.
2018-09-07 12:00:19 +02:00
Jeff Huang b9a8d765bb Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1251 of 1251 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2018-09-07 01:14:21 +00:00
Weblate 4744799561 Merge remote-tracking branch 'origin/develop' into develop 2018-09-06 15:23:41 +00:00
David Baker c8ab8bf5f8
Merge pull request #2150 from matrix-org/dbkr/disable_ilag_if_unsupported
Do full registration if HS doesn't support ILAG
2018-09-06 16:23:32 +01:00
Weblate 924d98b5f5 Merge remote-tracking branch 'origin/develop' into develop 2018-09-06 15:23:11 +00:00
Milena Brum fce40aead1 Translated using Weblate (Spanish)
Currently translated at 100.0% (1249 of 1249 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2018-09-06 15:23:10 +00:00
random 755c13fcd8 Translated using Weblate (Italian)
Currently translated at 100.0% (1249 of 1249 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2018-09-06 15:15:24 +00:00
David Baker 32da44615e Use some/every instead of doing it manually 2018-09-06 15:50:41 +01:00
Bruno Windels 26df485607 Merge branch 'develop' into revert-2149-revert-2145-bwindels/fixllroompermission 2018-09-06 15:35:41 +02:00
Weblate e43dfa39bd Merge remote-tracking branch 'origin/develop' into develop 2018-09-06 12:53:50 +00:00
Milena Brum 33a24b9fb4 Translated using Weblate (Spanish)
Currently translated at 100.0% (1249 of 1249 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2018-09-06 12:53:50 +00:00
Osoitz ee9ebf26d1 Translated using Weblate (Basque)
Currently translated at 100.0% (1249 of 1249 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2018-09-06 12:20:34 +00:00
David Baker 4c8d2de563
Revert "Revert "Don't rely on room members to query power levels"" 2018-09-06 11:48:23 +01:00
David Baker 9e64a22884 s/DidMount/WillMount/ in MessageComposerInput
This fixes the tests that broke with https://github.com/matrix-org/matrix-js-sdk/pull/717

This is because of https://github.com/vector-im/riot-web/blob/master/test/app-tests/joining.js#L63
which prevents the DOM nodes from actually ending up in the DOM, even though the react components
get rendered. This means that WillMount and WillUnmount are called, but not DidMount.

Using WillMount is more symmertrical anyway since the resulting teardown code must be in
WillUnmount (since there is no DidUnmount).
2018-09-06 11:44:13 +01:00
David Baker eced58701d Lint 2018-09-05 20:34:03 +01:00
Weblate 0979baa24d Merge remote-tracking branch 'origin/develop' into develop 2018-09-05 17:09:54 +00:00
Milena Brum c132b5b9fc Translated using Weblate (Spanish)
Currently translated at 100.0% (1249 of 1249 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2018-09-05 17:09:54 +00:00
David Baker 27fa21e403 Replace view_set_mxid with require_registration
To put all the other flows through the to-ilag-or-not-to-ilag flow
2018-09-05 18:08:49 +01:00
David Baker 34d27954cf
Revert "Don't rely on room members to query power levels" 2018-09-05 18:03:48 +01:00
David Baker a042f4d0af Do full registration if HS doesn't support ILAG
ILAG only works on HSes that allow registering without an email
address, so whenever we redirect to the ILAG flow, check what
registration flows the server supports, and if it doesn't offer one
that's ILAG-compatible, prompt the user to go through the full
registration process instead.

This doesn't change all the entry points into ILAG, I'll do that
in a separate commit.
2018-09-05 17:07:39 +01:00
Bruno Windels 8500a7131f avoid unneeded lookups in memberDict
have members be an array of RoomMember instead of userId, so
we can avoid multiple lookups when sorting, rendering, ...
2018-09-05 15:25:08 +02:00
Weblate 58ddfc77be Merge remote-tracking branch 'origin/develop' into develop 2018-09-05 11:08:00 +00:00
Bruno Windels 50de22fb51
Merge pull request #2145 from matrix-org/bwindels/fixllroompermission
Don't rely on room members to query power levels
2018-09-05 13:07:55 +02:00
Weblate 3d3decfc31 Merge remote-tracking branch 'origin/develop' into develop 2018-09-05 10:31:25 +00:00
David Baker 4517eaba6f
Merge pull request #2148 from matrix-org/dbkr/dont_say_email_optional_if_it_isnt
Correctly mark email as optional
2018-09-05 11:31:19 +01:00
Weblate 4de7c466d0 Merge remote-tracking branch 'origin/develop' into develop 2018-09-05 07:15:32 +00:00
Milena Brum 562cc32860 Translated using Weblate (Spanish)
Currently translated at 100.0% (1249 of 1249 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2018-09-05 07:15:32 +00:00
David Baker e5b761b754
Merge pull request #2059 from matrix-org/t3chguy/join_community_fire_ilag_flow
guests trying to join communities should fire the ILAG flow.
2018-09-05 08:15:24 +01:00
David Baker 775d995052 Lint 2018-09-04 18:51:24 +01:00
David Baker a07799879c Fix tests 2018-09-04 18:50:18 +01:00
Milena Brum 2001fc2cd0 Translated using Weblate (Spanish)
Currently translated at 100.0% (1249 of 1249 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2018-09-04 17:39:18 +00:00
David Baker dc14a42148 Correctly mark email as optional
Look at the flows to see if there is one we can complete without
an email address. Mark the email address as optional iff there is.
2018-09-04 18:26:09 +01:00
Weblate 971c08f8fd Merge remote-tracking branch 'origin/develop' into develop 2018-09-04 16:17:58 +00:00
Bruno Windels a6d241c29f
Merge pull request #2146 from matrix-org/bwindels/fixavatars-parttrois
Fix DM avatars, part 3
2018-09-04 18:17:52 +02:00
Bruno Windels 3b29b7aab6 fix getDMRoomsForUserId not calling _getUserToRooms first (thanks e2e tests) 2018-09-04 17:36:50 +02:00
Weblate 0c80cc143d Merge remote-tracking branch 'origin/develop' into develop 2018-09-04 14:40:37 +00:00
Bruno Windels bc97a3efb5
Merge pull request #2143 from matrix-org/bwindels/fixreconnectspinner
Fix: show spinner again while recovering from connection error
2018-09-04 16:40:30 +02:00
Weblate 61bb682c7a Merge remote-tracking branch 'origin/develop' into develop 2018-09-04 14:10:51 +00:00
csybr 37703843e0 Translated using Weblate (Norwegian Nynorsk)
Currently translated at 97.6% (1220 of 1249 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nn/
2018-09-04 14:10:51 +00:00
Bruno Windels 44a53cfc0d use lodash for unique function instead of rolling our own 2018-09-04 16:03:15 +02:00
Bruno Windels e171296d51 patch self-chats lazily in favor of awaiting sync state 2018-09-04 16:00:40 +02:00
Bruno Windels be66f98381 use room method for checking power levels
as it is always are of the syncing user's membership
in case of lazy loading members
2018-09-04 15:35:44 +02:00
Bruno Windels 5c395e4db7 wait for room creation, to go to home page in case of failure 2018-09-04 14:26:36 +02:00
Bruno Windels abd9d3a11e fix lint 2018-09-04 13:55:29 +02:00
Bruno Windels 6c7cb380e0 add warning in console when patching rooms, so it appears in rage shakes 2018-09-04 13:12:26 +02:00
Bruno Windels 441036ff93 remove duplicates from room lists 2018-09-04 13:12:26 +02:00
Bruno Windels 245dfbf957 only put NON-guessed rooms in self-chats 2018-09-04 13:12:26 +02:00
Bruno Windels c12abab52d wait until rooms are available
as accountData get processed before rooms, during initial sync
or loading sync from cache, accountData gets emitted
before any room is available, hence our patching wasn't doing
anything. Just as well, because it would have failed (see next commits)
2018-09-04 13:12:26 +02:00
csybr 0acb403d55 Translated using Weblate (Norwegian Nynorsk)
Currently translated at 97.6% (1220 of 1249 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nn/
2018-09-03 13:27:01 +00:00
Weblate e49a5a6723 Merge remote-tracking branch 'origin/develop' into develop 2018-09-03 13:05:33 +00:00
Markel a2bb08f58e Translated using Weblate (Spanish)
Currently translated at 98.8% (1235 of 1249 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2018-09-03 13:05:33 +00:00