]> source.dussan.org Git - rspamd.git/log
rspamd.git
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 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[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

6 years agoMerge branch 'master' into selectors-test 2502/head
Mikhail Galanin [Wed, 19 Sep 2018 14:06:43 +0000 (15:06 +0100)]
Merge branch 'master' into selectors-test

6 years ago[Test] Few "basic" test cases for selectors
Mikhail Galanin [Wed, 19 Sep 2018 13:57:40 +0000 (14:57 +0100)]
[Test] Few "basic" test cases for selectors

6 years ago[Minor] Deepcopy is not good for recursive schemas
Vsevolod Stakhov [Wed, 19 Sep 2018 13:56:34 +0000 (14:56 +0100)]
[Minor] Deepcopy is not good for recursive schemas

6 years agoMerge pull request #2501 from negram/new-assertions
Vsevolod Stakhov [Wed, 19 Sep 2018 13:54:38 +0000 (14:54 +0100)]
Merge pull request #2501 from negram/new-assertions

[Test] Assertions for table comparison that are nicer to use

6 years ago[Test] Assertions for table comparsion that are nicer to use 2501/head
Mikhail Galanin [Wed, 19 Sep 2018 13:51:01 +0000 (14:51 +0100)]
[Test] Assertions for table comparsion that are nicer to use

6 years ago[Minor] Fix selectors iterators operations
Vsevolod Stakhov [Wed, 19 Sep 2018 13:33:34 +0000 (14:33 +0100)]
[Minor] Fix selectors iterators operations

6 years ago[Feature] Add generic selector to reputation module
Vsevolod Stakhov [Wed, 19 Sep 2018 12:42:06 +0000 (13:42 +0100)]
[Feature] Add generic selector to reputation module

6 years ago[Minor] Remove outdated lgpl code, deprecated long ago
Vsevolod Stakhov [Wed, 19 Sep 2018 10:54:30 +0000 (11:54 +0100)]
[Minor] Remove outdated lgpl code, deprecated long ago

6 years ago[Minor] Add tableshape library from https://github.com/leafo/tableshape
Vsevolod Stakhov [Wed, 19 Sep 2018 10:51:58 +0000 (11:51 +0100)]
[Minor] Add tableshape library from https://github.com/leafo/tableshape

6 years ago[Feature] Add some recursion protection to lua logger
Vsevolod Stakhov [Wed, 19 Sep 2018 10:45:53 +0000 (11:45 +0100)]
[Feature] Add some recursion protection to lua logger

6 years agoMerge pull request #2500 from negram/init-urlparser-test
Vsevolod Stakhov [Wed, 19 Sep 2018 10:46:33 +0000 (11:46 +0100)]
Merge pull request #2500 from negram/init-urlparser-test

[Test] Init URL parser before running unit tests

6 years ago[Test] Init URL parser before running unit tests 2500/head
Mikhail Galanin [Wed, 19 Sep 2018 09:11:52 +0000 (10:11 +0100)]
[Test] Init URL parser before running unit tests

6 years agoMerge pull request #2497 from negram/doc-misprint-fix
Vsevolod Stakhov [Tue, 18 Sep 2018 16:46:35 +0000 (17:46 +0100)]
Merge pull request #2497 from negram/doc-misprint-fix

[Minor] Misprint in function doc

6 years ago[Minor] Misprint in function doc 2497/head
Mikhail Galanin [Tue, 18 Sep 2018 16:41:09 +0000 (17:41 +0100)]
[Minor] Misprint in function doc

6 years ago[Conf] Slashing change: add settings configuration to the vanilla set
Vsevolod Stakhov [Tue, 18 Sep 2018 16:01:32 +0000 (17:01 +0100)]
[Conf] Slashing change: add settings configuration to the vanilla set

6 years ago[Fix] Show the proper frame when using lua_util.debugm
Vsevolod Stakhov [Tue, 18 Sep 2018 15:50:20 +0000 (16:50 +0100)]
[Fix] Show the proper frame when using lua_util.debugm

6 years ago[Minor] Allow stack pos in logger.logx as well
Vsevolod Stakhov [Tue, 18 Sep 2018 15:47:18 +0000 (16:47 +0100)]
[Minor] Allow stack pos in logger.logx as well

6 years ago[Minor] Accept stack pos when showing debug in logger.debugm
Vsevolod Stakhov [Tue, 18 Sep 2018 15:45:39 +0000 (16:45 +0100)]
[Minor] Accept stack pos when showing debug in logger.debugm

6 years ago[Minor] Improve `hash` processor
Vsevolod Stakhov [Tue, 18 Sep 2018 15:28:48 +0000 (16:28 +0100)]
[Minor] Improve `hash` processor

6 years ago[Minor] Simplify methods invocation
Vsevolod Stakhov [Tue, 18 Sep 2018 15:26:30 +0000 (16:26 +0100)]
[Minor] Simplify methods invocation

6 years ago[Project] Implement implicit conversions to userdata
Vsevolod Stakhov [Tue, 18 Sep 2018 14:38:09 +0000 (15:38 +0100)]
[Project] Implement implicit conversions to userdata

6 years ago[Project] Add method concept
Vsevolod Stakhov [Tue, 18 Sep 2018 13:39:08 +0000 (14:39 +0100)]
[Project] Add method concept

6 years agoMerge pull request #2495 from negram/sa_body-regex
Vsevolod Stakhov [Tue, 18 Sep 2018 13:26:30 +0000 (14:26 +0100)]
Merge pull request #2495 from negram/sa_body-regex

[Test] Input data for the last test case

6 years ago[Test] Input data for the last test case 2495/head
Mikhail Galanin [Tue, 18 Sep 2018 10:22:52 +0000 (11:22 +0100)]
[Test] Input data for the last test case

6 years agoMerge pull request #2493 from negram/sa_body-regex
Vsevolod Stakhov [Tue, 18 Sep 2018 10:16:02 +0000 (11:16 +0100)]
Merge pull request #2493 from negram/sa_body-regex

Sa body regex

6 years ago[Test] Added test for case "hello.\nagain" 2493/head
Mikhail Galanin [Tue, 18 Sep 2018 10:12:28 +0000 (11:12 +0100)]
[Test] Added test for case "hello.\nagain"

6 years agoMerge pull request #2492 from negram/sa_body-regex
Vsevolod Stakhov [Tue, 18 Sep 2018 10:11:35 +0000 (11:11 +0100)]
Merge pull request #2492 from negram/sa_body-regex

Sa body regex

6 years ago[Test] Forgotten config
Mikhail Galanin [Tue, 18 Sep 2018 10:05:33 +0000 (11:05 +0100)]
[Test] Forgotten config

6 years agoMerge pull request #2491 from negram/fix-use-after-free
Vsevolod Stakhov [Tue, 18 Sep 2018 09:51:20 +0000 (10:51 +0100)]
Merge pull request #2491 from negram/fix-use-after-free

[Minor] Fixed error reported by ASAN: do not try using already pop-ed…

6 years ago[Test] Test for regexps in {sa_body} and urls with newlines 2492/head
Mikhail Galanin [Tue, 18 Sep 2018 09:41:21 +0000 (10:41 +0100)]
[Test] Test for regexps in {sa_body} and urls with newlines

6 years ago[Minor] Insert spaces only if text part is not suspected to be a link
Mikhail Galanin [Tue, 18 Sep 2018 09:34:37 +0000 (10:34 +0100)]
[Minor] Insert spaces only if text part is not suspected to be a link

sa_body requires newlines to be replaces with spaces.
However, some email clients highlight URL in triangular braces (<>) even if it's
broken by a newline. Let's just remove \n if current text part potentially
can be such URL.

6 years ago[Minor] Fixed error reported by ASAN: do not try usins already pop-ed watcher 2491/head
Mikhail Galanin [Tue, 18 Sep 2018 09:20:28 +0000 (10:20 +0100)]
[Minor] Fixed error reported by ASAN: do not try usins already pop-ed watcher

The watcher is pop-ed once session is over but reference to the structure remains in Lua and then being removed from lua dtor.
In this case we try to pop it second time. Bad.

6 years agoMerge pull request #2489 from moisseev/eslint
Vsevolod Stakhov [Mon, 17 Sep 2018 15:12:15 +0000 (16:12 +0100)]
Merge pull request #2489 from moisseev/eslint

[Minor] Remove extra parentheses

6 years agoMerge pull request #2488 from moisseev/fr
Vsevolod Stakhov [Mon, 17 Sep 2018 15:12:03 +0000 (16:12 +0100)]
Merge pull request #2488 from moisseev/fr

[Feature] Relax FORGED_RECIPIENTS

6 years ago[Minor] Rework allowed types logic
Vsevolod Stakhov [Mon, 17 Sep 2018 15:10:15 +0000 (16:10 +0100)]
[Minor] Rework allowed types logic

6 years ago[Minor] Change function name to a more appropriate one
Vsevolod Stakhov [Mon, 17 Sep 2018 14:48:16 +0000 (15:48 +0100)]
[Minor] Change function name to a more appropriate one

6 years ago[Minor] Allow spaces and stars as separators in selectors
Vsevolod Stakhov [Mon, 17 Sep 2018 14:36:41 +0000 (15:36 +0100)]
[Minor] Allow spaces and stars as separators in selectors

6 years ago[Minor] Fix some minor issues
Vsevolod Stakhov [Mon, 17 Sep 2018 13:09:56 +0000 (14:09 +0100)]
[Minor] Fix some minor issues

6 years ago[Project] Add implicit conversion logic to selectors
Vsevolod Stakhov [Mon, 17 Sep 2018 12:55:22 +0000 (13:55 +0100)]
[Project] Add implicit conversion logic to selectors

6 years ago[Project] Rework selectors logic
Vsevolod Stakhov [Mon, 17 Sep 2018 12:27:38 +0000 (13:27 +0100)]
[Project] Rework selectors logic

6 years ago[Minor] Fixes to regexp selectors
Vsevolod Stakhov [Mon, 17 Sep 2018 10:51:10 +0000 (11:51 +0100)]
[Minor] Fixes to regexp selectors

6 years ago[Minor] Remove extra parentheses 2489/head
Alexander Moisseev [Mon, 17 Sep 2018 10:45:18 +0000 (13:45 +0300)]
[Minor] Remove extra parentheses

6 years ago[Minor] Allow to set custom delimiter for regexp selectors
Vsevolod Stakhov [Mon, 17 Sep 2018 10:22:29 +0000 (11:22 +0100)]
[Minor] Allow to set custom delimiter for regexp selectors

6 years ago[Feature] Cache selectors results in re runtime
Vsevolod Stakhov [Mon, 17 Sep 2018 09:47:12 +0000 (10:47 +0100)]
[Feature] Cache selectors results in re runtime

6 years agoMerge pull request #2487 from moisseev/eslint
Vsevolod Stakhov [Sun, 16 Sep 2018 16:32:33 +0000 (17:32 +0100)]
Merge pull request #2487 from moisseev/eslint

[Minor] JS code style changes

6 years ago[Minor] Enforce consistent key-value spacing 2487/head
Alexander Moisseev [Sun, 16 Sep 2018 16:31:14 +0000 (19:31 +0300)]
[Minor] Enforce consistent  key-value spacing

6 years ago[Feature] Relax FORGED_RECIPIENTS 2488/head
Alexander Moisseev [Sun, 16 Sep 2018 13:58:34 +0000 (16:58 +0300)]
[Feature] Relax FORGED_RECIPIENTS

allow alias expansion and forwarding (Postfix)

6 years ago[Minor] Fix selectors invocation
Vsevolod Stakhov [Sun, 16 Sep 2018 10:45:04 +0000 (11:45 +0100)]
[Minor] Fix selectors invocation

6 years ago[Minor] Add implicit header type for regexps
Vsevolod Stakhov [Sun, 16 Sep 2018 09:00:55 +0000 (10:00 +0100)]
[Minor] Add implicit header type for regexps

6 years ago[Minor] Add more methods to lua selectors
Vsevolod Stakhov [Sun, 16 Sep 2018 08:56:42 +0000 (09:56 +0100)]
[Minor] Add more methods to lua selectors

6 years agoMerge pull request #2486 from heraklit256/rbl-blocklist
Vsevolod Stakhov [Sat, 15 Sep 2018 18:51:21 +0000 (19:51 +0100)]
Merge pull request #2486 from heraklit256/rbl-blocklist

make sure blocklist.de-rule for Received IPs only triggers once

6 years ago[Minor] Enforce return after callback
Alexander Moisseev [Sat, 15 Sep 2018 16:32:20 +0000 (19:32 +0300)]
[Minor] Enforce return after callback

6 years ago[Minor] Drop Crockford's `switch` indentation
Alexander Moisseev [Sat, 15 Sep 2018 15:32:40 +0000 (18:32 +0300)]
[Minor] Drop Crockford's `switch` indentation

6 years ago[Minor] Initialize variables at declaration
Alexander Moisseev [Sat, 15 Sep 2018 15:09:47 +0000 (18:09 +0300)]
[Minor] Initialize variables at declaration

6 years ago[Minor] Fix invocation
Vsevolod Stakhov [Sat, 15 Sep 2018 14:30:50 +0000 (15:30 +0100)]
[Minor] Fix invocation

6 years ago[Minor] Require capitalized constructor names
Alexander Moisseev [Sat, 15 Sep 2018 14:29:43 +0000 (17:29 +0300)]
[Minor] Require capitalized constructor names

6 years ago[Project] Implement selectors support in re_cache
Vsevolod Stakhov [Sat, 15 Sep 2018 13:58:21 +0000 (14:58 +0100)]
[Project] Implement selectors support in re_cache

6 years ago[Project] Implement selectors registration for regular expressions
Vsevolod Stakhov [Sat, 15 Sep 2018 13:35:33 +0000 (14:35 +0100)]
[Project] Implement selectors registration for regular expressions

6 years ago[Minor] Add method create_selector_closure
Vsevolod Stakhov [Sat, 15 Sep 2018 12:15:48 +0000 (13:15 +0100)]
[Minor] Add method create_selector_closure

6 years ago[Project] Add initial support for selectors in regexps
Vsevolod Stakhov [Sat, 15 Sep 2018 11:38:45 +0000 (12:38 +0100)]
[Project] Add initial support for selectors in regexps

6 years ago[Minor] Rework multimap regexp rules registration
Vsevolod Stakhov [Fri, 14 Sep 2018 16:48:18 +0000 (17:48 +0100)]
[Minor] Rework multimap regexp rules registration

6 years ago[Minor] Fix glob flag set
Vsevolod Stakhov [Fri, 14 Sep 2018 16:48:05 +0000 (17:48 +0100)]
[Minor] Fix glob flag set

6 years ago[Minor] Fix strlcpy_safe return value
Vsevolod Stakhov [Fri, 14 Sep 2018 16:27:36 +0000 (17:27 +0100)]
[Minor] Fix strlcpy_safe return value

6 years ago[Feature] Support multi flag in regexp and glob maps
Vsevolod Stakhov [Fri, 14 Sep 2018 16:10:18 +0000 (17:10 +0100)]
[Feature] Support multi flag in regexp and glob maps

6 years ago[Minor] Add glob_multi map type
Vsevolod Stakhov [Fri, 14 Sep 2018 15:55:36 +0000 (16:55 +0100)]
[Minor] Add glob_multi map type

6 years agomake sure blocklist.de-rule for Received IPs only triggers once 2486/head
heraklit256 [Fri, 14 Sep 2018 14:37:56 +0000 (16:37 +0200)]
make sure blocklist.de-rule for Received IPs only triggers once

6 years ago[Fix] Deprecate task:inc_dns_req as it is redundant
Vsevolod Stakhov [Fri, 14 Sep 2018 13:35:54 +0000 (14:35 +0100)]
[Fix] Deprecate task:inc_dns_req as it is redundant

6 years ago[Minor] More places where utext_close is required
Vsevolod Stakhov [Fri, 14 Sep 2018 10:04:54 +0000 (11:04 +0100)]
[Minor] More places where utext_close is required

6 years ago[Minor] Add take_n/drop_n processing functions
Vsevolod Stakhov [Thu, 13 Sep 2018 14:26:42 +0000 (15:26 +0100)]
[Minor] Add take_n/drop_n processing functions

6 years ago[Minor] Add generic list type for processors in selectors
Vsevolod Stakhov [Thu, 13 Sep 2018 14:16:08 +0000 (15:16 +0100)]
[Minor] Add generic list type for processors in selectors

6 years ago[Minor] Another out-of-boundary access fix
Vsevolod Stakhov [Thu, 13 Sep 2018 13:06:40 +0000 (14:06 +0100)]
[Minor] Another out-of-boundary access fix

6 years ago[Minor] Fix format string
Vsevolod Stakhov [Thu, 13 Sep 2018 12:56:07 +0000 (13:56 +0100)]
[Minor] Fix format string

6 years ago[Fix] Fix bug in processing of pcre regexps
Vsevolod Stakhov [Thu, 13 Sep 2018 12:35:37 +0000 (13:35 +0100)]
[Fix] Fix bug in processing of pcre regexps

6 years ago[Minor] Another fix to lua_tcp watchers
Vsevolod Stakhov [Thu, 13 Sep 2018 12:28:58 +0000 (13:28 +0100)]
[Minor] Another fix to lua_tcp watchers

6 years ago[Minor] Reduce severity of warnings
Vsevolod Stakhov [Thu, 13 Sep 2018 11:57:01 +0000 (12:57 +0100)]
[Minor] Reduce severity of warnings

6 years ago[Fix] Fix watchers in lua_tcp
Vsevolod Stakhov [Thu, 13 Sep 2018 11:45:50 +0000 (12:45 +0100)]
[Fix] Fix watchers in lua_tcp

6 years ago[Minor] Add support for address sanitizer
Vsevolod Stakhov [Thu, 13 Sep 2018 11:43:49 +0000 (12:43 +0100)]
[Minor] Add support for address sanitizer

6 years ago[Fix] Implement watchers replacement to handle nested calls
Vsevolod Stakhov [Thu, 13 Sep 2018 09:15:47 +0000 (10:15 +0100)]
[Fix] Implement watchers replacement to handle nested calls

6 years ago[Fix] Fix more issues with watching of async events
Vsevolod Stakhov [Wed, 12 Sep 2018 16:29:15 +0000 (17:29 +0100)]
[Fix] Fix more issues with watching of async events

6 years ago[Minor] Another try to fix brain damaged Circle CI
Vsevolod Stakhov [Wed, 12 Sep 2018 15:43:04 +0000 (16:43 +0100)]
[Minor] Another try to fix brain damaged Circle CI

6 years ago[Minor] Try to fix CI
Vsevolod Stakhov [Wed, 12 Sep 2018 13:54:10 +0000 (14:54 +0100)]
[Minor] Try to fix CI

6 years ago[Minor] Enable libunwind in circleci
Vsevolod Stakhov [Wed, 12 Sep 2018 13:39:20 +0000 (14:39 +0100)]
[Minor] Enable libunwind in circleci

6 years ago[Fix] Fix another cleanup race condition
Vsevolod Stakhov [Wed, 12 Sep 2018 13:23:15 +0000 (14:23 +0100)]
[Fix] Fix another cleanup race condition

6 years ago[Fix] Do not allow events deletions on cleanup
Vsevolod Stakhov [Wed, 12 Sep 2018 12:01:03 +0000 (13:01 +0100)]
[Fix] Do not allow events deletions on cleanup

6 years ago[Minor] Fix minor leak in fuzzy storage on exit
Vsevolod Stakhov [Wed, 12 Sep 2018 11:56:39 +0000 (12:56 +0100)]
[Minor] Fix minor leak in fuzzy storage on exit

6 years agoMerge pull request #2471 from heraklit256/rbl-blocklist
Vsevolod Stakhov [Wed, 12 Sep 2018 11:00:50 +0000 (12:00 +0100)]
Merge pull request #2471 from heraklit256/rbl-blocklist

Add blocklist.de RBL

6 years agoMerge pull request #2485 from negram/dns-api-test
Vsevolod Stakhov [Wed, 12 Sep 2018 11:00:34 +0000 (12:00 +0100)]
Merge pull request #2485 from negram/dns-api-test

[Test] Added test for DNS api

6 years agoMerge pull request #2484 from negram/test-new-redis-api
Vsevolod Stakhov [Wed, 12 Sep 2018 10:38:21 +0000 (11:38 +0100)]
Merge pull request #2484 from negram/test-new-redis-api

[Test] Added test for new version of Redis API

6 years agoMerge pull request #2483 from moisseev/eslint
Vsevolod Stakhov [Wed, 12 Sep 2018 10:38:13 +0000 (11:38 +0100)]
Merge pull request #2483 from moisseev/eslint

[WebUI] Notify user on module loading failure

6 years ago[Minor] Removed extra whitespace 2485/head
Mikhail Galanin [Wed, 12 Sep 2018 08:23:55 +0000 (09:23 +0100)]
[Minor] Removed extra whitespace

6 years ago[Minor] Removed unused variable 2484/head
Mikhail Galanin [Wed, 12 Sep 2018 08:22:18 +0000 (09:22 +0100)]
[Minor] Removed unused variable

6 years ago[Test] Added test for DNS api
Mikhail Galanin [Wed, 12 Sep 2018 08:01:31 +0000 (09:01 +0100)]
[Test] Added test for DNS api

6 years ago[Test] Added test for new version of Redis API
Mikhail Galanin [Wed, 12 Sep 2018 07:57:23 +0000 (08:57 +0100)]
[Test] Added test for new version of Redis API