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
47a825be7c
Merge branch 'develop' into joriks/appearance-advanced
2020-06-18 14:41:28 +01:00
Jorik Schellekens
05d0309081
Lint a few semicolons
2020-06-18 14:32:43 +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
Michael Telatynski
ff98242d14
clean up and fix the isMasterRuleEnabled logic
2020-06-17 16:31:42 +01: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
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
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
Jorik Schellekens
2192332968
Add layout options to the appearance tab
2020-06-16 17:55:19 +01:00
Jorik Schellekens
17dbb1ac8b
Message preview for font slider
2020-06-16 15:41:10 +01:00
Jorik Schellekens
edb6bbc6c0
Implement font selection
2020-06-15 15:33:52 +01: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
Jorik Schellekens
458bea20be
Load correct fonstSize default value
2020-06-08 14:31:53 +01: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
Jorik Schellekens
f3011f00f7
Remove debug
2020-06-04 19:43:35 +01:00
Jorik Schellekens
2ec47ecc74
Use different setting flag print expected values
2020-06-04 17:50:56 +01:00
Jorik Schellekens
f6504d67ba
Use 10px instead
2020-06-04 16:23:28 +01: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
Jorik Schellekens
c0ac44e471
Change internal font size from from 15 to 20.
2020-06-02 17:10:22 +01:00
Jorik Schellekens
81922231ed
Move Appearance tab to ts
2020-05-28 13:55:07 +01:00
Michael Telatynski
2b432b0d82
Remove feature_cross_signing
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-05-27 10:28:25 +01:00
Bruno Windels
cce53d8ab9
revert default font size to 15px
2020-05-26 14:11:36 +02:00
Travis Ralston
7ff850deea
Merge pull request #4253 from matrix-org/travis/room-list-2
...
Rewrite the room list store
2020-05-21 13:30:32 -06:00
Jorik Schellekens
82b76192ae
Fixes, lints and i18n
2020-05-20 14:44:56 +01:00
Jorik Schellekens
6d9d4ee547
Merge branch 'develop' of https://github.com/matrix-org/matrix-react-sdk into joriks/font-scaling-slider
2020-05-20 13:46:17 +01:00
Jorik Schellekens
55e72dd5bf
Remove min and max font setting
2020-05-20 13:45:54 +01:00
Jorik Schellekens
323d0762fc
Merge branch 'develop' of https://github.com/matrix-org/matrix-react-sdk into joriks/irc-ui
2020-05-19 18:03:44 +01:00
Jorik Schellekens
4deeef5fca
Remove ability to remove avatars
2020-05-18 16:57:00 +01:00
Travis Ralston
2b4c19e9ba
Merge branch 'travis/dispatcher-types' into travis/room-list-2
2020-05-14 13:40:37 -06:00
Travis Ralston
9fbd489b3b
Update i18n
2020-05-14 13:03:43 -06:00
Travis Ralston
df3d5c4159
Update i18n for room list
2020-05-14 12:46:16 -06:00
Travis Ralston
08419d195e
Initial breakout for room list rewrite
...
This does a number of things (sorry):
* Estimates the type changes needed to the dispatcher (later to be replaced by https://github.com/matrix-org/matrix-react-sdk/pull/4593 )
* Sets up the stack for a whole new room list store, and later components for usage.
* Create a proxy class to ensure the app still functions as expected when the various stores are enabled/disabled
* Demonstrates a possible structure for algorithms
2020-05-14 12:44:29 -06:00
Travis Ralston
90a898d03f
Move dispatcher into a subdirectory
...
We're expecting to have a whole bunch of types for the dispatched payloads, so pull the thing into a directory we can throw them in.
2020-05-13 21:07:50 -06:00
Jorik Schellekens
20ec900405
Set font range
2020-05-13 15:36:53 +01:00
Jorik Schellekens
5029c3f143
Implement IRC draggable display name width
2020-05-13 02:16:43 +01:00
Jorik Schellekens
5a0fdb36c0
Remove unused setting
2020-05-07 14:06:40 +01:00
Jorik Schellekens
771ae5e18f
Fix encryption badge layouts and replies.
...
Begin removing dependence on slider.
Move settings to labs.
Username disambiguation.
2020-05-07 14:04:56 +01:00
Jorik Schellekens
a38d5eb224
add useIRCLayout setting
2020-05-07 14:04:29 +01:00
Jorik Schellekens
bab7d5f461
Some lints
2020-05-06 17:25:54 +01:00
Jorik Schellekens
132a753deb
Lint getDefaultValue
2020-04-28 15:55:26 +01:00
Jorik Schellekens
1b83faaa8d
Merge branch 'develop' of https://github.com/matrix-org/matrix-react-sdk into joriks/font-scaling-slider
2020-04-28 15:38:46 +01:00
Jorik Schellekens
9ca843fdcb
Correct return type in docs
...
Co-Authored-By: Travis Ralston <travpc@gmail.com>
2020-04-28 14:27:18 +01:00
Travis Ralston
117322b3b5
Remove invite only padlocks feature flag
...
Fixes https://github.com/vector-im/riot-web/issues/13366
Only known issue on this is https://github.com/vector-im/riot-web/issues/12148
This has been pre-approved by Product.
2020-04-24 10:05:28 -06:00
Jorik Schellekens
c86638c667
add toggle between font slider and custom setting
2020-04-23 12:09:08 +01:00
Jorik Schellekens
f5d6590751
Have max and min font configured in settings
2020-04-23 10:45:48 +01:00
Jorik Schellekens
02e0ff9e5b
Move setting away from 'feature' settings for clarity
2020-04-23 10:45:48 +01:00
Jorik Schellekens
b1452b5aa3
Lint lint lint
2020-04-23 10:45:47 +01:00
Jorik Schellekens
f1130ecba1
Linting. Finally set up my linter properly
2020-04-23 10:45:47 +01:00
Jorik Schellekens
14551b1885
Hide font scaling behind labs
2020-04-23 10:45:47 +01:00
Jorik Schellekens
61f2e19d95
Basic font settings.
...
Include a default value getter in the store in order to make the
default value easy to work with.
2020-04-23 10:45:47 +01:00
Travis Ralston
fdcdd2529e
Take encrypted message search out of labs
...
Fixes https://github.com/vector-im/riot-web/issues/13262
This is part of the cross-signing shipping master plan. Known issues relating to this feature are:
* https://github.com/vector-im/riot-web/issues/12896
* https://github.com/vector-im/riot-web/issues/12385
* https://github.com/vector-im/riot-web/issues/11831
* https://github.com/vector-im/riot-web/issues/11155
In theory, these are issues we're comfortable with shipping as we're already enabling it by default. This just makes it easier on everyone by removing the flag (making it still enabled by default).
2020-04-22 10:58:11 -06:00
Michael Telatynski
cd65bdc799
Merge branches 'develop' and 't3chguy/user_online_dot' of github.com:matrix-org/matrix-react-sdk into t3chguy/user_online_dot
...
Conflicts:
src/components/views/rooms/RoomBreadcrumbs.js
src/components/views/rooms/RoomTile.js
2020-04-17 12:58:54 +01:00
Travis Ralston
b5130ca5dc
Clean up setting definition to follow surrounding practices
...
It's not perfect, but we're at least okay with it.
2020-04-16 11:12:47 -06:00
Travis Ralston
db749519e7
Merge branch 'develop' into travis/cross-sign-setting
2020-04-16 11:06:26 -06:00
Michael Telatynski
f65c31383d
Copy tweaks with Nad
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-16 12:52:35 +01:00
Travis Ralston
b4e2daaf46
Convert cross-signing feature flag to setting
...
This is intended as a temporary measure until we're comfortable with removing the flag entirely.
2020-04-15 13:18:42 -06:00
Michael Telatynski
1ae370b97e
Pull feature_presence_in_room_list out of labs.
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-02 15:20:35 +01:00
David Baker
327b3c860b
Adding the files would help
2020-03-25 18:47:57 +00:00
David Baker
25e7bde7bc
Add a flag to control whether cross-signing signatures are trusted
...
Fixes: https://github.com/vector-im/riot-web/issues/12616
2020-03-25 18:38:12 +00:00
Michael Telatynski
ef79492f2c
Merge pull request #4209 from matrix-org/t3chguy/redesign/room_directory
...
Room Directory Explore Servers redesign
2020-03-18 11:51:42 +00:00
J. Ryan Stinnett
59b1cbd4b2
Add default on config setting to control call button in composer
...
This adds a default on setting that can be used to control whether call buttons
are shown in the composer via `settingDefaults` in config.json. No UI is added
to control it for now.
Fixes https://github.com/vector-im/riot-web/issues/12758
2020-03-17 11:33:10 +00:00
Michael Telatynski
86e53ea2c3
Initial attempt to redesign explore servers in room directory
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-13 00:02:50 +00:00
Travis Ralston
8520310e6e
Proof of concept for custom theme adding
...
For https://github.com/vector-im/riot-web/issues/12517
2020-02-28 11:42:16 -07:00
Michael Telatynski
e0fdfa1c1c
fix default value for alphabetic sorting setting
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-26 23:21:37 +00:00
Michael Telatynski
75c593b2f4
get rid of unused stuff
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-26 23:19:50 +00:00
Michael Telatynski
f036f0bd83
Fix copy
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-26 23:19:05 +00:00
Michael Telatynski
3ad8b6e9cc
Use RoomList.orderAlphabetically as the inverse of RoomList.orderByRecents for migration
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-26 23:05:08 +00:00
Michael Telatynski
a6edc34e97
Iterate things
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-19 14:52:00 +00:00
Michael Telatynski
d70a9bd001
small tweaks, still not working reliably
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-19 14:39:36 +00:00
Michael Telatynski
932c9b3106
First attempt alpha room list sorting
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-18 14:55:12 +00:00
Travis Ralston
b514f89594
Merge pull request #4061 from matrix-org/travis/fix-settings-handling
...
Check for null config settings a bit safer
2020-02-12 10:04:26 -07: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
Bruno Windels
1e94929b88
Merge pull request #4045 from matrix-org/bwindels/qrcodetuning
...
Support keepSecretStoragePassphraseForSession at the config level too
2020-02-11 08:19:29 +00:00
Travis Ralston
ea7cb6ba0b
Support keepSecretStoragePassphraseForSession at the config level too
2020-02-10 17:15:08 +01:00
Michael Telatynski
a8da4a3028
allow hiding of who is typing tile
2020-02-08 21:21:30 +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
Michael Telatynski
f6c7df8c69
Keep date in Watcher IDs
2020-02-04 11:14:49 +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
a8f7e381eb
SettingsStore, use a counter instead of wall clock for watcher ids
2020-02-04 10:41:48 +00:00
Damir Jelić
01c1c2364b
ManageEventIndexDialog: Add back a control for the crawler sleep time.
2020-01-31 18:46:45 +01:00
J. Ryan Stinnett
11008cfabf
Merge pull request #4013 from matrix-org/jryans/padlock-flag
...
Add temporary feature flag to control padlocks
2020-01-31 13:44:12 +00:00
David Baker
cb9362456f
remove setter
2020-01-31 13:18:01 +00:00
David Baker
2d9b111680
Add an override for the theme
...
So we can force the light theme on unthemeable pages like the login
& complete security page.
Fixes https://github.com/vector-im/riot-web/issues/12149
Fixes https://github.com/vector-im/riot-web/issues/12157
2020-01-31 12:28:14 +00:00
J. Ryan Stinnett
b64ba1dbbf
Add temporary feature flag to control padlocks
...
This default on feature flag will help in case we want to trial padlocks on vs.
off this weekend.
Fixes https://github.com/vector-im/riot-web/issues/12166
2020-01-31 11:09:49 +00:00
J. Ryan Stinnett
788cb24093
Add advanced option to keep secret storage in memory for session
...
This adds a default-off option to keep the secret storage passphrase cached in
memory for the current session to avoid death by prompts.
2020-01-30 14:18:12 +00:00
J. Ryan Stinnett
d362cc0f41
Fix room device level send setting
2020-01-29 19:55:27 +00:00
J. Ryan Stinnett
81ee27f41e
Replace device with session in UI text
...
This replaces "device" with "session" throughout user-visible text at the React
layer. Variable names and comments are left as-is for now.
2020-01-29 15:52:32 +00:00
Zoe
7d6981ba1a
Revert "reload on enabling cross-signing just to make things generally happier"
...
This reverts commit 2aa21d9199
.
It was causing a login loop
2020-01-29 11:29:56 +00:00
Michael Telatynski
2aa21d9199
reload on enabling cross-signing just to make things generally happier
2020-01-29 07:54:28 +00:00
Travis Ralston
2a1407a531
Add more logging to settings watchers
...
To try and track leaks versus spam.
Fixes https://github.com/vector-im/riot-web/issues/12094 (it's not leaking, probably)
2020-01-27 15:36:12 -07:00
Damir Jelić
e2dd2bd950
Merge branch 'poljar/seshat-ui-pr' into develop
2020-01-27 17:18:17 +01:00
Damir Jelić
947ea9823d
Settings: Remove the crawler sleep time setting.
2020-01-23 13:32:27 +01:00
Damir Jelić
4953f32cba
ManageEventIndex: Rename the enable crawler setting.
2020-01-23 12:26:26 +01:00
Travis Ralston
139b5663fe
Remove user lists feature flag, making it the default
...
Fixes https://github.com/vector-im/riot-web/issues/11201
2020-01-22 21:14:53 -07:00
Damir Jelić
3c46a56391
EventIndex: Fix some lint errors.
2020-01-17 14:22:22 +01:00
Damir Jelić
0132c3bbe3
EventIndex: Start the crawler only if it's configured to start.
2020-01-17 14:22:22 +01:00
Damir Jelić
47156351a6
EventIndex: Use a setting for the crawler sleep time.
2020-01-17 14:22:22 +01:00
Travis Ralston
73fc91aa20
Rename feature flag for use in both code paths
2020-01-16 13:44:59 -07:00
J. Ryan Stinnett
27ee90cad5
Add post-login complete security flow
...
This adds a step after login to complete security for your new session. At the
moment, the only verification method is entering your SSSS passphrase, but nicer
paths will be added soon.
This new step only appears when crypto is available and the account has
cross-signing enabled in SSSS.
Fixes https://github.com/vector-im/riot-web/issues/11214
2020-01-15 21:53:36 +00:00
Travis Ralston
5fd27a10bb
Merge branch 'develop' into travis/sourcemaps
2020-01-13 11:19:41 -07:00
J. Ryan Stinnett
2168e7ec0c
Add feature flag around the presence indicator in room list
...
This adds a feature flag (disabled by default for now) around the room list
presence indicator, as it still needs some tweaking before it's ready for
production use.
Part of https://github.com/vector-im/riot-web/issues/11799
2020-01-13 11:48:55 +00:00
Travis Ralston
fde32f13a5
[CONFLICT CHUNKS] Merge branch 'develop' into travis/sourcemaps-develop
2020-01-09 14:15:09 -07:00
Michael Telatynski
d31c863563
Remove all usages of slate in favour of CIDER
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-01-06 00:15:48 +00:00
Travis Ralston
781b69f4e3
Merge pull request #3693 from matrix-org/hs/bridge-info
...
Bridge info settings tab
2020-01-05 17:03:15 -07:00
Travis Ralston
4de0f7257a
Initial implementation of FTUE user lists design
...
This covers the "recents" section and rough design exclusively. It is known that the Field does nothing and that there's a bunch of missing functionality - this is to be iterated upon in future PRs. Labs flag is to aide development and should be removed in a very near future PR.
Also, this is focusing on DMs and not user lists in general because I misinterpreted the scope. I'll fix this in a future PR and instead make this the best DM invite dialog it can be.
Closes https://github.com/vector-im/riot-web/issues/11197
2020-01-02 17:40:18 -07:00
Will Hunt
0a8cc416bf
Merge branch 'develop' into hs/bridge-info
2019-12-30 17:09:05 +01:00
Travis Ralston
18ac2db2ea
Fix Notifier imports in NotificationControllers
...
require() is a bit weird for riot-web's webpack, so we fork it out to its own function to reduce the weirdness.
The added weirdness is that require() is sync though exports a module instead. If we use import(), we get a promise which doesn't help us here. We therefore have to require() and pull out the default export, though this is only a problem for webpack - babel (our chosen compiler for exporting ES6) doesn't need this, hence the if statement.
2019-12-22 21:25:47 -07:00
Travis Ralston
042bd35d79
Fix MatrixClientPeg imports
2019-12-22 21:15:54 -07:00
Travis Ralston
806d728d59
Import from the js-sdk's src/ directory
...
Because ES6 and such.
2019-12-22 21:14:33 -07:00
Travis Ralston
be4eeb5e07
Fix js-sdk imports for new module
2019-12-22 21:10:26 -07:00
David Baker
3d8422c88a
Combine cross signing and verification over DM feature flags
...
This means we can just make the new member info panel support
cross-signing exclusively rather than having to try & make it
temporarily support both
2019-12-19 15:23:32 +00:00
Half-Shot
7ee5f7ba38
Add feature flag
2019-12-09 13:28:43 +00:00
Travis Ralston
6e882251bd
Break the right panel completely
...
This lays a foundation for redirecting all the traffic through the new store, but for now the core parts of the app need to stop caring if the right panel is open.
2019-12-05 17:47:18 -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
Travis Ralston
37ec7e6f7e
Ensure the settings page accurately represents theme choices
...
Fixes https://github.com/vector-im/riot-web/issues/11518
This also fixes a bug where the the theme logic can incorrectly get stuck in the light theme - the ThemeController was overriding *all* values, not just supposed themes. Null values aren't overridden so that the various theme logic bits don't assume the user has chosen the light theme explicitly.
2019-11-28 13:40:28 -07:00
Travis Ralston
4cec7c41b1
Fix override behaviour of system vs defined themes
...
Fixes https://github.com/vector-im/riot-web/issues/11509
2019-11-26 09:52:35 -07:00
J. Ryan Stinnett
54294e4927
Clarify that cross-signing is in development
...
In an attempt to clarify the state of this highly anticipated feature, this
updates the labs flag name to match.
Part of https://github.com/vector-im/riot-web/issues/11492
2019-11-25 14:30:13 +00:00
Michael Telatynski
d3f872bf7a
Merge branches 'develop' and 't3chguy/remove_bluebird' of github.com:matrix-org/matrix-react-sdk into t3chguy/remove_bluebird
2019-11-21 11:15:32 +00:00
David Baker
00241a8d0c
Merge pull request #3637 from matrix-org/dbkr/system_dark_mode
...
Get theme automatically from system setting
2019-11-20 16:32:37 +00:00
David Baker
e36f4375b0
Bugfix & clearer setting name
2019-11-20 16:12:14 +00:00
Michael Telatynski
6121420113
Merge branch 'develop' into t3chguy/remove_bluebird
2019-11-20 15:21:23 +00:00
David Baker
5a700b518a
Get theme automatically from system setting
...
Uses CSS `prefers-color-scheme` to get the user's preferred colour
scheme. Also bundles up some theme logic into its own class.
2019-11-20 13:41:06 +00:00
Damir Jelić
44b212bc4c
Merge branch 'poljar/seshat-pr' into develop
2019-11-20 13:33:03 +01:00
Damir Jelić
0631faf902
Settings: Fix the supportedLevels for event indexing feature.
2019-11-20 12:31:07 +01:00
Bruno Windels
43884923e8
merge the feature_user_info_panel flag into feature_dm_verification
2019-11-19 14:18:12 +01:00
Damir Jelić
f776bdcc8b
EventIndex: Hide the feature behind a labs flag.
2019-11-19 14:05:00 +01: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
J. Ryan Stinnett
b8c0a0fe72
Reload automatically when changing cross-signing flag
2019-11-18 16:06:00 +00:00
J. Ryan Stinnett
50cccd3212
Add cross-signing feature flag
...
Fixes https://github.com/vector-im/riot-web/issues/11407
2019-11-18 16:06:00 +00:00
Michael Telatynski
d4d51dc61f
Rip out the remainder of Bluebird
2019-11-18 10:03:05 +00:00
Travis Ralston
6d0b388fa2
Merge branch 'develop' into travis/mjolnir
2019-11-12 10:00:01 -07:00
Bruno Windels
5c9e80a0ba
add feature flag and send verification using DM from dialog if enabled
2019-11-07 19:54:56 +01:00
Travis Ralston
23383419e8
Add settings base for Mjolnir rules
2019-10-31 13:20:18 -06: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
Michael Telatynski
df02eb8e92
Add UserInfo panel (consolidation of MemberInfo & GroupMemberInfo) Labs
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-07 16:52:50 +01:00
Michael Telatynski
e200193b0a
DRY and fix useCiderComposer being in both labs and preferences
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-04 10:15:00 +01:00
Travis Ralston
853c522467
Enable CIDER composer by default
...
Also convert the setting to a watched setting to apply in realtime.
2019-10-03 23:20:40 -06:00
Travis Ralston
b94c94db04
Merge pull request #3492 from matrix-org/travis/hide-images
...
Add an option to hide image previews
2019-10-02 12:46:45 -06:00
Bruno Windels
558f8daeeb
support custom themes from setting
...
also move theme setting code from MatrixChat to own file.
2019-10-01 15:21:22 +02:00
Travis Ralston
59b29e4a7f
Add an option to hide image previews
...
Applies to images, stickers, and URL previews.
Fixes https://github.com/vector-im/riot-web/issues/10735
2019-09-27 21:08:31 -06:00
Matthew Hodgson
832123524d
make the lifetimes of the RM configurable
2019-09-17 17:34:30 +01:00
Travis Ralston
e29184ae1d
Support secret per-room hidden read receipts
2019-09-06 13:02:18 -06:00
Travis Ralston
af35cdc2ea
Support sending hidden read receipts
...
Fixes https://github.com/vector-im/riot-web/issues/2527
2019-09-05 20:30:19 -06:00
Travis Ralston
b3cda4b19a
Support multiple integration managers behind a labs flag
...
Fixes https://github.com/vector-im/riot-web/issues/10622
Implements [MSC1957](https://github.com/matrix-org/matrix-doc/pull/1957 )
Design is not final.
2019-08-23 09:12:40 -06:00
Bruno Windels
9c6953f176
lint
2019-08-22 14:11:04 +01:00
Bruno Windels
b395fad834
add feature flag, allowing to revert to old slate editor
2019-08-22 14:07:43 +01:00
J. Ryan Stinnett
67b830c48d
Improve fallback ICE setting label
2019-08-15 15:05:25 +01:00
J. Ryan Stinnett
1c6312d999
Store ICE fallback permission in device setting
...
This stores the ICE server fallback permission in a device setting so it is
remembered across sessions.
Part of https://github.com/matrix-org/matrix-react-sdk/pull/3309
2019-08-15 15:04:23 +01:00
Michael Telatynski
7bdac85a2a
Break themes out into a separate file
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-08-12 14:24:12 +01:00
Michael Telatynski
916af736ad
Consolidate Themes into ThemeController. Remove hardcoded themes in view
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-08-11 03:43:34 +01:00
J. Ryan Stinnett
599c49613f
Remove reactions feature flag
...
Fixes https://github.com/vector-im/riot-web/issues/10282
2019-07-17 17:00:36 +01:00
J. Ryan Stinnett
674f33917f
Remove editing feature flag
...
Part of https://github.com/vector-im/riot-web/issues/10282
2019-07-17 16:56:15 +01: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
J. Ryan Stinnett
3801f0b78e
Enable reactions and edits by default
...
This enables reactions and edits by default, assuming you don't have any local
device settings that would disable them.
Fixes https://github.com/vector-im/riot-web/issues/10281
2019-07-17 14:50:35 +01:00
Travis Ralston
635b1ff612
Merge pull request #2928 from Half-Shot/hs/custom-notif-sounds
...
Custom notification sounds for rooms
2019-06-03 14:31:38 -06:00
Will Hunt
300095f50f
Remove labs flag for custom notif sounds
2019-06-03 17:35:15 +01:00
Travis Ralston
7f0282a2e8
Convert breadcrumbs from labs to real setting
...
Fixes https://github.com/vector-im/riot-web/issues/9391
2019-06-03 00:15:33 -06:00
Will Hunt
96c20ea536
Add missing keys to notif sound setting
2019-05-31 11:40:23 +01:00
Will Hunt
9369e964fa
Merge remote-tracking branch 'upstream/develop' into hs/custom-notif-sounds
2019-05-31 10:44:30 +01:00
Travis Ralston
0d47222132
Add LB setting to new user settings
...
Put under labs out of concern for https://github.com/vector-im/riot-meta/issues/66
2019-05-30 19:57:17 -06:00
Travis Ralston
d81804e0fe
Merge branch 'develop' into matthew/low_bandwidth
2019-05-30 19:42:09 -06:00
J. Ryan Stinnett
45cdf880b1
Change setting style
2019-05-17 17:43:08 +01:00
J. Ryan Stinnett
3a405701a3
Debug: Show all events
2019-05-17 16:34:01 +01:00
Will Hunt
2994d99378
Merge branch 'develop' into hs/custom-notif-sounds
2019-05-15 16:09:55 +01:00
Will Hunt
277c4ab809
Merge branch 'develop' into hs/custom-notif-sounds
2019-05-14 21:07:03 +01:00
Bruno Windels
0b18ff52c5
pass feature flag to js-sdk
2019-05-14 15:43:10 +01:00
Bruno Windels
036cb02c0e
add feature flag
2019-05-14 15:39:24 +01:00
Will Hunt
64a384477e
Resolve issues
2019-05-12 17:14:21 +01:00
J. Ryan Stinnett
8903f65fcb
Enable client-side aggregations for reactions
...
If reactions are enabled, we need to enable client-side aggregation in the
`MatrixClient` to access the data.
2019-05-10 17:19:27 +01:00
Will Hunt
efc93abb50
Merge branch 'develop' into hs/custom-notif-sounds
2019-05-07 20:04:29 +01:00
J. Ryan Stinnett
7f62cdf124
Add reactions feature flag
2019-04-30 17:51:18 +01:00
Will Hunt
020d210cb0
Use uk.half-shot.*
2019-04-23 16:23:58 +01:00
Will Hunt
9de8920869
Remove trailing space
2019-04-22 23:04:03 +01:00
Will Hunt
8258e93337
Use m.notification.sound
2019-04-21 18:03:54 +01:00
Will Hunt
0f2cd6ea73
Stick behind a feature flag
2019-04-21 18:01:26 +01:00
Will Hunt
776210c135
Use settings store
2019-04-19 22:31:51 +01:00
Travis Ralston
934ca6908f
Remove breadcrumb scroll tolerances and use sensible defaults
...
Fixes https://github.com/vector-im/riot-web/issues/9394
Fixes https://github.com/vector-im/riot-web/issues/9400
Numbers chosen based on user feedback. The setting has also been removed because it isn't really needed anymore.
2019-04-11 11:07:31 -06:00
Travis Ralston
aa96fd27cc
Add some tolerances to breadcrumb scrolling
...
See https://github.com/vector-im/riot-web/issues/9400
See https://github.com/vector-im/riot-web/issues/9394
Tolerances are defined as a device-only setting to give advanced users an option to override the values. No UI is exposed for this.
The default values are picked for assumptions on comfort, however as people change the tolerances themselves the defaults may need to change.
2019-04-08 10:56:44 -06: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
69fcebf045
Use allow/deny instead of whitelist/blacklist for terminology
2019-03-25 21:14:21 -06:00
Travis Ralston
2dcb40f1be
Track OpenID automatic permissions by (widgetLocation, widgetUrl)
2019-03-23 23:25:31 -06:00
Travis Ralston
f045beafc3
Support whitelisting/blacklisting widgets for OpenID
2019-03-15 21:33:31 -06:00
Travis Ralston
2c2685a3ea
Merge pull request #2705 from matrix-org/travis/fix-monitored-settings
...
Use a global WatchManager for settings
2019-02-27 08:02:27 -07:00
Travis Ralston
ad374b3118
Try to clarify that "Show read receipts" is just for visibility
...
The setting does not apply to sending them, just seeing them.
2019-02-26 15:27:50 -07: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
Travis Ralston
b0cc69bca9
Add an option to sort the room list by recents first
...
Fixes https://github.com/vector-im/riot-web/issues/8892
2019-02-22 17:09:07 -07:00
Travis Ralston
7ea4008daa
Implement support for watching for changes in settings
...
This implements a dream of one day being able to listen for changes in a settings to react to them, regardless of which device actually changed the setting. The use case for this kind of thing is extremely limited, but when it is needed it should be more than powerful enough.
2019-02-22 17:09:07 -07:00
Travis Ralston
9175655c16
Remove old pin unread options
...
They are not forced on, and do nothing.
2019-02-13 13:13:40 -07:00
David Baker
737b85c8f0
Merge pull request #2623 from matrix-org/dbkr/fix_force_turn_flag
...
Security: Force TURN setting was inverted
2019-02-13 15:24:14 +00:00
David Baker
26287067fc
Security: Force TURN setting was inverted
...
In making the settings more positive, we flipped 'disable peer to
peer' but didn't change the caption, so the setting was inverted
from what it was labelled as.
Also, forcing p2p isn't the inverse of forcing turn.
Change the setting to be 'allow p2p' and the label to match.
2019-02-13 11:51:32 +00:00
J. Ryan Stinnett
b0d08b9a25
Rename dharma theme to light theme
2019-02-13 10:47:04 +00:00
J. Ryan Stinnett
19e94b9e32
Allow storing the theme settting again
2019-02-13 10:47:04 +00:00
J. Ryan Stinnett
df2f520d72
Fix up any unsupported themes when read from settings
2019-02-13 10:44:01 +00:00
J. Ryan Stinnett
215995de88
Resume reading default theme from config
2019-02-13 10:44:01 +00:00
Bruno Windels
b467bfdced
mention it only shows up after refresh (actually rerender)
2019-02-12 12:49:22 +01:00
Bruno Windels
03c491416e
put breadcrumbs behind feature flag
2019-02-12 11:41:24 +01:00
David Baker
043f1ab3f0
Remove key backup & sas from labs
2019-02-08 16:58:09 +00:00
Matthew Hodgson
ce24165e19
port over low_bandwidth mode to develop
2019-02-08 16:44:03 +00:00
Bruno Windels
3c5fb61350
Merge branch 'develop' into bwindels/customtags-featureflag
2019-02-08 12:12:43 +00:00
Bruno Windels
cf7e1f9d88
remove import as well
2019-02-07 18:47:08 +00:00
Bruno Windels
ac4ab11985
remove ll feature flag, it's time!
2019-02-07 18:24:07 +00:00
Bruno Windels
e8533beafb
guard custom tags with feature flag
2019-02-07 18:07:30 +00:00
Travis Ralston
eac50aa800
Remove old user and room settings
...
This takes out the old user and room settings, replacing the paths with the new dialog editions. The labs setting has been removed in order to support this change.
In addition to removing the old components outright, some older components which were only used by the settings pages have been removed. The exception is the ColorSettings component as it has a high chance of sticking around in the future.
Styles that were shared by the settings components have been broken out to dedicated sections, making it easier to remove the old styles entirely.
Some stability testing of the app has been performed to ensure the app still works, however given the scope of this change there is a possibility of some broken functionality.
2019-02-04 13:40:21 -07:00
Travis Ralston
a1e3887a74
Merge branch 'experimental' into travis/settings/positive
2019-01-28 08:25:40 -07:00
Travis Ralston
e1bc1eee43
Appease the linter
2019-01-25 09:30:13 -07:00
Travis Ralston
d136c33a87
Invert setting values in a common place
2019-01-25 09:04:56 -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
David Baker
6a90625d36
Merge remote-tracking branch 'origin/experimental' into dbkr/sas
2019-01-23 17:32:18 +00:00
Travis Ralston
5ef9015133
Add labs flag for tabbed settings
2019-01-22 10:28:33 -07:00
David Baker
970880737e
Merge remote-tracking branch 'origin/experimental' into dbkr/sas
2019-01-18 18:33:11 +00:00
Travis Ralston
7f6ce69c3e
Merge branch 'experimental' into travis/develop2
2019-01-17 16:03:45 -07:00
Bruno Windels
8c30d05eb8
Revert "Merge pull request #2348 from matrix-org/bwindels/roomgridview-experimental"
...
This reverts commit ece5cb1fcc
, reversing
changes made to 64a3d2521c
.
2019-01-17 10:29:37 +01:00
David Baker
55889d5491
Change wording of 'invite anyway' setting
...
https://github.com/vector-im/riot-web/issues/7922
2019-01-16 15:07:30 +00:00
David Baker
1d2538a7bc
First working version of SAS
2019-01-15 18:08:13 +00:00
J. Ryan Stinnett
632bbde598
Remove usused setting value from CustomStatusController
2019-01-15 10:54:29 -06:00
J. Ryan Stinnett
c76b273fae
Update RoomTiles on custom status change
2019-01-15 10:54:29 -06:00
J. Ryan Stinnett
e08c70b820
Prune unsupported setting RoomSubList.showEmpty
...
The code reading this setting was previously removed in #2229 .
2019-01-15 10:54:29 -06:00
Travis Ralston
177d9f245a
Merge pull request #2441 from matrix-org/develop
...
Merge develop -> experimental
2019-01-14 14:45:20 -07:00
Travis Ralston
a05c0f9214
Rephrase everything to be "invite anyways" rather than "retry"
...
Also handle profile errors better
2019-01-11 15:46:03 -07:00
Travis Ralston
5333114d7b
Give a route for retrying invites for users which may not exist
...
Fixes https://github.com/vector-im/riot-web/issues/7922
This supports the current style of errors (M_NOT_FOUND) as well as the errors presented by MSC1797: https://github.com/matrix-org/matrix-doc/pull/1797
2019-01-10 21:43:21 -07:00
Erik Johnston
cbf9ff6aee
Merge branch 'experimental' of github.com:matrix-org/matrix-react-sdk into erikj/state_counters
2019-01-10 16:56:47 +00:00
Bruno Windels
c2f6fc381c
add feature flag for grid view
2019-01-07 16:13:35 +01:00
Erik Johnston
4c204e88be
Add feature flag for counters
2019-01-07 13:52:13 +00:00
Travis Ralston
8017f0a4a1
Merge remote-tracking branch 'origin/experimental' into travis/develop-for-real
2019-01-03 16:00:23 -07:00
David Baker
f928be6f59
Revert "Merge pull request #2395 from matrix-org/dbkr/merge_develop_experimental"
...
This reverts commit ad47144355
.
2019-01-03 15:37:03 -07:00
David Baker
7d161de35b
Partial merge of develop to experimental
...
Does not include #2336 as the file has been moved out from underneath it:
will do this separately
2019-01-03 15:02:58 +00:00
Travis Ralston
04c9fff6ce
Add a feature flag for custom status messages
2018-12-18 15:11:08 -07:00
Travis Ralston
c706135c6e
Force use of dharma theme
2018-12-16 12:49:41 -07:00
J. Ryan Stinnett
a92d2902c4
Add an in-room reminder to set up key recovery
...
This adds an in-room reminder above the message timeline to set up Secure
Message Recovery so that your keys will be backed up. If you try to ignore it,
an additional dialog is shown to confirm.
Fixes vector-im/riot-web#7783 .
Signed-off-by: J. Ryan Stinnett <jryans@gmail.com>
2018-12-07 14:13:02 -06:00
Bruno Windels
67e0030ccd
Merge branch 'develop' into experimental
2018-11-26 13:10:29 +01:00
David Baker
8ccaf53d20
Merge remote-tracking branch 'origin/develop' into dbkr/e2e_backups
2018-11-20 18:08:39 +00:00
Bruno Windels
c19b593f5c
Merge branch 'develop' into experimental
2018-11-06 15:28:20 +01:00
Travis Ralston
57b99893e5
Merge pull request #1936 from turt2live/travis/pinned-room-list
...
Add options to pin unread/mentioned rooms to the top of the room list
2018-11-01 08:04:12 -06:00
Bruno Windels
ba83166661
Merge branch 'develop' into experimental
2018-10-31 14:54:22 +01:00
David Baker
8ac62f8c12
Merge remote-tracking branch 'origin/develop' into dbkr/e2e_backups
2018-10-29 16:20:45 +00:00
Aaron Raimist
49ce4ef117
eslint --fix src/
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2018-10-26 22:50:38 -05:00
Bruno Windels
2c039483c6
Merge branch 'develop' into experimental
2018-10-26 15:33:39 +02:00
Travis Ralston
9cdb527163
Merge branch 'develop' into travis/pinned-room-list
2018-10-25 10:57:08 -06:00
David Baker
b59b8b7fca
Merge remote-tracking branch 'origin/develop' into dbkr/e2e_backups
2018-10-25 17:42:46 +01:00
Will Hunt
a5ae599dcb
Add show developer tools option
2018-10-24 18:15:25 +01:00
Bruno Windels
7d0b8083b6
hardcode to to dharma to avoid weird mix
2018-10-22 16:33:46 +02:00
Travis Ralston
103ed71eb5
Merge branch 'develop' into travis/pinned-room-list
2018-10-12 14:09:52 -06:00
Bruno Windels
6ed0777c96
turn it on!
2018-10-11 15:55:21 +02:00
David Baker
292b1f09af
WIP e2e key backups
...
Continues from Matthew's work: adds a feature flag & panel in
user settings to create a backup.
Can't restore a backup yet, nor even continue backing up to the same
backup after a refresh.
2018-09-13 17:11:46 +01:00
Bruno Windels
7dc92fe917
Avoid clearing e2e encryption keys, also avoid warning
2018-08-13 17:24:27 +02:00
Bruno Windels
08f322753d
explain exception
2018-08-13 16:53:16 +02:00
Bruno Windels
3e9d1342e8
fix lint
2018-08-13 16:51:37 +02:00
Bruno Windels
94c424d3bb
translations
2018-08-13 11:24:32 +02:00
Bruno Windels
2f9aaeca46
undo whitespace change
2018-08-13 11:17:04 +02:00
Bruno Windels
09ad138306
remove unused imports
2018-08-13 11:16:29 +02:00
Bruno Windels
28292c3388
implement PR feedback, move LL dialog to UserSettings
2018-08-13 11:14:30 +02:00
Bruno Windels
3731431e59
use LL controller in setting
2018-08-09 18:41:41 +02:00
Bruno Windels
028f09e5d1
lazy loading settings controller to show dialog and export e2e keys
2018-08-09 18:39:55 +02:00
Bruno Windels
308a6b419e
allow a setting controller to validate and revert a change (asynchronously)
2018-08-09 16:56:02 +02:00
Bruno Windels
af07d73432
hide lazy loading behind feature flag
2018-07-25 16:10:49 +02:00
David Baker
cfa7d0f11d
Take jitsi conf calling out of labs
2018-07-24 19:06:19 +01:00
Michael Telatynski
37a8e7f2e2
add setting to throw new RoomSubList hide behaviour behind an opt-in
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2018-06-30 17:07:28 +01:00
David Baker
553111b6e2
Merge pull request #2001 from matrix-org/t3chguy/default_url_previews_off_e2ee
...
default to not showing url previews in e2ee rooms.
2018-06-25 11:50:14 +01:00
Michael Telatynski
d1600bdacf
fix event type which room-account settings were read from
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2018-06-22 19:17:31 +01:00
Michael Telatynski
acbc84a69c
switch to another settings key for e2e url previews to protect on change
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2018-06-22 18:44:54 +01:00
David Baker
6252f5b818
Merge remote-tracking branch 'origin/develop' into dbkr/jitsi_makewidget
2018-06-22 11:31:54 +01:00
David Baker
e67dae704a
Take replies out of labs!
2018-06-20 09:57:11 +01:00
David Baker
8cf17a66e5
Very basic Jitsi integration
...
Replaces the conference calling by adding a Jitsi widget. No support
for continuing the call on room change currently, so hidden behind
a feature flag. Existing behaviour is preserved by default.
2018-06-15 15:12:32 +01:00
David Baker
9567ffcb9f
Remove tag panel feature flag
...
We forgot to remove this when taking tagpanel out of labs, so now
this flag just does nothing.
2018-06-15 11:56:44 +01:00
Michael Telatynski
2454540bc0
Merge branch 'develop' into t3chguy/audio_output
2018-06-14 11:03:59 +01:00
Travis Ralston
52cdf60954
Add options to pin unread/mentioned rooms to the top of the room list
...
Fixes https://github.com/vector-im/riot-web/issues/6604
Fixes https://github.com/vector-im/riot-web/issues/732
Fixes https://github.com/vector-im/riot-web/issues/1104
Signed-off-by: Travis Ralston <travpc@gmail.com>
2018-05-26 20:29:35 -06:00
Travis Ralston
752605429c
Persist pinned message open-ness between room switches
...
Addresses part of https://github.com/vector-im/riot-web/issues/5405
Signed-off-by: Travis Ralston <travpc@gmail.com>
2018-05-26 19:58:12 -06:00
Michael Telatynski
6636fa32f6
Allow selecting audio output for WebRTC Audio/Video calls
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2018-05-26 17:22:23 +01:00
Luke Barnard
aa4bbbc3db
Remove cookie bar setting from UserSettings
2018-05-16 15:20:38 +01:00
Luke Barnard
ac1cd384e7
Implement opt-in analytics with cookie bar
2018-05-16 15:20:38 +01:00
Travis Ralston
9e11720191
Add setting to enable widget screenshots (if widgets declare support)
...
Fixes the remainder of https://github.com/vector-im/riot-web/issues/6708
Signed-off-by: Travis Ralston <travpc@gmail.com>
2018-05-12 14:30:59 -06:00
Luke Barnard
e10e659457
Take feature_sticker_messagse out of labs
2018-05-09 14:59:35 +01:00
Eric Newport
d42fa9d17a
Hide inline encryption icons except when hovering over a message
...
Closes https://github.com/vector-im/riot-web/issues/2882
This is a redo of https://github.com/matrix-org/matrix-react-sdk/pull/1707 (see associated discussion there and here: https://github.com/vector-im/riot-web/pull/5988 )
I tried several times to resolve the conflicts correctly, but could not. Thus, fresh PR.
2018-04-22 22:30:37 -04:00
Travis Ralston
fe2cbc584d
Merge branch 'develop' into travis/remove-presence
2018-04-11 15:17:28 -06:00
Luke Barnard
0306c365cc
Fix to prevent guests from seeing features
2018-04-06 11:03:17 +01:00
Richard Lewis
b109c9304c
Put stickers behind labs flag.
2018-04-02 22:24:46 +01:00
Luke Barnard
27c71f15b9
Add setting to disable TagPanel
2018-02-28 18:16:01 +00:00
Michael Telatynski
b7204e79a7
fallback after receiving settings rather than {} because its truthy
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2018-01-17 18:17:26 +00:00
Michael Telatynski
43bb8c561d
add comment
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2018-01-17 18:10:19 +00:00
Michael Telatynski
b90a98b5c1
don't pass back {} when we have no org.matrix.room.color_scheme
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2018-01-17 18:06:19 +00:00
Michael Telatynski
1bc9d344ae
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/nvl/rich_quoting
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
# Conflicts:
# src/components/views/messages/TextualBody.js
2018-01-10 11:54:58 +00:00
Travis Ralston
99d3045b4f
Also remove the setting
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-12-25 14:33:46 -07:00
Travis Ralston
2815c576c1
Ignore the default value when calculating if notifications are enabled
...
This is to make the "Enable desktop notifications" checkbox accurately reflect the user's preference. The device-level setting is still respected.
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-12-25 13:29:30 -07:00
Michael Telatynski
9603b21199
s/Quote/Reply/ and ES6 tweaks
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2017-12-17 20:20:45 +00:00
Michael Telatynski
4666ac7c83
hide rich quoting behind flags, retaining original quoting for now
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2017-12-12 23:29:43 +00:00
Luke Barnard
f708250d44
Add feature flag for Tag Panel
2017-11-29 18:00:42 +00:00
Matthew Hodgson
3e13a919ed
remove rogue debug
2017-11-16 13:09:53 +00:00
Travis Ralston
fb1f20b7d4
Treat the master push rule as authoritative
...
Previously the push rule was ignored, leading to all kinds of interesting issues regarding notifications. This fixes those issues by giving the master push rule the authority it deserves for reasonable defaults.
Part 2 of the fix for:
* https://github.com/vector-im/riot-web/issues/5603
* https://github.com/vector-im/riot-web/issues/5606
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-11-15 22:33:23 -07:00
Travis Ralston
5976fb2eed
Treat null/undefined notification settings as "not set"
...
Otherwise we end up lying and saying notifications are disabled, despite the push rules saying otherwise.
Part 1 of the fix for:
* https://github.com/vector-im/riot-web/issues/5603
* https://github.com/vector-im/riot-web/issues/5606
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-11-15 22:08:13 -07:00
Travis Ralston
f141ee1944
Use the correct level order when getting arbitrary settings
...
This shouldn't currently be causing problems, but will in teh future. The bug can be exposed by having a setting where the level order is completely reversed, therefore causing LEVEL_ORDER[0] to actually be the most generic, not the most specific. Instead, we'll pull in the setting's level order and fallback to LEVEL_ORDER, therefore requesting the most specific value.
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-11-15 19:24:32 -07:00
Travis Ralston
cf8ff6aed3
Validate that URL previews are explicitly enabled/disabled
...
Otherwise `!null` ends up being "true", therefore forcing URL previews on for everyone.
Fixes https://github.com/vector-im/riot-web/issues/5607
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-11-15 19:22:30 -07:00
Travis Ralston
022e40a127
Use SettingsStore for default theme
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-11-15 19:04:49 -07:00
Matthew Hodgson
96a3eff5d3
lint hell
2017-11-15 11:25:56 +00:00
Matthew Hodgson
84591729a8
unbreak tests
2017-11-15 11:15:49 +00:00
Travis Ralston
443bff5832
Presence feature
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-11-14 19:14:56 -07:00
Travis Ralston
63bebe9dfd
Split out avatar and display name hiding
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-11-13 12:58:10 -07:00
Travis Ralston
ffecb82bca
Groups were released
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-11-13 12:34:30 -07:00
Travis Ralston
f7da5836e1
Make blacklistUnverifiedDevices override the level order
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-11-08 17:41:32 -07:00
Travis Ralston
c7d8f3931f
Revert notification toolbar setting
...
It isn't a setting.
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-11-08 17:06:36 -07:00
Travis Ralston
781b94c8f4
Appease the linter
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-11-05 15:37:06 -07:00
Travis Ralston
10519f9465
Fix the tests
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-11-05 14:56:41 -07:00
Travis Ralston
f0000f7400
Update documentation
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-11-05 14:33:40 -07:00
Travis Ralston
e31c89d360
Make the controller work for notifications
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-11-04 22:28:35 -07:00
Travis Ralston
7ce4316cc8
Initial support for notification settings
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-11-04 21:47:18 -07:00
Travis Ralston
8351ec7e73
Local echo on all setting levels
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-11-04 20:32:00 -07:00
Travis Ralston
b75be41f94
Fix split-brain for blacklistUnverifiedDevices
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-11-04 19:52:06 -07:00
Travis Ralston
cb17c0a379
Migrate blacklistUnverifiedDevicesPerRoom
...
This currently causes a split-brain scenario for the application due to the priority of each level. Granular settings assumes a simple override, however the crypto setting wants per room to be overriden with the global setting, regardless of the room setting. Some additional comments are needed on the intended behaviour.
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-11-04 19:15:55 -07:00
Travis Ralston
c7eee36990
Fix lanugage detection
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-11-04 16:38:26 -06:00
Travis Ralston
4f1ad974fc
Delay URL preview saving until the save button is pressed
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-11-04 16:32:13 -06:00
Travis Ralston
358298e4ee
Support room color in settings
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-11-04 16:10:25 -06:00
Travis Ralston
bb5f7bed85
Check the correct event type for the room
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-11-04 15:48:24 -06:00
Travis Ralston
a8169a682c
Throw errors if the setting isn't known
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-11-04 15:46:15 -06:00
Travis Ralston
257e1aabb8
Improve documentation of settings
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-11-04 15:44:01 -06:00
Travis Ralston
8282534f87
Add SettingsLevel enum; Move settings to own file.
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-11-03 23:19:45 -06:00
Travis Ralston
6f8523081b
Some documentation
...
Far from complete, and probably needs a bit of work, but it's a start.
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-10-30 21:09:24 -06:00
Travis Ralston
3efb0fdeeb
Support default theme at config level
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-10-30 19:53:36 -06:00
Travis Ralston
9c846e4dd9
Fix URL preview options
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-10-30 19:49:44 -06:00
Travis Ralston
72517f95bb
Don't explode if the SdkConfig isn't available
...
This can happen prior to logging in, for some reason.
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-10-29 22:53:59 -06:00
Travis Ralston
786bd87fec
Support URL previews (with bugs)
...
Known issues at this point:
* The room-level setting accepts the current user's default, which is wrong
* The checkboxes on RoomSettings are not independent
* The checkboxes in RoomSettings need some layout fixes
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-10-29 21:48:29 -06:00
Travis Ralston
9fdc1be7bd
Make getLevelAt() return more generic responses
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-10-29 20:44:00 -06:00
Travis Ralston
b5d5c81f32
Add a new component to back various settings
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-10-29 20:43:27 -06:00
Travis Ralston
52f227cb3b
Drop the idea of "config" being automatically supported
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-10-29 17:08:39 -06:00
Travis Ralston
0d3f0eaf98
Convert local settings to granular settings
...
This breaks language selection.
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-10-29 16:53:00 -06:00
Travis Ralston
b3d17a7b51
Support legacy settings on the device
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-10-29 16:08:45 -06:00
Travis Ralston
e8acb0e102
Use getValueAt()
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-10-29 16:02:51 -06:00
Travis Ralston
ae10a11ac4
Convert synced settings to granular settings
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-10-29 01:43:52 -06:00
Travis Ralston
bf815f4be9
Support labs features
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-10-28 20:21:50 -06:00
Travis Ralston
7dda5e9196
Appease the linter round 1
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-10-28 19:53:12 -06:00
Travis Ralston
23d159e21c
Make reading settings synchronous
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-10-28 19:45:48 -06:00
Travis Ralston
989bdcf5fb
Rebuild SettingsStore to be better supported
...
This does away with the room- and account-style settings, and just replaces them with `supportedLevels`. The handlers have also been moved out to be in better support of the other options, like SdkConfig and per-room-per-device.
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-10-28 19:13:06 -06:00