Commit graph

11826 commits

Author SHA1 Message Date
David Baker
e1394d592a
Allow translation tags object to be a variable
Don't try to validate the translation tags if it's not an object literal.
2018-09-14 14:11:59 +01: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
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
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
Weblate
d0391a3f26 Merge remote-tracking branch 'origin/develop' into develop 2018-09-10 10:41:17 +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
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
Weblate
839d4ba41b Merge remote-tracking branch 'origin/develop' into develop 2018-09-09 17:38:31 +00:00
Matthew Hodgson
ef20813f2e remove layering warnings 2018-09-09 18:38:21 +01:00
Weblate
88cc8f89d0 Merge remote-tracking branch 'origin/develop' into develop 2018-09-09 09:49:14 +00:00
Matthew Hodgson
86c92ee56d downgraded parallelshell due to https://github.com/darkguy2008/parallelshell/issues/57 2018-09-09 10:49:02 +01:00
Weblate
370223eace Merge remote-tracking branch 'origin/develop' into develop 2018-09-09 09:26:27 +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
Matthew Hodgson
b8bfed1308 point deps at #develop to unbreak npm i 2018-09-09 10:26:16 +01: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