Michael Telatynski
bd175c6f40
Improve and consolidate typing
2021-07-10 15:43:46 +01:00
J. Ryan Stinnett
782e793925
Merge remote-tracking branch 'origin/develop' into jryans/rework-linting-2
2021-06-29 15:27:24 +01:00
J. Ryan Stinnett
ae0a8b8da4
Auto-fix lint errors
2021-06-29 13:11:58 +01:00
Germain Souquet
6607294573
Deprecate Tinter and TintableSVG
2021-06-28 17:13:23 +01:00
Šimon Brandner
7efbd50e31
Handle migration from useIRCLayout to layout
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-26 13:30:34 +01:00
J. Ryan Stinnett
cb66f7493b
Skip account settings for guest users
...
Homeservers don't allow this currently, so we should use something else instead
for such cases.
2021-01-14 15:58:27 +00:00
Travis Ralston
71643862c0
Implement new config style for features
2020-08-17 13:24:55 -06:00
Michael Telatynski
cd29edb442
Write more typescript defs
2020-08-05 09:13:01 +01:00
Travis Ralston
bb48ee669b
Make SettingsHandler truly abstract
2020-07-30 08:50:36 -06:00
Travis Ralston
648c3c7796
Fix various type definitions
2020-07-30 08:49:42 -06:00
Travis Ralston
ae3eb3da9c
Fix MatrixClient access in settings
2020-07-29 11:51:42 -06: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
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
c96def81ae
Convert SettingsHandler to TS
2020-07-28 15:25:57 -06:00
Travis Ralston
1f7f40736b
Fix imports for SettingLevel to point at new file
2020-07-28 11:53:43 -06:00
Michael Telatynski
a7f92f35f5
Sync recently used reactions list across sessions
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-16 04:15:32 +01:00
Travis Ralston
7963ed6d04
Mute "Unknown room caused setting update" spam
...
See comment enclosed within.
Fixes https://github.com/vector-im/riot-web/issues/14254
2020-07-07 13:42:15 -06:00
Travis Ralston
1fe3e33dbf
Factor out cloning to a util and use it everywhere
2020-06-22 14:14:43 -06:00
Travis Ralston
9e3c101172
Clone reads of account data to prevent mutation
2020-06-22 11:24:04 -06:00
Travis Ralston
fe65b7631d
Soften warning about lack of rooms in setting updates
2020-06-22 10:57:08 -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
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
a05dafc300
Check for null config settings a bit safer
...
Fixes https://github.com/vector-im/riot-web/issues/12254
2020-02-12 01:58:21 +00:00
Travis Ralston
042bd35d79
Fix MatrixClientPeg imports
2019-12-22 21:15:54 -07:00
Travis Ralston
5253f29928
Build out a store for the right panel state machine
...
This should make it easier to funnel the expected behaviour through a central block of code.
2019-12-05 15:31:01 -07:00
Michael Telatynski
6121420113
Merge branch 'develop' into t3chguy/remove_bluebird
2019-11-20 15:21:23 +00:00
Travis Ralston
2f89f28496
Remove extraneous paranoia
...
The value is nullchecked later on.
2019-11-18 14:25:04 -07:00
Travis Ralston
8d25952dbb
Add a bit more safety around breadcrumbs
...
Fixes https://github.com/vector-im/riot-web/issues/11420
2019-11-18 14:17:31 -07:00
Michael Telatynski
d4d51dc61f
Rip out the remainder of Bluebird
2019-11-18 10:03:05 +00:00
Travis Ralston
9d0d1d3b36
Our code should probably compile...
2019-10-29 14:38:39 -06:00
Travis Ralston
5af6d979c2
Support a setting for allowed widgets
...
Hooking this setting up is left as a problem for a different issue.
2019-10-29 14:35:35 -06:00
Travis Ralston
28e0988325
Fix naming of integrationProvisioning
2019-10-29 14:26:35 -06:00
Travis Ralston
3b771f682d
let -> const
2019-10-29 14:23:59 -06:00
Travis Ralston
dd8f26a3f6
Add integration manager provisioning setting
...
To be used later by a future implementation
2019-10-29 14:20:53 -06:00
Travis Ralston
8dec435e50
Bring breadcrumbs into new Riot config standard
2019-10-29 14:12:05 -06:00
J. Ryan Stinnett
202f6fb94d
Continue to next config level after device for features
...
This ensures we continue checking further config levels for the feature setting
if nothing is found when reading the device level. For example, this means the
feature setting's default value can be used.
2019-07-17 14:50:35 +01:00
Travis Ralston
e2edae3383
Merge branch 'develop' into travis/breadcrumbs/telemetry
2019-04-05 09:35:38 -06:00
Travis Ralston
44198ea97d
Sync breadcrumb rooms through account data
...
Fixes https://github.com/vector-im/riot-web/issues/9315
Other clients would need to listen for and update im.vector.riot.breadcrumb_rooms in account data.
2019-04-04 15:06:03 -06:00
Travis Ralston
842e19280d
Apply changes to breadcrumbs setting live
2019-04-01 11:49:58 -06:00
Travis Ralston
93673eff12
Use a global WatchManager for settings
...
Fixes https://github.com/vector-im/riot-web/issues/8936
Watchers are now managed by the SettingsStore itself through a global/default watch manager. As per the included documentation, the watch manager dispatches updates to callbacks which are redirected by the SettingsStore for consumer safety.
2019-02-26 12:52:59 -07:00
Travis Ralston
3d152da822
Support custom tags in the new algorithm
2019-02-25 13:39:08 -07:00