Matthew Hodgson
6a53b7b149
Merge pull request #1389 from turt2live/travis/ignored_users
...
Add ignore user API support
2017-09-17 22:05:02 +01:00
Travis Ralston
2605004edb
Update ignored users when js-sdk on UserSettings on change
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-09-17 15:04:03 -06:00
Matthew Hodgson
9e77d1b763
tweak comment
2017-09-17 21:50:24 +01:00
Matthew Hodgson
bc565ba925
Merge pull request #1392 from turt2live/travis/no_emoji
...
Add option to disable Emoji suggestions
2017-09-17 21:40:43 +01:00
Michael Telatynski
2d6bbafccd
remove unused strings since base branch
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2017-09-17 13:44:16 +01:00
Michael Telatynski
e565882ba2
add missing comma
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2017-09-17 13:40:18 +01:00
Michael Telatynski
342e10214b
PL grew the missing string since my base branch so do for that too
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2017-09-17 13:39:27 +01:00
Michael Telatynski
63ccc45551
Merge branches 'develop' and 't3chguy/i18n-1' of github.com:matrix-org/matrix-react-sdk into t3chguy/i18n-1
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
# Conflicts:
# src/i18n/strings/nl.json
# src/i18n/strings/zh_Hans.json
2017-09-17 13:33:34 +01:00
Michael Telatynski
bc4bb6cc48
remove redundant new line
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2017-09-17 13:29:05 +01:00
Michael Telatynski
ce2cdf3fa1
sanitize the i18n for fn:textForHistoryVisibilityEvent
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2017-09-17 13:28:17 +01:00
Matthew Hodgson
5bf8c1e95f
Merge pull request #1394 from matrix-org/dbkr/emoji_more_fast_path
...
Don't check for only-emoji if there were none
2017-09-16 00:40:16 +01:00
Matthew Hodgson
13bfa5d59c
Merge pull request #1393 from matrix-org/dbkr/fix_symbol_emojification
...
Fix emojification of symbol characters
2017-09-16 00:38:44 +01:00
David Baker
c265ec9571
Fix RoomView stuck in 'accept invite' state
...
After accepting a 3pid invite.
Rather than clear the joining flag when the join request completes,
leave it so the RoomView can see that we're expecting the user to
be joined in the various stages that might go through (waiting for
join request, waiting for room object, waiting for 'joined' member
event). The problem in this case was that we had to wait a bit for
the last one, and there was no bit of state to represent it.
This hopefully also makes the logic somewhat simpler.
Fixes https://github.com/vector-im/riot-web/issues/5041
2017-09-15 15:07:09 +01:00
David Baker
bfedcd1ff0
Don't check for only-emoji if there were none
...
We were still running the emojione regex on all messages to
determine if they were *only* emoji (for the big emoji). This is
pointless on messages that we already know don't have emoji.
Also stop exporting unicodeToImage because it isn't used anywhere.
2017-09-15 12:03:32 +01:00
David Baker
803e8f93e3
Fix emojification of symbol characters
...
Emojione has graphics for a lot of the symbol / dingbat characters
which are within the basic multilingual plane, but the new
fast-path regex was only detecthing surrogate pairs, so not
counting the symbols as emoji.
2017-09-15 11:43:55 +01:00
Weblate
c24804ea38
Merge remote-tracking branch 'origin/develop' into develop
2017-09-15 08:56:06 +00:00
David Baker
1b355e1a13
Merge pull request #1391 from matrix-org/dbkr/fix_slash_join
...
Make /join join again
2017-09-15 09:56:02 +01:00
Weblate
5bce0ce277
Merge remote-tracking branch 'origin/develop' into develop
2017-09-15 08:18:59 +00:00
Akcja Demokracja Open-Source
dd22b12e16
Translated using Weblate (Polish)
...
Currently translated at 100.0% (853 of 853 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2017-09-15 08:18:59 +00:00
David Baker
c814f02f34
Merge pull request #1390 from matrix-org/dbkr/create_room_no_spinner
...
Display spinner not room preview after room create
2017-09-15 09:18:55 +01:00
turt2live
b2de016b35
Add option to disable Emoji suggestions
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-09-14 21:28:12 -06:00
turt2live
0363f73e28
Fix the MessagePanel test
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-09-14 20:57:28 -06:00
turt2live
3c71898237
Add /(un)ignore to autocomplete
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-09-14 20:30:40 -06:00
turt2live
6e00f70320
Hide read receipts and typing notifs for ignored users
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-09-14 20:25:51 -06:00
turt2live
2e72d6cd7c
Hide events that were sent by ignored users
...
This code only kicks in if the user was ignored after an event was sent. The homeserver should prevent other events from coming in.
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-09-14 20:16:56 -06:00
Travis Ralston
3889df6b08
Add (un)ignore button to MemberInfo
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-09-14 19:42:09 -06:00
Travis Ralston
13a251e29c
Give feedback for /ignore and /unignore
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-09-14 16:21:36 -06:00
David Baker
f3a4856593
Merge remote-tracking branch 'origin/develop' into dbkr/fix_slash_join
2017-09-14 23:09:26 +01:00
Travis Ralston
2d517079d9
Add unresponsive /ignore and /unignore commands
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-09-14 16:08:51 -06:00
Travis Ralston
2bc866b997
Clean up UserSettings for linting
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-09-14 16:08:20 -06:00
David Baker
1f837d2ae1
Make /join join again
...
The auto_join parameter to view_room got broken at some point so
/join took you to the room and then sat there like a lemon.
Fixes https://github.com/vector-im/riot-web/issues/5029
2017-09-14 23:06:00 +01:00
Travis Ralston
4579d20fd0
Unignore people from the settings
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-09-14 15:33:36 -06:00
David Baker
6b6e59e0dd
Display spinner not room preview after room create
...
After creating a room, display the activity spinner while we wait
for the room to come down the event stream.
This was the intention before but I can't see how it would have
worked: we were setting the 'joining' flag, but then resetting it
by claiming we were already joined in the view_room dispatch.
* Send 'joining' instead of 'joined' in view_room dispatch, which
will set the corresponding joining flag (ie. to indicate we've
sent a request to join the room). Remove the 'joined' flag.
* Reset 'joining' to false otherwise on a view_room dispatch to
prevent it from leaking between rooms (this may have been the
intention of the `if (payload.joined) newState.joining = false`?
Fixes https://github.com/vector-im/riot-web/issues/4701
2017-09-14 22:22:21 +01:00
Travis Ralston
4df16e8245
Display which users are ignored in the user settings
...
Adds https://github.com/vector-im/riot-web/issues/1767
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-09-14 12:51:53 -06:00
Michael Telatynski
f612b1933b
start MELS expanded if it contains a highlighted/permalinked event.
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2017-09-14 17:53:47 +01:00
turt2live
8dc2604d63
Show who redacted an event on hover
...
This should fix #3931 although it's not obvious who actually performed the redaction.
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-09-14 09:03:05 -06:00
Osoitz
c9d8005a4d
Translated using Weblate (Basque)
...
Currently translated at 100.0% (855 of 855 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2017-09-14 10:23:17 +00:00
Weblate
daabf06bdb
Merge remote-tracking branch 'origin/develop' into develop
2017-09-14 09:42:27 +00:00
Matthew Hodgson
94ec11d3e1
Merge pull request #1384 from matrix-org/dbkr/fix_oobdata
...
Fix the avatar / room name in room preview
2017-09-14 10:42:24 +01:00
Weblate
5a2c74a893
Merge remote-tracking branch 'origin/develop' into develop
2017-09-14 09:38:30 +00:00
Matthew Hodgson
bb8538cd1a
Merge pull request #1381 from matrix-org/dbkr/remove_spurious_cancel_button
...
Remove spurious cancel button
2017-09-14 10:38:26 +01:00
Iru Cai (vimacs)
c890eea88a
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 80.7% (690 of 855 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hans/
2017-09-14 08:02:23 +00:00
Andrey
09fdd2bf0e
Translated using Weblate (Russian)
...
Currently translated at 100.0% (855 of 855 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2017-09-14 05:11:57 +00:00
Weblate
0f18528415
Merge remote-tracking branch 'origin/develop' into develop
2017-09-13 17:06:35 +00:00
Akcja Demokracja Open-Source
b6c235b463
Translated using Weblate (Polish)
...
Currently translated at 100.0% (853 of 853 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2017-09-13 17:06:34 +00:00
David Baker
34134f0d43
Fix starting a chat by email address
...
Regression introduced whilst refactoring for groups support.
2017-09-13 17:37:43 +01:00
Stefan Parviainen
4ee023b4ef
Translated using Weblate (Finnish)
...
Currently translated at 40.8% (349 of 855 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2017-09-13 16:14:53 +00:00
David Baker
5087da9247
Merge remote-tracking branch 'origin/develop' into luke/feature-flair
2017-09-13 16:52:12 +01:00
David Baker
3c3328c5f1
Merge remote-tracking branch 'origin/develop' into dbkr/group_userlist
2017-09-13 16:34:39 +01:00
David Baker
ffb3d718d3
Fix the avatar / room name in room preview
...
When clicking on rooms from the room directory. When RoomViewStore
resolved the room alias, it threw away the out-of-band data in the
process. This must have been broken as part of the ILAG /
RoomViewStore stuff.
2017-09-13 15:48:53 +01:00
Krombel
57b1b42ec6
Translated using Weblate (German)
...
Currently translated at 100.0% (855 of 855 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2017-09-13 13:59:16 +00:00
Weblate
6bcb160ba3
Merge remote-tracking branch 'origin/develop' into develop
2017-09-13 13:27:40 +00:00
Akcja Demokracja Open-Source
5e65a9696c
Translated using Weblate (Polish)
...
Currently translated at 100.0% (853 of 853 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2017-09-13 13:27:39 +00:00
David Baker
081a900524
Merge pull request #1363 from matrix-org/t3chguy/on_copy_tooltip
...
respond on copy code block
2017-09-13 14:27:35 +01:00
Weblate
3cb333efdf
Merge remote-tracking branch 'origin/develop' into develop
2017-09-13 13:27:09 +00:00
Akcja Demokracja Open-Source
9d3ae94a01
Translated using Weblate (Polish)
...
Currently translated at 100.0% (853 of 853 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2017-09-13 13:27:09 +00:00
David Baker
2c0dae8c52
Merge pull request #1383 from matrix-org/t3chguy/fix-dateutils
...
fix DateUtils inconsistency with 12/24h
2017-09-13 14:27:04 +01:00
Michael Telatynski
fea7af11b4
Merge remote-tracking branch 'origin/t3chguy/on_copy_tooltip' into t3chguy/on_copy_tooltip
2017-09-13 14:18:56 +01:00
Michael Telatynski
d3bfdf495c
initialize value with false to prevent undefined.
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2017-09-13 14:18:31 +01:00
Weblate
af62af3a6f
Merge remote-tracking branch 'origin/develop' into develop
2017-09-13 12:39:04 +00:00
Akcja Demokracja Open-Source
091dcdc131
Translated using Weblate (Polish)
...
Currently translated at 100.0% (853 of 853 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2017-09-13 12:39:04 +00:00
Michael Telatynski
c810665b92
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix-dateutils
2017-09-13 13:24:48 +01:00
Michael Telatynski
1b73707e05
fix DateUtils inconsistency with 12/24h
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2017-09-13 13:20:24 +01:00
Michael Telatynski
39470c44a3
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/sub-sup
2017-09-13 12:15:12 +01:00
Michael Telatynski
a0855a2869
allow sending sub,sup and whitelist them on receive
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2017-09-13 12:04:46 +01:00
Akcja Demokracja Open-Source
09e232dda5
Translated using Weblate (Polish)
...
Currently translated at 100.0% (853 of 853 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2017-09-13 10:49:56 +00:00
Jeff Huang
b450af5e3e
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (853 of 853 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2017-09-12 23:20:48 +00:00
David Baker
8abd35f581
Remove spurious cancel button
...
That appeared if you clicked on a room from the room directory
(it didn't do anything). It's only supposed to be shown when
editing room settings.
2017-09-12 15:48:13 +01:00
Weblate
49723f03ea
Merge remote-tracking branch 'origin/develop' into develop
2017-09-12 14:33:56 +00:00
David Baker
757bc9fe32
Update roomlist when an event is decrypted
...
Events are now decrypted asynchronously, so are not decrypted
at the time of the Room.timeline which is when our RoomList
got the chance to update. It needs to update once the event has
been decrypted.
Ideally we would not update the whole room list order, but this is
how all the room list re-ordering happens right now, so staying
consistent with this.
Fixes https://github.com/vector-im/riot-web/issues/5020
2017-09-12 14:47:26 +01:00
Andrey
181a91282b
Translated using Weblate (Russian)
...
Currently translated at 100.0% (853 of 853 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2017-09-12 13:28:33 +00:00
Michael Telatynski
130a2fe978
Translated using Weblate (Polish)
...
Currently translated at 96.1% (820 of 853 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2017-09-12 11:51:44 +00:00
Jan Kudrik
1e400fd9a6
Translated using Weblate (Czech)
...
Currently translated at 25.7% (220 of 853 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/cs/
2017-09-12 11:51:44 +00:00
Michael Telatynski
e84d30cd11
Translated using Weblate (Polish)
...
Currently translated at 96.1% (820 of 853 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2017-09-12 11:42:09 +00:00
Michael Telatynski
b2a22bc8e3
Translated using Weblate (Polish)
...
Currently translated at 96.1% (820 of 853 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2017-09-12 11:39:15 +00:00
Weblate
ae64d32b70
Merge remote-tracking branch 'origin/develop' into develop
2017-09-12 10:56:28 +00:00
Michael Telatynski
75e8e247ae
Translated using Weblate (Swedish)
...
Currently translated at 50.0% (427 of 853 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sv/
2017-09-12 10:56:26 +00:00
Michael Telatynski
24009eb7b0
Translated using Weblate (Polish)
...
Currently translated at 95.7% (817 of 853 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2017-09-12 10:56:26 +00:00
Michael Telatynski
3fca607d07
Translated using Weblate (Hungarian)
...
Currently translated at 99.7% (851 of 853 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2017-09-12 10:56:26 +00:00
Krombel
5a73b4c51b
Translated using Weblate (German)
...
Currently translated at 100.0% (853 of 853 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2017-09-12 10:56:26 +00:00
Stefan Parviainen
fd0e8314b1
Translated using Weblate (Finnish)
...
Currently translated at 10.9% (93 of 853 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2017-09-12 10:56:26 +00:00
Michael Telatynski
50db05c614
Translated using Weblate (Dutch)
...
Currently translated at 99.7% (851 of 853 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2017-09-12 10:56:25 +00:00
Michael Telatynski
79f834d184
Translated using Weblate (Basque)
...
Currently translated at 99.6% (850 of 853 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2017-09-12 10:56:25 +00:00
Jerzy Kołosowski
dd952ad432
Translated using Weblate (Polish)
...
Currently translated at 95.6% (816 of 853 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2017-09-12 10:56:24 +00:00
Michael Telatynski
ac8adbb1a2
Translated using Weblate (Polish)
...
Currently translated at 95.6% (816 of 853 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2017-09-12 10:54:54 +00:00
David Baker
d90aa6ec20
Merge pull request #1368 from matrix-org/t3chguy/fix_theme
...
fix radio for theme selection
2017-09-12 11:54:49 +01:00
Krombel
dc88a5ba5e
Translated using Weblate (German)
...
Currently translated at 100.0% (853 of 853 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2017-09-12 10:41:58 +00:00
Weblate
33c8907267
Merge remote-tracking branch 'origin/develop' into develop
2017-09-12 09:52:22 +00:00
Weblate
0b6d352cf4
Merge branch 'develop' of https://github.com/matrix-org/matrix-react-sdk into develop
...
Conflicts:
src/i18n/strings/de_DE.json
src/i18n/strings/fi.json
src/i18n/strings/hu.json
src/i18n/strings/nl.json
src/i18n/strings/pl.json
src/i18n/strings/ru.json
src/i18n/strings/zh_Hant.json
2017-09-12 09:33:58 +00:00
Michael Telatynski
9920cd4f55
fix some more zh_Hans - remove entirely broken lines
2017-09-12 10:24:56 +01:00
uppps
0cdb9322e9
Translated using Weblate (Spanish)
...
Currently translated at 80.7% (785 of 972 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2017-09-12 09:10:07 +00:00
Akcja Demokracja Open-Source
f124a9069b
Translated using Weblate (Polish)
...
Currently translated at 97.3% (946 of 972 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2017-09-12 09:10:07 +00:00
Bamstam
cf3118fb5e
Translated using Weblate (German)
...
Currently translated at 100.0% (972 of 972 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2017-09-12 09:10:07 +00:00
Stefan Parviainen
56125d6e38
Translated using Weblate (Finnish)
...
Currently translated at 9.4% (92 of 972 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2017-09-12 09:10:07 +00:00
Silke
e3b70a76a4
Translated using Weblate (Dutch)
...
Currently translated at 100.0% (972 of 972 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2017-09-12 09:10:06 +00:00
Jan Kudrik
aa4bad5b67
Translated using Weblate (Czech)
...
Currently translated at 35.0% (341 of 972 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/cs/
2017-09-12 09:10:06 +00:00
Ramon Vilar
7ab7461a37
Translated using Weblate (Catalan)
...
Currently translated at 6.7% (66 of 972 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ca/
2017-09-12 09:10:06 +00:00
David Baker
7425f9b066
Merge pull request #1377 from matrix-org/t3chguy/zh_Hans
...
fix placeholder causing app to break when using zh
2017-09-12 10:09:31 +01:00
Robert Swain
aa82be1fb1
Merge branch 'develop' into rob/electron-screensharing
2017-09-12 10:54:20 +02:00
Michael Telatynski
92ae0db1bd
fix placeholder causing app to break when using zh
2017-09-12 09:35:47 +01:00
David Baker
3c70b86668
Merge pull request #1375 from matrix-org/dbkr/active_room_observer
...
Avoid re-rendering RoomList on room switch
2017-09-11 18:52:09 +01:00
David Baker
7e1886c2ab
Merge pull request #1376 from matrix-org/dbkr/fix_failed_to_load_timeline_pos
...
Fix 'Failed to load timeline position' regression
2017-09-11 18:51:41 +01:00
David Baker
6cb98d7196
Hopefully make comment clearer
2017-09-11 18:39:30 +01:00
David Baker
531fc3ac54
Fix 'Failed to load timeline position' regression
...
Ignore the update that comes in from the RoomViewStore when the
current room changes or we save our scoll state against the new
room rather than the old one.
Fixes https://github.com/vector-im/riot-web/issues/5010
2017-09-11 17:57:52 +01:00
David Baker
be8f0991a6
Avoid re-rendering RoomList on room switch
...
Introduce a class that consumes updates from the RoomViewStore and
announces to listeners if the active room ID is now or is no longer
the room ID they specified. Naming suggestions welcome: it's
currently called ActiveRoomObserver.
Avoids passing the selectedRoomId down from MatrixChat all the way
through the LeftPanel / RoomList / RoomSubList to the RoomTiles.
Also introduce a CallPreview class that listens directly for
RoomViewStore changes as the call preview in the left panel needs
to know when the room changes, so this allows this component to
update without having to update the entire left panel.
2017-09-11 16:59:09 +01:00
Jerzy Kołosowski
188c7df53a
Translated using Weblate (Polish)
...
Currently translated at 93.6% (910 of 972 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2017-09-11 13:03:11 +00:00
Akcja Demokracja Open-Source
610e53889e
Translated using Weblate (Polish)
...
Currently translated at 93.5% (909 of 972 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2017-09-11 12:48:46 +00:00
Michael Telatynski
0580d536ad
Merge branch 'develop' into t3chguy/on_copy_tooltip
2017-09-10 18:54:52 +01:00
David Baker
7617788345
Merge pull request #1372 from matrix-org/dbkr/emoji_fast_path
...
Fast path for emojifying strings
2017-09-10 17:44:02 +01:00
David Baker
05a986334d
Separate function to add code copy button
...
For neatness and also so it can show up separately in the profiler.
2017-09-10 15:58:17 +01:00
David Baker
876257f4e2
Consolidate the code copy button
...
Adding the code code button was done by manipulating the HTML of
the event body to add a span tag, then adding the onclick handler
after the thing was mounted. Apart from splitting the code between
two places, adding the span tag was, according to Chrome's
profiler, taking up quite a lot of CPU cycles (apparently as soon
as you set the innerHTML on a div). Instead, just build the whole
lot together after the component mounts.
2017-09-10 14:23:33 +01:00
David Baker
fe79010e4e
Only add the code copy button for HTML messages
...
Trivial fast-path optimisation: plain text messages cannot possibly contain pre
blocks so there's no point in trying to parse them in order to add code copy
buttons.
2017-09-08 23:36:22 +01:00
David Baker
ea5726aa4e
Copyright
2017-09-08 23:14:06 +01:00
David Baker
ec3ff529e7
Fast path for emojifying strings
...
Emojione's regex for detecting emoji is *enourmous* and we were
running it on every display name, room name, message etc every time
those components mounted. Add a much simpler regex to rule out the
majority of strings that contain no emoji and fast-path them.
Makes room switching about 10% faster (in my tests with all the
profiling turned on).
2017-09-08 23:05:27 +01:00
Matthew Hodgson
0e8bd856bc
remove obsolete this._roomViewStoreToken.remove();
2017-09-08 20:14:27 +02:00
David Baker
663dc3e513
Don't re-render matrixchat unnecessarily
...
...on room switch. We were setting most of the state in viewRoom,
but getting the current room ID from the RoomViewStore, but this
meant we did one setState from the RoomViewStore updating,
re-rendered and then setState again in viewRoom causing another
render. This just sets the room ID in viewRoom.
2017-09-08 18:56:57 +01:00
David Baker
d507dc7975
Merge pull request #1370 from matrix-org/dbkr/onhaveroom_no_wait_for_setstate
...
Don't wait for setState to run onHaveRoom
2017-09-08 18:24:57 +01:00
David Baker
aee2f3cdef
Rename onHaveRoom
...
And move some code out of it which didn't really have any reason
to be hanging out there rather than just be where we set the room
a few lines above.
2017-09-08 18:11:13 +01:00
David Baker
bf982004f6
Give onHaveRoom the info it needs explicitly
...
Rather than giving it a state object which is not actually the
whole state but happens to be everything it actually wants
(currently)
2017-09-08 17:56:53 +01:00
David Baker
81871c50be
Add more doc
...
on why module level variables do not work as singletons
2017-09-08 17:43:41 +01:00
David Baker
03dcded72f
Blank line to make comment clearer
2017-09-08 17:39:10 +01:00
David Baker
1be35a77ec
Don't wait for setState to run onHaveRoom
...
onHaveRoom sets some more state (among other things) so putting it
in the setState callback so it could observe the new state caused
us to have to re-render again unnecessarily. Just give it the new
state as a parameter.
2017-09-08 17:06:46 +01:00
David Baker
984d639a37
Merge remote-tracking branch 'origin/develop' into dbkr/scroll_state_store
2017-09-08 15:58:38 +01:00
David Baker
13b094a3f6
Merge pull request #1369 from matrix-org/dbkr/dont_always_paginate
...
Don't always paginate when mounting a ScrollPanel
2017-09-08 15:51:55 +01:00
bldrzzy
d33f90e002
Translated using Weblate (Polish)
...
Currently translated at 80.1% (779 of 972 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2017-09-08 14:49:38 +00:00
David Baker
78a2e49705
Don't always paginate when mounting a ScrollPanel
...
Calling just checkFill on DidMount did not initially set the
scrollTop which meant that one back pagination request is always
performed regardless. This meant we would end up rending the
first batch of events, then paginating and re-rendering again
after the pagination got another batch, causing unnecessary render
churn.
2017-09-08 15:41:19 +01:00
David Baker
59c54d3756
Remove redundant code
2017-09-08 13:39:22 +01:00
David Baker
d714291aa1
Re-add doc on scroll state map structure
2017-09-08 13:27:14 +01:00
Akcja Demokracja Open-Source
5684074639
Translated using Weblate (Polish)
...
Currently translated at 77.3% (752 of 972 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2017-09-07 23:01:25 +00:00
Michael Telatynski
3df379cb49
fix radio for theme selection
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2017-09-07 18:54:41 +01:00
David Baker
82d1afcc47
Correct comment
2017-09-07 17:16:32 +01:00
David Baker
7f44ac7403
Remove now unused stuff from RoomViewStore
2017-09-07 17:15:19 +01:00
David Baker
408b8c18ea
Introduce a RoomScrollStateStore
...
to keep the place we're scrolled to in rooms. This mainly eleimates
the extra, superfluous onRoomViewStoreUpdate callback that
happened when the previous room saved back its scroll state.
Moving the scroll state to a separate store means we can have this
not emit events because nothing needs to know when the scroll state
changes.
2017-09-07 17:08:36 +01:00
Ramon Vilar
e1319d3838
Added translation using Weblate (Catalan)
2017-09-07 12:37:56 +00:00
Jerzy Kołosowski
8e5c8b4fc2
Translated using Weblate (Polish)
...
Currently translated at 64.8% (630 of 972 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2017-09-06 22:13:53 +00:00
David Baker
d71f15adf4
Remove unused scrollStateMap from LoggedinView
2017-09-06 22:51:10 +01:00
Kevin Németh
720715e60e
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (972 of 972 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2017-09-06 16:53:39 +00:00
David Baker
609d61d53c
Revert "Implement sticky date separators"
2017-09-06 17:40:58 +01:00
Iru Cai (vimacs)
16621d0e1d
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 77.2% (751 of 972 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hans/
2017-09-06 11:18:28 +00:00
Silke
6cfc7f0124
Translated using Weblate (Dutch)
...
Currently translated at 100.0% (972 of 972 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2017-09-06 10:42:13 +00:00
Michael Telatynski
b10b0e573d
i18n and change message depending on success of copy
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2017-09-06 11:29:55 +01:00
Michael Telatynski
269f1f33e3
show response on copy so you don't mash it
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2017-09-06 11:27:25 +01:00
Akcja Demokracja Open-Source
1df1d99000
Translated using Weblate (Polish)
...
Currently translated at 57.4% (558 of 972 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2017-09-05 19:15:34 +00:00
David Baker
738c81b506
Add missing translations
2017-09-05 17:36:41 +01:00
David Baker
158e6fd9ff
Merge pull request #1361 from MTRNord/patch-9
...
Remove unused string "changing room on a RoomView is not supported"
2017-09-05 17:20:26 +01:00
MTRNord
da3336172f
Remove more unused translation strings
2017-09-05 18:12:00 +02:00
Marcel
a573a396ad
Remove unused string "changing room on a RoomView is not supported"
2017-09-05 18:07:22 +02:00
MTRNord
5449224dec
readd translations that got removed by accident 2
2017-09-05 18:01:57 +02:00
MTRNord
7ba8aa95c5
readd translations that got removed by accident
2017-09-05 18:00:57 +02:00
MTRNord
4a362c141a
Cleanup unused language code translations
2017-09-05 17:54:49 +02:00
Marcel
5684b6a23c
Remove unused translation code translations
2017-09-05 17:35:03 +02:00
David Baker
289c3a5fbd
Merge remote-tracking branch 'origin/develop' into dbkr/group_userlist
2017-09-05 14:20:02 +01:00
David Baker
262d66f579
Merge pull request #1353 from matrix-org/luke/feature-sticky-date-separators
...
Implement sticky date separators
2017-09-05 14:15:47 +01:00
Jerzy Kołosowski
ce4178f116
Translated using Weblate (Polish)
...
Currently translated at 43.3% (421 of 972 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2017-09-05 10:35:14 +00:00
Jeff Huang
f5f0b14da2
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (972 of 972 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2017-09-05 02:15:21 +00:00
Marek Jędrzejewski
1b2e33976d
Translated using Weblate (Polish)
...
Currently translated at 30.0% (292 of 972 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2017-09-04 19:23:54 +00:00
Jerzy Kołosowski
82e0e533a0
Translated using Weblate (Polish)
...
Currently translated at 30.0% (292 of 972 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2017-09-04 19:22:49 +00:00
David Baker
de2940f469
Fix plurals in translations
...
Weblate doesn't understand counterpart's multi-level format for
plurals and helpfully mangles them to be dot-separated keys when it
saves the translation file. Store the source files with pipe
separators and convert to counterpart format at build time.
2017-09-04 17:09:36 +01:00
David Baker
79ee41351c
Fix typo
2017-09-04 15:45:28 +01:00
Krombel
91b547b99f
Translated using Weblate (German)
...
Currently translated at 100.0% (972 of 972 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2017-09-04 12:53:11 +00:00
Krombel
9de3ce67f1
Translated using Weblate (German)
...
Currently translated at 100.0% (972 of 972 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2017-09-04 12:22:41 +00:00
Andrey
76ff4b1f24
Translated using Weblate (Russian)
...
Currently translated at 100.0% (972 of 972 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2017-09-04 11:15:29 +00:00
Eric Newport
c902652f6c
Translated using Weblate (English)
...
Currently translated at 100.0% (972 of 972 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/en_EN/
2017-09-04 11:02:16 +00:00
Osoitz
b66b6b6d94
Translated using Weblate (Basque)
...
Currently translated at 100.0% (972 of 972 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2017-09-04 11:00:23 +00:00
Andrey
ce57464dd1
Translated using Weblate (Russian)
...
Currently translated at 100.0% (972 of 972 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2017-09-04 10:44:36 +00:00
Weblate
d305f8aacb
Merge remote-tracking branch 'origin/develop' into develop
2017-09-04 10:27:17 +00:00
sahajkoka
102a4dfac0
Translated using Weblate (Telugu)
...
Currently translated at 34.6% (336 of 971 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/te/
2017-09-04 10:27:17 +00:00
tompatulpan
5d19410723
Translated using Weblate (Swedish)
...
Currently translated at 56.4% (548 of 971 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sv/
2017-09-04 10:27:17 +00:00
mark
abbff25454
Translated using Weblate (Spanish)
...
Currently translated at 80.8% (785 of 971 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2017-09-04 10:27:17 +00:00
Andrey
e215e7a403
Translated using Weblate (Russian)
...
Currently translated at 100.0% (971 of 971 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2017-09-04 10:27:17 +00:00
anmcp
a294a2c545
Translated using Weblate (Portuguese)
...
Currently translated at 91.8% (892 of 971 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pt/
2017-09-04 10:27:17 +00:00
Lauris Mierkalns
1996c02adb
Translated using Weblate (Latvian)
...
Currently translated at 100.0% (971 of 971 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/lv/
2017-09-04 10:27:16 +00:00
Bamstam
05c4b042ad
Translated using Weblate (German)
...
Currently translated at 100.0% (971 of 971 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2017-09-04 10:27:16 +00:00
kaiyou
3549c660be
Translated using Weblate (French)
...
Currently translated at 99.4% (966 of 971 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2017-09-04 10:27:16 +00:00
Eric Newport
ea929aac84
Translated using Weblate (English)
...
Currently translated at 100.0% (971 of 971 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/en_EN/
2017-09-04 10:27:16 +00:00
Kaj Printz
197c449bad
Translated using Weblate (Danish)
...
Currently translated at 23.6% (230 of 971 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/da/
2017-09-04 10:27:16 +00:00
Jan Kudrik
0186bfc483
Translated using Weblate (Czech)
...
Currently translated at 23.8% (232 of 971 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/cs/
2017-09-04 10:27:16 +00:00
Jeff Huang
b3a53c43fd
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (971 of 971 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2017-09-04 10:27:16 +00:00
钟进
ce914349ce
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 72.5% (704 of 971 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hans/
2017-09-04 10:27:16 +00:00
Robert Swain
53574541c3
AppTile: Add Jitsi electron screensharing support
2017-09-04 09:31:25 +02:00
lazz0
6847dddcc4
Translated using Weblate (German)
...
Currently translated at 100.0% (971 of 971 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2017-09-04 07:30:01 +00:00
Bamstam
6abb8f4464
Translated using Weblate (German)
...
Currently translated at 100.0% (971 of 971 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2017-09-04 07:29:13 +00:00
lazz0
1e79fd8463
Translated using Weblate (German)
...
Currently translated at 100.0% (971 of 971 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2017-09-03 14:32:16 +00:00
Bamstam
95fa0f0cb7
Translated using Weblate (German)
...
Currently translated at 100.0% (971 of 971 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2017-09-03 14:10:19 +00:00
Ange des ténèbres
53a09144fb
Translated using Weblate (French)
...
Currently translated at 99.4% (966 of 971 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2017-09-01 17:42:18 +00:00
Brendan Abolivier
839b1cf194
Translated using Weblate (French)
...
Currently translated at 99.3% (965 of 971 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2017-09-01 17:38:15 +00:00
Stefan Parviainen
26ebb530ee
Added translation using Weblate (Finnish)
2017-09-01 15:20:27 +00:00
Luke Barnard
0ded4acba0
Mark TODO for https://github.com/vector-im/riot-web/issues/4951
2017-08-31 17:52:53 +01:00
Luke Barnard
d84190f58d
Explain Flair debounce
2017-08-31 17:49:19 +01:00
Luke Barnard
e89d52ccbf
Do not get avatars when no groups were/could be retrieved
2017-08-31 16:46:39 +01:00
Luke Barnard
86e8a4c7e2
Make componentWillMount not async
...
This was left over from a previous refactor
2017-08-31 16:44:14 +01:00
Luke Barnard
c9c0771355
Spelling
2017-08-31 16:29:45 +01:00
Luke Barnard
cdb28f956e
Add comment for StickyContainer extension
2017-08-31 16:29:31 +01:00
Ange des ténèbres
8f0b7db0d7
Translated using Weblate (French)
...
Currently translated at 99.2% (964 of 971 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2017-08-31 15:11:05 +00:00
David Baker
a2f2070966
Put setSate in the promise constructor
...
Avoids local variables. Also typo in comment.
2017-08-30 21:44:10 +01:00
David Baker
225fe67586
Fix room change sometimes being very slow
...
If the js-sdk had a lot of history in memory for a particular room,
riot would paginate all that history into the DOM and render it
when switching to that room (before then removing it all again).
This obviously made switching to that room very slow.
This was caused by the fact that we relied on the setState that
happens in TimelinePanel after the pagination taking effect such
that ScrollPanel sees that it no longer needs to paginate, but
in some situations (as far as I can see, in electron...?) this
setState would not take effect until the pagination stopped
fulfiling requests from memory and hit the network.
Fix: don't resolve the promise returned by the pagination request
until the setState has actually happened.
2017-08-30 19:14:26 +01:00
David Baker
9efa604706
Merge remote-tracking branch 'origin/develop' into dbkr/group_userlist
2017-08-30 17:39:47 +01:00
David Baker
cf747fcb57
Lint
2017-08-30 17:34:44 +01:00
Eric Newport
c3fc366039
Translated using Weblate (French)
...
Currently translated at 98.8% (960 of 971 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2017-08-30 15:01:10 +00:00
Luke Barnard
a29e7da06b
Merge branch 'develop' into luke/feature-sticky-date-separators
2017-08-30 14:06:06 +01:00