Commit Graph

25444 Commits (b27334f448a295cd3e50904b7f829b77a3c6874e)

Author SHA1 Message Date
Jorik Schellekens b27334f448 Use lower case import 2020-06-16 15:52:35 +01:00
Jorik Schellekens 17dbb1ac8b Message preview for font slider 2020-06-16 15:41:10 +01: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
Jorik Schellekens 3b1f0db3e1 Use smaller top margin for selectors 2020-06-15 12:06:40 +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
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
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
Travis Ralston ec48c76a4f
Merge pull request #4753 from matrix-org/travis/room-list/minimized
Add a minimized view to the new room list
2020-06-11 17:20:49 -06:00
Travis Ralston 52b26deb2e Move room list store docs to docs directory
This pulls it away from the code, but the code is sufficiently involved enough where it doesn't need another file near it.
2020-06-11 16:56:12 -06:00
Travis Ralston 966e2cad7e Update documentation for how this refactoring will go 2020-06-11 16:52:47 -06:00
Weblate 4dfc0f3141 Merge branch 'origin/develop' into Weblate. 2020-06-11 22:43:07 +00:00
MamasLT 9ab9e560dc Translated using Weblate (Lithuanian)
Currently translated at 72.4% (1650 of 2280 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/lt/
2020-06-11 22:43:07 +00:00
Szimszon 672c14763c Translated using Weblate (Hungarian)
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/hu/
2020-06-11 22:42:58 +00:00
Jorik Schellekens 3895c03ee2
Merge pull request #4752 from matrix-org/joriks/irc-encryption-alignment
Fix e2e icon alignment in irc-layout
2020-06-11 23:42:49 +01:00
Travis Ralston 484dc36619 Fix alignment of show more button 2020-06-11 14:41:35 -06:00
Travis Ralston 2c04a56784 Add a minimized view to the new room list
This covers everything except breadcrumbs, as those are somewhat undecided from a design perspective.
2020-06-11 14:39:28 -06:00
Weblate 12f3984da6 Merge branch 'origin/develop' into Weblate. 2020-06-11 18:33:22 +00:00
MamasLT f300f498bb Translated using Weblate (Lithuanian)
Currently translated at 68.6% (1565 of 2280 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/lt/
2020-06-11 18:33:22 +00:00
MamasLT f540c83af8 Translated using Weblate (Lithuanian)
Currently translated at 68.6% (1565 of 2280 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/lt/
2020-06-11 18:33:22 +00:00
Travis Ralston 2e04414331
Merge pull request #4750 from matrix-org/travis/room-list/leak
Add some resource leak protection to new room list badges
2020-06-11 12:33:11 -06:00
Weblate 20818d4460 Merge branch 'origin/develop' into Weblate. 2020-06-11 16:34:49 +00:00
random 2e99143b79 Translated using Weblate (Italian)
Currently translated at 99.9% (2279 of 2280 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2020-06-11 16:34:49 +00:00
XoseM 8839a86288 Translated using Weblate (Galician)
Currently translated at 69.7% (1590 of 2280 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/gl/
2020-06-11 16:34:48 +00:00
Kévin C 42855cf9d8 Translated using Weblate (French)
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/fr/
2020-06-11 16:34:42 +00:00
Besnik Bleta 51537a527b Translated using Weblate (Albanian)
Currently translated at 99.9% (2278 of 2280 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2020-06-11 16:34:41 +00:00