Commit Graph

21443 Commits (be70ef44f81521b70f05cbb538edd918f61a1781)

Author SHA1 Message Date
Hubert Chathi be70ef44f8 lint 2020-02-11 15:34:14 -05:00
Hubert Chathi 4c5046afd5 refactor event grouping into separate helper classes 2020-02-11 15:19:32 -05:00
J. Ryan Stinnett a160fbf0cc
Merge pull request #4039 from matrix-org/jryans/rvs-spam
Only emit in RoomViewStore when state actually changes
2020-02-06 21:12:54 +00:00
J. Ryan Stinnett c916ef4534 Only emit in RoomViewStore when state actually changes
This adds a shallow state check to attempt to only emit a store update when
something actually changes.

Fixes https://github.com/vector-im/riot-web/issues/12256
2020-02-06 17:57:17 +00:00
Bruno Windels cd65cab2e2
Merge pull request #4029 from matrix-org/bwindels/onlyexplicitdismissmodal
Mark AccessSecretStorageDialog to not be closed by clicking background
2020-02-06 16:09:11 +00:00
Bruno Windels a8958458aa fix lint, add jsdoc 2020-02-06 15:29:35 +01:00
Bruno Windels cf7ad725a6 copy and i18n 2020-02-06 15:18:25 +01:00
J. Ryan Stinnett a4228907a6
Merge pull request #4037 from matrix-org/jryans/scroll-up-pointer
Let pointer events fall through to scroll button
2020-02-06 13:52:14 +00:00
J. Ryan Stinnett c3f4eaf4e5
Merge pull request #4035 from matrix-org/jryans/seshat-rooms-i18n
Improve event indexing status strings for translation
2020-02-06 12:53:10 +00:00
Bruno Windels 4cd4110a52 fixup: this is already done in _buildModal 2020-02-06 13:13:37 +01:00
Bruno Windels 70a4d3415e confirm to close the passphrase dialog if it was done by backgroundClick
as it is easy to do by accident
2020-02-06 13:11:24 +01:00
Bruno Windels c44ebef06f add onBeforeClose option to Modal
so we can throw up another "are you sure" dialog
in the cases we want to do so. This also
passes a reason so we can only do so for ways of
dismissing (like backgroundClick)
that are easy to do by accident.
2020-02-06 13:10:06 +01:00
Bruno Windels 7e07a42dc1 resolve finished promise when closing dialog by clicking background
... by calling the same close method as otherwise and not
have a special path that just calls the onFinished callback.
This will also not close all the dialogs anymore,
but that sort of seems like the intented behaviour?
2020-02-06 13:07:13 +01:00
J. Ryan Stinnett b522d78533 Let pointer events fall through to scroll button
This makes it easier to click the entire visible area of the scroll button,
including the green circle at the top.
2020-02-05 12:43:50 +00:00
Bruno Windels a0c2a39dc7 make a static dialog close again if background is clicked 2020-02-05 13:43:30 +01:00
Travis Ralston 73b177d075
Merge pull request #4024 from TestardR/develop
Button size reviewed for word consuming languages & Settings showing devices are a bit too tight
2020-02-05 10:43:03 +00:00
Michael Telatynski d8d8dd4508
Merge pull request #4034 from matrix-org/t3chguy/s1
Only enumerate settings handlers which are supported
2020-02-05 10:16:03 +00:00
J. Ryan Stinnett d3cf4f132c
Merge pull request #4036 from matrix-org/jryans/mkey-remove
Fix listener removal in verification tile
2020-02-05 09:38:48 +00:00
J. Ryan Stinnett 110c5f0e61 Fix listener removal in verification tile
Fixes https://github.com/matrix-org/riot-web-rageshakes/issues/2202
2020-02-04 23:13:55 +00:00
J. Ryan Stinnett b92fe59436 Improve event indexing status strings for translation
The strings used for the count of rooms was hard to translate, so this adds a
bit more context.
2020-02-04 23:09:49 +00:00
Zoe f89ae19d76
Merge pull request #4028 from matrix-org/foldleft/12114-less-alarming-on-own-devices
Do not show alarming red shields on large encrypted rooms for your own device
2020-02-04 17:09:16 +00:00
Bruno Windels c50bd8d30e
Merge pull request #4007 from hellcp/patch-1
Add a class for styling room directory permissions
2020-02-04 16:30:10 +00:00
Michael Telatynski d585dbab02 Merge branches 'develop' and 't3chguy/s1' of https://github.com/matrix-org/matrix-react-sdk into t3chguy/s1 2020-02-04 15:48:04 +00:00
Michael Telatynski e23a3e98be Only enumerate settings handlers which are supported currently 2020-02-04 15:27:38 +00:00
Zoe d822104159
Merge pull request #4010 from matrix-org/foldleft/11968-verify-verification
double-check user verification
2020-02-04 13:47:32 +00:00
Michael Telatynski fff35fd2c9
Merge pull request #4031 from matrix-org/t3chguy/missing_dep
Use minimist instead of optimist as it is deprecated
2020-02-04 11:32:32 +00:00
Michael Telatynski 3a2cf87791
Merge pull request #4032 from matrix-org/t3chguy/watcher_id
SettingsStore, use a counter instead of wall clock for watcher ids
2020-02-04 11:32:12 +00:00
Zoe 544479a6ee test code cleaned up slightly 2020-02-04 11:31:16 +00:00
Zoe 150fe7a45a Tests for MKeyVerificationConclusion 2020-02-04 11:25:19 +00:00
Michael Telatynski f6c7df8c69 Keep date in Watcher IDs 2020-02-04 11:14:49 +00:00
Michael Telatynski e65404b631 Explicitly (not transitively) depend on minimist as bin script uses it 2020-02-04 11:13:18 +00:00
Michael Telatynski 2d8a2c5210 Merge branches 'develop' and 't3chguy/watcher_id' of https://github.com/matrix-org/matrix-react-sdk into t3chguy/watcher_id 2020-02-04 10:47:53 +00:00
Michael Telatynski 3dd5986656 Merge branches 'develop' and 't3chguy/missing_dep' of https://github.com/matrix-org/matrix-react-sdk into t3chguy/missing_dep 2020-02-04 10:47:27 +00:00
Michael Telatynski a8f7e381eb SettingsStore, use a counter instead of wall clock for watcher ids 2020-02-04 10:41:48 +00:00
Michael Telatynski b099c983d6 Use minimist instead of optimist as it is deprecated 2020-02-04 10:16:39 +00:00
Travis Ralston bf9d5b7f01
Merge pull request #4027 from matrix-org/travis/fix-room-list
Don't crash immediately if the room directory chunk is null/empty
2020-02-04 09:36:12 +00:00
Zoe fab54ab936
Merge pull request #3998 from matrix-org/zip/12038-toast-timeouts
Fix verification toast to close at 0s
2020-02-04 09:30:47 +00:00
Zoe 41f4b38fe8 Do not show alarming red shields on large encrypted rooms for your own device
Fixes: https://github.com/vector-im/riot-web/issues/12214
2020-02-03 16:53:32 +00:00
Travis Ralston aa6eabcf57 Don't crash immediately if the room directory chunk is null/empty
Fixes https://github.com/vector-im/riot-web/issues/12197
2020-02-03 15:49:18 +00:00
David Baker 9bfed510b1
Merge pull request #4026 from matrix-org/dbkr/tagorderstore_leak
Fix listener leak in TagPanel
2020-02-03 15:39:12 +00:00
David Baker 11cb3a60b2 Fix listener leak in TagPanel 2020-02-03 13:33:44 +00:00
David Baker f0d306b07c
Merge pull request #4025 from RiotTranslateBot/weblate-riot-web-matrix-react-sdk
Update from Weblate
2020-02-03 10:02:57 +00:00
catborise fb6bb2fd6b Translated using Weblate (Turkish)
Currently translated at 70.7% (1486 of 2101 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/tr/
2020-02-03 09:43:38 +00:00
random f0bd75fcfb Translated using Weblate (Italian)
Currently translated at 94.5% (1986 of 2101 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2020-02-03 09:43:36 +00:00
Szimszon c879d4c0ab Translated using Weblate (Hungarian)
Currently translated at 94.4% (1984 of 2101 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2020-02-03 09:43:34 +00:00
Kévin C ee9f3c9e18 Translated using Weblate (French)
Currently translated at 100.0% (2101 of 2101 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2020-02-03 09:43:31 +00:00
J. A. Durieux a71c368994 Translated using Weblate (Dutch)
Currently translated at 79.3% (1667 of 2101 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2020-02-03 09:43:31 +00:00
Jeff Huang a31be025cf Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2101 of 2101 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2020-02-03 09:43:29 +00:00
unknown 20fc8514a5 I have added spacing, as devices are very hard to read otherwise 2020-02-02 18:47:16 +01:00
unknown aa52118fa1 the width was not properly set to other languages than english, a min-width will keep the proper size of the button while leaving some room for more word expensive languages such as french 2020-02-02 17:31:06 +01:00