Commit graph

12491 commits

Author SHA1 Message Date
Travis Ralston
b0b7932f5f Move status context menu to its own component
This fixes a lot of the state bugs such as buttons not updating, etc. 

This commit also adds the border around the avatar to indicate a status is set.
2018-12-12 22:26:39 -07:00
Travis Ralston
99f5b9e39b Misc cleanup of whitespace 2018-12-12 18:18:43 -07:00
Travis Ralston
a91963e5ee Replace the avatar next to the composer with a status entry menu
The checkmark might change, and there appears to be some state tracking mishaps that need to be worked out.

Part of https://github.com/vector-im/riot-web/issues/1528
2018-12-12 18:03:30 -07:00
Travis Ralston
dd382ecb05 Fix a bug with determining 1:1 rooms
We shouldn't consider rooms where people have left or been banned
2018-12-12 13:20:26 -07:00
Osoitz
f8655af2f0 Translated using Weblate (Basque)
Currently translated at 100.0% (1398 of 1398 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2018-12-12 20:10:06 +00:00
Travis Ralston
cd9ea2b2d7 Fix alignment of avatars and status messages
also introduce the status message to the MemberInfo pane

Part of https://github.com/vector-im/riot-web/issues/1528
2018-12-12 12:57:48 -07:00
Szimszon
7009a20950 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1398 of 1398 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2018-12-12 18:54:36 +00:00
Weblate
6c67b7a5c9 Merge remote-tracking branch 'origin/develop' into develop 2018-12-12 15:12:23 +00:00
Tirifto
17347534d1 Translated using Weblate (Esperanto)
Currently translated at 82.7% (1156 of 1397 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eo/
2018-12-12 15:12:22 +00:00
Besnik Bleta
1283653bc9 Translated using Weblate (Albanian)
Currently translated at 99.3% (1388 of 1397 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2018-12-12 15:12:21 +00:00
Travis Ralston
bc9c08b11a
Merge pull request #2338 from matrix-org/travis/validate-emails
Check to make sure email addresses look roughly valid before inviting them to rooms
2018-12-12 08:12:15 -07:00
Kévin C
b15ab07264 Translated using Weblate (French)
Currently translated at 100.0% (1397 of 1397 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2018-12-12 08:03:28 +00:00
Szimszon
175dad3257 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1397 of 1397 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2018-12-12 07:36:41 +00:00
Travis Ralston
ce7969e3d5 Display custom status messages in the UI
Part of https://github.com/vector-im/riot-web/issues/1528
2018-12-11 21:40:11 -07:00
Jeff Huang
3a9418b6df Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1397 of 1397 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2018-12-12 03:07:07 +00:00
Weblate
8d05ee7a33 Merge remote-tracking branch 'origin/develop' into develop 2018-12-12 01:47:18 +00:00
J. Ryan Stinnett
2ca7477406 Fix typo in push rules comment
Signed-off-by: J. Ryan Stinnett <jryans@gmail.com>
2018-12-12 01:46:48 +00:00
Weblate
21055a92fe Merge remote-tracking branch 'origin/develop' into develop 2018-12-12 01:44:39 +00:00
J. Ryan Stinnett
bea551f52e
Merge pull request #2346 from jryans/expose-push-rules
Expose hidden notification rules in UI
2018-12-12 02:44:32 +01:00
J. Ryan Stinnett
04c30181c6 Expose hidden notification rules in UI
Adds UI control for 3 hidden notification rules:

* Messages containing @room
* Encrypted one-to-one messages
* Encrypted group messages

This should help to clarify some mysterious notification behavior, as it wasn't
obvious that these rules existed.

Fixes vector-im/riot-web#7833.

Signed-off-by: J. Ryan Stinnett <jryans@gmail.com>
2018-12-12 01:41:27 +00:00
Weblate
9461f4ff78 Merge remote-tracking branch 'origin/develop' into develop 2018-12-11 19:16:09 +00:00
J. Ryan Stinnett
ab6566980f Remove unused string left behind after #2259
Signed-off-by: J. Ryan Stinnett <jryans@gmail.com>
2018-12-11 19:15:08 +00:00
Weblate
9b52e991bc Merge remote-tracking branch 'origin/develop' into develop 2018-12-11 16:40:52 +00:00
Karol Kosek
4074a3c14c Translated using Weblate (Polish)
Currently translated at 91.3% (1275 of 1395 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2018-12-11 16:40:52 +00:00
csybr
18386ef75a Translated using Weblate (Norwegian Nynorsk)
Currently translated at 87.0% (1215 of 1395 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nn/
2018-12-11 16:40:52 +00:00
Bruno Windels
566e03568e
Merge pull request #2340 from matrix-org/rav/no_preserve_hs_url
Avoid preserving HS url at logout
2018-12-11 16:40:46 +00:00
Osoitz
d6dd2005db Translated using Weblate (Basque)
Currently translated at 100.0% (1395 of 1395 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2018-12-11 15:25:36 +00:00
random
f6d2fefe61 Translated using Weblate (Italian)
Currently translated at 100.0% (1395 of 1395 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2018-12-11 10:37:20 +00:00
Richard van der Hoff
010a31dbd1 Merge remote-tracking branch 'origin/develop' into rav/no_preserve_hs_url 2018-12-10 16:47:54 +00:00
Richard van der Hoff
36dd43f734 Avoid preserving HS url at logout
When I was talking to Matthew about this the other day, we couldn't think of a
good reason why we should preserve the HS URL at logout. It introduces the
problem that, if a client is redirected after login as per MSC1730, and then
you log out, you'll then get a login screen for the wrong server.

So basically there's no reason to have an mx_hs_url/mx_is_url without an access
token, and we can remove the stuff which preserves it, and the stuff that
attempts to restore it.
2018-12-10 14:44:12 +00:00
Weblate
1d1c15ebc8 Merge remote-tracking branch 'origin/develop' into develop 2018-12-10 13:45:26 +00:00
Karol Kosek
c6093bcd9b Translated using Weblate (Polish)
Currently translated at 90.6% (1265 of 1395 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2018-12-10 13:45:25 +00:00
Slavi Pantaleev
ee581b3b01 Translated using Weblate (Bulgarian)
Currently translated at 93.6% (1307 of 1395 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-12-10 13:45:24 +00:00
Osoitz
3d00af9cd0 Translated using Weblate (Basque)
Currently translated at 99.4% (1387 of 1395 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2018-12-10 13:45:24 +00:00
David Baker
f578bc6f87 Merge branch 'master' into develop 2018-12-10 13:44:52 +00:00
David Baker
37c984e195 v0.14.7 2018-12-10 13:43:59 +00:00
David Baker
9d456b2d0d Prepare changelog for v0.14.7 2018-12-10 13:43:58 +00:00
David Baker
5444a61e6f Released js-sdk 2018-12-10 13:39:35 +00:00
Weblate
d8dbc316fa Merge remote-tracking branch 'origin/develop' into develop 2018-12-08 19:16:36 +00:00
Slavi Pantaleev
4a5f0a5b71 Translated using Weblate (Bulgarian)
Currently translated at 91.9% (1283 of 1395 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-12-08 19:16:35 +00:00
Besnik Bleta
ec0c3f3cd1 Translated using Weblate (Albanian)
Currently translated at 99.3% (1386 of 1395 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2018-12-08 19:16:34 +00:00
Travis Ralston
780315817c
Merge pull request #2339 from matrix-org/travis/speed-up-room-list
Speed up room unread checks by not hitting the SettingsStore so often
2018-12-08 12:16:30 -07:00
Travis Ralston
ebdba32393
Add a comment about the SettingsStore being slow 2018-12-08 12:06:37 -07:00
Szimszon
a5e79415d7 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1395 of 1395 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2018-12-08 13:42:49 +00:00
Kévin C
007ee0fa19 Translated using Weblate (French)
Currently translated at 100.0% (1395 of 1395 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2018-12-08 10:03:34 +00:00
Travis Ralston
f2468f562d Speed up room unread checks by not hitting the SettingsStore so often
This was noticed as a problem after `Unread.doesRoomHaveUnreadMessages` started being called a lot more frequently. Down the call stack, `shouldHideEvent` is called which used to call into the `SettingsStore` frequently, causing performance issues in many cases. The `SettingsStore` tries to be as fast as possible, however there's still code paths that make it less than desirable to use as the first condition in an AND condition. By not hitting the `SettingsStore` so often, we can shorten those code paths.

As for how much this improves things, I ran some profiling before and after this change. This was done on my massive 1200+ room account. Before it was possible to see nearly 2 seconds spent generating room lists where 20-130ms per room was spent figuring out if the room has unread messages. Afterwards, the room list was generating within ~330ms and each unread check taking 0-2ms. There's still room for improvement on generating the room list, however the significant gains here seem worth it.
2018-12-07 20:15:21 -07:00
Travis Ralston
a969237dc0 Disable the submit button while .well-known is underway
To give the user a little feedback about something happening. This definitely needs to be improved in the future though.
2018-12-07 15:37:20 -07:00
Travis Ralston
6707186edc Change how the default server name and HS URL interact
They are now independent of each other. If both are specified in the config, the user will see an error and be prevented from logging in. The expected behaviour is that when a default server name is given, we do a .well-known lookup to find the default homeserver (and block the UI while we do this to prevent it from using matrix.org while we go out and find more information). If the config specifies just a default homeserver URL however, we don't do anything special.
2018-12-07 15:36:49 -07:00
Travis Ralston
0a32570026 Merge branch 'develop' into travis/well-known-improvements 2018-12-07 15:08:19 -07:00
Travis Ralston
d062e2c2f4 Check to make sure email addresses look roughly valid before inviting them to room
Fixes https://github.com/vector-im/riot-web/issues/6854
2018-12-07 15:03:58 -07:00