Commit graph

25691 commits

Author SHA1 Message Date
Travis Ralston
84e60ee439 Add a 'show less' button to the new room list 2020-06-15 20:00:09 -06:00
Travis Ralston
4186070489 Support list collapsing and jumping
Fixes https://github.com/vector-im/riot-web/issues/14036
2020-06-15 19:47:43 -06:00
Michael Telatynski
3217becce8 i18n 2020-06-16 00:52:52 +01:00
Michael Telatynski
7dad8f47d3 use group layout for search results 2020-06-16 00:51:11 +01:00
Michael Telatynski
fcd3ebe051 Fix case-sensitivity of /me to match rest of slash commands
also better error handling for attempted runs of unimplemented commands
2020-06-16 00:41:21 +01:00
David Baker
d90645f0ea add comment 2020-06-15 17:46:22 +01:00
David Baker
0618d82ccb Look for existing verification requests after login
Fixes https://github.com/vector-im/riot-web/issues/13462
Requires https://github.com/matrix-org/matrix-js-sdk/pull/1405
2020-06-15 17:41:22 +01:00
David Baker
b02e439b8b Matrix client is no longer returned by onLoggedIn
It seems non-obvious that it should do, and the doc saying it should
do seems to have disappeared.
2020-06-15 15:18:57 +01:00
Travis Ralston
8596905cee Merge branch 'develop' into travis/room-list/sticky 2020-06-15 06:54:27 -06:00
David Baker
3d1ec9effb
typo
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-15 12:59:38 +01:00
Weblate
ef0b392a0b Merge branch 'origin/develop' into Weblate. 2020-06-15 11:51:10 +00:00
Michael Albert
8d0b9f46d3 Translated using Weblate (German)
Currently translated at 99.7% (2278 of 2285 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2020-06-15 11:51:09 +00:00
Jorik Schellekens
94f52c4ee2
Merge pull request #4731 from matrix-org/joriks/radio-buttons
Change theme selector to use new styled radio buttons
2020-06-15 12:51:02 +01:00
Jorik Schellekens
d44fbda834 Make disabled checkbox look more convincingly useless 2020-06-15 12:23:14 +01:00
David Baker
a75dfca73e Comment on when we start waiting for the first sync 2020-06-15 12:11:45 +01:00
Jorik Schellekens
3b1f0db3e1 Use smaller top margin for selectors 2020-06-15 12:06:40 +01:00
David Baker
404798d27c Merge remote-tracking branch 'origin/develop' into dbkr/support_no_ssss 2020-06-15 11:36:39 +01:00
David Baker
8ebae4c3b6
Merge pull request #4686 from matrix-org/dbkr/recovery_keys_over_passphrases
Use recovery keys over passphrases
2020-06-15 11:30:30 +01:00
David Baker
e6f4f58df2
Merge pull request #4760 from RiotTranslateBot/weblate-riot-web-matrix-react-sdk
Update from Weblate
2020-06-15 10:05:59 +01:00
call_xz
b7036ce183 Translated using Weblate (Japanese)
Currently translated at 56.7% (1295 of 2282 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ja/
2020-06-15 08:30:32 +00:00
random
5b1a3bf14d Translated using Weblate (Italian)
Currently translated at 99.9% (2281 of 2282 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2020-06-15 08:30:32 +00:00
Kévin C
1386419c6e Translated using Weblate (French)
Currently translated at 100.0% (2282 of 2282 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2020-06-15 08:30:31 +00:00
Priit Jõerüüt
523da0de72 Translated using Weblate (Estonian)
Currently translated at 59.7% (1362 of 2282 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/et/
2020-06-15 08:30:31 +00:00
Jeff Huang
efe2540090 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2282 of 2282 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2020-06-15 08:30:28 +00:00
Slavi Pantaleev
ab0cf5dba7 Translated using Weblate (Bulgarian)
Currently translated at 99.7% (2276 of 2282 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2020-06-15 08:30:27 +00:00
Osoitz
3d2f4cd747 Translated using Weblate (Basque)
Currently translated at 100.0% (2282 of 2282 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2020-06-15 08:30:26 +00:00
Besnik Bleta
bb4d5f2ae9 Translated using Weblate (Albanian)
Currently translated at 99.8% (2278 of 2282 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2020-06-15 08:30:22 +00:00
Travis Ralston
eeac80096c Float the badges with the sticky headers 2020-06-13 19:07:19 -06:00
Travis Ralston
c26c79bda8 Remove dead code 2020-06-13 19:02:21 -06:00
Michael Telatynski
63ad7640bf User Info default power levels for ban/kick/redact to 50 as per spec 2020-06-14 01:35:24 +01:00
Travis Ralston
7af2de29d6 Remove unused utility 2020-06-13 12:03:50 -06:00
Travis Ralston
1bbf2e053b Initial attempt at sticky headers
Docs enclosed in diff.
2020-06-13 11:55:11 -06:00
Weblate
4827980e76 Merge branch 'origin/develop' into Weblate. 2020-06-12 22:03:42 +00:00
Travis Ralston
cbe9ade1c9
Merge pull request #4756 from matrix-org/travis/room-list/dark
Initial dark theme support for new room list
2020-06-12 16:03:37 -06:00
Michael Telatynski
01a71dab8c Fix m.id.phone spec compliance 2020-06-12 22:36:50 +01:00
Travis Ralston
f9a4151a6e Add rudimentary dark theme support 2020-06-12 13:52:54 -06:00
Travis Ralston
510f98b8b0 Bump width of user menu to account for 16px overlap 2020-06-12 10:29:42 -06:00
Weblate
3d692353b6 Merge branch 'origin/develop' into Weblate. 2020-06-12 14:40:28 +00:00
Travis Ralston
9eb965878a
Merge pull request #4754 from matrix-org/travis/room-list/per-list-algo
Support per-list options and algorithms on the new room list
2020-06-12 08:40:23 -06:00
Travis Ralston
6de6d94f7c Fix return type 2020-06-12 08:40:08 -06:00
Travis Ralston
6b54c3a492 Throw if the update cause is unsupported 2020-06-12 08:39:59 -06:00
Weblate
dc0b78b6a5 Merge branch 'origin/develop' into Weblate. 2020-06-12 14:38:16 +00:00
Michael Albert
0508806a80 Translated using Weblate (German)
Currently translated at 99.8% (2276 of 2280 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2020-06-12 14:38:16 +00:00
Jeff Huang
c6f9fae455 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2280 of 2280 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2020-06-12 14:38:15 +00:00
J. Ryan Stinnett
de003bc78f
Merge pull request #4755 from matrix-org/jryans/send-read-marker-immed
Send read marker updates immediately after moving visually
2020-06-12 15:38:08 +01:00
Travis Ralston
cc17409943
Fix words
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2020-06-12 08:37:08 -06:00
J. Ryan Stinnett
39c28e2207 Send read marker updates immediately after moving visually
The `TimelinePanel` uses two timers to coordinate read marker and read receipt
updates. When the read receipt timer fires, we advance the receipt and send the
latest state of both your receipt and marker to the server. When the read marker
timer fires, we advance the marker visually, but do not send anything to the
server: we were relying on the slightly different schedule of the read receipt
to actually send the updated read marker. This means there's a time window where
it's possible to visually advance the read marker without ever sending it to the
server (if you change rooms before the receipt timer fires again).

To simplify the behaviour here and ensure we always commit the updated marker
when we move it, this change sends an update to the server at the same time as
moving the marker.

It's possible this may improve some of the behaviour reported in
https://github.com/vector-im/riot-web/issues/12338.
2020-06-12 14:34:57 +01:00
Travis Ralston
4aa15ee191 Wire up the context menu to the room list store
Updates are passed along magically to the sublist, so we don't need to listen for the room list store's response to our changes.

This just hits the functions introduced in the last commit.
2020-06-11 22:04:10 -06:00
Travis Ralston
fd029e8e80 Dumb down list algorithms in favour of smarter tags
This commit is a bit involved, as it factors the tag specific handling out of `/list-ordering` (and moves the `Algorithm` class one higher as a result), leaving it in the `Algorithm`. The algorithms for list ordering now only know how to handle a single tag, and this is managed by the `Algorithm` class - which is also no longer the base class for the list ordering. The list ordering algorithms now inherit from a generic `OrderingAlgorithm` base class which handles some rudimentary things.

Overall the logic hasn't changed much: the tag-specific stuff has been moved into the `Algorithm`, and the list ordering algorithms essentially just removed the iteration on tags. The `RoomListStore2` still shovels a bunch of information over to the `Algorithm`, which can lead to an awkward code flow however this commit is meant to keep the number of surfaces touched to a minimum.

The RoomListStore has also gained the ability to set per-list (tag) ordering and sorting, which is required for the new room list. The assumption that it defaults from the account-level settings is not reviewed by design, yet. This decision is deferred.
2020-06-11 22:02:09 -06:00
Weblate
ea5ca64074 Merge branch 'origin/develop' into Weblate. 2020-06-11 23:20:55 +00:00