aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_common.h
Commit message (Collapse)AuthorAgeFilesLines
* Adopt to lua 5.2.Vsevolod Stakhov2013-06-081-0/+21
|
* * Rework thread pools locking logic to avoid global lua mutex usage.Vsevolod Stakhov2012-08-221-4/+18
| | | | | | Fixed several memory leaks with modern glib. Fixed memory leak in dkim code. Fixed a problem with static global variables in shared libraries.
* Do not try to detect tld urls inside HTML texts as it generates too much ↵Vsevolod Stakhov2012-08-211-0/+10
| | | | | | false positive matches. Add some prototypes for lua.
* * Add DNS resolver lua bindings.Vsevolod Stakhov2012-08-131-4/+6
| | | | | | Make lua http library working without task object. Fix a problem with resolver in lua_worker. Added some utility functions to lua api.
* * Add lua mime_part library to get an access to all message part attributes ↵0.5.1Vsevolod Stakhov2012-08-061-1/+2
| | | | (like filename, length, type)
* * Add lua worker type and lua worker bindings.Vsevolod Stakhov2012-07-261-1/+7
| | | | | | | * Add lua utility library for basic utils. * Fixes lua_buffer code. Fix lua loading error. Added some other lua utility functions.
* * Add async_session and memory pool objects lua bindings.Vsevolod Stakhov2012-07-091-0/+5
|
* * Implement pre-filters that realizes concepts to check mail by some ↵Vsevolod Stakhov2012-03-301-1/+2
| | | | | | | | absolute values like: - greylisting - DNS BL/WL - ratelimits
* * Add lua bindings for upstream API.Vsevolod Stakhov2012-03-261-1/+2
|
* * More things to be thread-safe:Vsevolod Stakhov2012-02-131-0/+1
| | | | | | | - 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-1/+21
| | | | | | | | | 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.
* * Add lua bindings to hiredis libraryVsevolod Stakhov2011-12-121-0/+2
| | | | Polish some comments.
* * Fix build under CentOS 5 with old glib 2.12Vsevolod Stakhov2011-07-291-3/+3
| | | | | * Fix build of rspamd with CMAKE_BINARY_DIR differs from CMAKE_SOURCE_DIR Rework include style.
* * First commit to implement multi-statfile filter system with new learning ↵Vsevolod Stakhov2011-07-121-1/+1
| | | | mechanizm (untested yet)
* * Add a simple logic of language detection for text parts (unicode script based)Vsevolod Stakhov2011-07-111-1/+1
|
* Up lua version.Vsevolod Stakhov2011-06-091-1/+1
|
* * 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
|
* * Add new key-value mapVsevolod Stakhov2011-05-251-1/+1
| | | | | * Add lua api support for key-value map * Fix problem in lua configuration initialization to allow `rspamd_config' global work properly
* * Add functions to lua API to detect message and task date (in GMT)Vsevolod Stakhov2011-04-221-1/+1
|
* * Add strict priority rulesVsevolod Stakhov2011-03-181-1/+1
| | | | | * Improve and fix multimap module * Add rspamd_config object to stage of early configure of rspamd
* * Add ability to lookup CDB maps from luaVsevolod Stakhov2011-03-051-1/+2
| | | | * Add cdb:// map to multimap plugin
* * Add new lua module regexp for using glib regular expressions (pcre compatible)Vsevolod Stakhov2011-02-151-0/+1
|
* Call lua functions correctly as well.Vsevolod Stakhov2011-02-081-1/+1
|
* * New module for checking emails inside messages (rules based, like multimap)Vsevolod Stakhov2011-02-031-1/+1
| | | | | | | * Emails now are separated from urls and urls checks * Add ability to check text attachements if option is presented in a configuration Version is 0.3.6 now
* * Add versions to lua APIVsevolod Stakhov2010-12-221-0/+2
| | | | * Provide compatibility for lua plugins for old versions of rspamd
* * Implement ability to add conditional rules to rspamd.xmlVsevolod Stakhov2010-12-151-0/+1
|
* * 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-22/+22
| | | | | 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
|
* * Add post filters to lua API - filters that would be called after all ↵Vsevolod Stakhov2010-08-251-0/+1
| | | | | | | | 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
* * 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-1/+1
|
* * Convert statistic sums to use long double for countersVsevolod Stakhov2010-05-271-1/+1
| | | | * Use hyperbolic tangent for internal normalizer
* * Bugfixes:Vsevolod Stakhov2010-04-201-1/+1
| | | | | | | | | | - 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
* * Call lua functions like C functions in expressionsVsevolod Stakhov2010-04-081-0/+1
|
* * Add lua functions parsing for module optionsVsevolod Stakhov2010-04-061-1/+3
| | | | | | | * 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-0/+9
|
* * Add ability to add normalizers for statfiles (custom functions written in ↵cebka@lenovo-laptop2010-01-131-0/+2
| | | | lua or simple internal normalizer)
* * Implement pre and post classify callbacks for checking specific statfiles ↵Vsevolod Stakhov2009-12-161-0/+5
| | | | | | | | | | 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
* * 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)
* * More fixes to lua apiVsevolod Stakhov2009-09-041-0/+1
|
* * Make lua api object orientedVsevolod Stakhov2009-09-031-0/+2
|
* * Fix lua APIVsevolod Stakhov2009-09-021-0/+1
|
* * New functionality to lua api:Vsevolod Stakhov2009-09-011-0/+2
| | | | | | | - config class - metric class - textpart class * Add documentation for lua module
* * Reorganze lua support in rspamdVsevolod Stakhov2009-08-311-0/+27