Commit graph

27881 commits

Author SHA1 Message Date
Bruno Windels
bb685cd37a change message priority 2020-07-30 10:33:36 +02:00
Swapnil Raj
fbc341a2f5 Clean up types properly 2020-07-30 11:51:10 +05:30
Swapnil Raj
9aa128a6e8 Revert "Cleanup types"
This reverts commit 97cef335e8.
2020-07-30 11:45:49 +05:30
Swapnil Raj
97cef335e8 Cleanup types 2020-07-30 11:27:53 +05:30
Travis Ralston
7f404b0fe5 Fix levels for settings 2020-07-29 21:00:32 -06:00
Travis Ralston
e3765ea8c5 Appease the linters 2020-07-29 20:47:32 -06:00
Travis Ralston
c5574219bb Implement dialog for resending local echo transactions 2020-07-29 20:36:04 -06:00
Travis Ralston
14b0def143 Fix echo handling and show a barebones toast on error
The EchoTransaction was wrongly assuming that it knew better than the caller for when the success condition was met, so the echo marking has been left an exercise for the caller. In this case, we mark when we finally receive the sync with the updated rules.

We also have to cancel previous transactions otherwise if the user mashes buttons we could forever show the toast, and that would be bad.
2020-07-29 19:11:24 -06:00
Travis Ralston
0f1b9937a9 Connect RoomTile's notification volume to local echo
This presumes success as we don't yet have a UI for failures.
2020-07-29 16:54:33 -06:00
Travis Ralston
8f1af4be14 Add local echo capabilities for rooms
The structure here might need some documentation and work, but overall the idea is that all calls pass through a CachedEcho instance, which are self-updating.
2020-07-29 16:53:26 -06:00
Travis Ralston
75f53e4118 Ensure AsyncStoreWithClient can start mid-lifecycle
In some cases we're likely to miss the PREPARED sync, so just handle ourselves as ready if we have a client set.
2020-07-29 16:52:20 -06:00
Travis Ralston
14757cacd5 Introduce a concept of "non-urgent" toasts
This is somewhat expected to be temporary.
2020-07-29 12:43:35 -06:00
Swapnil Raj
b8e51076a8 Fix private functions for RoomHeaderButtons 2020-07-29 23:58:32 +05:30
Travis Ralston
ae3eb3da9c Fix MatrixClient access in settings 2020-07-29 11:51:42 -06:00
Travis Ralston
9c8682428f Fix various TypeScript linting issues 2020-07-29 11:03:43 -06:00
Travis Ralston
9d124ff09b Convert SettingsStore to TS 2020-07-29 10:57:14 -06:00
J. Ryan Stinnett
2f20cbd5ad Remove all unreferenced images
This removes all images we no longer reference in the app. This should be safe,
as Webpack only adds images to the build output if they are referenced.
2020-07-29 17:52:41 +01:00
Weblate
92d9dbc9f6 Merge branch 'origin/develop' into Weblate. 2020-07-29 16:08:37 +00:00
Christopher May-Townsend
284e4c9c1a Translated using Weblate (Icelandic)
Currently translated at 19.6% (455 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/is/
2020-07-29 16:08:37 +00:00
Priit Jõerüüt
a3e01fc92c Translated using Weblate (Estonian)
Currently translated at 99.8% (2317 of 2322 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/et/
2020-07-29 16:08:36 +00:00
Hubert Chathi
6a9fe35fa8
Merge pull request #5057 from matrix-org/uhoreg/keytar_logging
add logging for keytar/pickle key
2020-07-29 12:08:30 -04:00
Bruno Windels
d8baad31da provide nicer error for no known servers error when accepting an invite 2020-07-29 16:51:37 +02:00
Swapnil Raj
8120a26135 A bit more cleanup 2020-07-29 17:35:55 +05:30
Swapnil Raj
aa160095fa Cleanup 2020-07-29 17:26:51 +05:30
Swapnil Raj
bf450ad075 Fix the type for SetRightPanelPhasePayload
Fix uses of it as well
2020-07-29 16:59:29 +05:30
J. Ryan Stinnett
50bc7fc62f Remove redundant lint dependencies
These are no longer needed with the new standard lint repo.
2020-07-29 12:00:42 +01:00
Travis Ralston
51968a8072 Convert RoomSettingsHandler to TS 2020-07-28 22:16:54 -06:00
Travis Ralston
c7b28b4566 Convert RoomDeviceSettingsHandler to TS 2020-07-28 22:14:33 -06:00
Travis Ralston
c4f4e2aa0a Convert RoomAccountSettingsHandler to TS 2020-07-28 22:04:25 -06:00
Travis Ralston
21e5bccb62 Convert LocalEchoWrapper to TS 2020-07-28 21:57:00 -06:00
Travis Ralston
4f6480c037 Convert DeviceSettingsHandler to TS 2020-07-28 21:53:07 -06:00
Travis Ralston
8097810784 Convert DefaultSettingsHandler to TS 2020-07-28 21:52:57 -06:00
Travis Ralston
32844d4624 Convert ConfigSettingsHandler to TS 2020-07-28 21:49:45 -06:00
Travis Ralston
e4d8cca861 Specify an error to appease the linter 2020-07-28 21:46:45 -06:00
Travis Ralston
4969cfe9de Appease the linter 2020-07-28 16:37:09 -06:00
Travis Ralston
7de727915d Convert AccountSettingsHandler to TS 2020-07-28 16:31:13 -06:00
Travis Ralston
e3364ba7a4 Convert MatrixClientBackedSettingsHandler to TS 2020-07-28 16:20:05 -06:00
Travis Ralston
5f5efa1448 Decorate abstract classes as abstract 2020-07-28 16:15:09 -06:00
Travis Ralston
008c19ea26 Remove unused prop from ThemeWatcher 2020-07-28 16:14:49 -06:00
Travis Ralston
d627baf508 Convert WatchManager to TS 2020-07-28 16:08:08 -06:00
Hubert Chathi
0cf10bb69a Merge branch 'develop' into uhoreg/keytar_logging 2020-07-28 17:45:39 -04:00
Hubert Chathi
fbea8c61bb add logging for keytar/pickle key
and remember when we had key, so that we know that we should expect one
2020-07-28 17:31:27 -04:00
Travis Ralston
c96def81ae Convert SettingsHandler to TS 2020-07-28 15:25:57 -06:00
Travis Ralston
7584a296e4 Use SettingController type in Settings 2020-07-28 15:24:32 -06:00
Travis Ralston
985073c249 Fix copyright in Settings 2020-07-28 15:24:08 -06:00
Travis Ralston
b5be352e88 Fix copyright in CustomStatusController 2020-07-28 15:23:25 -06:00
Travis Ralston
ef062c3511 Convert ThemeController to TS 2020-07-28 15:22:54 -06:00
Travis Ralston
d7e90e045d Convert ReloadOnChangeController to TS 2020-07-28 15:21:53 -06:00
Travis Ralston
227b611421 Convert PushToMatrixClientController to TS 2020-07-28 15:21:10 -06:00
Travis Ralston
437ccb2421 Convert NotificationControllers to TS 2020-07-28 15:19:11 -06:00