diff --git a/dev/Sieve/Commands/Actions.js b/dev/Sieve/Commands/Actions.js index 8d301ec0c..d38f5bcc3 100644 --- a/dev/Sieve/Commands/Actions.js +++ b/dev/Sieve/Commands/Actions.js @@ -22,9 +22,9 @@ export class FileIntoCommand extends ActionCommand // QuotedString / MultiLine this._mailbox = new GrammarQuotedString(); // https://datatracker.ietf.org/doc/html/rfc3894 -// this.copy = false; + this.copy = false; // https://datatracker.ietf.org/doc/html/rfc5490#section-3.2 -// this.create = false; + this.create = false; } get require() { return 'fileinto'; } @@ -67,9 +67,9 @@ export class RedirectCommand extends ActionCommand // QuotedString / MultiLine this._address = new GrammarQuotedString(); // https://datatracker.ietf.org/doc/html/rfc3894 -// this.copy = false; + this.copy = false; // https://datatracker.ietf.org/doc/html/rfc6134#section-2.3 -// this.list = null; + this.list = null; } toString() diff --git a/dev/Sieve/Commands/Tests.js b/dev/Sieve/Commands/Tests.js index e5eb4a341..f566fadae 100644 --- a/dev/Sieve/Commands/Tests.js +++ b/dev/Sieve/Commands/Tests.js @@ -230,6 +230,7 @@ export class HeaderTest extends TestCommand constructor() { super(); + this.match_type = ':is'; this.address_part = ':all'; this.header_names = new GrammarStringList; this.key_list = new GrammarStringList; diff --git a/snappymail/v/0.0.0/app/templates/Views/Sieve/AddFlagCommand.html b/snappymail/v/0.0.0/app/templates/Views/Sieve/AddFlagCommand.html index baf361342..58bcabdf4 100644 --- a/snappymail/v/0.0.0/app/templates/Views/Sieve/AddFlagCommand.html +++ b/snappymail/v/0.0.0/app/templates/Views/Sieve/AddFlagCommand.html @@ -1,4 +1,4 @@ addflag - + diff --git a/snappymail/v/0.0.0/app/templates/Views/Sieve/AddHeaderCommand.html b/snappymail/v/0.0.0/app/templates/Views/Sieve/AddHeaderCommand.html index f918b92a9..d77e6acfc 100644 --- a/snappymail/v/0.0.0/app/templates/Views/Sieve/AddHeaderCommand.html +++ b/snappymail/v/0.0.0/app/templates/Views/Sieve/AddHeaderCommand.html @@ -1,5 +1,5 @@ addheader - - + + diff --git a/snappymail/v/0.0.0/app/templates/Views/Sieve/CurrentDateTest.html b/snappymail/v/0.0.0/app/templates/Views/Sieve/CurrentDateTest.html index c5826ceb9..34c643000 100644 --- a/snappymail/v/0.0.0/app/templates/Views/Sieve/CurrentDateTest.html +++ b/snappymail/v/0.0.0/app/templates/Views/Sieve/CurrentDateTest.html @@ -1,5 +1,5 @@ currentdate - - + + diff --git a/snappymail/v/0.0.0/app/templates/Views/Sieve/DateTest.html b/snappymail/v/0.0.0/app/templates/Views/Sieve/DateTest.html index c053cf56d..9f623fc12 100644 --- a/snappymail/v/0.0.0/app/templates/Views/Sieve/DateTest.html +++ b/snappymail/v/0.0.0/app/templates/Views/Sieve/DateTest.html @@ -1,9 +1,9 @@ date - + - - + + diff --git a/snappymail/v/0.0.0/app/templates/Views/Sieve/DeleteHeaderCommand.html b/snappymail/v/0.0.0/app/templates/Views/Sieve/DeleteHeaderCommand.html index 51d7439fb..2e76caa2a 100644 --- a/snappymail/v/0.0.0/app/templates/Views/Sieve/DeleteHeaderCommand.html +++ b/snappymail/v/0.0.0/app/templates/Views/Sieve/DeleteHeaderCommand.html @@ -9,5 +9,5 @@ deleteheader - + diff --git a/snappymail/v/0.0.0/app/templates/Views/Sieve/ElsIfCommand.html b/snappymail/v/0.0.0/app/templates/Views/Sieve/ElsIfCommand.html index cd9556bc0..eb19c8138 100644 --- a/snappymail/v/0.0.0/app/templates/Views/Sieve/ElsIfCommand.html +++ b/snappymail/v/0.0.0/app/templates/Views/Sieve/ElsIfCommand.html @@ -1,11 +1,8 @@ elsif -
- this.test -
+
{ -
+
} - diff --git a/snappymail/v/0.0.0/app/templates/Views/Sieve/ElseCommand.html b/snappymail/v/0.0.0/app/templates/Views/Sieve/ElseCommand.html index 2079c1cd0..8aa233fc8 100644 --- a/snappymail/v/0.0.0/app/templates/Views/Sieve/ElseCommand.html +++ b/snappymail/v/0.0.0/app/templates/Views/Sieve/ElseCommand.html @@ -1,7 +1,7 @@ else { -
+
} diff --git a/snappymail/v/0.0.0/app/templates/Views/Sieve/EncloseCommand.html b/snappymail/v/0.0.0/app/templates/Views/Sieve/EncloseCommand.html index c7d63c2b4..80972d28d 100644 --- a/snappymail/v/0.0.0/app/templates/Views/Sieve/EncloseCommand.html +++ b/snappymail/v/0.0.0/app/templates/Views/Sieve/EncloseCommand.html @@ -1,4 +1,4 @@ enclose - + diff --git a/snappymail/v/0.0.0/app/templates/Views/Sieve/EnvironmentTest.html b/snappymail/v/0.0.0/app/templates/Views/Sieve/EnvironmentTest.html index e84bfd097..09d51c996 100644 --- a/snappymail/v/0.0.0/app/templates/Views/Sieve/EnvironmentTest.html +++ b/snappymail/v/0.0.0/app/templates/Views/Sieve/EnvironmentTest.html @@ -1,4 +1,4 @@ environment - + diff --git a/snappymail/v/0.0.0/app/templates/Views/Sieve/ErejectCommand.html b/snappymail/v/0.0.0/app/templates/Views/Sieve/ErejectCommand.html index 3fae91861..db76e8980 100644 --- a/snappymail/v/0.0.0/app/templates/Views/Sieve/ErejectCommand.html +++ b/snappymail/v/0.0.0/app/templates/Views/Sieve/ErejectCommand.html @@ -1,3 +1,3 @@ ereject - + diff --git a/snappymail/v/0.0.0/app/templates/Views/Sieve/ErrorCommand.html b/snappymail/v/0.0.0/app/templates/Views/Sieve/ErrorCommand.html index 1dea618e9..fccab2766 100644 --- a/snappymail/v/0.0.0/app/templates/Views/Sieve/ErrorCommand.html +++ b/snappymail/v/0.0.0/app/templates/Views/Sieve/ErrorCommand.html @@ -1,3 +1,3 @@ error - + diff --git a/snappymail/v/0.0.0/app/templates/Views/Sieve/ExtractTextCommand.html b/snappymail/v/0.0.0/app/templates/Views/Sieve/ExtractTextCommand.html index 6ab650846..e0d3f12d4 100644 --- a/snappymail/v/0.0.0/app/templates/Views/Sieve/ExtractTextCommand.html +++ b/snappymail/v/0.0.0/app/templates/Views/Sieve/ExtractTextCommand.html @@ -2,4 +2,4 @@ extracttext modifiers = []; - + diff --git a/snappymail/v/0.0.0/app/templates/Views/Sieve/FileIntoCommand.html b/snappymail/v/0.0.0/app/templates/Views/Sieve/FileIntoCommand.html index 73fd115fd..9c2799152 100644 --- a/snappymail/v/0.0.0/app/templates/Views/Sieve/FileIntoCommand.html +++ b/snappymail/v/0.0.0/app/templates/Views/Sieve/FileIntoCommand.html @@ -1,5 +1,5 @@ fileinto - - - + + + diff --git a/snappymail/v/0.0.0/app/templates/Views/Sieve/ForEveryPartCommand.html b/snappymail/v/0.0.0/app/templates/Views/Sieve/ForEveryPartCommand.html index 3874c08e6..f184bda87 100644 --- a/snappymail/v/0.0.0/app/templates/Views/Sieve/ForEveryPartCommand.html +++ b/snappymail/v/0.0.0/app/templates/Views/Sieve/ForEveryPartCommand.html @@ -1,4 +1,4 @@ foreverypart - +
diff --git a/snappymail/v/0.0.0/app/templates/Views/Sieve/HeaderTest.html b/snappymail/v/0.0.0/app/templates/Views/Sieve/HeaderTest.html index 40fdd8278..6ed1c5685 100644 --- a/snappymail/v/0.0.0/app/templates/Views/Sieve/HeaderTest.html +++ b/snappymail/v/0.0.0/app/templates/Views/Sieve/HeaderTest.html @@ -1,18 +1,25 @@ header - + + + + + + + - - - - + + + + diff --git a/snappymail/v/0.0.0/app/templates/Views/Sieve/IfCommand.html b/snappymail/v/0.0.0/app/templates/Views/Sieve/IfCommand.html index e2856bb3e..fa92d26f3 100644 --- a/snappymail/v/0.0.0/app/templates/Views/Sieve/IfCommand.html +++ b/snappymail/v/0.0.0/app/templates/Views/Sieve/IfCommand.html @@ -1,10 +1,8 @@ if -
- this.test -
+
{ -
+
} diff --git a/snappymail/v/0.0.0/app/templates/Views/Sieve/IncludeCommand.html b/snappymail/v/0.0.0/app/templates/Views/Sieve/IncludeCommand.html index 832e2f721..bf0575d47 100644 --- a/snappymail/v/0.0.0/app/templates/Views/Sieve/IncludeCommand.html +++ b/snappymail/v/0.0.0/app/templates/Views/Sieve/IncludeCommand.html @@ -3,4 +3,4 @@ include // ':personal' / ':global'; - + diff --git a/snappymail/v/0.0.0/app/templates/Views/Sieve/MetadataExistsTest.html b/snappymail/v/0.0.0/app/templates/Views/Sieve/MetadataExistsTest.html index 45e028d96..591514f93 100644 --- a/snappymail/v/0.0.0/app/templates/Views/Sieve/MetadataExistsTest.html +++ b/snappymail/v/0.0.0/app/templates/Views/Sieve/MetadataExistsTest.html @@ -1,4 +1,4 @@ metadataexists - + diff --git a/snappymail/v/0.0.0/app/templates/Views/Sieve/MetadataTest.html b/snappymail/v/0.0.0/app/templates/Views/Sieve/MetadataTest.html index c43e92f55..175433dd5 100644 --- a/snappymail/v/0.0.0/app/templates/Views/Sieve/MetadataTest.html +++ b/snappymail/v/0.0.0/app/templates/Views/Sieve/MetadataTest.html @@ -1,5 +1,5 @@ metadata - - + + diff --git a/snappymail/v/0.0.0/app/templates/Views/Sieve/NotTest.html b/snappymail/v/0.0.0/app/templates/Views/Sieve/NotTest.html index 55f467e28..83d10abc9 100644 --- a/snappymail/v/0.0.0/app/templates/Views/Sieve/NotTest.html +++ b/snappymail/v/0.0.0/app/templates/Views/Sieve/NotTest.html @@ -1,3 +1,3 @@ not -
+
diff --git a/snappymail/v/0.0.0/app/templates/Views/Sieve/NotifyCommand.html b/snappymail/v/0.0.0/app/templates/Views/Sieve/NotifyCommand.html index 0334a314b..b12358d63 100644 --- a/snappymail/v/0.0.0/app/templates/Views/Sieve/NotifyCommand.html +++ b/snappymail/v/0.0.0/app/templates/Views/Sieve/NotifyCommand.html @@ -1,7 +1,7 @@ notify - - + + - + diff --git a/snappymail/v/0.0.0/app/templates/Views/Sieve/NotifyMethodCapabilityTest.html b/snappymail/v/0.0.0/app/templates/Views/Sieve/NotifyMethodCapabilityTest.html index 678185355..1fbf7e2e3 100644 --- a/snappymail/v/0.0.0/app/templates/Views/Sieve/NotifyMethodCapabilityTest.html +++ b/snappymail/v/0.0.0/app/templates/Views/Sieve/NotifyMethodCapabilityTest.html @@ -1,5 +1,5 @@ notifymethodcapability - - + + diff --git a/snappymail/v/0.0.0/app/templates/Views/Sieve/RejectCommand.html b/snappymail/v/0.0.0/app/templates/Views/Sieve/RejectCommand.html index 18fc1a393..de6c2827d 100644 --- a/snappymail/v/0.0.0/app/templates/Views/Sieve/RejectCommand.html +++ b/snappymail/v/0.0.0/app/templates/Views/Sieve/RejectCommand.html @@ -1,3 +1,3 @@ reject - + diff --git a/snappymail/v/0.0.0/app/templates/Views/Sieve/RemoveFlagCommand.html b/snappymail/v/0.0.0/app/templates/Views/Sieve/RemoveFlagCommand.html index 17494b8fd..6e3ad5ad1 100644 --- a/snappymail/v/0.0.0/app/templates/Views/Sieve/RemoveFlagCommand.html +++ b/snappymail/v/0.0.0/app/templates/Views/Sieve/RemoveFlagCommand.html @@ -1,4 +1,4 @@ removeflag - + diff --git a/snappymail/v/0.0.0/app/templates/Views/Sieve/ReplaceCommand.html b/snappymail/v/0.0.0/app/templates/Views/Sieve/ReplaceCommand.html index f93444115..d835cd674 100644 --- a/snappymail/v/0.0.0/app/templates/Views/Sieve/ReplaceCommand.html +++ b/snappymail/v/0.0.0/app/templates/Views/Sieve/ReplaceCommand.html @@ -1,6 +1,6 @@ replace - - - + + + diff --git a/snappymail/v/0.0.0/app/templates/Views/Sieve/ServerMetadataTest.html b/snappymail/v/0.0.0/app/templates/Views/Sieve/ServerMetadataTest.html index dd2132ce9..dd84e9794 100644 --- a/snappymail/v/0.0.0/app/templates/Views/Sieve/ServerMetadataTest.html +++ b/snappymail/v/0.0.0/app/templates/Views/Sieve/ServerMetadataTest.html @@ -1,4 +1,4 @@ servermetadata - + diff --git a/snappymail/v/0.0.0/app/templates/Views/Sieve/SetCommand.html b/snappymail/v/0.0.0/app/templates/Views/Sieve/SetCommand.html index a8526e318..4d3a3cdeb 100644 --- a/snappymail/v/0.0.0/app/templates/Views/Sieve/SetCommand.html +++ b/snappymail/v/0.0.0/app/templates/Views/Sieve/SetCommand.html @@ -1,5 +1,5 @@ set modifiers = []; - - + + diff --git a/snappymail/v/0.0.0/app/templates/Views/Sieve/SetFlagCommand.html b/snappymail/v/0.0.0/app/templates/Views/Sieve/SetFlagCommand.html index d8c765d5d..b4b93cf2d 100644 --- a/snappymail/v/0.0.0/app/templates/Views/Sieve/SetFlagCommand.html +++ b/snappymail/v/0.0.0/app/templates/Views/Sieve/SetFlagCommand.html @@ -1,4 +1,4 @@ setflag - + diff --git a/snappymail/v/0.0.0/app/templates/Views/Sieve/SpamTestTest.html b/snappymail/v/0.0.0/app/templates/Views/Sieve/SpamTestTest.html index 04351d77c..4da00e13a 100644 --- a/snappymail/v/0.0.0/app/templates/Views/Sieve/SpamTestTest.html +++ b/snappymail/v/0.0.0/app/templates/Views/Sieve/SpamTestTest.html @@ -1,4 +1,4 @@ spamtest - + diff --git a/snappymail/v/0.0.0/app/templates/Views/Sieve/VacationCommand.html b/snappymail/v/0.0.0/app/templates/Views/Sieve/VacationCommand.html index 8763e6330..adaa5f037 100644 --- a/snappymail/v/0.0.0/app/templates/Views/Sieve/VacationCommand.html +++ b/snappymail/v/0.0.0/app/templates/Views/Sieve/VacationCommand.html @@ -2,9 +2,9 @@ vacation - - + + - - // QuotedString / MultiLine + + // QuotedString / MultiLine diff --git a/snappymail/v/0.0.0/app/templates/Views/Sieve/VirusTestTest.html b/snappymail/v/0.0.0/app/templates/Views/Sieve/VirusTestTest.html index a73e87d3e..80fa73d5a 100644 --- a/snappymail/v/0.0.0/app/templates/Views/Sieve/VirusTestTest.html +++ b/snappymail/v/0.0.0/app/templates/Views/Sieve/VirusTestTest.html @@ -1,3 +1,3 @@ virustest - // 1 - 5 + // 1 - 5