aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua
Commit message (Collapse)AuthorAgeFilesLines
* * Bugfixes:Vsevolod Stakhov2010-04-203-34/+24
| | | | | | | | | | - 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-082-0/+55
|
* * Handle modules configurationVsevolod Stakhov2010-04-081-4/+5
|
* * Add lua functions parsing for module optionsVsevolod Stakhov2010-04-063-5/+107
| | | | | | | * 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-054-3/+210
|
* * Add ability to add normalizers for statfiles (custom functions written in ↵cebka@lenovo-laptop2010-01-132-1/+51
| | | | lua or simple internal normalizer)
* * Introduce new logging system:Vsevolod Stakhov2009-12-225-17/+18
| | | | | | | | | - 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-165-1/+302
| | | | | | | | | | 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-024-1/+198
| | | | * 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
* * Fix getting of message headers from lua pluginsVsevolod Stakhov2009-10-141-11/+11
| | | | * Fix forged recipients plugin
* * Fix loopVsevolod Stakhov2009-10-141-0/+1
|
* * Add ability to register rspamd functions from LUAVsevolod Stakhov2009-10-132-3/+142
| | | | | | * Add ability to access recipients list and sender information * Add plugin for checking forged recipients and sender * Sync documentation
* * Port evdns with TXT patch into rspamd and adopt it to work separately from ↵Vsevolod Stakhov2009-10-071-1/+1
| | | | | | libevent * Add skeleton for spf parser
* * Retab, no functional changesVsevolod Stakhov2009-10-024-376/+372
|
* * Fix some memory issues with lua (strings that are returned from lua can be ↵Vsevolod Stakhov2009-10-022-3/+3
| | | | freed early)
* * Add events to lua resolverVsevolod Stakhov2009-09-251-0/+3
| | | | * Do not classify non-text messages
* * Fix double free of memoryVsevolod Stakhov2009-09-161-3/+0
| | | | * Fix symbols output
* * Add lua plugin for checking received headersVsevolod Stakhov2009-09-151-2/+14
| | | | | | * Some tunes to lua API * Fix bug with http maps * Optimize installation and make custom prefix for configs
* * New system of classifiers interface and statfiles processingVsevolod Stakhov2009-09-141-1/+4
| | | | | | | * Fix sample config * Fix compile warnings * Fix building without lua support * Fix bugs with nrcpt header parsing and symbols cache loading (by Anton Nekhoroshikh)
* * Add ability to call rspamd fucntions from lua apiVsevolod Stakhov2009-09-062-3/+67
| | | | | | * Make logging adaptive based on log speed (buffered vs unbuffered IO) * Fix lua API docs * Now lua modules can be loaded with glob patterns
* * Add asynchronous DNS resolver to lua APIVsevolod Stakhov2009-09-042-0/+173
| | | | | * Add access to received headers to lua API * Some code polishing
* * More fixes to lua apiVsevolod Stakhov2009-09-045-39/+81
|
* * Make lua api object orientedVsevolod Stakhov2009-09-035-42/+61
|
* * Fix lua APIVsevolod Stakhov2009-09-025-14/+17
|
* * New functionality to lua api:Vsevolod Stakhov2009-09-016-2/+336
| | | | | | | - config class - metric class - textpart class * Add documentation for lua module
* * Reorganze lua support in rspamdVsevolod Stakhov2009-08-316-0/+706