Commit Graph

9636 Commits (3f7e7f8da5d3e330e31c7bc479fb63cc6f36f70e)

Author SHA1 Message Date
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
Moo f86b4a6759 Translated using Weblate (Lithuanian)
Currently translated at 62.6% (782 of 1249 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/lt/
2018-09-03 13:05:32 +00:00
Andri 32d2db5df4 Translated using Weblate (Indonesian)
Currently translated at 27.3% (341 of 1249 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/id/
2018-09-03 13:05:32 +00:00
Bruno Windels 1eabb6012a
Merge pull request #2139 from matrix-org/bwindels/memberlist-spinner
Show spinner in member list while loading members
2018-09-03 15:05:27 +02:00
Bruno Windels cae419e304 avoid rerendering when LL is disabled 2018-09-03 11:13:56 +02:00
Krombel a97819e7f5 Translated using Weblate (German)
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/de/
2018-09-02 17:01:34 +00:00
Kévin C 8cae1150b1 Translated using Weblate (French)
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/fr/
2018-08-31 07:43:36 +00:00
Jeff Huang 8b29641dea Translated using Weblate (Chinese (Traditional))
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/zh_Hant/
2018-08-31 02:59:33 +00:00
Szimszon 33cfd34bc1 Translated using Weblate (Hungarian)
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/hu/
2018-08-30 19:05:31 +00:00
Weblate 3c1333d410 Merge remote-tracking branch 'origin/develop' into develop 2018-08-30 17:26:02 +00:00
Peter Vágner 3c48d4a14e Translated using Weblate (Slovak)
Currently translated at 99.9% (1246 of 1247 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sk/
2018-08-30 17:26:02 +00:00
David Baker d9fb88246a
Merge pull request #2140 from matrix-org/dbkr/discardsession
Slash command to discard megolm session
2018-08-30 18:25:56 +01:00
Bruno Windels debcc20604 also show spinner on new CATCHUP state 2018-08-30 15:39:48 +02:00
Weblate d292e3c3c3 Merge remote-tracking branch 'origin/develop' into develop 2018-08-30 10:45:59 +00:00
David Baker 75a2668e42
Merge pull request #2141 from matrix-org/bwindels/fixdmavatar
Fix DM avatar
2018-08-30 11:45:54 +01:00
Peter Vágner 8dd17dadd2 Translated using Weblate (Slovak)
Currently translated at 99.7% (1244 of 1247 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sk/
2018-08-30 10:45:36 +00:00
Bruno Windels fb0a0d5d9e allow self-chats 2018-08-30 12:36:53 +02:00
Peter Vágner 40e5d379f0 Translated using Weblate (Slovak)
Currently translated at 99.4% (1240 of 1247 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sk/
2018-08-30 10:32:59 +00:00
csybr e45008ec22 Translated using Weblate (Norwegian Nynorsk)
Currently translated at 97.8% (1220 of 1247 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nn/
2018-08-30 10:32:59 +00:00
Krombel fad6816d5e Translated using Weblate (German)
Currently translated at 100.0% (1247 of 1247 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2018-08-30 10:32:59 +00:00
Kévin C 332c190c63 Translated using Weblate (French)
Currently translated at 100.0% (1247 of 1247 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2018-08-30 10:32:59 +00:00
Bruno Windels d8f15e1159 make sure we still have the room 2018-08-30 12:06:34 +02:00
Bruno Windels 85b6f157c1 only patch m.direct data on server once per session to avoid request storm 2018-08-30 12:01:13 +02:00
Bruno Windels 379ddfff29 dont reassign userToRooms as we're just patching it up, also better check if we really have self DMs 2018-08-30 11:50:57 +02:00
Bruno Windels caff60d56d fix var decl 2018-08-30 11:37:13 +02:00
Osoitz f8baa0f729 Translated using Weblate (Basque)
Currently translated at 100.0% (1247 of 1247 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2018-08-30 09:31:34 +00:00
Bruno Windels d7868dbe33 delegate avatar selection to room for rooms with two members (but not in m.direct) 2018-08-30 10:54:01 +02:00
Bruno Windels 5afb3bfb29 patch up DMs marked to self (can happy if any client has a bug here) 2018-08-30 10:53:25 +02:00
Jeff Huang 91544b42e7 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1247 of 1247 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2018-08-30 00:42:07 +00:00
Kévin C 47609feb2c Translated using Weblate (French)
Currently translated at 100.0% (1247 of 1247 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2018-08-29 20:57:53 +00:00
Kenneth Larsson 023035a7dd Translated using Weblate (Swedish)
Currently translated at 100.0% (1247 of 1247 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sv/
2018-08-29 19:08:40 +00:00
Szimszon 0a8f62b92e Translated using Weblate (Hungarian)
Currently translated at 100.0% (1247 of 1247 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2018-08-29 18:52:42 +00:00
Weblate dae22a753a Merge remote-tracking branch 'origin/develop' into develop 2018-08-29 17:38:53 +00:00
David Baker 2c1ba6f104
Merge pull request #2124 from matrix-org/dbkr/tombstone
Support m.room.tombstone events
2018-08-29 18:38:48 +01:00
Weblate daa1d2ba87 Merge remote-tracking branch 'origin/develop' into develop 2018-08-29 17:38:26 +00:00
David Baker 6cbe4144d4 unused import 2018-08-29 18:28:16 +01:00
David Baker c40ac49b2a Merge remote-tracking branch 'origin/develop' into dbkr/roomcreate 2018-08-29 18:18:08 +01:00
David Baker 63938a3f9f Slash command to discard megolm session
For faster crypto debugging

Requires https://github.com/matrix-org/matrix-js-sdk/pull/704
2018-08-29 18:09:37 +01:00
Weblate e3f64344b8 Merge remote-tracking branch 'origin/develop' into develop 2018-08-29 16:20:09 +00:00
csybr 11d9e96d62 Translated using Weblate (Norwegian Nynorsk)
Currently translated at 99.0% (1217 of 1229 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nn/
2018-08-29 16:20:08 +00:00
David Baker bd0a9cf3a0 Merge remote-tracking branch 'origin/develop' into dbkr/room_upgrade 2018-08-29 15:51:07 +01:00
Bruno Windels f9c40390e9 set state after setting _showPresence to avoid all members to appear offline on matrix.org 2018-08-29 11:09:55 +02:00
Bruno Windels e9e5abfcc5 show a spinner in the memberlist while loading the members 2018-08-29 10:30:25 +02:00
Weblate d0055283d8 Merge remote-tracking branch 'origin/develop' into develop 2018-08-28 13:36:29 +00:00
csybr 38bab898f2 Translated using Weblate (Norwegian Nynorsk)
Currently translated at 99.0% (1217 of 1229 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nn/
2018-08-28 13:36:29 +00:00
csybr b97c203587 Translated using Weblate (Norwegian Bokmål)
Currently translated at 9.3% (115 of 1229 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nb_NO/
2018-08-28 13:36:29 +00:00