Commit graph

20458 commits

Author SHA1 Message Date
Jorik Schellekens
b9fb9aae4a Rename MessagePreview to EventTilePreview 2020-06-18 15:36:23 +01:00
Jorik Schellekens
0d3ea6c9d4 Merge branch 'joriks/font-scaling-message-preview' of github.com:matrix-org/matrix-react-sdk into joriks/font-scaling-message-preview 2020-06-18 15:34:03 +01:00
Jorik Schellekens
997c7ffc96 Add missing semicolons 2020-06-18 15:26:53 +01:00
Jorik Schellekens
15881fc7d0
Merge branch 'develop' into joriks/font-scaling-message-preview 2020-06-18 15:19:28 +01:00
Jorik Schellekens
adfe1ac9bf Remove stray debug 2020-06-18 15:13:28 +01:00
David Baker
9b9e6e04e3 Merge remote-tracking branch 'origin/develop' into dbkr/fix_verification_race 2020-06-18 15:12:06 +01:00
Weblate
f6e55345a1 Merge branch 'origin/develop' into Weblate. 2020-06-18 14:08:30 +00:00
Jorik Schellekens
ba0bc8f29c Resolve "The Great Conflict" 2020-06-18 14:55:24 +01:00
Jorik Schellekens
291997421b Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into joriks/semicolon 2020-06-18 14:54:20 +01:00
Jorik Schellekens
74174041bb Remove semicolon in style 2020-06-18 14:53:12 +01:00
Weblate
199f776e58 Merge branch 'origin/develop' into Weblate. 2020-06-18 13:51:27 +00:00
David Baker
5b27a570a8
Merge pull request #4790 from matrix-org/revert-4686-dbkr/recovery_keys_over_passphrases
Revert "Use recovery keys over passphrases"
2020-06-18 14:51:22 +01:00
Weblate
08fd9cda4f Merge branch 'origin/develop' into Weblate. 2020-06-18 13:48:51 +00:00
Travis Ralston
c26513b1e3
Merge pull request #4783 from matrix-org/travis/room-list/sticky-headers-reliability
Clear `top` when not sticking headers to the top
2020-06-18 07:48:46 -06:00
Travis Ralston
8f3a6fc30e
Consistent quotes 2020-06-18 07:48:36 -06:00
Weblate
9a05f5bc03 Merge branch 'origin/develop' into Weblate. 2020-06-18 13:46:37 +00:00
Travis Ralston
4a5cc8557c
Merge pull request #4785 from matrix-org/travis/room-list/show-less-is-more
Don't show a 'show less' button when it's impossible to collapse
2020-06-18 07:46:32 -06:00
Weblate
c6eaac8b80 Merge branch 'origin/develop' into Weblate. 2020-06-18 13:46:18 +00:00
Travis Ralston
b857c9d199
Merge pull request #4786 from matrix-org/travis/room-list/show-n-reliability
Fix show less/more button occluding the list automatically
2020-06-18 07:46:13 -06:00
Weblate
385d784036 Merge branch 'origin/develop' into Weblate. 2020-06-18 13:46:08 +00:00
Travis Ralston
87aece9997
Merge pull request #4787 from matrix-org/travis/room-list/performance-2
Improve room switching in the new room list
2020-06-18 07:46:03 -06:00
Weblate
a1db9dd352 Merge branch 'origin/develop' into Weblate. 2020-06-18 13:35:07 +00:00
Szimszon
45a6bf3a6d Translated using Weblate (Hungarian)
Currently translated at 100.0% (2287 of 2287 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2020-06-18 13:35:07 +00:00
XoseM
f1365a8d30 Translated using Weblate (Galician)
Currently translated at 76.1% (1740 of 2287 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/gl/
2020-06-18 13:35:07 +00:00
Kévin C
5ceae3085c Translated using Weblate (French)
Currently translated at 100.0% (2287 of 2287 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2020-06-18 13:35:04 +00:00
Jeff Huang
9b90dcd1a8 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2287 of 2287 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2020-06-18 13:35:04 +00:00
Jorik Schellekens
05d0309081 Lint a few semicolons 2020-06-18 14:32:43 +01:00
Jorik Schellekens
9760f94ff5 Merge branch 'joriks/font-scaling-message-preview' into joriks/appearance-tab-layout-options 2020-06-18 14:04:31 +01:00
Jorik Schellekens
69969dfee8 Respond to review
- remove all refs to getsdk
- i18n
- some lints
2020-06-18 13:58:35 +01:00
Jorik Schellekens
a579ea95db Lint and i18n 2020-06-18 13:28:24 +01:00
David Baker
3c268a31c8 i18n 2020-06-18 10:48:18 +01:00
David Baker
793c6c549e Unused import 2020-06-18 10:45:15 +01:00
David Baker
54e235b0b9 Remove labs option to cache 'passphrase'
(which actually meant SSSS secrets)

Fixes https://github.com/vector-im/riot-web/issues/1392
2020-06-18 10:42:33 +01:00
David Baker
e0a34d9dea
Revert "Use recovery keys over passphrases" 2020-06-18 09:35:11 +01:00
Travis Ralston
8db67743f7 Improve room switching in the new room list
For https://github.com/vector-im/riot-web/issues/14034

One of the largest issues with room switching was that we'd regenerate the entire list when the sticky room changes, which is obviously detrimental on larger accounts (and even some medium accounts). To work through this, we simply handle the NewRoom and RoomRemoved causes (used by the sticky room handling) as splices rather than in-place updates.

Overall this leads to a smoother experience as it means we're doing far less calculations and can even opt out of an update if it isn't required, such as a RoomRemoved cause being fired twice - the second one can result in an update not being required, saving render time.

This commit also includes a fix for handling update causes on the sticky room, as the room list loves to print errors when this happens. We don't need to handle any updates because once the sticky room changes it'll get re-added through NewRoom, causing the underlying algorithm to slot it in where needed, effectively handling all the missed updates.
2020-06-17 22:42:01 -06:00
Travis Ralston
245181cf80 Fix show less/more button occluding the list automatically
When the user would click 'show more' they would be presented with a 'show less' button that occluded the last room. 

Similarly, if they resized the list so that all their rooms would be shown and refreshed the page, they would find their last room covered by the button.

This changes the handling so that showAllClick() sets the height to numTiles + button padding, and adjusts the height calculations on render to deal with relative tiles.

This also removes the conditional padding of the resize handle, as we always occupy the 4px of space. It was leading to rooms getting trimmed slightly by the show N button.
2020-06-17 22:09:59 -06:00
Travis Ralston
1735da8cb1 Don't show a 'show less' button when it's impossible to collapse
Fixes https://github.com/vector-im/riot-web/issues/14076
2020-06-17 22:04:34 -06:00
Mike Pennisi
6af4d82ce7 Extend QueryMatcher's sorting heuristic
Use the order of the input keys as a signal for relative importance of
matches.

Signed-off-by: Mike Pennisi <mike@mikepennisi.com>
2020-06-17 23:41:41 -04:00
Travis Ralston
321889f95b Clear top when not sticking headers to the top
Fixes https://github.com/vector-im/riot-web/issues/14070
2020-06-17 20:01:03 -06:00
Weblate
9f42796577 Merge branch 'origin/develop' into Weblate. 2020-06-17 17:06:09 +00:00
Travis Ralston
803b7bb30f
Merge pull request #4694 from justin-sleep/remove-escape-backslashes
Remove escape backslashes in non-Markdown messages
2020-06-17 11:06:04 -06:00
Weblate
e577c68dbd Merge branch 'origin/develop' into Weblate. 2020-06-17 16:37:27 +00:00
Michael Telatynski
f112d179f6
Merge pull request #4782 from matrix-org/t3chguy/fix_desktop_notifs
clean up and fix the isMasterRuleEnabled logic
2020-06-17 17:37:21 +01:00
Weblate
409591feb9 Merge branch 'origin/develop' into Weblate. 2020-06-17 16:37:00 +00:00
Alexey Murz Korepov
50efa52100 Translated using Weblate (Russian)
Currently translated at 86.8% (1985 of 2287 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2020-06-17 16:37:00 +00:00
random
28a9491dd6 Translated using Weblate (Italian)
Currently translated at 99.9% (2286 of 2287 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2020-06-17 16:37:00 +00:00
Michael Telatynski
68ca8b3891
Merge pull request #4763 from matrix-org/t3chguy/slash_cmd_ci
Fix case-sensitivity of /me to match rest of slash commands
2020-06-17 17:36:53 +01:00
Travis Ralston
58671f014b
Merge pull request #4765 from matrix-org/travis/room-list/show-less
Add a 'show less' button to the new room list
2020-06-17 10:24:50 -06:00
Michael Telatynski
ff98242d14 clean up and fix the isMasterRuleEnabled logic 2020-06-17 16:31:42 +01:00
Damir Jelić
2aa00cbf41 EventIndex: Bump our user version and delete the db if it's an old db. 2020-06-17 17:13:25 +02:00
Damir Jelić
9f9f24c624 BaseEventIndexManager: Add support to read/write user versions. 2020-06-17 17:12:13 +02:00
XoseM
52ae812ef9 Translated using Weblate (Galician)
Currently translated at 74.6% (1706 of 2287 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/gl/
2020-06-17 14:52:43 +00:00
Besnik Bleta
c00d0af986 Translated using Weblate (Albanian)
Currently translated at 99.9% (2284 of 2287 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2020-06-17 14:52:38 +00:00
Weblate
759940edf6 Merge branch 'origin/develop' into Weblate. 2020-06-17 14:28:45 +00:00
XoseM
5c3aaf46c1 Translated using Weblate (Galician)
Currently translated at 72.3% (1654 of 2287 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/gl/
2020-06-17 14:28:44 +00:00
Travis Ralston
d2831ffb0c
Merge pull request #4758 from matrix-org/travis/room-list/sticky
Sticky and collapsing headers for new room list
2020-06-17 08:28:38 -06:00
Weblate
59f7b5353a Merge branch 'origin/develop' into Weblate. 2020-06-17 14:25:11 +00:00
XoseM
00a6277cad Translated using Weblate (Galician)
Currently translated at 71.8% (1643 of 2287 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/gl/
2020-06-17 14:25:11 +00:00
Travis Ralston
97d87867eb
Merge pull request #4780 from matrix-org/travis/room-list/reload
Make the room list labs setting reload on change
2020-06-17 08:25:06 -06:00
Weblate
7b85325cc1 Merge branch 'origin/develop' into Weblate. 2020-06-17 14:24:37 +00:00
XoseM
0ffb36ac80 Translated using Weblate (Galician)
Currently translated at 71.7% (1640 of 2287 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/gl/
2020-06-17 14:24:37 +00:00
Travis Ralston
07f13f2ece
Merge pull request #4767 from matrix-org/travis/room-list/tombstone
Handle/hide old rooms in the room list
2020-06-17 08:24:27 -06:00
Travis Ralston
5f2d92c607 Make the room list labs setting reload on change
Should fix confusing signals sent by having the room list visible but non-functional.
2020-06-17 08:21:08 -06:00
pebles
9b2bd8c9cd Translated using Weblate (Spanish)
Currently translated at 89.7% (2051 of 2287 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2020-06-17 13:50:22 +00:00
Jorge Vásquez
43831b62af Translated using Weblate (Spanish)
Currently translated at 89.7% (2051 of 2287 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2020-06-17 13:50:22 +00:00
Arnaud Castellanos Galea
fdeba1353b Translated using Weblate (Spanish)
Currently translated at 89.7% (2051 of 2287 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2020-06-17 13:50:22 +00:00
GardeniaFair
19d19033d1 Translated using Weblate (Spanish)
Currently translated at 89.7% (2051 of 2287 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2020-06-17 13:50:22 +00:00
Jorik Schellekens
2fcf30c1ec
Fix copy '!' 2020-06-17 14:39:44 +01:00
Weblate
cda2ab50c3 Merge branch 'origin/develop' into Weblate. 2020-06-17 13:15:46 +00:00
Alexey Murz Korepov
6df57ecceb Translated using Weblate (Russian)
Currently translated at 86.8% (1985 of 2287 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2020-06-17 13:15:46 +00:00
random
493a2c3861 Translated using Weblate (Italian)
Currently translated at 99.6% (2278 of 2287 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2020-06-17 13:15:45 +00:00
Travis Ralston
3bdf3be3f4
Merge pull request #4769 from matrix-org/travis/room-list/fuzzy-filter
Match fuzzy filtering a bit more reliably in the new room list
2020-06-17 07:15:36 -06:00
Weblate
806f10a89f Merge branch 'origin/develop' into Weblate. 2020-06-17 01:21:52 +00:00
Michael Telatynski
f08efc632f
Merge pull request #4777 from matrix-org/t3chguy/notifications0
Improve Field ts definitions some more
2020-06-17 02:21:47 +01:00
Michael Telatynski
3dcf525382 Improve Field ts definitions some more
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-17 02:14:20 +01:00
Weblate
cf199b2aac Merge branch 'origin/develop' into Weblate. 2020-06-17 00:14:59 +00:00
Michael Telatynski
9a85b82007
Merge pull request #4775 from matrix-org/t3chguy/notifications0
Fix Field ts def, fix LocalEchoWrapper and NotificationsEnabledController
2020-06-17 01:14:54 +01:00
Michael Telatynski
3472fcdec5 Fix NotificationsEnabledController inverse understanding of master push rule
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-17 01:05:24 +01:00
Weblate
4591928af7 Merge branch 'origin/develop' into Weblate. 2020-06-17 00:05:21 +00:00
J. A. Durieux
a07918fef9 Translated using Weblate (Dutch)
Currently translated at 88.9% (2034 of 2287 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2020-06-17 00:05:21 +00:00
Michael Telatynski
1628fc668c Fix LocalEchoWrapper cache on falsey room ids
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-17 01:05:19 +01:00
Travis Ralston
25e353f7e5
Merge pull request #4774 from matrix-org/travis/room-list/presence-globes
Add presence indicators and globes to new room list
2020-06-16 18:05:14 -06:00
Michael Telatynski
b225324c49 improve Field typescript definition
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-17 01:05:10 +01:00
Travis Ralston
9878c1dc34 and another 2020-06-16 17:42:26 -06:00
Travis Ralston
7a71ef9b6b Fix another space 2020-06-16 17:40:25 -06:00
Travis Ralston
daa552e250 Refactor listener usage 2020-06-16 17:35:56 -06:00
Travis Ralston
b69a5a525d Fix spaces 2020-06-16 17:29:36 -06:00
Travis Ralston
e4a51a7c01 Add presence icons; Convert to generic icon component
For https://github.com/vector-im/riot-web/issues/14039
2020-06-16 14:44:37 -06:00
Weblate
1d8fd4bc68 Merge branch 'origin/develop' into Weblate. 2020-06-16 19:56:17 +00:00
Travis Ralston
bcebef7e56 Add a globe icon to public rooms
For https://github.com/vector-im/riot-web/issues/14039
2020-06-16 12:13:12 -06:00
Travis Ralston
17f1fdaf6d Include the sticky room when filtering in the new room list
Fixes https://github.com/vector-im/riot-web/issues/14050
2020-06-16 10:59:42 -06:00
Jorik Schellekens
2192332968 Add layout options to the appearance tab 2020-06-16 17:55:19 +01:00
Weblate
2af110d495 Merge branch 'origin/develop' into Weblate. 2020-06-16 16:14:28 +00:00
Tuomas Hietala
37672d4386 Translated using Weblate (Finnish)
Currently translated at 95.4% (2182 of 2287 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2020-06-16 16:14:28 +00:00
Jorik Schellekens
b27334f448 Use lower case import 2020-06-16 15:52:35 +01:00
Travis Ralston
8f45e06844 Add a home button to the new room list menu when available 2020-06-16 08:46:48 -06:00
Jorik Schellekens
17dbb1ac8b Message preview for font slider 2020-06-16 15:41:10 +01:00
Travis Ralston
bc0281ebdd Match fuzzy filtering a bit more reliably in the new room list
Fixes https://github.com/vector-im/riot-web/issues/14054
2020-06-16 08:36:10 -06:00
David Baker
89a72b7685 Take the last request (ie. the most recent) 2020-06-16 14:53:13 +01:00
Weblate
39d9e8933a Merge branch 'origin/develop' into Weblate. 2020-06-16 13:31:14 +00:00