Commit graph

11545 commits

Author SHA1 Message Date
Bruno Windels
ab931e0f62
Merge pull request #2160 from matrix-org/bwindels/selfmembershipaction
only dispatch an action for self-membership
2018-09-10 17:30:41 +02: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
David Baker
832a73d47a Merge branch 'master' into develop 2018-09-10 11:40:58 +01:00
David Baker
60e55594dd Merge branch 'release-v0.13.4' 2018-09-10 11:39:50 +01:00
David Baker
405f0bcf98 v0.13.4 2018-09-10 11:38:53 +01:00
David Baker
bb37e36e71 Prepare changelog for v0.13.4 2018-09-10 11:38:52 +01:00
David Baker
f99aef8ede js-sdk v0.11.0 2018-09-10 11:36:06 +01:00
Matthew Hodgson
ef20813f2e remove layering warnings 2018-09-09 18:38:21 +01:00
Matthew Hodgson
86c92ee56d downgraded parallelshell due to https://github.com/darkguy2008/parallelshell/issues/57 2018-09-09 10:49:02 +01:00
Matthew Hodgson
b8bfed1308 point deps at #develop to unbreak npm i 2018-09-09 10:26:16 +01: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
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
Bruno Windels
aa8e998612
Merge pull request #2153 from matrix-org/bwindels/optimizememberlist
avoid unneeded lookups in memberDict
2018-09-07 19:09:00 +02:00
Bruno Windels
467cdd2f1f Merge branch 'develop' into bwindels/optimizememberlist 2018-09-07 18:32:13 +02:00
David Baker
830edeb9ca v0.13.4-rc.1 2018-09-07 14:35:44 +01:00
David Baker
1cab61f560 Prepare changelog for v0.13.4-rc.1 2018-09-07 14:35:44 +01:00
David Baker
2380f2cb1f js-sdk rc.1 2018-09-07 14:31:45 +01:00
David Baker
73c28f3aae Merge translations from #2157 to release 2018-09-07 14:23:26 +01:00
David Baker
b419652e4e
Merge pull request #2157 from RiotTranslateBot/weblate-riot-web-matrix-react-sdk
Update from Weblate.
2018-09-07 14:10:30 +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
David Baker
7143a8ef3c
Merge pull request #2155 from matrix-org/dbkr/error_on_splash_page
Error on splash screen if sync is failing
2018-09-07 13:36:59 +01: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
Bruno Windels
6f706641a3
Merge pull request #2152 from matrix-org/revert-2149-revert-2145-bwindels/fixllroompermission
Re-apply "Don't rely on room members to query power levels"
2018-09-06 17:23:02 +02: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
Bruno Windels
8bd93a7c4f
Merge pull request #2151 from matrix-org/dopr.sh
s/DidMount/WillMount/ in MessageComposerInput
2018-09-06 14:53:44 +02: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