feat(core): Allow the detection of external Sieve scripts

This allows SOGo users to keep existing Sieve scripts instead of
overwriting the SOGo ones by default.
This commit is contained in:
Ludovic Marcotte
2019-11-07 15:18:28 -05:00
parent 70984def1f
commit ac91a303c9
5 changed files with 134 additions and 60 deletions
@@ -18,6 +18,7 @@
this.timeZonesSearchText = '';
this.sieveVariablesCapability = ($window.sieveCapabilities.indexOf('variables') >= 0);
this.mailLabelKeyRE = new RegExp(/^(?!^_\$)[^(){} %*\"\\\\]*?$/);
this.hasActiveExternalSieveScripts = $window.hasActiveExternalSieveScripts;
// Set alternate avatar in User service
if (Preferences.defaults.SOGoAlternateAvatar)