]> source.dussan.org Git - rspamd.git/log
rspamd.git
6 years ago[Minor] Whatever lies in .git, it should not be processed by luacheck 2525/head
Mikhail Galanin [Mon, 24 Sep 2018 16:20:44 +0000 (17:20 +0100)]
[Minor] Whatever lies in .git, it should not be processed by luacheck

6 years agoMerge pull request #2524 from negram/make-sockent-non-blocking-first
Vsevolod Stakhov [Mon, 24 Sep 2018 15:19:23 +0000 (16:19 +0100)]
Merge pull request #2524 from negram/make-sockent-non-blocking-first

[Minor] Make socket non-blocking before connect()

6 years ago[Minor] "blocking mode" indeed should be set later 2524/head
Mikhail Galanin [Mon, 24 Sep 2018 15:18:43 +0000 (16:18 +0100)]
[Minor] "blocking mode" indeed should be set later

6 years ago[Minor] Make socket non-blocking before connect()
Mikhail Galanin [Mon, 24 Sep 2018 14:27:57 +0000 (15:27 +0100)]
[Minor] Make socket non-blocking before connect()

    Otherwise, in the case of error, socket may become invalid
    and we will get an incorrect error, i.e. "setsockopt(TCP_NODELAY): Invalid argument"
    instead of "Connection refused"

6 years ago[Minor] Update to 1.8.1
Vsevolod Stakhov [Mon, 24 Sep 2018 14:05:42 +0000 (15:05 +0100)]
[Minor] Update to 1.8.1

6 years agoRelease 1.8.0 1.8.0
Vsevolod Stakhov [Mon, 24 Sep 2018 13:53:53 +0000 (14:53 +0100)]
Release 1.8.0

* [Feature] Add arguments schemas to processors and extractors
* [Feature] Add functional selectors library
* [Feature] Add generic selector to reputation module
* [Feature] Add more ratelimits: by digest, by attachments data, by filenames
* [Feature] Add preliminary stop words detection support
* [Feature] Add pure Lua debugm function
* [Feature] Add schema validation for Redis settings
* [Feature] Add selectors combine function
* [Feature] Add some recursion protection to lua logger
* [Feature] Add support for Lua API tracing
* [Feature] Allow to apply schema to arguments
* [Feature] Allow to get dkim signing data directly from HTTP headers
* [Feature] Allow to reuse existing authentication results
* [Feature] Cache selectors results in re runtime
* [Feature] Implement new text tokenizer based on libicu
* [Feature] Integrate selectors framework to multimap
* [Feature] Relax FORGED_RECIPIENTS
* [Feature] Support (almost) all html entities
* [Feature] Support adding and deletion of recipients in the milter block
* [Feature] Support gathering HTTP body from fragments in lua_http
* [Feature] Support multi flag in regexp and glob maps
* [Feature] Support selectors in ratelimit module
* [Feature] Support selectors in settings
* [Feature] Use khash in HTML parser
* [Feature] Use pure Lua debugm function
* [Fix] Add fail-safety for destroying sessions
* [Fix] Allow to add result-less fake DNS records
* [Fix] Another try to fix race conditions on config unload
* [Fix] Call Lua callback on DNS timeouts
* [Fix] Deprecate task:inc_dns_req as it is redundant
* [Fix] Do not allow events deletions on cleanup
* [Fix] Do not try to process skipped messages
* [Fix] Fix HTTP requests with no body
* [Fix] Fix another cleanup race condition
* [Fix] Fix bug in processing of pcre regexps
* [Fix] Fix byte array allocation in the pool
* [Fix] Fix crashes on task cleanup
* [Fix] Fix dynamic buckets in ratelimits
* [Fix] Fix endless loop when waiting for Rspamd to stop
* [Fix] Fix lua_util.str_split in case of delimiters set
* [Fix] Fix more issues with watching of async events
* [Fix] Fix stop words detection and loading logic
* [Fix] Fix various corner cases for language detection
* [Fix] Fix watchers in lua_tcp
* [Fix] Fix words decay algorithm
* [Fix] Implement watchers replacement to handle nested calls
* [Fix] Save faked code into fake dns record
* [Fix] Show the proper frame when using lua_util.debugm
* [Fix] Use fake dns records in tests
* [Fix] Use unicode replacements for HTML entities
* [Fix] fixed "cannot find dependency on symbol 1" issue when using replaced symbols in spamassassin rules
* [Fix] partition_id is not available in old versions of CH
* [Project] Add implicit conversion logic to selectors
* [Project] Add initial support for selectors in regexps
* [Project] Add method concept
* [Project] Further changes in unicode operations
* [Project] Implement Clickhouse migrations
* [Project] Implement implicit conversions to userdata
* [Project] Implement insert method
* [Project] Implement selectors registration for regular expressions
* [Project] Implement selectors support in re_cache
* [Project] Improve language detector: cleanup unused files, categorize
* [Project] Migrate CH data to a fat table
* [Project] Rework selectors logic
* [Project] Start Clickhouse utilities library
* [Project] Start unicode rework
* [Project] coroutine threaded model for API calls: thread pool
* [Rework] Move phishtank to a DNS based service
* [Rework] Rework Clickhouse plugin to use the new API
* [Rework] Rework language detector
* [Rework] Rework utf content processing in text parts
* [WebUI] Add progress bar for AJAX requests
* [WebUI] Avoid errors table reinitialization
* [WebUI] Avoid history table reinitialization
* [WebUI] Avoid throughput summary table reinitialization
* [WebUI] Destroy summary table on disconnect
* [WebUI] Fix "auth" request URL
* [WebUI] Fix disabling and hiding controls on page reload
* [WebUI] Fix maps loading from neighbours
* [WebUI] Fix symbols sorting by score
* [WebUI] Fix tables destroying
* [WebUI] Fix throughput data consolidation
* [WebUI] Fix upload buttons disabling
* [WebUI] Notify user on module loading failure
* [WebUI] Update FooTable 3.1.4 -> 3.1.6

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
6 years ago[Minor] Another try to load RSA key from base64
Vsevolod Stakhov [Mon, 24 Sep 2018 12:37:52 +0000 (13:37 +0100)]
[Minor] Another try to load RSA key from base64

