summaryrefslogtreecommitdiffstats
path: root/src/lua/lua_common.c
Commit message (Collapse)AuthorAgeFilesLines
* * Add trie interface to lua apiVsevolod Stakhov2010-09-221-0/+1
|
* * Move images library to core rspamdVsevolod Stakhov2010-08-231-0/+1
| | | | * Add lua api to access images properties
* * Consider lua plugins errors as fatal configuration errorsVsevolod Stakhov2010-08-041-3/+14
|
* * Improve lua loggingVsevolod Stakhov2010-07-261-4/+35
|
* * Turn off debug_ip during reload if it was disabled by new configVsevolod Stakhov2010-07-261-6/+0
|
* * Fix extracting arguments in lua logger interfaceVsevolod Stakhov2010-07-261-4/+4
|
* * Add rspamd_log variable to lua plugins to access logging functionsVsevolod Stakhov2010-07-251-1/+8
| | | | | | | | | * Each part in rspamd task now can have parent part * Check for parts distance only for multipart/alternative subparts * Do not check attachements even if they are text (but attached as file) * Do not die if write (2) returned ENOSPACE while doing logging, turn on throttling mode instead (1 write try in a second) * Add ability to turn on debug for specific symbols * Add ability to configure dns timeouts and dns retransmits in config file
* * Change metric logicVsevolod Stakhov2010-06-161-1/+0
| | | | | | | * Completely remove lex/yacc readers for config * Make common sense of metric/action and symbols * Sync changes with all plugins TODO: add this to documentation
* * Convert statistic sums to use long double for countersVsevolod Stakhov2010-05-271-2/+2
| | | | * Use hyperbolic tangent for internal normalizer
* * Bugfixes:Vsevolod Stakhov2010-04-201-32/+22
| | | | | | | | | | - handle '\' characters in lua strings correctly - fix lua initialization - avoid of using global lua state (global L) - fix listen sockets hash to allow multiply workers of same type but on different listen sockets - fix modules options inserting to allow multiply options of the same name - fix parsing of lua options - fix lua rules
* * Add lua config for most common rulesVsevolod Stakhov2010-04-131-0/+1
| | | | * Reset lua state while reloading
* * Call lua functions like C functions in expressionsVsevolod Stakhov2010-04-081-0/+54
|
* * Add lua functions parsing for module optionsVsevolod Stakhov2010-04-061-2/+2
| | | | | | | * Add missing sections to XML parser (classifier, statfile, view, settings) * Add missing params to XML parser * Implement new commandline options parser (using glib) * Set version to 0.3.0 as new rspamd would use new config system
* * Add initial version of lua configuration systemVsevolod Stakhov2010-04-051-2/+3
|
* * Add ability to add normalizers for statfiles (custom functions written in ↵cebka@lenovo-laptop2010-01-131-1/+49
| | | | lua or simple internal normalizer)
* * Introduce new logging system:Vsevolod Stakhov2009-12-221-8/+8
| | | | | | | | | - 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
* * Implement pre and post classify callbacks for checking specific statfiles ↵Vsevolod Stakhov2009-12-161-0/+2
| | | | | | | | | | for this task TODO: - add properties to get all parameters of input task - add properties to statfile object - add some normalization function for calling from classify process - document changes
* * Add ability to add maps from lua scripts and access theirs elementsVsevolod Stakhov2009-11-021-0/+2
| | | | * Add whitelist module for whitelisting score for some ip/from addresses
* * Retab, no functional changesVsevolod Stakhov2009-10-021-112/+111
|
* * More fixes to lua apiVsevolod Stakhov2009-09-041-30/+58
|
* * Make lua api object orientedVsevolod Stakhov2009-09-031-23/+40
|
* * Fix lua APIVsevolod Stakhov2009-09-021-9/+11
|
* * New functionality to lua api:Vsevolod Stakhov2009-09-011-2/+12
| | | | | | | - config class - metric class - textpart class * Add documentation for lua module
* * Reorganze lua support in rspamdVsevolod Stakhov2009-08-311-0/+290