Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [Fix] Properly handle MIME headers in SA plugin | Vsevolod Stakhov | 2016-04-11 | 1 | -2/+4 |
| | |||||
* | [Feature] Add config:set_symbol_callback function | Vsevolod Stakhov | 2016-04-08 | 1 | -0/+44 |
| | |||||
* | [Feature] Allow to get callbacks for lua symbols | Vsevolod Stakhov | 2016-04-07 | 1 | -0/+40 |
| | |||||
* | [Feature] Add magic for callback data in rspamd rules | Vsevolod Stakhov | 2016-04-07 | 1 | -2/+12 |
| | |||||
* | [Feature] Add method to get number of symbols in the cache | Vsevolod Stakhov | 2016-04-05 | 1 | -0/+26 |
| | |||||
* | [Feature] Add on load hooks for rspamd_config | Vsevolod Stakhov | 2016-04-05 | 1 | -0/+27 |
| | |||||
* | [Feature] Add worker scripts functionality | Vsevolod Stakhov | 2016-04-05 | 1 | -0/+43 |
| | |||||
* | [Feature] Add config:add_map table form method, add regexp maps | Vsevolod Stakhov | 2016-03-17 | 1 | -11/+19 |
| | |||||
* | [Feature] Allow optional symbols registration | Vsevolod Stakhov | 2016-03-08 | 1 | -7/+37 |
| | |||||
* | [Rework] Move maps code to a separate lua unit | Vsevolod Stakhov | 2016-03-06 | 1 | -417/+5 |
| | |||||
* | [Feature] Return map object for further actions | Vsevolod Stakhov | 2016-03-06 | 1 | -8/+17 |
| | | | | Map object could be used to manage maps, for example, by LUA API. | ||||
* | [Feature] Rework and abstract lua maps API | Vsevolod Stakhov | 2016-03-05 | 1 | -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 score | Vsevolod Stakhov | 2016-03-04 | 1 | -0/+4 |
| | |||||
* | [Feature] Add task:set_metric_action lua API method | Vsevolod Stakhov | 2016-03-03 | 1 | -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 symbols | Vsevolod Stakhov | 2016-03-03 | 1 | -3/+12 |
| | |||||
* | Rework system of symbols registration | Vsevolod Stakhov | 2016-02-24 | 1 | -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 API | Vsevolod Stakhov | 2016-02-16 | 1 | -1/+1 |
| | |||||
* | Fix logging for embedded maps | Vsevolod Stakhov | 2016-02-15 | 1 | -5/+9 |
| | |||||
* | Fix some issues found by coverity | Vsevolod Stakhov | 2016-02-09 | 1 | -5/+22 |
| | |||||
* | Fix one shot mode for SA metas | Vsevolod Stakhov | 2016-02-08 | 1 | -1/+1 |
| | |||||
* | Fix bad lua stack leak caused by returning numbers from SA plugin | Vsevolod Stakhov | 2016-02-08 | 1 | -17/+25 |
| | |||||
* | Fix leaks in lua error paths | Vsevolod Stakhov | 2016-02-05 | 1 | -1/+5 |
| | |||||
* | Switch the rest to apache 2 | Vsevolod Stakhov | 2016-02-04 | 1 | -22/+12 |
| | |||||
* | Fix weight processing | Vsevolod Stakhov | 2016-01-15 | 1 | -1/+1 |
| | |||||
* | Fix multiple regexp in the cache for lua API | Vsevolod Stakhov | 2015-12-26 | 1 | -1/+19 |
| | |||||
* | Fix bug introduced by the previous fix | Vsevolod Stakhov | 2015-12-23 | 1 | -3/+8 |
| | |||||
* | Fix crash in re_cache as headers are not NULL terminated | Vsevolod Stakhov | 2015-12-23 | 1 | -1/+1 |
| | |||||
* | Add pcre_only option to re_cache registration | Vsevolod Stakhov | 2015-12-10 | 1 | -2/+12 |
| | |||||
* | Add rawmime class | Vsevolod Stakhov | 2015-12-09 | 1 | -0/+2 |
| | |||||
* | Add routine to convert string to re_class type | Vsevolod Stakhov | 2015-12-07 | 1 | -15/+1 |
| | |||||
* | Fix re cache replacement method | Vsevolod Stakhov | 2015-12-06 | 1 | -39/+5 |
| | |||||
* | Add function rspamd_config:replace_regexp | Vsevolod Stakhov | 2015-12-05 | 1 | -0/+69 |
| | |||||
* | Fix issues with re_cache lua API | Vsevolod Stakhov | 2015-12-04 | 1 | -25/+26 |
| | |||||
* | Add rspamd_config:register_regexp | Vsevolod Stakhov | 2015-12-04 | 1 | -0/+77 |
| | |||||
* | Add lua API for conditions registering. | Vsevolod Stakhov | 2015-09-28 | 1 | -0/+41 |
| | |||||
* | Fix parsing of lua tables. | Vsevolod Stakhov | 2015-09-14 | 1 | -2/+6 |
| | |||||
* | Improve error handler for lua_pcall. | Vsevolod Stakhov | 2015-09-14 | 1 | -7/+5 |
| | |||||
* | Print stack trace on lua errors. | Vsevolod Stakhov | 2015-09-14 | 1 | -35/+51 |
| | |||||
* | Update lua code for the new logger. | Vsevolod Stakhov | 2015-08-30 | 1 | -18/+21 |
| | |||||
* | Add conditions to lua. | Vsevolod Stakhov | 2015-08-27 | 1 | -3/+50 |
| | |||||
* | Rework symbols weights. | Vsevolod Stakhov | 2015-08-12 | 1 | -8/+10 |
| | |||||
* | Add table form of lua_config_set_metric_symbol. | Vsevolod Stakhov | 2015-08-06 | 1 | -16/+30 |
| | |||||
* | Allow metric registration when defining symbols. | Vsevolod Stakhov | 2015-08-06 | 1 | -38/+69 |
| | |||||
* | Fix typo | Andrej Zverev | 2015-07-21 | 1 | -1/+1 |
| | |||||
* | Minor fixes in lua. | Vsevolod Stakhov | 2015-07-14 | 1 | -1/+1 |
| | |||||
* | Add delayed dependency form support to lua. | Vsevolod Stakhov | 2015-07-04 | 1 | -7/+19 |
| | |||||
* | Fix get_all_opts for a case of non-iterable options. | Vsevolod Stakhov | 2015-06-25 | 1 | -1/+15 |
| | |||||
* | Avoid non-portable lua integers. | Vsevolod Stakhov | 2015-06-23 | 1 | -1/+2 |
| | |||||
* | Add API to register deps from LUA. | Vsevolod Stakhov | 2015-06-07 | 1 | -0/+34 |
| | |||||
* | Add checkpoint to avoid endless iteration. | Vsevolod Stakhov | 2015-06-02 | 1 | -0/+16 |
| |