6 years agoMerge pull request #2522 from negram/selector-test
Vsevolod Stakhov [Mon, 24 Sep 2018 12:24:42 +0000 (13:24 +0100)]
Merge pull request #2522 from negram/selector-test

[Test] Final cases for selectors - register_* and functional for regexps

6 years ago[Test] Actually the functional test 2522/head
Mikhail Galanin [Mon, 24 Sep 2018 12:24:27 +0000 (13:24 +0100)]
[Test] Actually the functional test

6 years ago[Test] Final cases for selectors - register_* and functional for regexps
Mikhail Galanin [Mon, 24 Sep 2018 12:23:17 +0000 (13:23 +0100)]
[Test] Final cases for selectors - register_* and functional for regexps

6 years ago[Minor] Fix load of the rsa key from base64
Vsevolod Stakhov [Mon, 24 Sep 2018 12:11:25 +0000 (13:11 +0100)]
[Minor] Fix load of the rsa key from base64

6 years ago[Minor] Fix rawkey loading in arc module
Vsevolod Stakhov [Mon, 24 Sep 2018 11:49:03 +0000 (12:49 +0100)]
[Minor] Fix rawkey loading in arc module

6 years ago[Feature] Allow to reuse existing authentication results
Vsevolod Stakhov [Mon, 24 Sep 2018 11:48:44 +0000 (12:48 +0100)]
[Feature] Allow to reuse existing authentication results

6 years ago[Minor] More changes to the arc signing logic
Vsevolod Stakhov [Mon, 24 Sep 2018 11:32:35 +0000 (12:32 +0100)]
[Minor] More changes to the arc signing logic

6 years ago[Minor] Further corrections of the headers position
Vsevolod Stakhov [Mon, 24 Sep 2018 10:38:28 +0000 (11:38 +0100)]
[Minor] Further corrections of the headers position

