Commit Graph

21082 Commits (8812f98b35359352b70bb10ad4ccfbc3cd4f4824)

Author SHA1 Message Date
Hubert Chathi 74e4ea7d48
Merge pull request #4797 from matrix-org/uhoreg/distrust_backup
Mark messages with a black shield if the megolm session isn't trusted
2020-06-23 15:38:03 -04:00
Bruno Windels 3b13a623cd cleanup 2020-06-23 17:54:57 +02:00
Bruno Windels 2f6fc6bba2 allow adding custom font faces in theme 2020-06-23 17:54:38 +02:00
Bruno Windels b3510aa2b4 remove css vars when switching theme 2020-06-23 17:54:17 +02:00
Bruno Windels e083856801 allow changing the font-family 2020-06-23 17:53:40 +02:00
Bruno Windels 86597aabca better naming 2020-06-23 17:52:54 +02:00
David Baker 3716f9d82c Fix cancel button / prompt 2020-06-23 16:43:52 +01:00
David Baker 0694776b25 Update the 'save your security key' screen 2020-06-23 16:27:41 +01:00
Weblate edc384ac92 Merge branch 'origin/develop' into Weblate. 2020-06-23 14:38:55 +00:00
Jorik Schellekens 1e39279a77
Merge pull request #4761 from matrix-org/joriks/appearance-advanced
Custom font selection
2020-06-23 15:38:50 +01:00
Weblate da308da6ac Merge branch 'origin/develop' into Weblate. 2020-06-23 14:24:14 +00:00
J. Ryan Stinnett 3829362754 Fix up merge to develop 2020-06-23 15:24:02 +01:00
Weblate 4c33d8d38f Merge branch 'origin/develop' into Weblate. 2020-06-23 14:20:32 +00:00
ziriSut 84bcd98d17 Translated using Weblate (Kabyle)
Currently translated at 19.6% (449 of 2288 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/kab/
2020-06-23 14:20:32 +00:00
random 6255c67d4f Translated using Weblate (Italian)
Currently translated at 99.9% (2287 of 2288 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2020-06-23 14:20:26 +00:00
Kévin C c5da3d726d Translated using Weblate (French)
Currently translated at 100.0% (2288 of 2288 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2020-06-23 14:20:25 +00:00
Priit Jõerüüt 876e7799ba Translated using Weblate (Estonian)
Currently translated at 70.2% (1606 of 2288 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/et/
2020-06-23 14:20:25 +00:00
Jeff Huang 07cbf23b22 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2288 of 2288 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2020-06-23 14:20:20 +00:00
RiotRobot 6161f95434 Merge branch 'master' into develop 2020-06-23 15:18:35 +01:00
David Baker 6ce8584337 Implement first screen (recovery key / passphrase choice) 2020-06-23 15:04:39 +01:00
Jorik Schellekens 680e997a94 Cleanup tooltip classnames 2020-06-23 13:38:50 +01:00
Weblate b3a5093e4b Merge branch 'origin/develop' into Weblate. 2020-06-22 22:16:20 +00:00
ziriSut 22269de5b0 Translated using Weblate (Kabyle)
Currently translated at 9.7% (223 of 2288 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/kab/
2020-06-22 22:16:20 +00:00
Travis Ralston 115c850d35 Use the correct timeline reference for message previews
Fixes https://github.com/vector-im/riot-web/issues/14083 (hopefully)

This is the same logic used by `Unread.js`, so should be correct.
2020-06-22 15:57:13 -06:00
Weblate 8d7497f426 Merge branch 'origin/develop' into Weblate. 2020-06-22 21:16:59 +00:00
Travis Ralston fc5ee64fce Fix read receipt handling in the new room list
Fixes https://github.com/vector-im/riot-web/issues/14064
Fixes https://github.com/vector-im/riot-web/issues/14082

Turns out the event doesn't reference a room, so we need to use the accompanied room reference instead.
2020-06-22 15:12:30 -06:00
Weblate 9ed1a96209 Merge branch 'origin/develop' into Weblate. 2020-06-22 20:58:51 +00:00
Travis Ralston fb551781c2 Force DMs to always be red notifications
This also passes the tagId to the sublist so it doesn't have to rip it out of the `layout`. It doesn't get a layout until later anyways, which causes some null issues.
2020-06-22 14:52:17 -06:00
Travis Ralston 894357f7f6 Merge branch 'develop' into travis/room-list/unread-2 2020-06-22 14:16:52 -06:00
Weblate d31266cc22 Merge branch 'origin/develop' into Weblate. 2020-06-22 20:16:29 +00:00
Travis Ralston 26317b6826
Merge pull request #4803 from matrix-org/travis/room-list/setting-diff
Only fire setting changes for changed settings
2020-06-22 14:16:24 -06:00
Weblate 9d06d3943a Merge branch 'origin/develop' into Weblate. 2020-06-22 20:15:58 +00:00
Travis Ralston edafb2467d
Merge pull request #4804 from matrix-org/travis/room-list/watchers
Trigger room-specific watchers whenever a higher level change happens
2020-06-22 14:15:53 -06:00
Travis Ralston 1fe3e33dbf Factor out cloning to a util and use it everywhere 2020-06-22 14:14:43 -06:00
Weblate f85ea8ac99 Merge branch 'origin/develop' into Weblate. 2020-06-22 19:53:08 +00:00
Travis Ralston aca6c65ef3
Merge pull request #4810 from matrix-org/travis/room-list/theme
Have the theme switcher set the device-level theme to match settings
2020-06-22 13:53:03 -06:00
Weblate b31aa3d959 Merge branch 'origin/develop' into Weblate. 2020-06-22 19:51:42 +00:00
Travis Ralston f66f220a3e
Merge pull request #4808 from matrix-org/travis/room-list/collapsed
Fix layout of minimized view for new room list
2020-06-22 13:51:38 -06:00
Weblate c8ef9a6965 Merge branch 'origin/develop' into Weblate. 2020-06-22 19:51:33 +00:00
ziriSut 3054e6579a Translated using Weblate (Kabyle)
Currently translated at 8.4% (192 of 2288 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/kab/
2020-06-22 19:51:33 +00:00
Priit Jõerüüt 326f336425 Translated using Weblate (Estonian)
Currently translated at 68.9% (1576 of 2288 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/et/
2020-06-22 19:51:32 +00:00
Travis Ralston 6c48966bf5 Have the theme switcher set the device-level theme to match settings
Fixes https://github.com/vector-im/riot-web/issues/14111

This is a shortcut into the Appearance tab, so use the same level. It was an explicit decision to have the tab set the theme at the device level.
2020-06-22 13:34:49 -06:00
Travis Ralston 1a427b8ff7 Fix sticky headers over/under extending themselves in the new room list
Fixes https://github.com/vector-im/riot-web/issues/14095
2020-06-22 13:09:42 -06:00
Travis Ralston cf92fc37d4 Fix layout of minimized view for new room list 2020-06-22 12:51:53 -06:00
J. Ryan Stinnett 38bf1680a2 Update read receipt remainder for internal font size change
In https://github.com/matrix-org/matrix-react-sdk/pull/4725, we changed the
internal font size from 15 to 10, but the `toRem` function (currently only used
for read receipts remainders curiously) was not updated. This updates the
function, which restores the remainders.

Fixes https://github.com/vector-im/riot-web/issues/14127
2020-06-22 19:23:39 +01:00
Weblate 598fa96d17 Merge branch 'origin/develop' into Weblate. 2020-06-22 18:22:11 +00:00
Michael Albert 585af6ee84 Translated using Weblate (German)
Currently translated at 99.7% (2281 of 2288 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2020-06-22 18:22:10 +00:00
Priit Jõerüüt d875c3170d Translated using Weblate (Estonian)
Currently translated at 67.3% (1539 of 2288 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/et/
2020-06-22 18:22:10 +00:00
Besnik Bleta 2319b25484 Translated using Weblate (Albanian)
Currently translated at 99.9% (2286 of 2288 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2020-06-22 18:22:08 +00:00
J. Ryan Stinnett 37442b92ae Update read receipt remainder for internal font size change
In https://github.com/matrix-org/matrix-react-sdk/pull/4725, we changed the
internal font size from 15 to 10, but the `toRem` function (currently only used
for read receipts remainders curiously) was not updated. This updates the
function, which restores the remainders.

Fixes https://github.com/vector-im/riot-web/issues/14127
2020-06-22 19:02:03 +01:00
Travis Ralston 64a811fb03 Merge branch 'travis/room-list/setting-diff' into travis/room-list/unread-2 2020-06-22 11:24:26 -06:00
Travis Ralston 9e3c101172 Clone reads of account data to prevent mutation 2020-06-22 11:24:04 -06:00
Travis Ralston 784e73831b Move setting to account only (no per-room) 2020-06-22 11:23:38 -06:00
Travis Ralston cbee9146a6 Merge branch 'travis/room-list/setting-diff' into travis/room-list/unread-2 2020-06-22 10:57:40 -06:00
Travis Ralston fe65b7631d Soften warning about lack of rooms in setting updates 2020-06-22 10:57:08 -06:00
Travis Ralston 63ad14ae1e Clean up imports 2020-06-22 10:35:55 -06:00
Travis Ralston 137603c36d Merge branch 'travis/room-list/watchers' into travis/room-list/unread-2 2020-06-22 10:34:59 -06:00
Travis Ralston 241e0c12f0 Trigger room-specific watchers whenever a higher level change happens
Otherwise the room list badges end up having to listen to `null` for a room ID, meaning they have to filter.

The notification badge count setting is the first ever setting to watch based on a room ID, so there are no compatibility concerns with this change.
2020-06-22 10:28:05 -06:00
Travis Ralston 8201eed929 Encourage counts if the user has a mention (red state) 2020-06-22 10:26:37 -06:00
Travis Ralston eeb408a081 Update badge logic for new setting and behaviour
For https://github.com/vector-im/riot-web/issues/14084
2020-06-22 10:26:19 -06:00
Travis Ralston 099661c2aa Only fire setting changes for changed settings
Previously we were firing updates for everything, which is bad. This has an effect of causing the room list to update itself every time the user goes to toggle some account settings.
2020-06-22 10:18:38 -06:00
Slimane Selyan AMIRI 4db2ede67f Translated using Weblate (Kabyle)
Currently translated at 7.7% (177 of 2288 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/kab/
2020-06-22 15:41:20 +00:00
Jorik Schellekens 7bc5ce7271 Underscore actions 2020-06-22 16:05:32 +01:00
Jorik Schellekens d54676aefe Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into joriks/appearance-advanced 2020-06-22 15:35:48 +01:00
Jorik Schellekens aab42a291b implement appearance tab nits
- fix border colours in dark theme
- lighten dark theme preview background
- add missing return statement
2020-06-22 12:28:15 +01:00
Jorik Schellekens 086177d808
Merge pull request #4770 from matrix-org/joriks/font-scaling-message-preview
Add message preview for font slider
2020-06-22 11:43:52 +01:00
Jorik Schellekens 3d7427ccca Fix semicolons 2020-06-22 11:39:11 +01:00
Jorik Schellekens 2294d23b32
Merge branch 'develop' into joriks/appearance-advanced 2020-06-22 11:27:48 +01:00
Weblate bfad8afead Merge branch 'origin/develop' into Weblate. 2020-06-22 08:34:26 +00:00
васян228 e19469a0c3 Translated using Weblate (Russian)
Currently translated at 87.1% (1987 of 2282 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2020-06-22 08:34:26 +00:00
Imre Kristoffer Eilertsen b80b01076c Translated using Weblate (Norwegian Bokmål)
Currently translated at 62.1% (1416 of 2282 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nb_NO/
2020-06-22 08:34:26 +00:00
ziriSut ac869cf6dc Translated using Weblate (Kabyle)
Currently translated at 5.6% (127 of 2282 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/kab/
2020-06-22 08:34:16 +00:00
take100yen abbacd788c Translated using Weblate (Japanese)
Currently translated at 58.0% (1323 of 2282 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ja/
2020-06-22 08:34:15 +00:00
aWeinzierl 92fb9356be Translated using Weblate (German)
Currently translated at 99.6% (2273 of 2282 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2020-06-22 08:34:12 +00:00
XoseM d9b870c5fd Translated using Weblate (Galician)
Currently translated at 82.6% (1886 of 2282 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/gl/
2020-06-22 08:34:11 +00:00
Priit Jõerüüt 6f9c6ffd5f Translated using Weblate (Estonian)
Currently translated at 66.3% (1512 of 2282 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/et/
2020-06-22 08:34:06 +00:00
ziriSut 7dfbdb73c5 Translated using Weblate (Kabyle)
Currently translated at 5.0% (113 of 2282 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/kab/
2020-06-21 09:51:58 +00:00
ziriSut 0c2f5b81cb Translated using Weblate (Kabyle)
Currently translated at 3.1% (70 of 2282 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/kab/
2020-06-21 05:18:41 +00:00
Slimane Selyan AMIRI a5fd441880 Translated using Weblate (Kabyle)
Currently translated at 3.1% (70 of 2282 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/kab/
2020-06-21 05:18:40 +00:00
Slimane Selyan AMIRI 565fd12770 Added translation using Weblate (Kabyle) 2020-06-20 16:01:57 +00:00
David Baker d1caadec9f Add null check 2020-06-19 20:07:20 +01:00
David Baker 6e4a2b7efe i18n 2020-06-19 17:22:53 +01:00
David Baker a82253ec96 Merge remote-tracking branch 'origin/develop' into dbkr/support_no_ssss 2020-06-19 17:18:48 +01:00
David Baker ee6af6ae9e Merge remote-tracking branch 'origin/develop' into dbkr/support_no_ssss 2020-06-19 17:17:18 +01:00
David Baker a1592704a2 Unused code & import 2020-06-19 17:17:04 +01:00
Weblate 3b75eb173c Merge branch 'origin/develop' into Weblate. 2020-06-19 16:06:15 +00:00
random a1cb070c60 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-19 16:06:15 +00:00
Szimszon e4521a4d81 Translated using Weblate (Hungarian)
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/hu/
2020-06-19 16:06:15 +00:00
XoseM db14729489 Translated using Weblate (Galician)
Currently translated at 79.8% (1822 of 2282 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/gl/
2020-06-19 16:06:14 +00:00
Kévin C 4948e49f76 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-19 16:06:09 +00:00
David Baker 87ab0f9830
Merge pull request #4762 from matrix-org/dbkr/fix_verification_race
Look for existing verification requests after login
2020-06-19 17:06:02 +01:00
David Baker 3f936a1fe4 Merge remote-tracking branch 'origin/develop' into dbkr/support_no_ssss 2020-06-19 16:50:29 +01:00
Weblate 4e92472f73 Merge branch 'origin/develop' into Weblate. 2020-06-19 08:48:50 +00:00
Victor Grousset c7f72f0d00 Translated using Weblate (Esperanto)
Currently translated at 98.7% (2252 of 2282 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eo/
2020-06-19 08:48:49 +00:00
Jeff Huang 95dadca8e8 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-19 08:48:49 +00:00
Damir Jelić e3ae05b6b9 Merge branch 'poljar/eventindex-user-version' into develop 2020-06-19 09:50:40 +02:00
Damir Jelić 253212d8c8 Merge remote-tracking branch 'origin/poljar/eventindex-new-encrypted-rooom' into develop 2020-06-19 09:50:22 +02:00
Damir Jelić ec4b350a82 Merge remote-tracking branch 'origin/poljar/seshat-search-pagination' into develop 2020-06-19 09:50:03 +02:00
Hubert Chathi c690cfc6c5 mark messages with a black shield if the megolm session isn't trusted 2020-06-18 21:57:33 -04:00
Weblate 8b0bc522da Merge branch 'origin/develop' into Weblate. 2020-06-18 22:53:47 +00:00
Travis Ralston f136ba4a98
Merge pull request #4796 from matrix-org/travis/room-list/bug/crash-filter
Fix crash when filtering new room list too fast
2020-06-18 16:53:42 -06:00
Weblate ff7d1a0034 Merge branch 'origin/develop' into Weblate. 2020-06-18 22:20:18 +00:00
Michael Telatynski e723d6115c
Merge pull request #4795 from matrix-org/t3chguy/hide_unknown_rooms_search
hide search results from unknown rooms
2020-06-18 23:20:12 +01:00
Weblate 6112018401 Merge branch 'origin/develop' into Weblate. 2020-06-18 21:59:47 +00:00
Travis Ralston 7191c01265 Fix crash when filtering new room list too fast
Fixes https://github.com/vector-im/riot-web/issues/14092

We were simply assuming we had a reference to a notification state, which might not be the case if we're between renders.
2020-06-18 15:52:55 -06:00
Michael Telatynski 3ac028565b i18n
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-18 22:50:10 +01:00
Michael Telatynski eec42cff49 tidy up
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-18 22:49:39 +01:00
Travis Ralston 847f12c289 Update i18n 2020-06-18 15:47:30 -06:00
Travis Ralston 0e9ef8804d Mark the new room list as ready for general testing 2020-06-18 15:46:37 -06:00
Michael Telatynski 045def4566 hide search results from unknown rooms
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-18 22:45:42 +01:00
Weblate 712f10c76d Merge branch 'origin/develop' into Weblate. 2020-06-18 18:36:48 +00:00
vicdorke a09779063c Translated using Weblate (Chinese (Simplified))
Currently translated at 60.5% (1382 of 2283 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hans/
2020-06-18 18:36:48 +00:00
Michael Telatynski 69c5aecfc7
Merge pull request #4784 from bocoup/extend-querymatcher-heuristic
Extend QueryMatcher's sorting heuristic
2020-06-18 19:36:42 +01:00
Mike Pennisi 2e0cb4746a fixup! Extend QueryMatcher's sorting heuristic 2020-06-18 14:20:40 -04:00
Mike Pennisi 4ffc54d143 fixup! Extend QueryMatcher's sorting heuristic 2020-06-18 13:24:02 -04:00
Jorik Schellekens 37b299412f Fix merge conflicts 2020-06-18 15:47:26 +01:00
Jorik Schellekens f2440388b1 Merge branch 'joriks/font-scaling-message-preview' into joriks/appearance-tab-layout-options 2020-06-18 15:37:01 +01:00
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
David Baker e4d824839a Revert "Use recovery keys over passphrases" 2020-06-18 15:02:03 +01: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
Jorik Schellekens 47a825be7c
Merge branch 'develop' into joriks/appearance-advanced 2020-06-18 14:41:28 +01: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
Michael Telatynski c11bc766a5
Merge pull request #4764 from matrix-org/t3chguy/regression/search_timestamp
use group layout for search results
2020-06-16 14:31:08 +01:00
Michael Telatynski ef80a0b0b4
avoid negatives 2020-06-16 14:06:42 +01:00
Weblate 0fa345aa3e Merge branch 'origin/develop' into Weblate. 2020-06-16 12:47:09 +00:00
Michael Telatynski 36c1b823ab
Merge pull request #4757 from matrix-org/t3chguy/m.id.phone
Fix m.id.phone spec compliance
2020-06-16 13:47:03 +01:00
Weblate d945285984 Merge branch 'origin/develop' into Weblate. 2020-06-16 12:46:04 +00:00
Michael Telatynski 2d7726c623
Merge pull request #4759 from matrix-org/t3chguy/admin-tools-pl-defaults
User Info default power levels for ban/kick/redact to 50 as per spec
2020-06-16 13:45:58 +01:00
Kévin C f7baf3a331 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-16 10:50:55 +00:00
Priit Jõerüüt de7d7802de Translated using Weblate (Estonian)
Currently translated at 61.4% (1405 of 2287 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/et/
2020-06-16 10:50:51 +00:00
Weblate def9910954 Merge branch 'origin/develop' into Weblate. 2020-06-16 02:28:36 +00:00
Travis Ralston 4a74baf99d
Merge pull request #4768 from matrix-org/travis/room-list/better-filter
Match new room list's text search to old room list
2020-06-15 20:28:31 -06:00
Weblate 2ad2f871fc Merge branch 'origin/develop' into Weblate. 2020-06-16 02:28:29 +00:00
Laura 884ead917d Translated using Weblate (Polish)
Currently translated at 66.0% (1509 of 2287 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2020-06-16 02:28:29 +00:00
Szimszon ed14f099f3 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-16 02:28:29 +00:00
Tim Hellhake ee06b25e72 Translated using Weblate (German)
Currently translated at 99.5% (2276 of 2287 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2020-06-16 02:28:27 +00:00
Priit Jõerüüt 1959c7b8a5 Translated using Weblate (Estonian)
Currently translated at 61.3% (1401 of 2287 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/et/
2020-06-16 02:28:27 +00:00
Jeff Huang 1dfed68727 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-16 02:28:24 +00:00
Travis Ralston f8828014f1 Match new room list's text search to old room list
Fixes https://github.com/vector-im/riot-web/issues/14042
2020-06-15 20:19:16 -06:00
Travis Ralston 776e63c0d8 Handle/hide old rooms in the room list
Fixes https://github.com/vector-im/riot-web/issues/14003
2020-06-15 20:11:06 -06:00
Travis Ralston e9afb4b86e Fix ordering of recent rooms in the new room list
Fixes https://github.com/vector-im/riot-web/issues/14009
2020-06-15 20:04:32 -06:00
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
Jorik Schellekens 02ccdcb802 Fix field width and add tooltip 2020-06-15 17:42:30 +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
Jorik Schellekens aee9cd51a0 Remove shadowed variable 2020-06-15 16:34:56 +01:00
Jorik Schellekens edb6bbc6c0 Implement font selection 2020-06-15 15:33:52 +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
David Baker a75dfca73e Comment on when we start waiting for the first sync 2020-06-15 12:11:45 +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
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
Michael Telatynski 01a71dab8c Fix m.id.phone spec compliance 2020-06-12 22:36:50 +01: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
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 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
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
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
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
Jorik Schellekens 3dd49cae97 use checkbox for compact layout 2020-06-11 12:29:10 +01:00
Jorik Schellekens cf392af52f Address design issues and set theme at device level 2020-06-11 12:27:09 +01:00
Jorik Schellekens 0f685eb0e9 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into joriks/radio-buttons 2020-06-11 11:03:54 +01:00
Weblate b1ec954586 Merge branch 'origin/develop' into Weblate. 2020-06-11 01:10:56 +00:00
Jeff Huang 07d3b3f354 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2278 of 2278 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2020-06-11 01:10:56 +00:00
Travis Ralston 853ae6d5bf misc code quality improvements 2020-06-10 18:56:21 -06:00
Travis Ralston 6ccb566587 Show message previews on the new room list tiles
They're heavily cached.
2020-06-10 18:37:59 -06:00
Weblate d66405d804 Merge branch 'origin/develop' into Weblate. 2020-06-10 22:08:39 +00:00
Travis Ralston d1c2ecb6cc Add some resource leak protection to new room list badges
Most of the leaks were because we never set `this.rooms` in the notification state, which meant we were constantly triggering the `diff.added` loop.
2020-06-10 16:04:27 -06:00
Travis Ralston 0f16d7f32d Merge branch 'develop' into travis/room-list/layout 2020-06-10 15:53:33 -06:00
Weblate 272703a087 Merge branch 'origin/develop' into Weblate. 2020-06-10 21:51:23 +00:00
Priit Jõerüüt b545d55e7b Translated using Weblate (Estonian)
Currently translated at 57.9% (1319 of 2278 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/et/
2020-06-10 21:51:23 +00:00
Michael Telatynski ed7f4755cc use ButtonEvent instead of MouseEvent | KeyboardEvent for AccessibleButton (make CI happy)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-10 22:05:29 +01:00
Travis Ralston be366bdd7f Fix various layout concerns with the new room list
It had ~32px of overflow causing a horizontal scrollbar. Turns out the layout engine gets confused when hidden elements are at the end of a flexbox, so we just move them higher in the DOM (where they logically still make sense).

The remaining changes are all alignment and misc changes in that respect, and probably not obvious.
2020-06-10 15:05:17 -06:00
Michael Telatynski 601e8209d8 Prioritize text on the clipboard over file
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-10 21:48:39 +01:00
Weblate 12f39c33d5 Merge branch 'origin/develop' into Weblate. 2020-06-10 15:57:35 +00:00
Jorik Schellekens b63d73e3b6
Merge pull request #4729 from matrix-org/joriks/appearance-tab
Move Settings flag to ts
2020-06-10 16:57:18 +01:00
Jorik Schellekens 737fc46b87 Inline kind classnames 2020-06-10 16:48:34 +01:00
Jorik Schellekens 52c7577972 Clean up interfaces and classname 2020-06-10 15:57:28 +01:00
Weblate 91d37cfc8e Merge branch 'origin/develop' into Weblate. 2020-06-10 13:46:15 +00:00
Travis Ralston 72bb89d4ee
Merge pull request #4743 from matrix-org/travis/room-list/tile-menu
Add a context menu to rooms in the new room list
2020-06-10 07:46:09 -06:00
Weblate f4fc15e9ac Merge branch 'origin/develop' into Weblate. 2020-06-10 13:43:36 +00:00
Travis Ralston b1fdfb51cd Fix i18n 2020-06-10 07:43:13 -06:00
Travis Ralston a3391d9a08 Merge branch 'develop' into travis/room-list/hover-state 2020-06-10 07:42:41 -06:00
Damir Jelić a0934329fe Searching: Restore the encryption state for the paginated results. 2020-06-10 15:41:55 +02:00
Weblate ec289f33eb Merge branch 'origin/develop' into Weblate. 2020-06-10 13:40:39 +00:00
Travis Ralston 78e1db9d30
Merge pull request #4741 from matrix-org/travis/room-list/resize-handle
Update resize handle for new designs in new room list
2020-06-10 07:40:34 -06:00
Weblate 4ac5b46e3e Merge branch 'origin/develop' into Weblate. 2020-06-10 13:40:13 +00:00
Travis Ralston a4ea5b5902
Merge pull request #4740 from matrix-org/travis/room-list/stability-1
Improve general stability in the new room list
2020-06-10 07:40:07 -06:00
Weblate 88670fd0e4 Merge branch 'origin/develop' into Weblate. 2020-06-10 13:40:03 +00:00
Travis Ralston 95b4abba3b
Merge pull request #4735 from matrix-org/travis/room-list/breadcrumbs
Reimplement breadcrumbs for new room list
2020-06-10 07:39:55 -06:00
Weblate 4761c838b6 Merge branch 'origin/develop' into Weblate. 2020-06-10 13:27:23 +00:00
Jorik Schellekens 04d91ae0af Fix code review issues
- interfaces go to the top
- fix comma conflation
- value no generic
- optionalised props
- line lints
2020-06-10 14:11:36 +01:00
Jorik Schellekens 9787b4d640
Even more lines 2020-06-10 13:50:09 +01:00
Jorik Schellekens 0ec0bbecda
lint more lines 2020-06-10 13:49:52 +01:00
Damir Jelić 0e1e949c49 Searching: Refactor out the e2ee status restoring logic. 2020-06-10 14:25:30 +02:00
Jorik Schellekens 0fb6846c9d Radio buttons 2020-06-10 13:03:00 +01:00
Weblate b02b281b07 Merge branch 'origin/develop' into Weblate. 2020-06-10 11:34:46 +00:00
Imre Kristoffer Eilertsen 05f8a6271f Translated using Weblate (Norwegian Bokmål)
Currently translated at 56.8% (1288 of 2268 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nb_NO/
2020-06-10 11:34:46 +00:00
random 5e0b30edbc Translated using Weblate (Italian)
Currently translated at 100.0% (2268 of 2268 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2020-06-10 11:34:45 +00:00
Michael Albert c9f0da975d Translated using Weblate (German)
Currently translated at 99.8% (2264 of 2268 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2020-06-10 11:34:45 +00:00
jadiof 18d5b4c769 Translated using Weblate (German)
Currently translated at 99.8% (2264 of 2268 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2020-06-10 11:34:44 +00:00
Kévin C 0a09b60eeb Translated using Weblate (French)
Currently translated at 100.0% (2268 of 2268 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2020-06-10 11:34:43 +00:00
Priit Jõerüüt 288b3ff46c Translated using Weblate (Estonian)
Currently translated at 58.0% (1315 of 2268 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/et/
2020-06-10 11:34:43 +00:00
Jeff Huang ac2ca579cf Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2268 of 2268 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2020-06-10 11:34:42 +00:00
Slavi Pantaleev 2ae5d4d6c6 Translated using Weblate (Bulgarian)
Currently translated at 100.0% (2268 of 2268 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2020-06-10 11:34:42 +00:00
Besnik Bleta 1ef5da1e4b Translated using Weblate (Albanian)
Currently translated at 99.9% (2266 of 2268 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2020-06-10 11:34:34 +00:00
Damir Jelić eaca8310d3 Merge branch 'develop' into poljar/seshat-search-pagination 2020-06-10 13:34:09 +02:00
Damir Jelić 54200519f6 Merge branch 'poljar/eventindex-search-verification-state' into develop 2020-06-10 13:33:10 +02:00
Damir Jelić f70ada4d6d Searching: Delete all the fields that we use to get back event verification. 2020-06-10 12:58:08 +02:00
Damir Jelić 398655f1a9 Searching: Remove some redundant undefined function arguments. 2020-06-10 11:45:32 +02:00
Damir Jelić 67cad2807b Searching: Better wording for what's going on in combineEvents(). 2020-06-10 10:44:38 +02:00
Damir Jelić 4c361bfeb7 Searching: Explain why _query and the server next batch stored as it is. 2020-06-10 10:34:47 +02:00
Damir Jelić daef8f329b Searching: Explain what the integer lists in the combineEvents docs mean. 2020-06-10 10:34:11 +02:00
Damir Jelić 632f54d126 Searching: Split out the search methods.
This splits out the search methods out into ones that process the search
result and ones that do not instead of toggling the return format using
a boolean.
2020-06-10 10:09:16 +02:00
Travis Ralston 0755b4c148 Add a context menu to rooms in the new room list
The tag options are not implemented out of concern for diff size. 

This splits the context menu classes out to a new "iconized" style which is common across a number of context menus, including the UserMenu.

Some of the badge/sublist styles had to change to better accommodate the menu icon lining up.

This also contains the framework required for https://github.com/vector-im/riot-web/issues/13961
2020-06-09 23:09:15 -06:00
Travis Ralston 2180a56074 Remove irrelevant property 2020-06-09 21:15:38 -06:00
Travis Ralston 111394df6d Add hover states and basic context menu to new room list
The 'sort by' radio buttons are blocked by https://github.com/matrix-org/matrix-react-sdk/pull/4731 as it contains the styles needed.

The 'unread rooms' checkbox is intentionally not hooked up. This is a more complicated refactoring that needs to be done.

The message preview checkbox works, though the previews remain hardcoded in this change. The primary intent of this change is to have a good enough context menu and the hover states.

The hover states are as described in the design.
2020-06-09 21:12:49 -06:00
Travis Ralston 8ec6d4ce76 Appease i18n 2020-06-09 19:53:07 -06:00
Travis Ralston 5f8b7187cf Update resize handle for new designs
The diff should have information on what this does and how it is supposed to work.
2020-06-09 19:48:31 -06:00
Travis Ralston b84af372b9 Bump animation time for breadcrumbs up to 640ms
This matches the design, unlike the 300ms which was too fast.
2020-06-09 15:35:07 -06:00
Travis Ralston 84174cc440 Remove 1 extra line 2020-06-09 15:30:03 -06:00
Travis Ralston c360800631 Add token.remove() handling to room list temp proxy
Fixes https://github.com/vector-im/riot-web/issues/13930
2020-06-09 15:26:13 -06:00
Travis Ralston fed52f274e Fix custom theme use with new room list
Fixes https://github.com/vector-im/riot-web/issues/13968

We were grabbing "custom-" instead of the actual theme name.
2020-06-09 15:23:34 -06:00
Travis Ralston db23aaad83 Destroy old CommunityFilterConditions when they aren't needed
Fixes https://github.com/vector-im/riot-web/issues/13971
2020-06-09 15:22:37 -06:00
Travis Ralston 1467191a5d Update the CSS transition for breadcrumbs
The actual transition length might need adjusting, but this is fairly close to what was requested.
2020-06-09 15:06:54 -06:00
Travis Ralston b5f9c4ba8a Merge branch 'develop' into travis/room-list/breadcrumbs 2020-06-09 08:12:56 -06:00
Weblate 82debebaef Merge branch 'origin/develop' into Weblate. 2020-06-09 14:12:05 +00:00
Travis Ralston 9377fa513f Merge branch 'develop' into travis/room-list/breadcrumbs 2020-06-09 08:11:08 -06:00
Travis Ralston eefc40e0f8 Use IDestroyable instead of IDisposable
For consistency within our project
2020-06-09 08:08:47 -06:00
Weblate 39f8dc4c20 Merge branch 'origin/develop' into Weblate. 2020-06-09 14:06:46 +00:00
Travis Ralston 724f545b4a Merge remote-tracking branch 'origin/develop' into travis/room-list/sublist-badges 2020-06-09 08:06:10 -06:00
Travis Ralston 8632d56e97 dispose -> destroy 2020-06-09 08:05:35 -06:00
Weblate b04c8a6a85 Merge branch 'origin/develop' into Weblate. 2020-06-09 14:01:24 +00:00
Travis Ralston d9bd3cfc38
Merge pull request #4732 from matrix-org/travis/badge-ts
Convert FormattingUtils to TypeScript and add badge utility function
2020-06-09 08:01:19 -06:00
Travis Ralston 8faa0936c9 98 -> 99+ 2020-06-09 08:01:03 -06:00
Weblate d71478d281 Merge branch 'origin/develop' into Weblate. 2020-06-09 13:59:18 +00:00
Travis Ralston 182dd41947
Merge pull request #4736 from matrix-org/travis/room-list/filter-explore
Add filtering and exploring to the new room list
2020-06-09 07:59:13 -06:00
Travis Ralston ae8b75214a Balance out the throttle 2020-06-09 07:58:39 -06:00
Weblate ba0998f5af Merge branch 'origin/develop' into Weblate. 2020-06-09 13:57:10 +00:00
Travis Ralston 82f2551f85
Merge pull request #4737 from matrix-org/travis/room-list/filter-priority
Support prioritized room list filters
2020-06-09 07:57:03 -06:00
Damir Jelić 5c42294336 EventIndex: Store and restore the encryption info for encrypted events. 2020-06-09 15:26:34 +02:00
Jorik Schellekens 9b623f5b44 fix line indents 2020-06-09 13:38:29 +01:00
Weblate a7ba3f7b99 Merge branch 'origin/develop' into Weblate. 2020-06-09 12:16:23 +00:00
Kévin C c0b147e76f Translated using Weblate (French)
Currently translated at 100.0% (2260 of 2260 strings)

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

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2020-06-09 12:16:23 +00:00
Jorik Schellekens 7a3ed0e496
Merge pull request #4733 from matrix-org/joriks/font-scaling-appearance
Clean up font scaling appearance
2020-06-09 13:16:15 +01:00
Travis Ralston 1f82396ec5 Remove unused type 2020-06-08 21:40:25 -06:00
Travis Ralston 3fcd5505b3 Support prioritized room list filters
This is to fix an issue where when using both the community filter panel and the search box it's an AND rather than further refining the results.

This makes the search box further refine the community filter panel results.
2020-06-08 21:38:56 -06:00
Travis Ralston 6c4c581f8f i18n 2020-06-08 20:51:51 -06:00
Travis Ralston 5114c37b82 Add filtering and exploring to the new room list
This is per the designs. Animation doesn't feel required here.

Like the rest of this series, this rewrites a component to be more purpose-built to help match the designs and to solve the smallest possible problem.
2020-06-08 20:33:21 -06:00
Travis Ralston 708c65cd96 Disable new breadcrumb store when old room list is in use 2020-06-08 19:08:18 -06:00
Travis Ralston 5083811deb Appease the tests 2020-06-08 18:26:43 -06:00
Travis Ralston eff97e6c20 Fix the tests 2020-06-08 18:18:34 -06:00
Travis Ralston 33e4ecbe86 Merge branch 'develop' into travis/badge-ts 2020-06-08 18:13:06 -06:00
Travis Ralston 9859891b4d Merge branch 'develop' into travis/room-list/sublist-badges 2020-06-08 18:12:43 -06:00
Travis Ralston bcc455b248 Merge branch 'develop' into travis/room-list/breadcrumbs 2020-06-08 18:11:42 -06:00
Weblate 5df07e10ea Merge branch 'origin/develop' into Weblate. 2020-06-09 00:10:10 +00:00
Weblate 658d37eb69 Merge branch 'origin/develop' into Weblate. 2020-06-09 00:10:00 +00:00
Nils Haugen 87d5988d53 Translated using Weblate (Norwegian Nynorsk)
Currently translated at 58.5% (1322 of 2259 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nn/
2020-06-09 00:10:00 +00:00
Priit Jõerüüt 0e6e76ad85 Translated using Weblate (Estonian)
Currently translated at 58.1% (1312 of 2259 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/et/
2020-06-09 00:09:57 +00:00
J. A. Durieux 8292ce56b0 Translated using Weblate (Dutch)
Currently translated at 90.1% (2036 of 2259 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2020-06-09 00:09:56 +00:00
Travis Ralston 0354bf9b6d Reimplement breadcrumbs for new room list
This all-new component handles breadcrumbs a bit more smoothly for the app by always listening to changes even if the component isn't present. This allows the breadcrumbs to remain up to date for when the user re-enables breadcrumbs.

The new behaviour is that we turn breadcrumbs on once the user has a room, and we don't turn it back off for them.

This also introduces a new animation which is more stable and not laggy, though instead of sliding the breadcrumbs pop. This might be undesirable - to be reviewed.
2020-06-08 17:11:58 -06:00
Travis Ralston 086b9101fa Add sublist badge counts to new room list
Also add IDLE state to rooms
2020-06-08 13:42:18 -06:00
Travis Ralston 2c8a42927c Merge branch 'travis/badge-ts' into travis/room-list/sublist-hover 2020-06-08 12:15:56 -06:00
Travis Ralston 21c8611300 Convert FormattingUtils to TypeScript and add badge utility function
The new function is to be used in the new room list.
2020-06-08 12:14:32 -06:00
Jorik Schellekens b4bdb23f5f Clean up font scaling appearance 2020-06-08 19:02:36 +01:00
Jorik Schellekens 24cf3d5f05 add key to react list and let selector container wrap 2020-06-08 18:37:36 +01:00
Jorik Schellekens a10e71edcf Use styled radio buttons for theme selection 2020-06-08 18:17:02 +01:00
Travis Ralston de4c2fe3d9 Use real buttons in user menu 2020-06-08 11:06:21 -06:00
Jorik Schellekens d6a532040e lint 2020-06-08 16:57:39 +01:00
Jorik Schellekens 26eaef848b Use Element instead of HTMLElement 2020-06-08 16:53:19 +01:00
Jorik Schellekens 35ecaff399 Move Settings flag to ts 2020-06-08 16:48:32 +01:00
Travis Ralston 6002fef269 Merge branch 'travis/room-list/css-layout' into travis/room-list/user-menu 2020-06-08 09:41:38 -06:00
Travis Ralston 000c92a53f Merge branch 'develop' into travis/room-list/css-layout 2020-06-08 09:40:21 -06:00
Travis Ralston fd8c056200 Fix i18n 2020-06-08 09:40:03 -06:00
Travis Ralston 50673496c3 Add hosting link 2020-06-08 09:32:16 -06:00
Travis Ralston 94ce23aa4b Wire up theme changer 2020-06-08 09:32:05 -06:00
Damir Jelić 2c81d3eda8 EventIndex: Use the correct variable to get the room id. 2020-06-08 17:30:26 +02:00
Travis Ralston acf78ae475 Wire up the remaining dialogs 2020-06-08 09:04:43 -06:00
Damir Jelić 7a2bb4b112 EventIndex: Check if a newly encrypted room is indexed before adding a checkpoint. 2020-06-08 16:43:20 +02:00
Travis Ralston de18af35ff Support minimum to open user settings to a particular tab
Tabs now have IDs, and we use those IDs to open things. This doesn't do any conversion to typescript, and doesn't add the same feature to the room settings out of concern for the size of diff.
2020-06-08 08:20:15 -06:00
Weblate 15212df3ae Merge branch 'origin/develop' into Weblate. 2020-06-08 14:08:40 +00:00
Jorik Schellekens 4b39ccbe26
Merge pull request #4727 from matrix-org/joriks/fix-read-receipt-overlap
Fix read receipt overlap
2020-06-08 15:08:35 +01:00
Weblate 50bd7fa0b4 Merge branch 'origin/develop' into Weblate. 2020-06-08 13:48:29 +00:00
Jorik Schellekens fe0ae07b84
Merge pull request #4726 from matrix-org/joriks/font-scaling-unit-change
Load correct default font size
2020-06-08 14:48:24 +01:00
Jorik Schellekens a7bc722b3f Use px where images use px width 2020-06-08 14:45:12 +01:00
Jorik Schellekens 458bea20be Load correct fonstSize default value 2020-06-08 14:31:53 +01:00
Weblate 11d9eea271 Merge branch 'origin/develop' into Weblate. 2020-06-08 13:16:06 +00:00
Michael Telatynski 36e49df025
Merge pull request #4724 from matrix-org/t3chguy/lb
send state of lowBandwidth in rageshakes
2020-06-08 14:16:02 +01:00
Damir Jelić ea35fc2881 EventIndex: Fix some lint issues. 2020-06-08 15:14:14 +02:00
Damir Jelić f802668fff EventIndex: Add a missing await. 2020-06-08 15:14:14 +02:00
Damir Jelić 39bcd8d56d EventIndex: Add a checkpoint if a room turns into a encrypted one. 2020-06-08 15:14:13 +02:00
Weblate 7e0d028d52 Merge branch 'origin/develop' into Weblate. 2020-06-08 12:46:08 +00:00
Jorik Schellekens 2fe7c37566 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into joriks/font-scaling-unit-change 2020-06-08 13:37:05 +01:00
Michael Telatynski 6fe5196a19 send state of lowBandwidth in rageshakes
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-08 11:43:50 +01:00
yuuki-san 4b920c88dc Translated using Weblate (Slovak)
Currently translated at 68.7% (1552 of 2259 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sk/
2020-06-08 09:58:46 +00:00
Michael Albert dbc2f9cbfc Translated using Weblate (German)
Currently translated at 99.7% (2253 of 2259 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2020-06-08 09:58:45 +00:00
Travis Ralston f05a1e532b Point buttons at the right functions 2020-06-07 22:17:02 -06:00
Travis Ralston 8e0247afe5 Add most of the UI for the new room list's menu button
Incomplete implementation: buttons don't work, some text is missing, etc
2020-06-07 22:06:41 -06:00
Travis Ralston bb3cdd3335 Merge branch 'travis/room-list/css-layout' into travis/room-list/user-menu 2020-06-07 20:24:10 -06:00
Weblate 1e32fa02da Merge branch 'origin/develop' into Weblate. 2020-06-08 02:22:45 +00:00
Travis Ralston e4aeabe5a6
Merge pull request #4444 from pv/jitsi-popout-immediate-join
Ensure active Jitsi conference is closed on widget pop-out
2020-06-07 20:22:39 -06:00
Weblate fe1137855e Merge branch 'origin/develop' into Weblate. 2020-06-08 01:05:13 +00:00
Travis Ralston 760333a0ae Move function to a private function 2020-06-07 13:08:25 -06:00
Travis Ralston a7fe7cb28d Merge remote-tracking branch 'origin/develop' into travis/room-list/sticky 2020-06-07 13:06:30 -06:00
Weblate 397660f3f3 Merge branch 'origin/develop' into Weblate. 2020-06-07 19:06:20 +00:00
Nils Haugen 8dfed9e597 Translated using Weblate (Norwegian Nynorsk)
Currently translated at 56.6% (1278 of 2259 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nn/
2020-06-07 19:06:20 +00:00
Imre Kristoffer Eilertsen 43be243033 Translated using Weblate (Norwegian Bokmål)
Currently translated at 56.8% (1283 of 2259 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nb_NO/
2020-06-07 19:06:18 +00:00
notramo d029696049 Translated using Weblate (Hungarian)
Currently translated at 99.9% (2256 of 2259 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2020-06-07 19:06:17 +00:00
XoseM 36597e23ed Translated using Weblate (Galician)
Currently translated at 67.3% (1521 of 2259 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/gl/
2020-06-07 19:06:17 +00:00
Kévin C 1af375ab0e Translated using Weblate (French)
Currently translated at 100.0% (2259 of 2259 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2020-06-07 19:05:58 +00:00
Tirifto d960d57721 Translated using Weblate (Esperanto)
Currently translated at 99.9% (2258 of 2259 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eo/
2020-06-07 19:05:58 +00:00
Jeff Huang e8c614d01e Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2259 of 2259 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2020-06-07 19:05:55 +00:00
Travis Ralston 9b928b5a5d Handle remaining cases for room updates in new room list
For https://github.com/vector-im/riot-web/issues/13635

This adds support for:
* Tag changes
* DM changes
* Marking our own rooms as read
* Our own membership changes

The remaining branch we didn't need was the alternate 'new room' branch, so it was removed.

This is not optimized - optimization is deferred.
2020-06-05 20:12:32 -06:00
Travis Ralston 0bb1eefdea Remove view_room listener as it isn't needed
We use the RoomViewStore
2020-06-05 19:47:15 -06:00
Travis Ralston 021d6d626e Merge branch 'develop' into travis/room-list/css-layout 2020-06-05 19:44:09 -06:00
Travis Ralston 6548748d7c Introduce sticky rooms to the new room list
Originally this was intended to be done only in the importance algorithm, however it is clear that all algorithms will need to deal with this. As such, it has been put into the base class to deal with as we may override it in the future. 

This commit should be self-documenting enough to describe what is going on, though the major highlight is that the handling of the sticky room is done by lying to the underlying algorithm.

This has not been optimized for performance yet.

For https://github.com/vector-im/riot-web/issues/13635
2020-06-05 18:44:38 -06:00
Weblate 09ba491afd Merge branch 'origin/develop' into Weblate. 2020-06-05 22:54:27 +00:00
Michael Telatynski 0c32daa162 label ZWJ as such
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-05 23:34:04 +01:00
Michael Telatynski 69ea635398 Allow searching the emoji picker using other emoji
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-05 23:19:00 +01:00
Travis Ralston 2806c8c18b Fix temporary class 2020-06-05 14:13:28 -06:00
Travis Ralston 1d8833e9f8 Selected state, cleanup, and profile display 2020-06-05 14:08:20 -06:00
Travis Ralston ea6b0a60ab Merge branch 'develop' into travis/room-list/css-layout 2020-06-05 13:19:00 -06:00
Weblate 46c31d190e Merge branch 'origin/develop' into Weblate. 2020-06-05 19:18:05 +00:00
Travis Ralston ee3d2c51d8
Merge pull request #4697 from matrix-org/travis/room-list/scrolling-resize
New room list scrolling and resizing
2020-06-05 13:17:59 -06:00
Travis Ralston e93a41c5fb Minor clarity 2020-06-05 13:14:44 -06:00
Weblate 8b09d7052a Merge branch 'origin/develop' into Weblate. 2020-06-05 17:27:06 +00:00
Travis Ralston 68e59a3655
Merge pull request #4696 from aaronraimist/empty-formatbar
Don't show FormatBar if composer is empty
2020-06-05 11:27:00 -06:00
David Baker ed7f0fd95f This promise doesn't exist anymore 2020-06-05 18:08:25 +01:00
Travis Ralston 51038b0c02 Replace math hacks with temporary placeholder 2020-06-05 11:03:18 -06:00
David Baker 7c59e39710 Sort out what we wait for after login
We were waiting only for the client to become logged in rather than
for setLoggedIn() to finish but then we were waiting for the first
sync to complete which is far longer. We need setLoggedIn to have
finished for crypto to be set up so we can query cross-signing keys,
so just wait for that anyway, the logic becomes a lot simpler and
we're waiting the same amount of time because we have to wait for
the first sync to finish. We can also download keys in parallel.
2020-06-05 17:52:09 +01:00
Weblate 42215c5ed8 Merge branch 'origin/develop' into Weblate. 2020-06-05 16:07:18 +00:00
David Baker 68e555a0c6 Support accounts with cross signing but no SSSS
At least at the login stage.

Fixes https://github.com/vector-im/riot-web/issues/13894
2020-06-05 16:40:20 +01:00
David Baker b82a893a79 Merge remote-tracking branch 'origin/develop' into dbkr/recovery_keys_over_passphrases 2020-06-05 16:00:43 +01:00
Travis Ralston 475ba61671 Give the show more button some real CSS
This is still somewhat placeholder.
2020-06-05 08:48:23 -06:00
Travis Ralston 6752c2832e Add missing var 2020-06-05 08:40:32 -06:00
Travis Ralston 211ad66fea Fix i18n 2020-06-05 08:39:38 -06:00
Travis Ralston b31a8d494b Merge branch 'travis/room-list/scrolling-resize' into travis/room-list/css-layout 2020-06-05 08:39:19 -06:00
MamasLT 0a1080de5a Translated using Weblate (Lithuanian)
Currently translated at 67.4% (1522 of 2258 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/lt/
2020-06-05 10:03:09 +00:00
Travis Ralston 1f11298aa3 Annotate hacky math 2020-06-04 21:45:32 -06:00
Travis Ralston e90e70bd77 Misc cleanup 2020-06-04 21:43:33 -06:00
Travis Ralston 0694637b06 Remove debug 2020-06-04 21:38:06 -06:00
Travis Ralston f347019cf8 Remove obviously questionable color choices 2020-06-04 21:37:10 -06:00
Travis Ralston 0c15b2bdb6 Simple structuring of the room list itself
This covers the larger parts of the design, but doesn't deal with the nuances of hover states, badge sizing, etc.
2020-06-04 21:21:04 -06:00
Travis Ralston 4c1bc50649 Initial styling for new room list
This is a work in progress, but covers the coarse areas. This uses all-new classes to better describe what everything is, and to reduce the number of selectors we keep track of.

This is primarily layout for the list and not actually the final structure. For example, some buttons are missing and other areas are not styled correctly - the idea in this commit was to get things roughly in the right place and work on it.
2020-06-04 16:41:18 -06:00
Travis Ralston 02c131e3ff Merge branch 'travis/room-list/scrolling-resize' into travis/room-list/css-layout 2020-06-04 16:40:55 -06:00
Travis Ralston 434f6ea4d4 Remove legacy sublist sizing 2020-06-04 16:36:14 -06:00
Travis Ralston dc01607ad9 Merge branch 'develop' into travis/split-left-panel 2020-06-04 15:09:51 -06:00
Weblate 6fd24e837c Merge branch 'origin/develop' into Weblate. 2020-06-04 21:07:24 +00:00
Matthew Hodgson 02cdc8a201
Merge pull request #4710 from matrix-org/matthew/fix-safari-emoji
fix emoji in safari
2020-06-04 22:07:18 +01:00
Matthew Hodgson c171bdfec7 fix emoji in safari
1. emoji sometimes vanished from the autocompleter due to a rounding error
   combined with maxWidth: 1em on the emoji span kicking in at arbitrary
   font sizes/zooms
2. apparently safari needs explicit VS-16 ligatures, as per
   ff7dec427f
2020-06-04 22:01:16 +01:00
Weblate 2bf74c0229 Merge branch 'origin/develop' into Weblate. 2020-06-04 20:12:26 +00:00
Travis Ralston dc23dd637c Revert "Add a warning for dismissing invalid toasts"
This reverts commit 3674b6446e.
2020-06-04 14:07:06 -06:00
Travis Ralston 3674b6446e Add a warning for dismissing invalid toasts 2020-06-04 13:53:09 -06:00
Travis Ralston c667ea69af Fix not being able to dismiss new login toasts
`toastKey` is a thing.

Fixes https://github.com/vector-im/riot-web/issues/13923
2020-06-04 13:48:35 -06:00
Jorik Schellekens f3011f00f7
Remove debug 2020-06-04 19:43:35 +01:00
Weblate f72e331d99 Merge branch 'origin/develop' into Weblate. 2020-06-04 18:30:01 +00:00
Jorik Schellekens bba6767608 Update displayed min and max 2020-06-04 18:00:22 +01:00
David Baker 5e569d75b6 Fix exceptions from Tooltip
renderTooltip was not a bound function and so was failing to find
the parent when called from the 'scroll' event listener because
'this' was the window object rather than the Tooltip object.

Unsure at what point this broke - I assumed it was in thr recent
typescript conversion but it looks like it would have had the same
problem before.
2020-06-04 17:54:18 +01:00
Jorik Schellekens 2ec47ecc74 Use different setting flag print expected values 2020-06-04 17:50:56 +01:00
Weblate 73ba31a438 Merge branch 'origin/develop' into Weblate. 2020-06-04 16:41:21 +00:00
Tulir Asokan 46b282142f
Stop removing variation selector from quick reactions
Fixes vector-im/riot-web#13926

Signed-off-by: Tulir Asokan <tulir@maunium.net>
2020-06-04 18:58:13 +03:00
Travis Ralston a3fdd643d7 Add hacky math support 2020-06-04 09:57:16 -06:00
Jorik Schellekens f6504d67ba Use 10px instead 2020-06-04 16:23:28 +01:00
Travis Ralston cdf2d70aea Merge branch 'develop' into travis/room-list/scrolling-resize 2020-06-04 09:19:54 -06:00
Travis Ralston 83df79aab9 Try variable resizing 2020-06-04 09:19:03 -06:00
Damir Jelić 5dfe5ac135 Searching: More docs and a bit of simplification. 2020-06-04 17:06:59 +02:00
Damir Jelić bf13032d5b Searching: Fix a lint issue and expand some docs. 2020-06-04 17:06:58 +02:00
Damir Jelić 94d4aa17ee Searching: Remove some debug logs. 2020-06-04 17:06:58 +02:00
Damir Jelić 46fd36568a Searching: Always set the limit when searching.
The spec doesn't mention any default limit so different homeservers
might use different defaults, since we don't want Riot to behave
differently depending on the homeserver bite the bullet of sending an
additional 10 or so bytes when searching.
2020-06-04 17:06:58 +02:00
Damir Jelić 96ca47381c Searching: Add more docs explaining what's going on in the pagination. 2020-06-04 17:06:58 +02:00
Damir Jelić df06594314 Searching: Refactor out some code that combines the search results. 2020-06-04 17:06:58 +02:00
Damir Jelić c6462e11ec Searching: Fix some lint issues. 2020-06-04 17:06:58 +02:00
Damir Jelić 28f7d23bfc Searching: Correctly order the combined search results. 2020-06-04 17:06:58 +02:00
Damir Jelić c2e0e10553 Searching: Split out more logic that combines the events. 2020-06-04 17:06:58 +02:00
Damir Jelić b6198e0ab9 Searching: Combine the events before letting the client process them. 2020-06-04 17:06:58 +02:00
Damir Jelić c1ef193e3a Searching: Add initial pagination for combined searches. 2020-06-04 17:06:58 +02:00
Damir Jelić e94f3422df Searching: Add support to paginate Seshat search results. 2020-06-04 17:06:58 +02:00
XoseM 47df8f2ac0 Translated using Weblate (Galician)
Currently translated at 53.5% (1208 of 2258 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/gl/
2020-06-04 14:14:07 +00:00
Weblate 648167ffdd Merge branch 'origin/develop' into Weblate. 2020-06-04 12:59:19 +00:00
XoseM 82eb80f0c6 Translated using Weblate (Galician)
Currently translated at 52.7% (1189 of 2258 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/gl/
2020-06-04 12:59:19 +00:00
Michael Telatynski 920e087ada
Merge pull request #4704 from matrix-org/t3chguy/continuation
Tidy up continuation algorithm and make it work for hidden profile changes
2020-06-04 13:59:13 +01:00
Weblate deac4222fb Merge branch 'origin/develop' into Weblate. 2020-06-04 12:50:20 +00:00
Michael Telatynski 4043989a25
Merge pull request #4699 from matrix-org/t3chguy/fix-own-displayname
Profile settings should never show a disambiguated display name
2020-06-04 13:50:15 +01:00
Michael Telatynski 6d81337d92 Tidy up continuation algorithm and make it work for hidden profile change events
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-04 13:10:45 +01:00
Weblate 0c7fc87fa8 Merge branch 'origin/develop' into Weblate. 2020-06-04 12:07:24 +00:00
Bruno Windels 07e0cab4a8 When trying to restore a keyback that has its key in 4S, check if 4S will be readable
If the account data for the 4S key is cleared or lost somehow, don't attempt to
read the key and ask for the passphrase/recovery key instead, as doing so would trigger another
bootstrap from the restore key backup dialog, overwriting the existing key backup.
2020-06-04 12:52:20 +02:00
random 9c93e48748 Translated using Weblate (Italian)
Currently translated at 100.0% (2258 of 2258 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2020-06-04 09:16:51 +00:00
Kévin C db6d60566b Translated using Weblate (French)
Currently translated at 100.0% (2258 of 2258 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2020-06-04 09:16:51 +00:00
Jeff Huang 39dcc9f23c Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2258 of 2258 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2020-06-04 09:16:50 +00:00
Michael Telatynski 993a545cd2 Profile settings should never show a disambiguated display name
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-04 09:50:19 +01:00
Travis Ralston 30027a6556 Remove debugging 2020-06-03 21:53:58 -06:00
Travis Ralston be4f75bca9 Add a 'show more' button to room lists 2020-06-03 21:53:08 -06:00
Travis Ralston dbf996439b Wedge t3chguy's resizer prototype into the sublist 2020-06-03 21:17:51 -06:00
Travis Ralston c07b5ebe9a Initial experiments with resizing of room lists 2020-06-03 21:17:18 -06:00
Weblate 3f75d82d95 Merge branch 'origin/develop' into Weblate. 2020-06-03 23:36:27 +00:00
Michael Telatynski bde327e1e6
Merge pull request #4695 from aaronraimist/center-headerbuttons
Center HeaderButtons
2020-06-04 00:36:23 +01:00
Aaron Raimist ed2eca52b2
Don't show FormatBar if composer is empty
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2020-06-03 18:05:43 -05:00
Aaron Raimist a4c9a67325 Delete files.png and change UploadConfirmDialog to use svg used elsewhere
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2020-06-03 17:23:37 -05:00
Justin Sleep bdc451d66b Remove escape backslashes in non-Markdown messages 2020-06-03 17:08:13 -05:00
Weblate bfb1dc2938 Merge branch 'origin/develop' into Weblate. 2020-06-03 21:12:19 +00:00
Michael Telatynski eccacb1bc7
Merge pull request #4605 from matrix-org/t3chguy/e2eedefault
Add .well-known option to control default e2ee behaviour
2020-06-03 22:12:13 +01:00
Weblate bfff565eae Merge branch 'origin/develop' into Weblate. 2020-06-03 19:28:06 +00:00
Michael Telatynski 10bdb4975e
Merge pull request #4685 from matrix-org/t3chguy/sso-query
Fix login loop where the sso flow returns to `#/login`
2020-06-03 20:28:01 +01:00
Weblate 3f028725ec Merge branch 'origin/develop' into Weblate. 2020-06-03 19:23:30 +00:00
Michael Telatynski 5b775fd63c
Merge pull request #4690 from matrix-org/t3chguy/mau-toasts
Don't clear MAU toasts when a successful sync comes in
2020-06-03 20:23:25 +01:00
Michael Telatynski 899f9ede45 change names of consts for clarity
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-03 20:23:01 +01:00
Weblate 9898532b49 Merge branch 'origin/develop' into Weblate. 2020-06-03 19:21:19 +00:00
Travis Ralston 380ba163e4
Merge pull request #4681 from matrix-org/travis/room-list/filtering
Add initial filtering support to new room list
2020-06-03 13:21:13 -06:00
Michael Telatynski 5a4723d243 don't specify hs_disabled as its a Synapse special
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-03 20:13:32 +01:00
Travis Ralston bc2fbefb5c Remove iteratorToArray 2020-06-03 11:29:06 -06:00
Weblate abbcc316ed Merge branch 'origin/develop' into Weblate. 2020-06-03 16:10:11 +00:00
Travis Ralston 013751e308
Merge pull request #4664 from matrix-org/foldleft/13523-hide-empty-verifications
Bubble up a decline-to-render of verification events to outside wrapper
2020-06-03 10:10:06 -06:00
Tirifto 520bb1e6fa Translated using Weblate (Esperanto)
Currently translated at 100.0% (2257 of 2257 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eo/
2020-06-03 16:09:39 +00:00
Michael Telatynski 9c417cfbad Don't clear MAU toasts when a successful sync comes in
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-03 16:17:31 +01:00
Weblate 9864e5d783 Merge branch 'origin/develop' into Weblate. 2020-06-03 14:37:25 +00:00
Michael Telatynski 030cc5cdea
Merge pull request #4666 from matrix-org/t3chguy/image-view-focuslock
Apply FocusLock to ImageView to capture Escape handling
2020-06-03 15:37:18 +01:00
Weblate b381b3825b Merge branch 'origin/develop' into Weblate. 2020-06-03 13:44:13 +00:00
random 003e75968a Translated using Weblate (Italian)
Currently translated at 100.0% (2257 of 2257 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2020-06-03 13:44:13 +00:00
Priit Jõerüüt 677c7aac45 Translated using Weblate (Estonian)
Currently translated at 57.8% (1304 of 2257 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/et/
2020-06-03 13:44:13 +00:00
David Baker ddcd3fb806 Fix the 'complete security' screen
https://github.com/matrix-org/matrix-react-sdk/pull/4655 removed
the check for cross-signing account data where the cross-signing
labs flag was enabled if you had an existing cross-signing setup.
This also sent the user to the 'complete security' view rather than
the 'E2E Setup' view though, which meant new logins should always
see the E2E setup screen (ie. be prompted to upgrade encryption).

NB. We need to change this check for SSSS keys in account data
(https://github.com/vector-im/riot-web/issues/13894) but we should
put this back the way it was in the meantime.

Regressed in https://github.com/matrix-org/matrix-react-sdk/pull/4655
2020-06-03 14:31:34 +01:00
Michael Telatynski d92f742205 Fix Jitsi wellknown hooks some more
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-03 14:09:45 +01:00
Michael Telatynski a674131a8c Fix Jitsi wellknown hooks
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-03 13:58:17 +01:00
Michael Telatynski 5156388fc6 Change well known poll period to 2 hours to match existing Jitsi poll
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-03 12:25:57 +01:00
David Baker 226abb457e Update copy in encryption upgrade swcreen 2020-06-03 12:24:22 +01:00
David Baker 6f3bfc96ca Merge remote-tracking branch 'origin/develop' into dbkr/recovery_keys_over_passphrases 2020-06-03 11:01:43 +01:00
Weblate b51fbfd0c8 Merge branch 'origin/develop' into Weblate. 2020-06-03 09:59:19 +00:00
Michael Telatynski 6d11b4f99b
Merge pull request #4688 from matrix-org/t3chguy/autocomplete-scrollintoview
add null-guard for Autocomplete containerRef
2020-06-03 10:59:14 +01:00
Michael Telatynski eb536ff2f7 Merge branches 'develop' and 't3chguy/e2eedefault' of github.com:matrix-org/matrix-react-sdk into t3chguy/e2eedefault
 Conflicts:
	src/components/views/dialogs/CreateRoomDialog.js
	src/components/views/dialogs/InviteDialog.js
	src/components/views/right_panel/UserInfo.js
	src/createRoom.js
2020-06-03 10:51:17 +01:00
Weblate bde8cc7bd6 Merge branch 'origin/develop' into Weblate. 2020-06-03 09:45:52 +00:00
Michael Telatynski 936445ab2d
Merge pull request #4660 from matrix-org/t3chguy/kill_UDE_and_UDD
Remove legacy codepaths for Unknown Device Error (UDE/UDD) handling
2020-06-03 10:45:47 +01:00
Weblate 38be84e677 Merge branch 'origin/develop' into Weblate. 2020-06-03 09:42:24 +00:00
Kévin C 89c33b2c38 Translated using Weblate (French)
Currently translated at 100.0% (2303 of 2303 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2020-06-03 09:42:24 +00:00
Priit Jõerüüt a165066d19 Translated using Weblate (Estonian)
Currently translated at 57.3% (1320 of 2303 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/et/
2020-06-03 09:42:24 +00:00
Jeff Huang d33cd5d6f8 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2303 of 2303 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2020-06-03 09:42:19 +00:00
Michael Telatynski 653b2ff060
Merge pull request #4655 from matrix-org/t3chguy/remove_cross_signing
Remove feature_cross_signing
2020-06-03 10:42:13 +01:00
Michael Telatynski b120488857 add null-guard for Autocomplete containerRef
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-03 10:39:28 +01:00
David Baker 5844a2dd9b indenting (that somehow the linter doesn't care about?) 2020-06-03 10:09:38 +01:00
David Baker b60a1d3b66 Import components 2020-06-03 09:55:48 +01:00
Michael Telatynski 7cfeda96d0
Merge pull request #4670 from matrix-org/t3chguy/autocomplete-scrollintoview
Autocomplete: use scrollIntoView for auto-scroll to fix it
2020-06-03 09:55:00 +01:00
Travis Ralston 6d96d66c03 Split the left panel into new and old for new room list designs
Though we consider the "room list" to mean the RoomList component specifically, the room list is actually the entire left panel as far as the user is concerned. 

The new proposed designs for the room list modify the whole left panel, so we had might as well break it into new and old now instead of later. This "new" left panel is a bare-bones implementation and meant to only provide the absolute basic feature set to function for those who enable the experimental room list, for whatever reason. This is not intended to be a final implementation, or even remotely close to what it could be. An example of this is the lack of breadcrumbs. Given they are likely to change, they are excluded from this temporary skeleton completely.

This also includes a purple/pink bar between the tag panel and left panel. This is so we can, if needed, differentiate between people who made the mistake of turning on the experimental room list while the overall aesthetic makes it indistinguishable. Once the designs are moderately approved, we can (and definitely should) remove the hideous indicator.
2020-06-02 19:26:07 -06:00
Travis Ralston 1f1f613777 Add a focus_composer dispatcher action
and use it
2020-06-02 19:07:46 -06:00
Michael Telatynski d99babfe05 Merge branches 'develop' and 't3chguy/e2eedefault' of github.com:matrix-org/matrix-react-sdk into t3chguy/e2eedefault 2020-06-02 21:51:05 +01:00
Michael Telatynski 48c535e578 hide setup encryption toasts on an e2ee-default:false config
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-02 21:40:32 +01:00
David Baker b83ecb1781 Merge remote-tracking branch 'origin/develop' into dbkr/recovery_keys_over_passphrases 2020-06-02 18:53:54 +01:00
David Baker 0046e204a0 Make the continue button actually work 2020-06-02 18:30:37 +01:00
David Baker 397b95c5fa lint 2020-06-02 18:03:32 +01:00
David Baker 5624cf5ceb Add option to reset keys to the encryption setup screen 2020-06-02 17:55:27 +01:00
Jorik Schellekens c0ac44e471 Change internal font size from from 15 to 20. 2020-06-02 17:10:22 +01:00
David Baker e06ba2003b Prompt for recovery key on login rather than passphrase
Only show passphrase options at all if the user has a passphrase on
their SSSS key.
2020-06-02 16:32:15 +01:00
Michael Telatynski 113a9d71b5 Fix login loop where the sso flow returns to `#/login`
due to fragmentAfterLogin going back to `#/login`
and https://github.com/vector-im/riot-web/issues/11643

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-02 16:26:07 +01:00
Michael Telatynski 3fbfb62bc9 Merge branches 'develop' and 't3chguy/emoji_picker_composer' of github.com:matrix-org/matrix-react-sdk into t3chguy/emoji_picker_composer 2020-06-02 14:00:37 +01:00
Michael Telatynski ef1d682683 i18n
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-02 13:51:58 +01:00
Michael Telatynski 3020e395c1 iterate PR
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-02 13:48:08 +01:00
LinAGKar 8672e4849e Translated using Weblate (Swedish)
Currently translated at 64.4% (1482 of 2302 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sv/
2020-06-02 12:29:56 +00:00
Weblate 9b975820a3 Merge branch 'origin/develop' into Weblate. 2020-06-02 09:14:19 +00:00
XoseM 833732e732 Translated using Weblate (Galician)
Currently translated at 52.3% (1204 of 2302 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/gl/
2020-06-02 09:14:19 +00:00
Slavi Pantaleev 2794bf3c00 Translated using Weblate (Bulgarian)
Currently translated at 95.6% (2201 of 2302 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2020-06-02 09:14:18 +00:00
J. Ryan Stinnett 0717c7749e
Merge pull request #4347 from MTRNord/fix-register-auth-with-new-spec
Make auth argument in the register request compliant with r0.6.0
2020-06-02 10:14:09 +01:00
Weblate 945ebfc45c Merge branch 'origin/develop' into Weblate. 2020-06-02 06:22:20 +00:00
Travis Ralston 613b994f9d
Revert "Prevent PersistedElements overflowing scrolled areas" 2020-06-02 00:21:31 -06:00
Travis Ralston 73a8e77d32 Add initial filtering support to new room list
For https://github.com/vector-im/riot-web/issues/13635

This is an incomplete implementation and is mostly dumped in this state for review purposes. The remainder of the features/bugs are expected to be in more bite-sized chunks.

This exposes the RoomListStore on the window for easy access to things like the new filter functions (used in debugging).

This also adds initial handling of "new rooms" to the client, though the support is poor.

Known bugs:
* [ ] Regenerates the entire room list when a new room is seen.
* [ ] Doesn't handle 2+ filters at the same time very well (see gif. will need a priority/ordering of some sort).
* [ ] Doesn't handle room order changes within a tag yet, despite the docs implying it does.
2020-06-01 16:49:22 -06:00
Michael Telatynski 5025de5525 Merge branches 'develop' and 't3chguy/e2eedefault' of github.com:matrix-org/matrix-react-sdk into t3chguy/e2eedefault 2020-06-01 23:28:21 +01:00