summaryrefslogtreecommitdiffstats
path: root/src/lua/lua_config.c
Commit message (Collapse)AuthorAgeFilesLines
* [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
|
* Add lua API for conditions registering.Vsevolod Stakhov2015-09-281-0/+41
|
* Fix parsing of lua tables.Vsevolod Stakhov2015-09-141-2/+6
|
* Improve error handler for lua_pcall.Vsevolod Stakhov2015-09-141-7/+5
|
* Print stack trace on lua errors.Vsevolod Stakhov2015-09-141-35/+51
|
* Update lua code for the new logger.Vsevolod Stakhov2015-08-301-18/+21
|
* Add conditions to lua.Vsevolod Stakhov2015-08-271-3/+50
|
* Rework symbols weights.Vsevolod Stakhov2015-08-121-8/+10
|
* Add table form of lua_config_set_metric_symbol.Vsevolod Stakhov2015-08-061-16/+30
|
* Allow metric registration when defining symbols.Vsevolod Stakhov2015-08-061-38/+69
|
* Fix typoAndrej Zverev2015-07-211-1/+1
|
* Minor fixes in lua.Vsevolod Stakhov2015-07-141-1/+1
|
* Add delayed dependency form support to lua.Vsevolod Stakhov2015-07-041-7/+19
|
* Fix get_all_opts for a case of non-iterable options.Vsevolod Stakhov2015-06-251-1/+15
|
* Avoid non-portable lua integers.Vsevolod Stakhov2015-06-231-1/+2
|
* Add API to register deps from LUA.Vsevolod Stakhov2015-06-071-0/+34
|
* Add checkpoint to avoid endless iteration.Vsevolod Stakhov2015-06-021-0/+16
|