6 years ago[Minor] Same with DKIM-Signature, place it at 2-nd pos
Vsevolod Stakhov [Mon, 24 Sep 2018 10:33:53 +0000 (11:33 +0100)]
[Minor] Same with DKIM-Signature, place it at 2-nd pos

6 years ago[Minor] The first header should be Received indeed
Vsevolod Stakhov [Mon, 24 Sep 2018 10:33:11 +0000 (11:33 +0100)]
[Minor] The first header should be Received indeed

6 years ago[Minor] Fix order of header when adding ARC information
Vsevolod Stakhov [Mon, 24 Sep 2018 10:32:48 +0000 (11:32 +0100)]
[Minor] Fix order of header when adding ARC information

6 years ago[Minor] Fix options in dkim checks
Vsevolod Stakhov [Mon, 24 Sep 2018 10:32:35 +0000 (11:32 +0100)]
[Minor] Fix options in dkim checks

6 years agoMerge pull request #2521 from jpbede/custom-dmarc-from
Vsevolod Stakhov [Mon, 24 Sep 2018 07:04:42 +0000 (08:04 +0100)]
Merge pull request #2521 from jpbede/custom-dmarc-from

[dmarc report] custom from address name

6 years agomake dmarc report from address custom 2521/head
Jan-Philipp Benecke [Mon, 24 Sep 2018 06:38:36 +0000 (08:38 +0200)]
make dmarc report from address custom

6 years ago[Minor] Fix test cases
Vsevolod Stakhov [Sun, 23 Sep 2018 17:34:04 +0000 (18:34 +0100)]
[Minor] Fix test cases

6 years ago[Minor] Fix groups registration
Vsevolod Stakhov [Sun, 23 Sep 2018 16:58:42 +0000 (17:58 +0100)]
[Minor] Fix groups registration

6 years ago[Minor] Fix dkim signing from HTTP headers
Vsevolod Stakhov [Sun, 23 Sep 2018 16:24:19 +0000 (17:24 +0100)]
[Minor] Fix dkim signing from HTTP headers

6 years ago[Minor] Check selectors result for nil
Vsevolod Stakhov [Sun, 23 Sep 2018 14:42:36 +0000 (15:42 +0100)]
[Minor] Check selectors result for nil

6 years ago[Feature] Support selectors in settings
Vsevolod Stakhov [Sun, 23 Sep 2018 14:34:50 +0000 (15:34 +0100)]
[Feature] Support selectors in settings

6 years ago[Minor] Fix selectors usage in multimap
Vsevolod Stakhov [Sun, 23 Sep 2018 14:21:49 +0000 (15:21 +0100)]
[Minor] Fix selectors usage in multimap

6 years ago[Minor] Ops, reverse scoring logic
Vsevolod Stakhov [Sun, 23 Sep 2018 14:12:46 +0000 (15:12 +0100)]
[Minor] Ops, reverse scoring logic

6 years ago[Conf] Enable phishtank DNS lookups by default, fix module
Vsevolod Stakhov [Sun, 23 Sep 2018 13:58:47 +0000 (14:58 +0100)]
[Conf] Enable phishtank DNS lookups by default, fix module

6 years ago[Conf] Add maximum group score for phishing
Vsevolod Stakhov [Sun, 23 Sep 2018 13:57:46 +0000 (14:57 +0100)]
[Conf] Add maximum group score for phishing

6 years agoMerge pull request #2519 from moisseev/eslint
Vsevolod Stakhov [Sun, 23 Sep 2018 10:56:39 +0000 (11:56 +0100)]
Merge pull request #2519 from moisseev/eslint

[WebUI] Fix upload buttons disabling

6 years ago[WebUI] Fix upload buttons disabling 2519/head
Alexander Moisseev [Sat, 22 Sep 2018 17:23:50 +0000 (20:23 +0300)]
[WebUI] Fix upload buttons disabling

