summaryrefslogtreecommitdiffstats
path: root/src/lua
Commit message (Collapse)AuthorAgeFilesLines
* [Fix] Rework map reading state machineVsevolod Stakhov2016-03-141-1/+2
|
* [Fix] Fix another memory issue with lua mapsVsevolod Stakhov2016-03-141-13/+10
| | | | | Issue: #550 Reported by: @moisseev
* [Minor] Add flag for embedded mapsVsevolod Stakhov2016-03-132-3/+12
|
* [Feature] Print map id when using it in lua loggerVsevolod Stakhov2016-03-123-35/+52
|
* [Feature] Add map:get_uri methodVsevolod Stakhov2016-03-121-0/+30
|
* [Feature] Add task:get_dns_req methodVsevolod Stakhov2016-03-111-0/+22
|
* [Fix] Plug memory leak in lua_fannVsevolod Stakhov2016-03-091-1/+3
|
* [Feature] Allow optional symbols registrationVsevolod Stakhov2016-03-081-7/+37
|
* [Feature] Add more features to dynamic updatesVsevolod Stakhov2016-03-081-1/+1
|
* [Fix] Fix calling of lua map callbacksVsevolod Stakhov2016-03-081-4/+6
|
* [Fix] Initialize lua cryptobox moduleVsevolod Stakhov2016-03-082-0/+2
|
* [Feature] Allow to set delayed callback for lua mapsVsevolod Stakhov2016-03-081-30/+67
|
* [Feature] Add lua functions for caseless comparisonVsevolod Stakhov2016-03-071-0/+114
|
* [Feature] Add map:set_sign_key and map:get_sign_keyVsevolod Stakhov2016-03-071-0/+79
|
* [Feature] Add map:get_proto lua API methodVsevolod Stakhov2016-03-071-0/+42
|
* [Feature] Add map:is_signed methodVsevolod Stakhov2016-03-071-1/+41
|
* [Rework] Move maps code to a separate lua unitVsevolod Stakhov2016-03-065-419/+475
|
* [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] Add util.strlen_utf8 lua functionVsevolod Stakhov2016-03-051-4/+40
|
* [Feature] Rework and abstract lua maps APIVsevolod Stakhov2016-03-053-147/+155
| | | | | | | | - 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
* [Minor] Fix lua_cryptobox registrationVsevolod Stakhov2016-03-051-1/+1
|
* [Fix] Properly set priority for rules with negative scoreVsevolod Stakhov2016-03-041-0/+4
|
* [Fix] Fix race condition in lua_tcp moduleVsevolod Stakhov2016-03-041-1/+1
|
* [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
|
* [Fix] Add watcher for lua_tcp moduleVsevolod Stakhov2016-03-031-0/+4
|
* Steal lua_text ownership to prevent gcVsevolod Stakhov2016-02-261-0/+7
|
* Add more reasonable errors for lua_tcp moduleVsevolod Stakhov2016-02-261-9/+20
|
* Allow to set redis db and password in lua_redisVsevolod Stakhov2016-02-261-0/+26
|
* Fix task:has_flag methodVsevolod Stakhov2016-02-251-2/+1
|
* 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.
* Rework lua errors reportingVsevolod Stakhov2016-02-241-99/+139
|
* Fix has_symbol methodVsevolod Stakhov2016-02-231-0/+2
|
* Try to workaround for double free in redisVsevolod Stakhov2016-02-231-0/+7
|
* Oops, fix task:get_userVsevolod Stakhov2016-02-221-3/+7
|
* Add more strict checks of arguments to lua_taskVsevolod Stakhov2016-02-221-39/+119
|
* More doc fixesVsevolod Stakhov2016-02-221-16/+16
|
* Fix doc commentsVsevolod Stakhov2016-02-221-18/+9
|
* Add hash API for lua_cryptoboxVsevolod Stakhov2016-02-221-0/+186
|
* Add missing features for cryptobox lua apiVsevolod Stakhov2016-02-221-57/+136
|
* Continue work on cryptobox APIVsevolod Stakhov2016-02-201-3/+52
|
* Add preliminary lua API for libcryptoboxVsevolod Stakhov2016-02-192-1/+675
|
* Fix couple of issues found by gcc-6Vsevolod Stakhov2016-02-162-0/+14
|
* Add HTML tags interface for LUAVsevolod Stakhov2016-02-161-19/+152
|
* Refactor UCL APIVsevolod Stakhov2016-02-163-4/+4
|
* Fix logging for embedded mapsVsevolod Stakhov2016-02-151-5/+9
|
* Add aliases for task:get_from_ipVsevolod Stakhov2016-02-131-0/+3
| | | | | | - task:get_addr - task:get_from_addr - task:get_ip
* Add task:has_urls methodVsevolod Stakhov2016-02-101-1/+45
|
* Fix some issues found by coverityVsevolod Stakhov2016-02-099-53/+120
|
* Fix one shot mode for SA metasVsevolod Stakhov2016-02-081-1/+1
|