aboutsummaryrefslogtreecommitdiffstats
path: root/src/expressions.c
Commit message (Collapse)AuthorAgeFilesLines
...
* * Add ability to set metric's action from config fileVsevolod Stakhov2010-07-151-1/+1
| | | | | * Fix bug with writing garbadge if message has no urls or no messages * Fix bug with incorrect behaviour of compare_parts_distance function
* * Add ability to test regexp with 'T' flagVsevolod Stakhov2010-07-061-0/+5
| | | | | | | * Write more code for DNS resolver: - initial RR parser - name compression - replies handler
* * Remove some warningsVsevolod Stakhov2010-05-311-3/+3
|
* * Fix more gmime2.4 issuesVsevolod Stakhov2010-05-311-24/+27
|
* * Fix strict aliasing while compiling with optimizationVsevolod Stakhov2010-05-311-1/+2
| | | | | * Fix tanhl detection for platforms that have not implementation of it * Remove several compile warnings
* * Fix build with gmime24Vsevolod Stakhov2010-05-271-5/+43
|
* * Fix config reloadingVsevolod Stakhov2010-05-131-16/+24
| | | | | * Add ability to register variables in memory pools (hash with known lifetime) * Avoid of using of some global variables
* * Call lua functions like C functions in expressionsVsevolod Stakhov2010-04-081-1/+15
|
* * Add classifiers and composites sections to dumpVsevolod Stakhov2010-04-061-9/+11
|
* * Introduce new logging system:Vsevolod Stakhov2009-12-221-42/+42
| | | | | | | | | - independent and customizeable buffering - line buffering - errors handling support - custom (ip based) debug - append function name automaticaly (based on __FUNCTION__) - add some logic to logs system
* * Add ability to register rspamd functions from LUAVsevolod Stakhov2009-10-131-50/+52
| | | | | | * Add ability to access recipients list and sender information * Add plugin for checking forged recipients and sender * Sync documentation
* * Retab, no functional changesVsevolod Stakhov2009-10-021-537/+542
|
* * Make composites workingVsevolod Stakhov2009-09-251-0/+13
| | | | * Document using of composites
* * Add support for empty text or html partsVsevolod Stakhov2009-07-291-3/+3
|
* * Fix 'cc' urls parsingVsevolod Stakhov2009-07-161-0/+24
| | | | * Add function has_fake_html for determine fake html parts (without any tags)
* * Fix distance calculation for common recipientsVsevolod Stakhov2009-07-081-1/+1
|
* * Fix issue with group addressesVsevolod Stakhov2009-07-011-1/+1
|
* * Fix rspamd functions registrationVsevolod Stakhov2009-06-181-1/+1
|
* * Add function "raw_header_exists" for finding headers that are not parsed ↵Vsevolod Stakhov2009-06-111-8/+0
| | | | by gmime (Mime-Version for example)
* * Add simple html parser and tag balancing detectorVsevolod Stakhov2009-05-151-0/+91
| | | | * Add function for searching html tag
* * Fix memory leak when ref'ing message mime part without unrefing itVsevolod Stakhov2009-05-081-6/+9
|
* * Improve loggingVsevolod Stakhov2009-05-061-1/+1
|
* * Fix error in regexps results hashingVsevolod Stakhov2009-05-041-5/+15
|
* * Add counters for rspamd symbolsVsevolod Stakhov2009-05-041-1/+1
| | | | * Fix shared hashes
* * Fix function get_transfer_encodingVsevolod Stakhov2009-04-271-1/+1
|
* * Add expression parser utilityVsevolod Stakhov2009-04-271-1/+1
| | | | * Temporaly switch off expression optimizer as it should be reworked
* * Also try to search for headers in raw headersVsevolod Stakhov2009-04-231-1/+9
|
* * Some more bugs are (hopefuly) fixedVsevolod Stakhov2009-04-231-5/+8
|
* * Handle parsed regexp as not-parsed regexps in expressionsVsevolod Stakhov2009-04-231-2/+2
|
* * Another tryVsevolod Stakhov2009-04-231-1/+1
|
* * Try to correctly read regexpsVsevolod Stakhov2009-04-231-1/+1
| | | | * Turn off perl support by default
* * Another fix to regexps parserVsevolod Stakhov2009-04-231-2/+2
|
* * Fix regexp_match_number functionVsevolod Stakhov2009-04-231-2/+3
|
* * Fix expression parser: make it recursive and allow expressions inside ↵Vsevolod Stakhov2009-04-231-45/+143
| | | | | | function's arguments * Rewrite functions interface and implement arguments parsing
* * Add raw mode flag for improving performance by avoiding expensive utf8 ↵Vsevolod Stakhov2009-04-211-6/+10
| | | | | | transforms * Improve FreeBSD start script by adding config test precmd
* * Add function compare_transfer_encoding for checking message content ↵Vsevolod Stakhov2009-04-211-0/+39
| | | | transfer encoding.
* * Add some debugVsevolod Stakhov2009-04-201-0/+2
| | | | * Check for headers not only in message but also in its primary part
* * Threat raw header regexps as raw regexpsVsevolod Stakhov2009-04-161-2/+11
| | | | * Add regexp flag /r for raw regexp of any types
* * For mime parts set flag 'raw' and if we cannot determine charset of part ↵Vsevolod Stakhov2009-04-151-1/+9
| | | | | | or cannot encode it to utf8 just use for such parts raw regexps
* * Fix addresses filling in compare_distance functionVsevolod Stakhov2009-04-061-4/+2
|
* * Parse function's regexp using not temporary task pools, but permament ↵Vsevolod Stakhov2009-04-061-5/+5
| | | | config pool
* * When parse regexp save it to cache to make unique link betweenVsevolod Stakhov2009-04-051-2/+19
| | | | regexp text and regexp parsed structure
* * Add per-task regexp results cache, that would optimize regexp engine ↵Vsevolod Stakhov2009-04-051-14/+78
| | | | | | performance by avoiding multiply match of the same regexp
* * Check mime regexp only in text and html partsVsevolod Stakhov2009-04-031-1/+187
| | | | | | * Add 2 functions: - has_content_part(type, subtype) - has_content_part_len(type, subtype, min, max)
* * Fix comparing of internet addressesVsevolod Stakhov2009-03-311-11/+14
|
* * Fix order of functions argumentsVsevolod Stakhov2009-03-311-2/+2
| | | | * Do not try to check non-regexp expressions
* * Fix misprintVsevolod Stakhov2009-03-301-0/+1
|
* * Try to fix expression parser to support ',' inside regexp arguments of ↵Vsevolod Stakhov2009-03-301-35/+44
| | | | functions
* * Add 3 functions:Vsevolod Stakhov2009-03-301-0/+144
| | | | | | | | - is_recipients_sorted - has_only_html_part - compare_recipients_distance * Update documentation * Fix build
* * Make regexp cache functions public for using them in other placesVsevolod Stakhov2009-03-291-2/+2
| | | | | * Add function regexp_match_number that checks number of matched arguments: e.g.: regexp_match_number(2, ${__RE1}, ${__RE2}, header_exists(Subject))