6 years ago[Minor] Correct width
Vsevolod Stakhov [Sat, 22 Sep 2018 12:42:52 +0000 (13:42 +0100)]
[Minor] Correct width

6 years ago[Minor] Try to fix logo
Vsevolod Stakhov [Sat, 22 Sep 2018 12:38:25 +0000 (13:38 +0100)]
[Minor] Try to fix logo

6 years ago[Minor] Add logo
Vsevolod Stakhov [Sat, 22 Sep 2018 12:28:00 +0000 (13:28 +0100)]
[Minor] Add logo

6 years ago[Minor] Fix links
Vsevolod Stakhov [Sat, 22 Sep 2018 12:22:32 +0000 (13:22 +0100)]
[Minor] Fix links

6 years ago[Minor] Reference rspamd.com repo
Vsevolod Stakhov [Sat, 22 Sep 2018 12:21:20 +0000 (13:21 +0100)]
[Minor] Reference rspamd.com repo

6 years ago[Minor] Add authors and contributors document
Vsevolod Stakhov [Sat, 22 Sep 2018 12:19:43 +0000 (13:19 +0100)]
[Minor] Add authors and contributors document

6 years ago[Minor] Proper license format
Vsevolod Stakhov [Sat, 22 Sep 2018 12:10:55 +0000 (13:10 +0100)]
[Minor] Proper license format

6 years ago[Minor] Reduce README size
Vsevolod Stakhov [Sat, 22 Sep 2018 11:43:40 +0000 (12:43 +0100)]
[Minor] Reduce README size

6 years agoRevert "[Test] Check selector before processing"
Vsevolod Stakhov [Sat, 22 Sep 2018 10:54:49 +0000 (11:54 +0100)]
Revert "[Test] Check selector before processing"

This reverts commit baceaa985ebbb23ae7d26a2050f50bfd9544b85c.

6 years ago[Test] Check selector before processing
Vsevolod Stakhov [Sat, 22 Sep 2018 10:49:57 +0000 (11:49 +0100)]
[Test] Check selector before processing

6 years ago[Minor] Fix optional arguments
Vsevolod Stakhov [Sat, 22 Sep 2018 10:48:23 +0000 (11:48 +0100)]
[Minor] Fix optional arguments

6 years ago[Feature] Add arguments schemas to processors and extractors
Vsevolod Stakhov [Sat, 22 Sep 2018 08:54:01 +0000 (09:54 +0100)]
[Feature] Add arguments schemas to processors and extractors

6 years ago[Minor] Apply transform
Vsevolod Stakhov [Sat, 22 Sep 2018 08:38:37 +0000 (09:38 +0100)]
[Minor] Apply transform

6 years ago[Feature] Allow to apply schema to arguments
Vsevolod Stakhov [Sat, 22 Sep 2018 08:37:11 +0000 (09:37 +0100)]
[Feature] Allow to apply schema to arguments

6 years ago[Minor] Improve tostring method for MAILTO urls
Vsevolod Stakhov [Sat, 22 Sep 2018 08:17:55 +0000 (09:17 +0100)]
[Minor] Improve tostring method for MAILTO urls

6 years ago[Minor] Remove broken processors
Vsevolod Stakhov [Sat, 22 Sep 2018 08:13:32 +0000 (09:13 +0100)]
[Minor] Remove broken processors

6 years ago[Test] Enable some ESLint rules
Alexander Moisseev [Sat, 22 Sep 2018 07:41:32 +0000 (10:41 +0300)]
[Test] Enable some ESLint rules

6 years agoMerge pull request #2518 from negram/more-test-cases
Vsevolod Stakhov [Fri, 21 Sep 2018 16:28:02 +0000 (17:28 +0100)]
Merge pull request #2518 from negram/more-test-cases

[Test] More test cases for selectors

6 years ago[Test] More test cases for selectors 2518/head
Mikhail Galanin [Fri, 21 Sep 2018 16:14:22 +0000 (17:14 +0100)]
[Test] More test cases for selectors

