summaryrefslogtreecommitdiffstats
path: root/src/lua/lua_task.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Small fixes to timezones conversions.Vsevolod Stakhov2014-09-041-4/+7
|
* Rework task:get_date function.Vsevolod Stakhov2014-09-041-3/+94
|
* Fix simple headers API.Vsevolod Stakhov2014-09-031-1/+3
|
* Simplify API.Vsevolod Stakhov2014-09-031-18/+27
|
* New headers API for lua.Vsevolod Stakhov2014-09-031-57/+69
|
* Use modules preload for lua.Vsevolod Stakhov2014-08-251-22/+17
|
* Consider settings actions.Vsevolod Stakhov2014-08-191-2/+2
|
* Unify lua API for getting rcptis and from.Vsevolod Stakhov2014-08-181-117/+62
|
* Rework lua function names to avoid ambiguity.Vsevolod Stakhov2014-08-171-37/+37
|
* Set useful fields for addresses.Vsevolod Stakhov2014-08-161-4/+19
|
* Remove unused definition.Vsevolod Stakhov2014-08-161-6/+0
|
* Add lua method to get config for the task.Vsevolod Stakhov2014-08-161-0/+16
|
* Add method to set task's settings.Vsevolod Stakhov2014-08-161-0/+16
|
* Allow learning from lua_task.Vsevolod Stakhov2014-08-141-43/+31
|
* Unify style without sorting headers.Vsevolod Stakhov2014-07-231-279/+320
|
* Revert "Unify code style."Vsevolod Stakhov2014-07-231-330/+289
| | | | This reverts commit e0483657ff6cf1adc828ccce457814d61fe90a0d.
* Unify code style.Vsevolod Stakhov2014-07-231-289/+330
|
* Refactor config API.Vsevolod Stakhov2014-04-301-5/+5
|
* Refactor task functions.Vsevolod Stakhov2014-04-211-3/+3
|
* Fix lua API for new inet addr structure.Vsevolod Stakhov2014-04-211-2/+2
|
* Refactor worker task structure and API.Vsevolod Stakhov2014-04-211-45/+45
|
* Refactor memory pool naming.Vsevolod Stakhov2014-04-201-9/+9
|
* Fix empty messages processing.Vsevolod Stakhov2014-02-181-1/+1
|
* Remove HFILTER_URL_ONELINE rule.Vsevolod Stakhov2014-01-241-0/+38
| | | | | | | | | - Added functions: `rspamd_textpart:get_length` - get a full length of text part `rspamd_url:get_length` - get a full length of an URL object - Removed `HFILTER_URL_ONELINE` as it is broken by nature - Reworked hfilter to improve performance
* Improve hostname processing.Vsevolod Stakhov2014-01-221-1/+15
|
* Start moving to HTTP world.Vsevolod Stakhov2014-01-121-4/+1
|
* Add hostname attribute to rspamc protocol.Vsevolod Stakhov2014-01-061-0/+36
|
* Remove duplicated resolving functions from task.Vsevolod Stakhov2013-11-191-268/+36
|
* Store IP addresses properly in lua.Vsevolod Stakhov2013-11-171-67/+29
|
* Refactor metric actions handling.Vsevolod Stakhov2013-09-131-3/+4
| | | | | | Use array of actions instead of a linked list to speed up processing. * Removed required_score, reject_score and action in metric config, now REJECT is the only default action for a metric.
* Fix some warnings found by coverity scan.Vsevolod Stakhov2013-08-161-1/+1
|
* Adopt to lua 5.2.Vsevolod Stakhov2013-06-081-4/+4
|
* Another debian license fix.Vsevolod Stakhov2012-09-101-1/+1
| | | | | Add apache license for regexp that were delivered from SpamAssassin project. Fix debian/copyright for src/dns.c.
* Update copyright (required by debian).Vsevolod Stakhov2012-09-041-3/+3
|
* * Rework thread pools locking logic to avoid global lua mutex usage.Vsevolod Stakhov2012-08-221-3/+1
| | | | | | Fixed several memory leaks with modern glib. Fixed memory leak in dkim code. Fixed a problem with static global variables in shared libraries.
* * Add lua mime_part library to get an access to all message part attributes ↵0.5.1Vsevolod Stakhov2012-08-061-0/+213
| | | | (like filename, length, type)
* * Add lua worker type and lua worker bindings.Vsevolod Stakhov2012-07-261-5/+112
| | | | | | | * Add lua utility library for basic utils. * Fixes lua_buffer code. Fix lua loading error. Added some other lua utility functions.
* * Add lua_buffer bindings to async buffered rspamd API.Vsevolod Stakhov2012-07-241-0/+16
|
* * Add async_session and memory pool objects lua bindings.Vsevolod Stakhov2012-07-091-1/+16
|
* * Avoid DoS while sending a message with a lot of recipients in 'To' header.Vsevolod Stakhov2012-05-281-0/+17
| | | | | Fix possible deadlock in lua_redis. Version is now 0.4.8 as there are enough changes.
* * Fix spf plugin that was broken in 0.4.7Vsevolod Stakhov2012-04-201-0/+23
| | | | * Add partial ipv6 support for some rspamd modules.
* * Add ratelimit pluginVsevolod Stakhov2012-04-061-0/+24
| | | | Some polishing of lua task api.
* * Implement pre-filters that realizes concepts to check mail by some ↵Vsevolod Stakhov2012-03-301-0/+25
| | | | | | | | absolute values like: - greylisting - DNS BL/WL - ratelimits
* * More things to be thread-safe:Vsevolod Stakhov2012-02-131-0/+2
| | | | | | | - 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
* More cleanups and fixes for compiler warnings.0.4.6Vsevolod Stakhov2011-12-201-1/+1
|
* * Now it is possible to specify local functions to every callback of rspamd ↵Vsevolod Stakhov2011-12-141-10/+54
| | | | | | | | | 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-141-10/+0
| | | | | | logic completely Fix lua redis library.
* 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
|