summaryrefslogtreecommitdiffstats
path: root/src/lua/lua_config.c
Commit message (Collapse)AuthorAgeFilesLines
* * Introduce new system of configuration checks:Vsevolod Stakhov2010-12-201-1/+44
| | | | | | | | - now symbols inside metrics definition must be inside rules as well - symbols may be virtual (e.g. when module can insert several symbols inside callback) - symbols may be pure callbacks (when symbol's name is unknown and depends on conditions) * Module 'emails' is removed as it is not used in the current rspamd MANY fixes to sample config files
* Add registering options for lua modulesVsevolod Stakhov2010-12-141-0/+53
| | | | * Add ability to output colored messages for file and console loggers
* Fixes types (use glib ones) no functional change.Vsevolod Stakhov2010-10-061-34/+34
| | | | | Now all comments in commit logs beginning with '*' would be included in changelog, so important changes would be separated from small ones.
* * Add trie interface to lua apiVsevolod Stakhov2010-09-221-0/+145
|
* * Add post filters to lua API - filters that would be called after all ↵Vsevolod Stakhov2010-08-251-1/+45
| | | | | | | | message's processing * Add ability to check for specified symbol in task results from lua * Add ability to check for metric's results from lua * Add ability to learn specified statfile form lua
* * Change metric logicVsevolod Stakhov2010-06-161-54/+6
| | | | | | | * 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
* * Introduce new logging system:Vsevolod Stakhov2009-12-221-4/+4
| | | | | | | | | - 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/+36
| | | | | | | | | | 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 right way to pass config params with common names to lua scriptsVsevolod Stakhov2009-11-111-5/+57
|
* * Add ability to add maps from lua scripts and access theirs elementsVsevolod Stakhov2009-11-021-1/+158
| | | | * Add whitelist module for whitelisting score for some ip/from addresses
* * Add growing coefficient to factors consolidation callbackVsevolod Stakhov2009-10-161-1/+1
| | | | * Fix registering functions from lua
* * Add ability to register rspamd functions from LUAVsevolod Stakhov2009-10-131-3/+63
| | | | | | * 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-85/+84
|
* * Fix some memory issues with lua (strings that are returned from lua can be ↵Vsevolod Stakhov2009-10-021-1/+1
| | | | freed early)
* * More fixes to lua apiVsevolod Stakhov2009-09-041-4/+7
|
* * Make lua api object orientedVsevolod Stakhov2009-09-031-8/+8
|
* * Fix lua APIVsevolod Stakhov2009-09-021-2/+2
|
* * New functionality to lua api:Vsevolod Stakhov2009-09-011-0/+102
| | | | | | | - config class - metric class - textpart class * Add documentation for lua module
* * Reorganze lua support in rspamdVsevolod Stakhov2009-08-311-0/+101