Also added negative cases (i.e. it doesn't work when it shouldn't) and combinations of selectors

6 years agoMerge pull request #2517 from negram/selector-user-defined-order
Vsevolod Stakhov [Fri, 21 Sep 2018 15:48:43 +0000 (16:48 +0100)]
Merge pull request #2517 from negram/selector-user-defined-order

[Minor] Order selector values how user placed them in the config

6 years ago[Minor] Unused variable 2517/head
Mikhail Galanin [Fri, 21 Sep 2018 15:38:01 +0000 (16:38 +0100)]
[Minor] Unused variable

6 years ago[Minor] tbl append -> rawset()
Mikhail Galanin [Fri, 21 Sep 2018 14:59:44 +0000 (15:59 +0100)]
[Minor] tbl append -> rawset()

6 years ago[Minor] Order selector valus how user placed them in the config
Mikhail Galanin [Fri, 21 Sep 2018 14:53:01 +0000 (15:53 +0100)]
[Minor] Order selector valus how user placed them in the config

6 years ago[Fix] Fix lua_util.str_split in case of delimiters set
Vsevolod Stakhov [Fri, 21 Sep 2018 14:48:20 +0000 (15:48 +0100)]
[Fix] Fix lua_util.str_split in case of delimiters set

6 years agoMerge pull request #2516 from andy-igoshin/master
Vsevolod Stakhov [Fri, 21 Sep 2018 12:29:21 +0000 (13:29 +0100)]
Merge pull request #2516 from andy-igoshin/master

support for non-TLD domains

6 years agoMerge pull request #2515 from negram/log-error-selector
Vsevolod Stakhov [Fri, 21 Sep 2018 12:28:51 +0000 (13:28 +0100)]
Merge pull request #2515 from negram/log-error-selector

[Minor] Add more info into error record

6 years ago[Minor] do not mix %1 and %s 2515/head
Mikhail Galanin [Fri, 21 Sep 2018 12:28:15 +0000 (13:28 +0100)]
[Minor] do not mix %1 and %s

6 years agoMerge pull request #2514 from negram/selector-error-check
Vsevolod Stakhov [Fri, 21 Sep 2018 12:25:53 +0000 (13:25 +0100)]
Merge pull request #2514 from negram/selector-error-check

Selector error check

6 years agosupport for non-TLD domains 2516/head
Andrey Igoshin [Fri, 21 Sep 2018 12:11:04 +0000 (15:11 +0300)]
support for non-TLD domains

6 years ago[Minor] Add more info into error record
Mikhail Galanin [Fri, 21 Sep 2018 11:30:00 +0000 (12:30 +0100)]
[Minor] Add more info into error record

6 years ago[Minor] Return nil if unknown processor was used 2514/head
Mikhail Galanin [Fri, 21 Sep 2018 11:24:41 +0000 (12:24 +0100)]
[Minor] Return nil if unknown processor was used

6 years ago[Minor] Return nil if a random string used as selector
Mikhail Galanin [Fri, 21 Sep 2018 11:24:05 +0000 (12:24 +0100)]
[Minor] Return nil if a random string used as selector

6 years agoMerge pull request #2512 from moisseev/eslint
Vsevolod Stakhov [Fri, 21 Sep 2018 09:48:33 +0000 (10:48 +0100)]
Merge pull request #2512 from moisseev/eslint

[WebUI] Fix throughput data consolidation

6 years agoMerge pull request #2513 from negram/unit-test-improvements
Vsevolod Stakhov [Fri, 21 Sep 2018 09:48:16 +0000 (10:48 +0100)]
Merge pull request #2513 from negram/unit-test-improvements

Unit test improvements

6 years ago[Test] Small fixes on diff renderer 2513/head
Mikhail Galanin [Fri, 21 Sep 2018 08:56:49 +0000 (09:56 +0100)]
[Test] Small fixes on diff renderer

6 years ago[Test] Use init_url() frim the new helper
Mikhail Galanin [Fri, 21 Sep 2018 08:56:11 +0000 (09:56 +0100)]
[Test] Use init_url() frim the new helper

