This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 832
Fix various issues surrounding granular settings to date #1613
Merged
Commits on Nov 16, 2017
-
Use SettingsStore for default theme
Signed-off-by: Travis Ralston <travpc@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 022e40a - Browse repository at this point
Copy the full SHA 022e40aView commit details -
Validate that URL previews are explicitly enabled/disabled
Otherwise `!null` ends up being "true", therefore forcing URL previews on for everyone. Fixes element-hq/element-web#5607 Signed-off-by: Travis Ralston <travpc@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for cf8ff6a - Browse repository at this point
Copy the full SHA cf8ff6aView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for f141ee1 - Browse repository at this point
Copy the full SHA f141ee1View commit details -
Fixes element-hq/element-web#5611 Signed-off-by: Travis Ralston <travpc@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 10a1d9c - Browse repository at this point
Copy the full SHA 10a1d9cView commit details -
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: * element-hq/element-web#5603 * element-hq/element-web#5606 Signed-off-by: Travis Ralston <travpc@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5976fb2 - Browse repository at this point
Copy the full SHA 5976fb2View commit details -
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: * element-hq/element-web#5603 * element-hq/element-web#5606 Signed-off-by: Travis Ralston <travpc@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for fb1f20b - Browse repository at this point
Copy the full SHA fb1f20bView commit details -
Fix URL preview string not being translated
Signed-off-by: Travis Ralston <travpc@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d0a0a9c - Browse repository at this point
Copy the full SHA d0a0a9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e13a91 - Browse repository at this point
Copy the full SHA 3e13a91View commit details -
Configuration menu - View commit details
-
Copy full SHA for f62b04c - Browse repository at this point
Copy the full SHA f62b04cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 52e2c98 - Browse repository at this point
Copy the full SHA 52e2c98View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.