J. Ryan Stinnett
204d6e2c3d
Enable theme setting
2019-02-13 10:44:01 +00:00
J. Ryan Stinnett
e401b8f77a
Make default and dark the only theme options
2019-02-13 10:44:01 +00:00
David Baker
d74d5f1e27
Fix unused imports
2019-02-08 17:30:14 +00:00
David Baker
043f1ab3f0
Remove key backup & sas from labs
2019-02-08 16:58:09 +00:00
Travis Ralston
47b79c0cf6
Merge pull request #2593 from matrix-org/travis/settings/local-echo
...
Local echo on room access settings
2019-02-08 07:58:51 -07:00
Bruno Windels
748040268a
remove unused imports
2019-02-08 09:59:24 +00:00
Travis Ralston
f66c92b1fd
Local echo on room access settings
...
Includes a fix for the aliases warning appearing at the wrong time.
Fixes https://github.com/vector-im/riot-web/issues/8406
Fixes https://github.com/vector-im/riot-web/issues/8434
2019-02-07 14:01:34 -07:00
Bruno Windels
8c32f88c1c
remove homeserver ll check on toggling lab setting
2019-02-07 18:45:00 +00:00
Bruno Windels
ac4ab11985
remove ll feature flag, it's time!
2019-02-07 18:24:07 +00:00
Travis Ralston
2e852da72e
Actually change power levels when they are changed
2019-02-06 15:06:15 -07:00
Travis Ralston
7088a3ebc4
Remove unused import
2019-02-01 15:00:44 -07:00
Travis Ralston
016bd028ba
Remove warning about encryption being beta
2019-02-01 14:56:29 -07:00
Travis Ralston
b4fd0c3fbf
Add room directory publish button
...
This was previously missed in the tab's layout.
2019-01-31 22:06:15 -07:00
Travis Ralston
0c0db4ecc7
Copy over disablement of media streams after permissions requested
...
Fixes https://github.com/vector-im/riot-web/issues/8340
2019-01-31 21:48:44 -07:00
Travis Ralston
a1f1dde9a4
Remove flair from general user settings tab
...
Fixes https://github.com/vector-im/riot-web/issues/8327
2019-01-31 21:45:29 -07:00
Travis Ralston
bdf2bb5601
Merge pull request #2526 from matrix-org/travis/settings/fixes-1
...
Round 1 of misc fixes for settings
2019-01-29 22:59:07 -07:00
Travis Ralston
f86e224db6
Merge branch 'experimental' into travis/rsettings/tab/security
2019-01-29 22:15:55 -07:00
Travis Ralston
cd54442add
Merge branch 'experimental' into travis/rsettings/tab/advanced
2019-01-29 21:49:00 -07:00
Travis Ralston
b3bb3aff84
Remove spurious void
2019-01-29 21:46:51 -07:00
Travis Ralston
4d0a246629
Put a little padding between section headings
2019-01-29 19:28:30 -07:00
Travis Ralston
f050323f98
Inherit font size from other elements for push notifications table
2019-01-29 19:18:13 -07:00
Travis Ralston
0591c3a2bb
Change Riot Bot button text and make it a block element
...
Fixes https://github.com/vector-im/riot-web/issues/8265
2019-01-29 19:07:02 -07:00
Travis Ralston
e7ed4c13f5
Appease the linter
...
I should really just get something that does this for me prior to opening a PR
2019-01-29 18:28:44 -07:00
Travis Ralston
2fe7f6fe1c
Implement the Advanced tab of new room settings
2019-01-29 18:23:01 -07:00
Travis Ralston
78314ef284
Take out unfederated warning
...
This is moving to the Advanced tab
2019-01-29 16:10:24 -07:00
Travis Ralston
93ce342d63
Appease the linter
2019-01-29 16:05:47 -07:00
Travis Ralston
0af419633f
Implement the Roles & Permissions tab of new room settings
...
This is largely copy/paste from the current room settings
2019-01-29 15:54:51 -07:00
Travis Ralston
76c31f01f1
Appease the linter
2019-01-29 14:37:21 -07:00
Travis Ralston
a2f516c461
Implement the Security & Privacy tab of new room settings
2019-01-29 14:31:07 -07:00
Travis Ralston
ad276c1fda
Merge branch 'experimental' into travis/rsettings/tab/general
2019-01-29 09:11:21 -07:00
Travis Ralston
d34390d230
Merge pull request #2512 from matrix-org/travis/usettings/tab/flair
...
Implement flair tab in user settings
2019-01-28 20:37:22 -07:00
Travis Ralston
9513837e97
Appease the linter
2019-01-28 13:59:09 -07:00
Travis Ralston
db34666583
Implement leave room button and URL preview settings
2019-01-28 13:54:56 -07:00
Travis Ralston
87e6652b2a
Flair settings for rooms
2019-01-28 13:54:56 -07:00
Travis Ralston
3021464e89
Move RoomProfileSettings to the right place
2019-01-28 13:54:56 -07:00
Travis Ralston
9a524c49b1
Early support for alias modification in room settings
2019-01-28 13:54:56 -07:00
Travis Ralston
243feb9b13
Early tab structure and profile changes (name/avatar/topic)
2019-01-28 13:54:56 -07:00
Travis Ralston
b7d0dd4408
Rename GeneralSettingsTab to GeneralUserSettingsTab
2019-01-28 13:54:56 -07:00
Travis Ralston
a1e3887a74
Merge branch 'experimental' into travis/settings/positive
2019-01-28 08:25:40 -07:00
Travis Ralston
e2ba1cc0d6
Remove unused import
2019-01-25 15:46:38 -07:00
Travis Ralston
57e45e7e7c
Proof of concept for a flair tab in user settings
2019-01-25 15:35:32 -07:00
Travis Ralston
fb36f7abef
Fix imports and quotes
2019-01-25 09:18:00 -07:00
Travis Ralston
f7f23e4dea
Merge branch 'experimental' into travis/usettings/tab/security
2019-01-25 09:12:07 -07:00
Travis Ralston
cb6f415a05
Be more positive with setting labels
...
Fixes https://github.com/vector-im/riot-web/issues/6435
This is done through an on-the-fly inverter for the settings. All the settings changed are boolean values, so this should be more than safe to just let happen throughout the SettingsStore. Typically a change like this would be done in the individual handlers (similar to how setting names are remapped to different properties or even different storage locations on the fly), however doing that for this many settings would be a huge nightmare and involve changing *all* the layers. By putting a global "invert this" flag on the setting, we can get away with doing the inversion as the last possible step during a read (or write).
To speed up calculations of the default values, we cache all the inverted values into a lookup table similar to how we represent the defaults already. Without this, the DefaultHandler would need to iterate the setting list and invert the values, slowing things down over time. We invert the value up front so we can keep the generic inversion logic without checking the level ahead of time. It is fully intended that a default value represents the new setting name, not the legacy name.
This commit also includes a debugger for settings because it was hard to visualize what the SettingsStore was doing during development. Some added information is included as it may be helpful for when someone has a problem with their settings and we need to debug it. Typically the debugger would be run in conjunction with `mxSendRageshake`: `mxSettingsStore.debugSetting('showJoinLeaves') && mxSendRageshake('Debugging showJoinLeaves setting')`.
2019-01-24 20:57:40 -07:00
Travis Ralston
1f10cda5e4
Implement the "Help & About" tab of new user settings
2019-01-24 17:10:35 -07:00
Travis Ralston
b0a8cbf75f
Implement the "Security & Privacy" tab of new user settings
2019-01-24 15:47:04 -07:00
Travis Ralston
c5deeeaceb
Merge pull request #2498 from matrix-org/travis/usettings/tab/voice
...
Implement the "Voice & Video" tab of new user settings
2019-01-24 14:59:32 -07:00
Travis Ralston
87cea5ef09
Fix sizings and margins
2019-01-24 14:41:00 -07:00
Travis Ralston
3e09cd1d2e
Appease the linter
2019-01-24 13:43:16 -07:00
Travis Ralston
a4e0796bfe
Swap out the media permissions text for a paragraph element
...
The sizing ratio looks way off when the text is just subtext.
2019-01-24 13:37:20 -07:00