6 years ago[Test] Added test helper module
Mikhail Galanin [Fri, 21 Sep 2018 08:54:51 +0000 (09:54 +0100)]
[Test] Added test helper module

6 years ago[Minor] Use .forEach instead of .map 2512/head
Alexander Moisseev [Fri, 21 Sep 2018 06:22:50 +0000 (09:22 +0300)]
[Minor] Use .forEach instead of .map

as we only need to iterate

6 years ago[WebUI] Fix throughput data consolidation
Alexander Moisseev [Fri, 21 Sep 2018 06:11:54 +0000 (09:11 +0300)]
[WebUI] Fix throughput data consolidation

6 years agoMerge pull request #2510 from negram/more-test
Vsevolod Stakhov [Thu, 20 Sep 2018 16:14:40 +0000 (17:14 +0100)]
Merge pull request #2510 from negram/more-test

[Test] more tests

6 years agoMerge pull request #2511 from negram/table-diff
Vsevolod Stakhov [Thu, 20 Sep 2018 16:14:24 +0000 (17:14 +0100)]
Merge pull request #2511 from negram/table-diff

[Test] Nicely print table difference when they do not match

6 years ago[Test] Nicely print table difference when they do not match 2511/head
Mikhail Galanin [Thu, 20 Sep 2018 15:36:35 +0000 (16:36 +0100)]
[Test] Nicely print table difference when they do not match

6 years ago[Test] more tests 2510/head
Mikhail Galanin [Thu, 20 Sep 2018 15:02:17 +0000 (16:02 +0100)]
[Test] more tests

6 years ago[Minor] Map type
Vsevolod Stakhov [Thu, 20 Sep 2018 13:32:23 +0000 (14:32 +0100)]
[Minor] Map type

6 years ago[Minor] Sigh, disable redis schema usage for now
Vsevolod Stakhov [Thu, 20 Sep 2018 13:11:45 +0000 (14:11 +0100)]
[Minor] Sigh, disable redis schema usage for now

6 years agoMerge pull request #2509 from negram/fix-set_header
Vsevolod Stakhov [Thu, 20 Sep 2018 12:43:05 +0000 (13:43 +0100)]
Merge pull request #2509 from negram/fix-set_header

[Minor] Fixed task:set_request_header(), value is 3rd parameter

6 years ago[Minor] Fix more issues with reputation and redis schema
Vsevolod Stakhov [Thu, 20 Sep 2018 12:34:46 +0000 (13:34 +0100)]
[Minor] Fix more issues with reputation and redis schema

6 years ago[Minor] Rework reputation config structure and validation
Vsevolod Stakhov [Thu, 20 Sep 2018 12:09:46 +0000 (13:09 +0100)]
[Minor] Rework reputation config structure and validation

6 years ago[Feature] Add schema validation for Redis settings
Vsevolod Stakhov [Thu, 20 Sep 2018 12:08:31 +0000 (13:08 +0100)]
[Feature] Add schema validation for Redis settings

6 years ago[Minor] Fixed task:set_request_header(), value is 3rd parameter 2509/head
Mikhail Galanin [Thu, 20 Sep 2018 12:42:07 +0000 (13:42 +0100)]
[Minor] Fixed task:set_request_header(), value is 3rd parameter

6 years agoMerge pull request #2508 from negram/test-case-via-param
Vsevolod Stakhov [Thu, 20 Sep 2018 10:33:46 +0000 (11:33 +0100)]
Merge pull request #2508 from negram/test-case-via-param

Test case via param

6 years ago[Test] Enable one more now-working test-case 2508/head
Mikhail Galanin [Thu, 20 Sep 2018 10:31:39 +0000 (11:31 +0100)]
[Test] Enable one more now-working test-case

6 years ago[Test] We don't this chek inside the test anymore. We have command-line param instead
Mikhail Galanin [Thu, 20 Sep 2018 10:30:47 +0000 (11:30 +0100)]
[Test] We don't this chek inside the test anymore. We have command-line param instead

