diff options
Diffstat (limited to 'filter/filtertypes.xml')
-rw-r--r-- | filter/filtertypes.xml | 90 |
1 files changed, 39 insertions, 51 deletions
diff --git a/filter/filtertypes.xml b/filter/filtertypes.xml index f6f0ce2abe..2d90f9eb87 100644 --- a/filter/filtertypes.xml +++ b/filter/filtertypes.xml @@ -162,7 +162,7 @@ <option value="not contains"> <title>does not contain</title> <code> - (match-all (not (header-contains "Subject" ${subject}))) + (match-all (not (header-contains "Subject" ${subject})))) </code> </option> <option value="is"> @@ -337,13 +337,13 @@ </code> </option> <option value="before"> - <title>is before</title> + <title>was before</title> <code> (match-all (< (get-sent-date) ${versus})) </code> </option> <option value="after"> - <title>is after</title> + <title>was after</title> <code> (match-all (> (get-sent-date) ${versus})) </code> @@ -368,13 +368,13 @@ </code> </option> <option value="before"> - <title>is before</title> + <title>was before</title> <code> (match-all (< (get-received-date) ${versus})) </code> </option> <option value="after"> - <title>is after</title> + <title>was after</title> <code> (match-all (> (get-received-date) ${versus})) </code> @@ -386,7 +386,7 @@ <part name="score"> <title>Score</title> <input type="optionlist" name="score-type"> - <option value="is"> + <option value="less-than"> <title>is</title> <code> (match-all (= (get-score) ${versus})) @@ -414,6 +414,7 @@ <input type="score" name="versus"/> </part> + <part name="size"> <title>Size (kB)</title> <input type="optionlist" name="size-type"> @@ -465,24 +466,6 @@ </input> </part> - <part name="follow-up"> - <title>Follow Up</title> - <input type="optionlist" name="match-type"> - <option value="is"> - <title>is Flagged</title> - <code> - (match-all (not (= (user-tag "follow-up") ""))) - </code> - </option> - <option value="is not"> - <title>is not Flagged</title> - <code> - (match-all (= (user-tag "follow-up") "")) - </code> - </option> - </input> - </part> - <part name="attachments"> <title>Attachments</title> <input type="optionlist" name="match-type"> @@ -504,21 +487,45 @@ <part name="mlist"> <title>Mailing list</title> <input type="optionlist" name="mlist-type"> + <option value="contains"> + <title>contains</title> + <code>(match-all (header-contains "x-camel-mlist" ${mlist}))</code> + </option> + <option value="not contains"> + <title>does not contain</title> + <code>(match-all (not (header-contains "x-camel-mlist" ${mlist})))</code> + </option> <option value="is"> <title>is</title> - <code>(match-all (header-matches "x-camel-mlist" ${mlist}))</code> + <code>(match-all (header-matches "x-camel-mlist" ${mlist}))</code> </option> <option value="is not"> <title>is not</title> <code>(match-all (not (header-matches "x-camel-mlist" ${mlist})))</code> </option> - <option value="contains"> - <title>contains</title> - <code>(match-all (header-contains "x-camel-mlist" ${mlist}))</code> + <option value="starts with"> + <title>starts with</title> + <code> + (match-all (header-starts-with "x-camel-mlist" ${mlist})) + </code> </option> - <option value="not contains"> - <title>does not contain</title> - <code>(match-all (not (header-contains "x-camel-mlist" ${mlist})))</code> + <option value="not starts with"> + <title>does not start with</title> + <code> + (match-all (not (header-starts-with "x-camel-mlist" ${mlist}))) + </code> + </option> + <option value="ends with"> + <title>ends with</title> + <code> + (match-all (header-ends-with "x-camel-mlist" ${mlist})) + </code> + </option> + <option value="not ends with"> + <title>does not end with</title> + <code> + (match-all (not (header-ends-with "x-camel-mlist" ${mlist}))) + </code> </option> </input> <input type="string" name="mlist"/> @@ -561,7 +568,7 @@ </input> <input type="source" name="source"/> </part> - + </partset> @@ -594,11 +601,6 @@ <code>(set-score ${score})</code> <input type="score" name="score"/> </part> - <part name="adj-score"> - <title>Adjust Score</title> - <code>(adjust-score ${score})</code> - <input type="score" name="score"/> - </part> <part name="set-status"> <title>Set Status</title> <code> @@ -622,19 +624,5 @@ </option> </input> </part> - <part name="beep"> - <title>Beep</title> - <code>(beep)</code> - </part> - <part name="play-sound"> - <title>Play Sound</title> - <code>(play-sound ${sound})</code> - <input type="string" name="sound"/> - </part> - <part name="shell-exec"> - <title>Execute Shell Command</title> - <code>(shell-exec ${command})</code> - <input type="string" name="command"/> - </part> </actionset> </filterdescription> |