aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua
Commit message (Collapse)AuthorAgeFilesLines
* More cleanups and fixes for compiler warnings.0.4.6Vsevolod Stakhov2011-12-201-1/+1
|
* Add expire and whitelist options to ip_score plugin.Vsevolod Stakhov2011-12-161-0/+3
| | | | Some fixes to expiration of keys (still need to be reworked however).
* Allow for post filters to register async events.Vsevolod Stakhov2011-12-161-3/+20
| | | | Some fixes to lua redis library.
* * Now it is possible to specify local functions to every callback of rspamd ↵Vsevolod Stakhov2011-12-143-52/+200
| | | | | | | | | 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.
* * Finally get rid of stupid savepoints system and migrate to async events ↵Vsevolod Stakhov2011-12-143-39/+10
| | | | | | logic completely Fix lua redis library.
* Move some debug logic.Vsevolod Stakhov2011-12-141-27/+16
|
* Fix build with system-wide libhiredis.Vsevolod Stakhov2011-12-131-0/+8
|
* * Add lua bindings to hiredis libraryVsevolod Stakhov2011-12-124-2/+379
| | | | Polish some comments.
* Fix stupid glib error with G_REGEX_RAW flag which is actually ~PCRE_UTF8.Vsevolod Stakhov2011-12-071-21/+39
|
* Skip group addresses.0.4.5Vsevolod Stakhov2011-11-211-1/+1
|
* Fix stupid errors while trying to parse NULL address list.Vsevolod Stakhov2011-11-071-15/+26
|
* Fix misprint.Vsevolod Stakhov2011-11-041-1/+1
|
* Compatibility with old glib versions.Vsevolod Stakhov2011-11-021-0/+2
|
* * Use event_base thread safe API to allow parallelism based on threadsVsevolod Stakhov2011-10-261-2/+2
|
* Check utf8 characters before gregex checks as they assume input to be a utf8 ↵Vsevolod Stakhov2011-10-171-0/+7
| | | | valid string.
* Remove debug.Vsevolod Stakhov2011-10-141-2/+0
|
* Fix stupid bug with lua stack corruption.Vsevolod Stakhov2011-10-142-2/+6
|
* Check if internet address list is parsed correctly.Vsevolod Stakhov2011-10-041-3/+9
|
* * Fix DNS PTR resolvingVsevolod Stakhov2011-08-221-1/+2
| | | | * Add ability to resolve ip in once_received plugin to avoid temporary DNS fails of SMTP resolving
* Fix critical bug with lua stack cleaning that caused heavy memory leaks.0.4.3Vsevolod Stakhov2011-08-124-8/+26
| | | | Update to 0.4.3.
* Fix signness in arithmetic operations.Vsevolod Stakhov2011-08-042-2/+3
|
* * Fix build under CentOS 5 with old glib 2.12Vsevolod Stakhov2011-07-2911-36/+36
| | | | | * 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-217-16/+16
| | | | Fix problems found by static analyzing.
* Fix statfiles class determination euristic.Vsevolod Stakhov2011-07-181-9/+9
| | | | Fix call of classifier pre-callback.
* Fix textpart:get_language lua function.Vsevolod Stakhov2011-07-181-0/+1
|
* Create statfiles using learn_spam function for bayes classifier.Vsevolod Stakhov2011-07-181-1/+1
| | | | Fix call of pre callbacks for a classifier.
* * Add new algorithm based on diff algorithm to compare relatively short text ↵Vsevolod Stakhov2011-07-131-1/+7
| | | | parts
* * Add ability to get difference between two parts from lua codeVsevolod Stakhov2011-07-121-0/+45
|
* * First commit to implement multi-statfile filter system with new learning ↵Vsevolod Stakhov2011-07-122-29/+151
| | | | mechanizm (untested yet)
* * Add a simple logic of language detection for text parts (unicode script based)Vsevolod Stakhov2011-07-112-1/+102
|
* Actually all times are in GMT already, so avoid conversion to prevent dst ↵Vsevolod Stakhov2011-06-152-3/+1
| | | | loosing.
* Fix trie text search.Vsevolod Stakhov2011-06-101-0/+7
|
* Fix connecting to xmlrpc server.Vsevolod Stakhov2011-06-101-5/+2
|
* * Add LRU caching structureVsevolod Stakhov2011-06-103-11/+93
| | | | | | | * Add SPF records cache * Add ability to parse doubles to xmlrpc Several fixes to dns interface. Trie plugin now checks urls as well.
* 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-094-1/+447
| | | | HTTP servers from lua code
* * Add api for creating XML-rpc callsVsevolod Stakhov2011-06-091-1/+99
|
* * Add lua interface for parsing xmlrpc repliesVsevolod Stakhov2011-06-084-1/+410
|
* * Add new key-value mapVsevolod Stakhov2011-05-252-5/+37
| | | | | * Add lua api support for key-value map * Fix problem in lua configuration initialization to allow `rspamd_config' global work properly
* * Fix error in raw headers parsingVsevolod Stakhov2011-05-241-9/+12
| | | | * Improve speed of raw headers access
* * 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 functions to lua API to detect message and task date (in GMT)Vsevolod Stakhov2011-04-223-1/+42
|
* Write to log number of dns requests per task.Vsevolod Stakhov2011-03-251-0/+3
|
* Push recipients in a proper way.Vsevolod Stakhov2011-03-181-19/+40
|
* * Add strict priority rulesVsevolod Stakhov2011-03-182-1/+29
| | | | | * Improve and fix multimap module * Add rspamd_config object to stage of early configure of rspamd
* Optimization.Vsevolod Stakhov2011-03-141-10/+3
|
* Fix initialization point.Vsevolod Stakhov2011-03-091-0/+2
|
* * Add monitoring for cdbVsevolod Stakhov2011-03-091-1/+12
|
* Fix gmime24 compatibility.Vsevolod Stakhov2011-03-091-2/+2
| | | | | | Fix adding extra space to raw headers. Reported by: Victor Ustugov
* * Add ability to lookup CDB maps from luaVsevolod Stakhov2011-03-054-2/+157
| | | | * Add cdb:// map to multimap plugin