aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filtertypes.xml
Commit message (Collapse)AuthorAgeFilesLines
* Added filter-url.[c,h].Jeffrey Stedfast2000-10-211-2/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-20 Jeffrey Stedfast <fejj@helixcode.com> * Makefile.am: Added filter-url.[c,h]. * filter-message-search.c (get_source): New callback to get the source url of the message being filtered. (filter_message_search): Now takes a source argument. * filter-element.c (filter_element_new_type_name): Added code to handle URL types. * filter-url.[c,h]: New filter object to handle URLs (ie in the case of filtering on source url). FIXME: find a way to populate the source combo box (including mail-config.h breaks the build in the addressbook - how does including mail-tools.h not break the build???) * filtertypes.xml: Added the source filter type and added the move-to action. * filter-driver.c (do_move): New callback, a "Copy" action should just copy the message to another location while a Move should both copy the message to a new location and delete it from the source location. (do_delete): Set the deleted flag on the message info. (filter_driver_filter_message): Now returns void as we don't care if it was copied or not in the caller functions. Also check the CamelMessageInfo being passed in - if the message has been marked as deleted prior to being filtered, then return immediately as we don't want to apply filter actions to deleted messages. svn path=/trunk/; revision=6094
* Modified to use more intuitive namingJeffrey Stedfast2000-09-191-39/+42
| | | | | | | | | | | | | | | | | | | | | | 2000-09-18 Jeffrey Stedfast <fejj@helixcode.com> * filtertypes.xml: Modified to use more intuitive naming * score-rule.c (xml_decode): Make sure the score is within our range (get_widget): Changed range to -3 to +3 * filter-score.c (get_widget): Changed range to -3 to +3 (xml_decode): Make sure the score is within our range * filter-rule.c (get_widget): Rearranged widgets. * filter-filter.c (get_widget): Rearranged widgets. * filter-editor.c (filter_editor_construct): Updated to allow for double-clicking on a rule to edit it. svn path=/trunk/; revision=5492
* Changed "Header" to be "Message header" so it's not quite as confusingJeffrey Stedfast2000-09-121-1/+1
| | | | | | | | | 2000-09-11 Jeffrey Stedfast <fejj@helixcode.com> * filtertypes.xml: Changed "Header" to be "Message header" so it's not quite as confusing (??) svn path=/trunk/; revision=5335
* just changed the ${subject} variable to ${word} as subject doesn't make a ↵Jeffrey Stedfast2000-09-121-3/+3
| | | | | | whole lot of sense when dealing with arbitrary headers :-) svn path=/trunk/; revision=5332
* Updated to allow the user to specify arbitrary headers.Jeffrey Stedfast2000-09-121-0/+21
| | | | | | | | | 2000-09-11 Jeffrey Stedfast <fejj@helixcode.com> * filtertypes.xml: Updated to allow the user to specify arbitrary headers. svn path=/trunk/; revision=5330
* Added scoring xml stuffsJeffrey Stedfast2000-09-091-0/+37
| | | | | | | | | | | | | | | | | | | | | | 2000-09-08 Jeffrey Stedfast <fejj@helixcode.com> * filtertypes.xml: Added scoring xml stuffs * Makefile.am: added filter-score.[c,h] * filter-score.[c,h]: New functions to handle the "score" filter type. * filter-element.c (filter_element_new_type_name): Added support for "score" type. * filter-driver.c (do_score): New ESExp callback for filter actions to set the score on a message. * filter-message-search.c (get_score): New ESExp callback for getting the score tag as an integer value. svn path=/trunk/; revision=5274
* Rewrote - this shouldn't need to be an async functionJeffrey Stedfast2000-09-081-5/+0
| | | | | | | | | | | | | 2000-09-07 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_run): Rewrote - this shouldn't need to be an async function * filter-message-search.c (match_all): Modified to look at the boolean value being fed to it and just to return that instead of always returning TRUE svn path=/trunk/; revision=5241
* Allow filtering / vfoldering based on time or datePeter Williams2000-08-161-0/+72
| | | | svn path=/trunk/; revision=4843
* ** Almost a total rewrite of every file, except for filter-driver whichNot Zed2000-07-301-107/+102
| | | | | | | | | | | 2000-07-30 Not Zed <NotZed@HelixCode.com> ** Almost a total rewrite of every file, except for filter-driver which just had minor updates. The rule format has changed. svn path=/trunk/; revision=4418
* add a "string" typeDan Winship2000-07-101-3/+3
| | | | | | | | | | | | | | * filter-xml.[ch]: add a "string" type * filtertype.xml, vfoldertypes.xml: Use type="string" rather than "folder" for subject/body matching. * filter-arg-types.c: Update some strings for "text" input. Fix some warnings (including one that pointed out a real bug). * filter-arg.c, filter-druid.c, filter-format.c: fix warnings svn path=/trunk/; revision=4025
* Fix typos and update the "to-address" rule to match To or Cc. Fix typos.Dan Winship2000-07-061-3/+4
| | | | | | | | * filtertypes.xml: Fix typos and update the "to-address" rule to match To or Cc. * vfoldertypes.xml: Fix typos. svn path=/trunk/; revision=3889
* And here too.Not Zed2000-05-311-0/+15
| | | | | | | | | | | 2000-05-30 Not Zed <NotZed@HelixCode.com> * filtertypes.xml: And here too. * vfoldertypes.xml: Add body-contains and not-body-contains types. svn path=/trunk/; revision=3306
* Initial filter rules.Michael Zucci2000-05-171-0/+94
* filtertypes.xml: Initial filter rules. * filter-xml.c (filter_write_optionset): Save the description also. (write_description): Routine to save description - only saves 1 node of description. * filter-arg.c (filter_arg_edit_clicked): Dont free edata here, let the destroy do it(?) svn path=/trunk/; revision=3098