aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_config.c
Commit message (Collapse)AuthorAgeFilesLines
...
* [Minor] Fix settings of the metric action score from luaVsevolod Stakhov2016-10-181-2/+2
|
* [Feature] Add periodic events support for lua_configVsevolod Stakhov2016-10-181-1/+123
|
* [Feature] Add Lua API module for monitored objectsVsevolod Stakhov2016-08-261-1/+162
|
* [Feature] Implement finish scripts for worker processesVsevolod Stakhov2016-08-251-1/+60
|
* [Feature] Allow all types of symbols to be added via __newindex methodVsevolod Stakhov2016-08-041-12/+1
|
* [Fix] Fix symbols registration and executionVsevolod Stakhov2016-07-121-9/+20
|
* [Rework] Rework pre and postfilters systemVsevolod Stakhov2016-07-121-206/+117
|
* [Feature] Use rspamd specific type checks for userdataVsevolod Stakhov2016-05-051-1/+1
|
* [Fix] Use custom error function for pre and post filtersVsevolod Stakhov2016-05-051-12/+27
|
* Revert "[CritFix] Pre-filters and post-filters were completely broken"Vsevolod Stakhov2016-05-031-0/+16
| | | | This reverts commit 88c10484ff3802b59d8bcc7e9832e9fe97c9bb89.
* [CritFix] Pre-filters and post-filters were completely brokenVsevolod Stakhov2016-05-031-16/+0
|
* [CritFix] Restore the intended pre-filters behaviourVsevolod Stakhov2016-05-031-0/+6
| | | | | | Previously, filters and post-filters were checked even if pre-filter has set some result. Now pre-result efficienly makes a trapdoor to writing reply (as it was before 1.0).
* [Feature] Implement order of pre/post filtersVsevolod Stakhov2016-05-031-4/+31
|
* [Fix] Fix return value for couple of lua functionsVsevolod Stakhov2016-04-301-2/+4
|
* [Feature] Use new version of register_symbol in rspamd pluginsVsevolod Stakhov2016-04-221-2/+5
|
* [Feature] Improve config:register_symbol functionVsevolod Stakhov2016-04-221-24/+96
| | | | | Now this function replaces all other registration functions and can accept table for furhter extending
* [Fix] Properly handle MIME headers in SA pluginVsevolod Stakhov2016-04-111-2/+4
|
* [Feature] Add config:set_symbol_callback functionVsevolod Stakhov2016-04-081-0/+44
|
* [Feature] Allow to get callbacks for lua symbolsVsevolod Stakhov2016-04-071-0/+40
|
* [Feature] Add magic for callback data in rspamd rulesVsevolod Stakhov2016-04-071-2/+12
|
* [Feature] Add method to get number of symbols in the cacheVsevolod Stakhov2016-04-051-0/+26
|
* [Feature] Add on load hooks for rspamd_configVsevolod Stakhov2016-04-051-0/+27
|
* [Feature] Add worker scripts functionalityVsevolod Stakhov2016-04-051-0/+43
|
* [Feature] Add config:add_map table form method, add regexp mapsVsevolod Stakhov2016-03-171-11/+19
|
* [Feature] Allow optional symbols registrationVsevolod Stakhov2016-03-081-7/+37
|
* [Rework] Move maps code to a separate lua unitVsevolod Stakhov2016-03-061-417/+5
|
* [Feature] Return map object for further actionsVsevolod Stakhov2016-03-061-8/+17
| | | | Map object could be used to manage maps, for example, by LUA API.
* [Feature] Rework and abstract lua maps APIVsevolod Stakhov2016-03-051-143/+153
| | | | | | | | - Now all maps share the same lua object table. - Remove bad destructions code since objects are reallocated during maps operations - Fix and unify various parts of maps management - Pass map object to lua callbacks
* [Fix] Properly set priority for rules with negative scoreVsevolod Stakhov2016-03-041-0/+4
|
* [Feature] Add task:set_metric_action lua API methodVsevolod Stakhov2016-03-031-6/+78
| | | | | | | | | | | | | | | | | | rspamd_config:set_metric_symbol({table}) Set the value of a specified symbol in a metric. This function accepts table with the following elements: - `name`: name of symbol (string) - `score`: score for symbol (number) - `metric`: name of metric (string, optional) - `description`: description of symbol (string, optional) - `group`: name of group for symbol (string, optional) - `one_shot`: turn off multiple hits for a symbol (boolean, optional) - `flags`: comma separated string of flags: + `ignore`: do not strictly check validity of symbol and corresponding rule + `one_shot`: turn off multiple hits for a symbol - `priority`: priority of symbol's definition
* [Feature] Allow to specify flags for metric symbolsVsevolod Stakhov2016-03-031-3/+12
|
* Rework system of symbols registrationVsevolod Stakhov2016-02-241-8/+18
| | | | | | It is possible now to use priorities when adding symbols to metrics and override scores for symbols with lower priority with the scores with high priority.
* Refactor UCL APIVsevolod Stakhov2016-02-161-1/+1
|
* Fix logging for embedded mapsVsevolod Stakhov2016-02-151-5/+9
|
* Fix some issues found by coverityVsevolod Stakhov2016-02-091-5/+22
|
* Fix one shot mode for SA metasVsevolod Stakhov2016-02-081-1/+1
|
* Fix bad lua stack leak caused by returning numbers from SA pluginVsevolod Stakhov2016-02-081-17/+25
|
* Fix leaks in lua error pathsVsevolod Stakhov2016-02-051-1/+5
|
* Switch the rest to apache 2Vsevolod Stakhov2016-02-041-22/+12
|
* Fix weight processingVsevolod Stakhov2016-01-151-1/+1
|
* Fix multiple regexp in the cache for lua APIVsevolod Stakhov2015-12-261-1/+19
|
* Fix bug introduced by the previous fixVsevolod Stakhov2015-12-231-3/+8
|
* Fix crash in re_cache as headers are not NULL terminatedVsevolod Stakhov2015-12-231-1/+1
|
* Add pcre_only option to re_cache registrationVsevolod Stakhov2015-12-101-2/+12
|
* Add rawmime classVsevolod Stakhov2015-12-091-0/+2
|
* Add routine to convert string to re_class typeVsevolod Stakhov2015-12-071-15/+1
|
* Fix re cache replacement methodVsevolod Stakhov2015-12-061-39/+5
|
* Add function rspamd_config:replace_regexpVsevolod Stakhov2015-12-051-0/+69
|
* Fix issues with re_cache lua APIVsevolod Stakhov2015-12-041-25/+26
|
* Add rspamd_config:register_regexpVsevolod Stakhov2015-12-041-0/+77
|