aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_config.c
Commit message (Collapse)AuthorAgeFilesLines
* * Implement pre-filters that realizes concepts to check mail by some ↵Vsevolod Stakhov2012-03-301-0/+57
| | | | | | | | absolute values like: - greylisting - DNS BL/WL - ratelimits
* * More things to be thread-safe:Vsevolod Stakhov2012-02-131-0/+6
| | | | | | | - pool allocator is now thread-safe - lua subsystem now holds lock to avoid lua stack corruption - events subsystem now using conditional variables to wait for async_threads - insert_result is thread-safe now
* * Now it is possible to specify local functions to every callback of rspamd ↵Vsevolod Stakhov2011-12-141-41/+125
| | | | | | | | | lua API, that will allow such things as passing different variables via lua closures mechanic. Use config pool for configuration allocation in lua API to avoid leaks on config reload.
* Fix critical bug with lua stack cleaning that caused heavy memory leaks.0.4.3Vsevolod Stakhov2011-08-121-3/+3
| | | | Update to 0.4.3.
* * Fix build under CentOS 5 with old glib 2.12Vsevolod Stakhov2011-07-291-7/+7
| | | | | * Fix build of rspamd with CMAKE_BINARY_DIR differs from CMAKE_SOURCE_DIR Rework include style.
* Add workaround for clang under linux.Vsevolod Stakhov2011-07-211-5/+5
| | | | Fix problems found by static analyzing.
* Fix trie text search.Vsevolod Stakhov2011-06-101-0/+7
|
* * Add new key-value mapVsevolod Stakhov2011-05-251-4/+36
| | | | | * Add lua api support for key-value map * Fix problem in lua configuration initialization to allow `rspamd_config' global work properly
* * Add strict priority rulesVsevolod Stakhov2011-03-181-0/+28
| | | | | * Improve and fix multimap module * Add rspamd_config object to stage of early configure of rspamd
* Fix trie in lua plugins.Vsevolod Stakhov2011-02-081-2/+10
|
* * Make trie plugin and fix trie lua APIVsevolod Stakhov2011-01-251-4/+17
|
* Fixes in classifying for small messages.Vsevolod Stakhov2011-01-251-1/+1
|
* * Add versions to lua APIVsevolod Stakhov2010-12-221-0/+9
| | | | * Provide compatibility for lua plugins for old versions of rspamd
* * 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