aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_common.c
Commit message (Collapse)AuthorAgeFilesLines
* * Add lua bindings to hiredis libraryVsevolod Stakhov2011-12-121-1/+39
| | | | Polish some comments.
* Remove debug.Vsevolod Stakhov2011-10-141-2/+0
|
* Fix stupid bug with lua stack corruption.Vsevolod Stakhov2011-10-141-1/+6
|
* Fix critical bug with lua stack cleaning that caused heavy memory leaks.0.4.3Vsevolod Stakhov2011-08-121-2/+12
| | | | Update to 0.4.3.
* Fix signness in arithmetic operations.Vsevolod Stakhov2011-08-041-1/+2
|
* * Fix build under CentOS 5 with old glib 2.12Vsevolod Stakhov2011-07-291-1/+1
| | | | | * Fix build of rspamd with CMAKE_BINARY_DIR differs from CMAKE_SOURCE_DIR Rework include style.
* * Add lua http support that makes it easy to send GET and POST request to ↵Vsevolod Stakhov2011-06-091-0/+1
| | | | HTTP servers from lua code
* * Add lua interface for parsing xmlrpc repliesVsevolod Stakhov2011-06-081-0/+1
|
* * Rework build process:Vsevolod Stakhov2011-05-101-4/+4
| | | | | | | | | | - add librspamdserver - link this library to all daemons and utils of rspamd - use subdirectories more often * Rework global variables logic - move them to the main process * Fix logging to handle utf-8 correctly * Add statshow utility and make it working * Move printf functions to separate source file
* * Add ability to lookup CDB maps from luaVsevolod Stakhov2011-03-051-0/+1
| | | | * Add cdb:// map to multimap plugin
* * Process raw headers by FSM.Vsevolod Stakhov2011-02-211-1/+6
| | | | * Add methods for accessing raw_headers from lua and C
* Fix rspamd_logger.Vsevolod Stakhov2011-02-171-4/+4
|
* * Add new lua module regexp for using glib regular expressions (pcre compatible)Vsevolod Stakhov2011-02-151-2/+1
|
* Handle params correctly.Vsevolod Stakhov2011-02-081-2/+2
|
* Call lua functions correctly as well.Vsevolod Stakhov2011-02-081-4/+30
|
* * Add phishing detector (now just compares <a href> with tag's data).Vsevolod Stakhov2010-11-021-0/+1
|
* Fixes types (use glib ones) no functional change.Vsevolod Stakhov2010-10-061-28/+28
| | | | | 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/+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