Commit graph

7566 commits

Author SHA1 Message Date
Luke Barnard
faf517419f Return null instead of undefined on failure 2018-03-06 12:14:41 +00:00
Luke Barnard
0fc79a4a0d Remove delay used in testing 2018-03-06 12:13:46 +00:00
Luke Barnard
afbd563810 Potentially fix a memory leak in FlairStore
For each successful request of a group profile, we previously
emitted an `updateGroupProfile` event per caller of
`getGroupProfileCached`. This is sub-optimal because only a single
event emit is required to update the views listening.

It's possible that this was enabling some race to cause a memory
leak but this is not certain, hence the extra logging for future
debugging.
2018-03-06 11:33:56 +00:00
Weblate
17657aa8e2 Merge remote-tracking branch 'origin/develop' into develop 2018-03-06 09:43:39 +00:00
Ralitsa Bozhkova
bd8f78526e Translated using Weblate (Bulgarian)
Currently translated at 100.0% (990 of 990 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-03-06 09:43:38 +00:00
Krombel
ecad9b9dd3 Translated using Weblate (German)
Currently translated at 100.0% (990 of 990 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2018-03-05 16:38:43 +00:00
Luke Barnard
a95f6a9804 Implement transparent RoomTile for use in some places
where a transparent appearance is required (i.e. in MemberInfo
or ChatCreateOrReuseDialog)
2018-03-05 12:36:02 +00:00
Szimszon
73768a7afc Translated using Weblate (Hungarian)
Currently translated at 100.0% (990 of 990 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2018-03-03 08:36:20 +00:00
RainSlide
8d8d73942e Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (990 of 990 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2018-03-02 13:18:50 +00:00
Ralitsa Bozhkova
ffcf58b144 Translated using Weblate (Bulgarian)
Currently translated at 100.0% (990 of 990 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-03-02 08:53:42 +00:00
Weblate
7daf0279d6 Merge remote-tracking branch 'origin/develop' into develop 2018-03-01 15:56:37 +00:00
David Baker
9a7a7ea2d6
Merge pull request #1784 from matrix-org/luke/fix-group-avatar-default-colour
Fix varying default group avatar colour for given group
2018-03-01 15:56:33 +00:00
Luke Barnard
94c1baa25d Fix varying default group avatar colour for given group 2018-03-01 15:42:22 +00:00
Weblate
2aa15095f2 Merge remote-tracking branch 'origin/develop' into develop 2018-03-01 15:38:16 +00:00
Andrey
379690bcc2 Translated using Weblate (Russian)
Currently translated at 100.0% (990 of 990 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2018-03-01 15:36:58 +00:00
Luke Barnard
86295acba3 Merge branch 'develop' into luke/fix-group-avatar-update 2018-03-01 15:27:06 +00:00
Kévin C
25e8272d2c Translated using Weblate (French)
Currently translated at 100.0% (990 of 990 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2018-03-01 15:07:44 +00:00
Luke Barnard
d5908fbc1e Fix FlairStore cache busting 2018-03-01 15:06:05 +00:00
Weblate
8499a95f18 Merge remote-tracking branch 'origin/develop' into develop 2018-03-01 15:05:51 +00:00
David Baker
e91ae6b5ac
Merge pull request #1782 from matrix-org/luke/fix-drag-drop-click-weirdness
Workaround for atlassian/react-beautiful-dnd#273
2018-03-01 15:05:47 +00:00
Weblate
ad2a8469a3 Merge remote-tracking branch 'origin/develop' into develop 2018-03-01 15:05:14 +00:00
Ralitsa Bozhkova
8b51ad7053 Translated using Weblate (Bulgarian)
Currently translated at 100.0% (989 of 989 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-03-01 15:05:13 +00:00
Luke Barnard
61a6f140f5 onClientSync -> _onClientSync 2018-03-01 14:43:26 +00:00
Luke Barnard
4037a22492 Fix bug where avatar change not reflected in LLP
Fixes vector-im/riot-web#6189
2018-03-01 14:40:03 +00:00
Luke Barnard
64332b3021 Workaround for atlassian/react-beautiful-dnd#273
Fix two bugs in Riot due to a single bug in react-b-dnd

Fixes vector-im/riot-web#6253
Fixes vector-im/riot-web#6156
2018-03-01 13:48:46 +00:00
Krombel
35b42ad729 Translated using Weblate (German)
Currently translated at 100.0% (989 of 989 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2018-03-01 10:33:56 +00:00
Luke Barnard
f29918b766 gen-i18n 2018-02-28 18:18:59 +00:00
Luke Barnard
27c71f15b9 Add setting to disable TagPanel 2018-02-28 18:16:01 +00:00
Weblate
b57c9c579c Merge remote-tracking branch 'origin/develop' into develop 2018-02-28 17:07:36 +00:00
David Baker
1ac62a17ff
Merge pull request #1779 from matrix-org/luke/fix-room-settings-power-levels
Fix room power level settings
2018-02-28 17:07:31 +00:00
Weblate
de727b37a8 Merge remote-tracking branch 'origin/develop' into develop 2018-02-28 16:58:32 +00:00
Klaus Marx
14d7e5e73d Translated using Weblate (German)
Currently translated at 99.6% (986 of 989 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2018-02-28 16:58:31 +00:00
RainSlide
a48d17258a Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (989 of 989 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2018-02-28 16:58:30 +00:00
RainSlide
758bc2976c Translated using Weblate (Chinese (Simplified))
Currently translated at 76.3% (755 of 989 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hans/
2018-02-28 16:58:30 +00:00
Ralitsa Bozhkova
a36ff75da7 Translated using Weblate (Bulgarian)
Currently translated at 100.0% (989 of 989 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-02-28 16:58:30 +00:00
Luke Barnard
fa9ff4ae6e
Merge pull request #1769 from matrix-org/t3chguy/fix_hide_joins_parts
fix shouldHideEvent saying an event is a leave/join when a profile ch…
2018-02-28 16:58:26 +00:00
Luke Barnard
d3dc2a33b4 Fix bug preventing setting room power levels
- don't use refs, use onChange of PowerSelector
 - store power levels as state in the RoomSetting component
2018-02-28 16:32:20 +00:00
Luke Barnard
567d83ba52 Update PowerSelector to support powerLevelKey prop
As a key to send as second argument to onChange. This is useful
when passing the same callback to multiple PowerSelectors.
2018-02-28 16:15:20 +00:00
Luke Barnard
9a72e69a43 Handle lack of room directory visibility response 2018-02-28 16:14:18 +00:00
Luke Barnard
dd529791fb Remove unused prop 2018-02-28 16:13:01 +00:00
Luke Barnard
d91d1932f4 Add tests for RoomSettings
For setting:
 - name
 - topic
 - history visibility
 - power levels

Testing RoomSettings required more stubbing on the matrix client.

The power level tests should be failing at this commit, with
fixes being made in upcoming commits.

Some tests are marked as known failures that we should fix but
aren't necessarily bugs:
 - SettingStore.setValue is used when saving despite the user not
   having made a change.
 - Testing directory publicity changes cannot be tested because we
   update state asynchronously in componentWillMount (which we do
   not block on in beforeEach).

Also, we needed to use `export default` to make sure everything
uses the same client peg and client.
2018-02-28 16:07:21 +00:00
daniel tygel
32c2650452 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (989 of 989 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pt_BR/
2018-02-28 13:15:02 +00:00
Jeff Huang
eebf9193ad Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (989 of 989 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2018-02-28 06:17:18 +00:00
Michael Telatynski
d66d66b2ec
comment on weirdness
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2018-02-28 01:03:58 +00:00
Michael Telatynski
03676a68ac
Add /devtools to Autocomplete and run gen-i18n
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2018-02-28 00:57:14 +00:00
Michael Telatynski
bd4b40309d
fix based on PR review
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2018-02-28 00:49:14 +00:00
Jeff Huang
753193055b Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (989 of 989 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2018-02-28 00:02:52 +00:00
Andrey
d733e38a8f Translated using Weblate (Russian)
Currently translated at 100.0% (989 of 989 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2018-02-27 19:38:08 +00:00
Kévin C
7d92248ae3 Translated using Weblate (French)
Currently translated at 100.0% (989 of 989 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2018-02-27 17:46:29 +00:00
Ralitsa Bozhkova
82592a7024 Translated using Weblate (Bulgarian)
Currently translated at 100.0% (989 of 989 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-02-27 17:36:47 +00:00
Weblate
7e3cf89e5a Merge remote-tracking branch 'origin/develop' into develop 2018-02-27 15:11:17 +00:00
Jeff
624188571b Translated using Weblate (French)
Currently translated at 100.0% (987 of 987 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2018-02-27 15:11:16 +00:00
Katie Wolfe
15f0ae1986 Translated using Weblate (Esperanto)
Currently translated at 97.2% (960 of 987 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eo/
2018-02-27 15:11:16 +00:00
Ralitsa Bozhkova
7d0f6584ab Translated using Weblate (Bulgarian)
Currently translated at 100.0% (987 of 987 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-02-27 15:11:16 +00:00
Osoitz
a92e3eac6c Translated using Weblate (Basque)
Currently translated at 100.0% (987 of 987 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2018-02-27 15:11:16 +00:00
Luke Barnard
2b49947e1e Add "Did you know:..." microcopy to groups view
To explain how to drag group avatars into the TagPanel
2018-02-27 09:20:06 +00:00
daniel tygel
bc18aecd1e Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (987 of 987 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pt_BR/
2018-02-26 21:41:09 +00:00
Weblate
26c4192cbd Merge remote-tracking branch 'origin/develop' into develop 2018-02-23 16:36:17 +00:00
Matthew Hodgson
3552800d19
Merge pull request #1753 from matrix-org/luke/fix-room-list-drop-target-bg
Give emptySubListTip a container for correct bg colour
2018-02-23 16:36:10 +00:00
Weblate
f053a6b623 Merge remote-tracking branch 'origin/develop' into develop 2018-02-23 15:16:01 +00:00
Luke Barnard
fae7af1a62 Do proper null-checks on decypted events to fix NPEs
Previously we assumed that a decrypted event has a room_id
but this isn't necessarily true for to_device events.

It makes sense to ignore events that aren't associated with
rooms anyway given that the list we're updating only contains
rooms!
2018-02-23 15:04:04 +00:00
Weblate
78d2ebdb6b Merge remote-tracking branch 'origin/develop' into develop 2018-02-23 10:38:54 +00:00
David Baker
a28691b9de
Merge pull request #1775 from matrix-org/luke/fix-room-list-reordering-e2e
Reorder the RoomListStore lists on Event.decrypted
2018-02-23 10:38:49 +00:00
Luke Barnard
9e969e33b7 Reorder the RoomListStore lists on Event.decrypted 2018-02-23 10:32:33 +00:00
Weblate
534e81ba60 Merge remote-tracking branch 'origin/develop' into develop 2018-02-23 10:14:12 +00:00
Matthew Hodgson
d8ef6f79b1 s/autoShow/autoshow/ 2018-02-23 10:14:02 +00:00
Weblate
9cdc73bdb8 Merge remote-tracking branch 'origin/develop' into develop 2018-02-23 10:12:22 +00:00
Xose M
070619bfdb Translated using Weblate (Galician)
Currently translated at 99.1% (979 of 987 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/gl/
2018-02-23 10:12:21 +00:00
Ralitsa Bozhkova
bc162d3bd0 Translated using Weblate (Bulgarian)
Currently translated at 100.0% (987 of 987 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-02-23 10:12:21 +00:00
Ralitsa Bozhkova
e1fc1c1c6c Translated using Weblate (Bulgarian)
Currently translated at 99.8% (987 of 987 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-02-22 20:56:47 +00:00
Slavi Pantaleev
45172537f5 Translated using Weblate (Bulgarian)
Currently translated at 99.8% (986 of 987 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-02-22 20:56:47 +00:00
Ralitsa Bozhkova
0838ef3299 Translated using Weblate (Bulgarian)
Currently translated at 99.8% (986 of 987 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-02-22 20:56:19 +00:00
Slavi Pantaleev
5402f4919c Translated using Weblate (Bulgarian)
Currently translated at 99.7% (985 of 987 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-02-22 20:55:54 +00:00
Luke Barnard
5d6a447620 Fix bug where global "Never send to unverified..." is ignored 2018-02-22 18:47:27 +00:00
Michael Telatynski
4c4c9506ca
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix_hide_joins_parts 2018-02-22 16:21:35 +00:00
Michael Telatynski
a897da7504
Use undocumented piwik cmd to disable heartbeattimer
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2018-02-22 16:15:50 +00:00
Michael Telatynski
773fef7f1d
fix shouldHideEvent saying an event is a leave/join when a profile change
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2018-02-22 16:14:56 +00:00
Osoitz
f4bdb4897e Translated using Weblate (Basque)
Currently translated at 100.0% (987 of 987 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2018-02-22 15:36:13 +00:00
adi1
f2e1c0ebca
Fix TextualBody.js to remove NodeList.forEach()
Not all browsers support forEach() on NodeList objects. This causes crashes on some browsers, such as IE and FF<50.
2018-02-22 13:59:37 +01:00
Weblate
8b9f265f1c Merge remote-tracking branch 'origin/develop' into develop 2018-02-22 11:15:24 +00:00
Ralitsa Bozhkova
dbe0a64e39 Translated using Weblate (Bulgarian)
Currently translated at 92.0% (909 of 987 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-02-22 11:15:22 +00:00
Matthew Hodgson
663c7e5285
Merge pull request #1767 from matrix-org/luke/fix-tint-updating
Fix bug that prevented tint updates
2018-02-22 11:15:19 +00:00
Luke Barnard
f08ec3498a Fix bug that prevented tint updates 2018-02-22 10:53:06 +00:00
Weblate
99b42857b9 Merge remote-tracking branch 'origin/develop' into develop 2018-02-22 10:30:49 +00:00
Ralitsa Bozhkova
cc727bc5b5 Translated using Weblate (Bulgarian)
Currently translated at 90.0% (889 of 987 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-02-22 10:30:47 +00:00
Matthew Hodgson
8e0f0d3c0b
Merge pull request #1765 from matrix-org/luke/fix-group-member-spinner-order
Fix group member spinner being out of flex order
2018-02-22 10:30:42 +00:00
Szimszon
0c0d4707e1 Translated using Weblate (Hungarian)
Currently translated at 100.0% (987 of 987 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2018-02-22 07:56:27 +00:00
Weblate
862b7b736c Merge remote-tracking branch 'origin/develop' into develop 2018-02-22 00:18:32 +00:00
Richard Lewis
8ac02b34ef
Merge pull request #1766 from matrix-org/rxl881/iframePermissionsFix
Allow widget iframes to request camera and microphone permissions.
2018-02-22 00:18:26 +00:00
Weblate
1b167b32f0 Merge remote-tracking branch 'origin/develop' into develop 2018-02-21 23:51:55 +00:00
Ralitsa Bozhkova
4f122e38e3 Translated using Weblate (Bulgarian)
Currently translated at 81.5% (805 of 987 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-02-21 23:51:54 +00:00
Matthew Hodgson
70d2ffc850 don't let 3pid invites mark room as unread
fixes https://github.com/vector-im/riot-web/issues/5698
2018-02-21 23:51:45 +00:00
Richard Lewis
13bebd69c9 Made comment "react-style". 2018-02-21 23:35:57 +00:00
Richard Lewis
ecde099146 Fix typo. 2018-02-21 23:24:53 +00:00
Richard Lewis
7e8660cd37 Add comment for "is" attribute. 2018-02-21 23:23:44 +00:00
Richard Lewis
ffb524b6a5 Allow widget iframes to request camera and microphone permissions. 2018-02-21 23:10:08 +00:00
lukebarnard
5cd7a7fc06 Fix group member spinner being out of flex order 2018-02-21 19:26:14 +00:00
Kévin C
296e2bd928 Translated using Weblate (French)
Currently translated at 100.0% (987 of 987 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2018-02-21 18:16:22 +00:00
Walter
d9032d706f Translated using Weblate (Russian)
Currently translated at 100.0% (987 of 987 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2018-02-21 18:08:38 +00:00
Weblate
242e015ce3 Merge remote-tracking branch 'origin/develop' into develop 2018-02-21 18:05:52 +00:00
Ralitsa Bozhkova
bb386c05d9 Translated using Weblate (Bulgarian)
Currently translated at 79.5% (784 of 986 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-02-21 18:05:51 +00:00
Matthew Hodgson
4a3be82828
Merge pull request #1764 from matrix-org/luke/feature-tag-panel-global-filter-cross
Change icon from "R" to "X"
2018-02-21 18:05:46 +00:00
Luke Barnard
ff868691c9 Only show "X" when filtering, add alt/title 2018-02-21 17:15:43 +00:00
Luke Barnard
fc73442cdc Change icon from "R" to "X" 2018-02-21 15:06:10 +00:00
Weblate
3593f1739d Merge remote-tracking branch 'origin/develop' into develop 2018-02-21 13:38:13 +00:00
Ralitsa Bozhkova
5e90da73f0 Translated using Weblate (Galician)
Currently translated at 98.7% (974 of 986 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/gl/
2018-02-21 13:38:12 +00:00
Ralitsa Bozhkova
b7601f86d1 Translated using Weblate (Bulgarian)
Currently translated at 76.8% (758 of 986 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-02-21 13:38:12 +00:00
Luke Barnard
a78575929c Document a few action creators 2018-02-21 10:15:52 +00:00
Luke Barnard
644ddbf9b9 Regenerate room lists on Room event
To make sure that we handle rooms that our
client has not seen previously, we regenerate
the room list when the room is stored -
which is indicated by the js-sdk by the
Room event.
2018-02-20 17:57:46 +00:00
Weblate
eadf609932 Merge remote-tracking branch 'origin/develop' into develop 2018-02-20 14:22:23 +00:00
Ralitsa Bozhkova
f227d13dfe Translated using Weblate (Bulgarian)
Currently translated at 43.8% (432 of 986 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-02-20 14:22:21 +00:00
David Baker
b5146001d6
Merge pull request #1761 from matrix-org/luke/fix-direct-messages-with-self
Fix DMs being marked as with the current user ("me")
2018-02-20 14:22:17 +00:00
Luke Barnard
bc15303358 Factor out updateDmState 2018-02-20 14:10:34 +00:00
Luke Barnard
d21f55633d Fix DMs being marked as with the current user ("me")
Whilst testing various DM paths, @lukebarnard1 found that there were
many failures to add the room as a DM against the correct user. It
turned out most of the failures seen were because the user chosen
was the current user. If the user accepted an invite it would often
be marked as with themselves because we chose the sender of the
join event as the DM user.

This fix makes the DM room setting process the same for both the
inviting client and the invited client. A RoomState.members
event causes the DM room state to be set in the room, regardless
of whether we are currently `joining` (see previous impl.)

The two cases for setting a DM are:
 - this user accepting an invite with is_direct
 - this user inviting someone with is_direct

This should handle all cases for setting DM state.
2018-02-20 14:03:43 +00:00
Weblate
d6e1ac3ca6 Merge remote-tracking branch 'origin/develop' into develop 2018-02-20 10:17:24 +00:00
Ralitsa Bozhkova
c5ad486c57 Translated using Weblate (Catalan)
Currently translated at 89.2% (880 of 986 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ca/
2018-02-20 10:17:23 +00:00
Ralitsa Bozhkova
1c96c1f4d9 Translated using Weblate (Bulgarian)
Currently translated at 38.0% (375 of 986 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-02-20 10:17:22 +00:00
David Baker
fd90a8b23c
Merge pull request #1756 from matrix-org/luke/fix-recent-ordering
Make RoomListStore aware of Room.timeline events
2018-02-20 10:17:16 +00:00
Weblate
46a29b56d9 Merge remote-tracking branch 'origin/develop' into develop 2018-02-19 16:39:22 +00:00
Ralitsa Bozhkova
4998890a0e Translated using Weblate (Bulgarian)
Currently translated at 27.7% (274 of 986 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-02-19 16:39:20 +00:00
Richard van der Hoff
715198dc17
Merge pull request #1760 from matrix-org/matthew/improve-postmessage-origin-check2
improve origin check of ScalarMessaging postmessage API.
2018-02-19 16:39:15 +00:00
Weblate
4c4b813aa1 Merge remote-tracking branch 'origin/develop' into develop 2018-02-19 09:59:25 +00:00
Simó Albert i Beltran
71a1de1e73 Translated using Weblate (Catalan)
Currently translated at 89.2% (880 of 986 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ca/
2018-02-19 09:59:23 +00:00
Ralitsa Bozhkova
da35871cb1 Translated using Weblate (Bulgarian)
Currently translated at 24.4% (241 of 986 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-02-19 09:59:23 +00:00
Luke Barnard
5d1af70b96
Merge pull request #1759 from matrix-org/luke/feature-tag-panel-global-filter
Implement global filter to deselect all tags
2018-02-19 09:59:19 +00:00
Luke Barnard
32130fbc28 Don't regenerate RoomListStore state for notifs/scrollback/etc.
Only do so for the live timeline of rooms.
2018-02-19 09:56:03 +00:00
Matthew Hodgson
2d5a2a9d48 improve origin check of ScalarMessaging postmessage API.
ensures that https://scalar.ve can't access the API.
many thanks to @rugk for pointing out the potential vuln.
cc @rxl881 in case this bug has been transplanted elsewhere.
2018-02-17 00:02:38 +00:00
Luke Barnard
7a0c82a327 Fix click background to deselect 2018-02-16 18:08:29 +00:00
Weblate
d5b502743a Merge remote-tracking branch 'origin/develop' into develop 2018-02-16 17:51:30 +00:00
Luke Barnard
113fc696d8 Implement global filter to deselect all tags
and make TagPanel scrollable whilst we're at it.
2018-02-16 17:43:43 +00:00
Travis Ralston
cbeee72062
Don't show empty custom tags when filtering tags
Signed-off-by: Travis Ralston <travpc@gmail.com>
2018-02-16 10:11:04 -07:00
Luke Barnard
3f6c15506c Remove unused room parameter of MatrixActions.Room.timeline 2018-02-16 16:17:47 +00:00
Weblate
cedfa4b607 Merge remote-tracking branch 'origin/develop' into develop 2018-02-16 16:01:17 +00:00
Tulir Asokan
f2903d1439 Translated using Weblate (Finnish)
Currently translated at 95.2% (939 of 986 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2018-02-16 16:01:16 +00:00
Ralitsa Bozhkova
cca820c353 Translated using Weblate (Bulgarian)
Currently translated at 15.2% (150 of 986 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-02-16 16:01:16 +00:00
Luke Barnard
84ab1ae3e2 Do not assume that tags have been removed
when moving tags
2018-02-16 15:52:15 +00:00
Luke Barnard
94a0a90457 Make RoomListStore aware of Room.timeline events
so that we can do reorderings of lists ordered by most recent event.

No optimisations here; we only update for timeline events
on live timelines that could update the "unread count".
2018-02-16 14:16:50 +00:00
Weblate
aae428887a Merge remote-tracking branch 'origin/develop' into develop 2018-02-15 20:20:33 +00:00
Ralitsa Bozhkova
b111a824e8 Translated using Weblate (Bulgarian)
Currently translated at 12.0% (119 of 986 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-02-15 20:20:32 +00:00
Matthew Hodgson
07b691a45d typo 2018-02-15 20:20:25 +00:00
Weblate
5e8ec9f451 Merge remote-tracking branch 'origin/develop' into develop 2018-02-15 14:51:18 +00:00
Ralitsa Bozhkova
19b6684089 Translated using Weblate (Bulgarian)
Currently translated at 7.0% (70 of 986 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-02-15 14:51:17 +00:00
Luke Barnard
1a880761e0
Merge pull request #1747 from matrix-org/luke/fix-scrollbars-on-jump-to-first
Change CSS class for message panel spinner
2018-02-15 14:51:12 +00:00
Luke Barnard
57419a7f8d Give emptySubListTip a container for correct bg colour 2018-02-15 14:11:45 +00:00
Weblate
f46c16b94a Merge remote-tracking branch 'origin/develop' into develop 2018-02-15 13:35:14 +00:00
Ralitsa Bozhkova
39af04f090 Translated using Weblate (Bulgarian)
Currently translated at 5.5% (55 of 986 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-02-15 13:35:13 +00:00
David Baker
55dc49f4ff Merge remote-tracking branch 'origin/develop' into dbkr/roomliststore_unregister 2018-02-15 13:29:30 +00:00
David Baker
ceec405519 Remove RoomListStore listener
This caused the the RoomList component to leak (although in practice
only accross logins because that's the only time it's unmounted)
2018-02-15 11:23:00 +00:00
Weblate
e79d502972 Merge remote-tracking branch 'origin/develop' into develop 2018-02-15 11:05:34 +00:00
Ralitsa Bozhkova
a4c7da63af Translated using Weblate (Bulgarian)
Currently translated at 4.6% (46 of 986 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-02-15 11:05:33 +00:00