6 years ago[Test] Pass test-case patten into test engine
Mikhail Galanin [Thu, 20 Sep 2018 10:26:36 +0000 (11:26 +0100)]
[Test] Pass test-case patten into test engine

So that now we can set which test cases should be runned:

$ ./test/rspamd-test -p /rspamd/lua -t selectors.lua -c "case .* rcpts"
$ ./test/rspamd-test -p /rspamd/lua -c "case 1st rcpts"

-c accepts Lua-pattern

6 years ago[Minor] Fix implicit conversion
Vsevolod Stakhov [Thu, 20 Sep 2018 09:51:33 +0000 (10:51 +0100)]
[Minor] Fix implicit conversion

6 years agoMerge pull request #2507 from negram/uncomment-working-cases
Vsevolod Stakhov [Thu, 20 Sep 2018 08:48:51 +0000 (09:48 +0100)]
Merge pull request #2507 from negram/uncomment-working-cases

[Test] Uncommented cases which are now working

6 years agoMerge pull request #2506 from negram/selectors-fix
Vsevolod Stakhov [Thu, 20 Sep 2018 08:48:29 +0000 (09:48 +0100)]
Merge pull request #2506 from negram/selectors-fix

Selectors fix

6 years ago[Test] Uncommented cases which are now working 2507/head
Mikhail Galanin [Thu, 20 Sep 2018 08:44:44 +0000 (09:44 +0100)]
[Test] Uncommented cases which are now working

6 years ago[Minor] logical error, get_variable() accepts either one or two arguments 2506/head
Mikhail Galanin [Thu, 20 Sep 2018 08:41:36 +0000 (09:41 +0100)]
[Minor] logical error, get_variable() accepts either one or two arguments

When second argument is nil it still considered as two arguments call, however 2nd one is expected to be string.

6 years ago[Minor] misprint
Mikhail Galanin [Thu, 20 Sep 2018 08:39:07 +0000 (09:39 +0100)]
[Minor] misprint

6 years ago[Minor] Use consistent return behavior
Alexander Moisseev [Wed, 19 Sep 2018 17:17:04 +0000 (20:17 +0300)]
[Minor] Use consistent return behavior

6 years agoMerge pull request #2502 from negram/selectors-test
Vsevolod Stakhov [Wed, 19 Sep 2018 17:04:53 +0000 (18:04 +0100)]
Merge pull request #2502 from negram/selectors-test

[Test] Few "basic" test cases for selectors

6 years agoMerge pull request #2503 from negram/test-update
Vsevolod Stakhov [Wed, 19 Sep 2018 17:04:38 +0000 (18:04 +0100)]
Merge pull request #2503 from negram/test-update

[Test] Rewrote test using new assertion

6 years agoMerge pull request #2504 from negram/run-specific-lua-suite
Vsevolod Stakhov [Wed, 19 Sep 2018 17:04:25 +0000 (18:04 +0100)]
Merge pull request #2504 from negram/run-specific-lua-suite

[Test] Added key to run specific lua-test

6 years ago[Minor] Some more selectors fixes
Vsevolod Stakhov [Wed, 19 Sep 2018 17:03:47 +0000 (18:03 +0100)]
[Minor] Some more selectors fixes

6 years ago[Minor] Guard for-in
Alexander Moisseev [Wed, 19 Sep 2018 15:29:21 +0000 (18:29 +0300)]
[Minor] Guard for-in

6 years ago[Test] Added key to run specifig lua-test 2504/head
Mikhail Galanin [Wed, 19 Sep 2018 14:42:38 +0000 (15:42 +0100)]
[Test] Added key to run specifig lua-test

example:
$ ./test/rspamd-test -p /rspamd/lua -t selectors.lua

no way to run two test suites atm

6 years ago[Test] Rewrote test using new assertion 2503/head
Mikhail Galanin [Wed, 19 Sep 2018 14:38:52 +0000 (15:38 +0100)]
[Test] Rewrote test using new assertion