aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua
Commit message (Collapse)AuthorAgeFilesLines
...
* Allow adding maps without description from lua.Vsevolod Stakhov2014-08-231-3/+12
|
* Rework lua_http.Vsevolod Stakhov2014-08-211-597/+230
|
* Fix lua maps processing.Vsevolod Stakhov2014-08-201-1/+3
|
* Support slashed re in lua_regexp.Vsevolod Stakhov2014-08-191-5/+23
| | | | | | | It is now possible to add slashed regexp to lua_regexp library, for example: /^something.+$/i
* Consider settings actions.Vsevolod Stakhov2014-08-191-2/+2
|
* Remove unused variable.Vsevolod Stakhov2014-08-191-3/+2
|
* Refactor lua_ip one more time.Vsevolod Stakhov2014-08-181-17/+27
| | | | Suggested by: clock via irc
* Viva clang-3.4Vsevolod Stakhov2014-08-181-2/+1
|
* Refactor lua_ip slightlyVsevolod Stakhov2014-08-181-16/+43
|
* Add mask function and compare function to lua_ipVsevolod Stakhov2014-08-181-0/+60
|
* Unify lua API for getting rcptis and from.Vsevolod Stakhov2014-08-181-117/+62
|
* Really allow to specify multiplier in return value.Vsevolod Stakhov2014-08-171-2/+11
|
* Improve lua callbacks call.Vsevolod Stakhov2014-08-171-4/+33
| | | | | | | | | | | | | | | | | | | Now it is possible to return a value from lua callback and rspamd can automatically insert the symbol corresponding. For example: rspamd_config.TEST = function(task) ... return true -- inserts symbol TEST with the default value ... return true, 0.5 -- inserts symbol TEST with 0.5 multiplier ... return true, "opt1", "opt2" -- insert symbol with the options specified ... return true, 0.5, "opt1", "opt2" ... end
* Forgot to initialize lua_State.Vsevolod Stakhov2014-08-171-0/+1
|
* Rework adding symbols from lua.Vsevolod Stakhov2014-08-171-190/+270
| | | | | | | | | | | | | | | It is now possible to use something like: rspamd_config.SYMBOL = function(task) ... end or even rspamd_config.SYMBOL = { callback = function(task) ... end, weight = '1.0', --optional priority = '0', --optional type = 'callback' --optional }
* Rework lua function names to avoid ambiguity.Vsevolod Stakhov2014-08-1719-200/+200
|
* Set useful fields for addresses.Vsevolod Stakhov2014-08-161-4/+19
|
* Remove unused definition.Vsevolod Stakhov2014-08-161-6/+0
|
* Add method to get any configuration key in lua.Vsevolod Stakhov2014-08-161-0/+27
|
* 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-2319-1237/+1760
|
* Revert "Unify code style."Vsevolod Stakhov2014-07-2319-1791/+1268
| | | | This reverts commit e0483657ff6cf1adc828ccce457814d61fe90a0d.
* Unify code style.Vsevolod Stakhov2014-07-2319-1268/+1791
|
* Add `rspamd_config:add_map` lua function.Vsevolod Stakhov2014-07-221-0/+108
| | | | | | | | | | | | | This function is intended to create maps with lua callback that is called on map reading. For example: ``` local function cb(input) print(input) end rspamd_config:add_map('http://example.com/test.map', 'cool map`, cb) ```
* Open UCL lua bindings explicitly.Vsevolod Stakhov2014-07-221-0/+1
|
* Adopt for the new lua ucl API.Vsevolod Stakhov2014-07-213-3/+4
|
* Remove own ucl interface.Vsevolod Stakhov2014-07-213-258/+1
|
* Refactor config API.Vsevolod Stakhov2014-04-308-76/+76
|
* Fix pushing octets of lua_ip.Vsevolod Stakhov2014-04-251-3/+9
|
* Fix loading of lua_dns module.Vsevolod Stakhov2014-04-231-1/+0
|
* Refactor task functions.Vsevolod Stakhov2014-04-211-3/+3
|
* Finish conversion to new inet addr structure.Vsevolod Stakhov2014-04-211-2/+2
|
* Fix lua API for new inet addr structure.Vsevolod Stakhov2014-04-214-61/+39
|
* Refactor worker task structure and API.Vsevolod Stakhov2014-04-218-101/+101
|
* Refactor memory pool naming.Vsevolod Stakhov2014-04-209-100/+100
|
* Deprecate xml config utilities finally.Vsevolod Stakhov2014-04-191-1/+0
|
* Adopt new libucl.Vsevolod Stakhov2014-04-195-15/+16
|
* Upgrade rdns.Vsevolod Stakhov2014-04-033-24/+25
|
* Handle invalid IP addresses.Vsevolod Stakhov2014-03-292-18/+39
|
* Add utility to convert ip to int.Vsevolod Stakhov2014-03-291-0/+68
|
* Add common resolver function.Vsevolod Stakhov2014-03-283-14/+80
|
* Adopt DNS logging.Vsevolod Stakhov2014-02-201-1/+1
|
* Fix PTR requests handling.Vsevolod Stakhov2014-02-191-14/+13
|
* Integrate rspamd with librdns.Vsevolod Stakhov2014-02-193-16/+10
|
* Fix empty messages processing.Vsevolod Stakhov2014-02-181-1/+1
|
* Rework resolver library.Vsevolod Stakhov2014-01-273-66/+38
|
* 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
|