]>
source.dussan.org Git - rspamd.git/log
Anton Yuzhaninov [Sat, 13 Oct 2018 10:16:34 +0000 (06:16 -0400)]
Drone speedup (#2588)
* Start switchind test to custom Docker images
Using Docker images with pre-installed delendencies will speedup
testing.
* Debug build in drone.io
* Use variable instead hardcoded path to the source
* Debug variable substitution by drone
Also according to comments in code DRONE_WORKSPACE is deprecated and
CI_WORKSPACE is a new form.
* One more try to use variables.
It looks like drone uses same rules as docker-compose:
https://docs.docker.com/compose/compose-file/#variable-substitution
* Cleanup debug
* Less verbose make output
* Be consistent in variable escaping
It works without escaping only becuse ${VAR} currently expanded by
drone, but $VAR is not.
* Use alpine base image for nodejs
It is smaller.
* Return rspamd-test
* Revert variable escaping
Wihtout escaping it is more easy to copy-past command for testing.
Just don't use ${var} when var should be expanded by shell and not
drone.
* Add debug
* Fix yaml parsing error
* Fix exit code capture
It should be done on the same line, because drone insert 'echo + cmd'
between commands.
* Remove debug
* Readability
No functional changes.
* Return functional tests
* Be consistent
* Add git stub for coveralls
* Send coverage
* Fix yaml parsing error
* Add links to Dockerfiles
* Send test log in case of test failure
XXX if rspamd-test failed, but functional was successful robot log will be
attached (but not useful).
* Don't run rspamd-test and functional tests in parallel
It looks like there is a race condition in writing coverage files.
* Try to run tests in parallel
* Add debug
* Fix parallel test run
test/rspamd-test and functional test both use luacov.stats.out file
in current directory. Run ./rspamd-test from anther directory.
* Use drone condition for sending coveralls report
Also don't send report if empty tocken was provided.
* Add mininal python3 compatibility
Vsevolod Stakhov [Fri, 12 Oct 2018 16:57:08 +0000 (17:57 +0100)]
[Minor] Improve errors logging
Vsevolod Stakhov [Fri, 12 Oct 2018 16:43:49 +0000 (17:43 +0100)]
[Minor] Do not call legacy API in modern OpenSSL
Issue: #2587
Closes: #2587
Vsevolod Stakhov [Fri, 12 Oct 2018 16:40:34 +0000 (17:40 +0100)]
Merge pull request #2586 from moisseev/eslint
[WebUI] Add symbols sorting buttons
Vsevolod Stakhov [Fri, 12 Oct 2018 16:33:20 +0000 (17:33 +0100)]
[Test] Fix tests that are not RFC conformant
Vsevolod Stakhov [Fri, 12 Oct 2018 16:09:10 +0000 (17:09 +0100)]
[Minor] Fix some tests
Vsevolod Stakhov [Fri, 12 Oct 2018 15:44:21 +0000 (16:44 +0100)]
[Rework] Completely rewrite DMARC checks logic
Vsevolod Stakhov [Fri, 12 Oct 2018 15:44:01 +0000 (16:44 +0100)]
[Minor] Remove stupid debugging
Vsevolod Stakhov [Fri, 12 Oct 2018 08:48:58 +0000 (09:48 +0100)]
[CritFix] Fix options insertion
Alexander Moisseev [Mon, 8 Oct 2018 11:25:50 +0000 (14:25 +0300)]
[WebUI] Add symbols sorting buttons
to detail history rows
Vsevolod Stakhov [Thu, 11 Oct 2018 19:48:50 +0000 (20:48 +0100)]
[Minor] Add some fail-safety
Vsevolod Stakhov [Thu, 11 Oct 2018 17:41:18 +0000 (18:41 +0100)]
[Minor] Fix stack index
Vsevolod Stakhov [Thu, 11 Oct 2018 16:27:07 +0000 (17:27 +0100)]
[Conf] Log forced action by default
Vsevolod Stakhov [Thu, 11 Oct 2018 16:26:02 +0000 (17:26 +0100)]
[Minor] Add logging variable for forced actions
Vsevolod Stakhov [Thu, 11 Oct 2018 16:19:00 +0000 (17:19 +0100)]
[Minor] Fix score set in passthrough mode
Vsevolod Stakhov [Thu, 11 Oct 2018 14:35:07 +0000 (15:35 +0100)]
[Project] Finish rework of passthrough actions
Vsevolod Stakhov [Thu, 11 Oct 2018 13:32:11 +0000 (14:32 +0100)]
[Rework] Always create result for a task
Vsevolod Stakhov [Wed, 10 Oct 2018 10:26:19 +0000 (11:26 +0100)]
[Minor] Fix comments with multiple addresses
Issue: #2578
Closes: #2578
Vsevolod Stakhov [Tue, 9 Oct 2018 17:30:35 +0000 (18:30 +0100)]
[Feature] Allow to disable actions by users settings
Vsevolod Stakhov [Tue, 9 Oct 2018 16:19:04 +0000 (17:19 +0100)]
Merge pull request #2581 from negram/drone-ci
Drone ci
Mikhail Galanin [Tue, 9 Oct 2018 16:17:25 +0000 (17:17 +0100)]
[Minor] Adopted merger to work with drone
Mikhail Galanin [Tue, 9 Oct 2018 16:17:04 +0000 (17:17 +0100)]
[Minor] Add .drone.yml
Vsevolod Stakhov [Tue, 9 Oct 2018 13:58:44 +0000 (14:58 +0100)]
[Minor] Fixes for the previous project
Vsevolod Stakhov [Tue, 9 Oct 2018 11:37:30 +0000 (12:37 +0100)]
[Conf] Add composite to negate policies when fuzzy/bayes found
Vsevolod Stakhov [Tue, 9 Oct 2018 11:37:02 +0000 (12:37 +0100)]
[Feature] Allow `g+:` and `g-:` composite atoms
Vsevolod Stakhov [Tue, 9 Oct 2018 11:36:23 +0000 (12:36 +0100)]
[Minor] Add more operations sanity check in expressions parser
Vsevolod Stakhov [Tue, 9 Oct 2018 11:11:10 +0000 (12:11 +0100)]
[Conf] Increase default bayes score
Vsevolod Stakhov [Tue, 9 Oct 2018 11:07:28 +0000 (12:07 +0100)]
[Feature] Store url object in images
Vsevolod Stakhov [Tue, 9 Oct 2018 10:59:30 +0000 (11:59 +0100)]
[Conf] Add dkim checks for some surbl rules
Vsevolod Stakhov [Tue, 9 Oct 2018 10:59:17 +0000 (11:59 +0100)]
[Feature] Allow dkim domains check in surbl
Vsevolod Stakhov [Tue, 9 Oct 2018 10:24:11 +0000 (11:24 +0100)]
Merge pull request #2579 from negram/fixed-unit-test
[Test] fixed unit test
Mikhail Galanin [Tue, 9 Oct 2018 08:24:49 +0000 (09:24 +0100)]
[Test] fixed unit test
Vsevolod Stakhov [Mon, 8 Oct 2018 17:07:41 +0000 (18:07 +0100)]
Merge pull request #2577 from negram/fix-edge-case
Fix edge case
Vsevolod Stakhov [Mon, 8 Oct 2018 17:07:25 +0000 (18:07 +0100)]
Merge pull request #2576 from negram/more-coverage
[Test] Collect coverage in all functional tests
Vsevolod Stakhov [Mon, 8 Oct 2018 17:07:16 +0000 (18:07 +0100)]
Merge pull request #2575 from negram/coverage-doc
[Minor] Added coverage collection documentation
Mikhail Galanin [Mon, 8 Oct 2018 16:53:50 +0000 (17:53 +0100)]
[Test] one more test case
Mikhail Galanin [Mon, 8 Oct 2018 16:53:33 +0000 (17:53 +0100)]
[Minor] Fix checking table size when inserting/deleting
Vsevolod Stakhov [Mon, 8 Oct 2018 16:34:24 +0000 (17:34 +0100)]
[Minor] Add missing #endif
Vsevolod Stakhov [Mon, 8 Oct 2018 16:29:51 +0000 (17:29 +0100)]
[Minor] Update cached libevent time when possible
Vsevolod Stakhov [Mon, 8 Oct 2018 16:15:19 +0000 (17:15 +0100)]
[Fix] Stop libevent from using cached time in rspamadm
Vsevolod Stakhov [Mon, 8 Oct 2018 16:08:38 +0000 (17:08 +0100)]
[Minor] Check for cached libevent time routines
Mikhail Galanin [Mon, 8 Oct 2018 15:28:55 +0000 (16:28 +0100)]
[Test] Collect coverage in all functional tests
Vsevolod Stakhov [Mon, 8 Oct 2018 15:22:43 +0000 (16:22 +0100)]
Merge pull request #2543 from heraklit256/extended-dnswl-scores
leaving original symbols if DNSWL composite rules are triggered
heraklit256 [Mon, 8 Oct 2018 15:03:03 +0000 (17:03 +0200)]
lower weight of RCVD_DKIM_ARC_DNSWL_HI to -1.0
Mikhail Galanin [Mon, 8 Oct 2018 14:52:22 +0000 (15:52 +0100)]
[Minor] Added coverage collection documentation
Vsevolod Stakhov [Mon, 8 Oct 2018 11:21:31 +0000 (12:21 +0100)]
[Minor] Print timestamps when rspamadm is started in debug mode
Vsevolod Stakhov [Mon, 8 Oct 2018 10:51:09 +0000 (11:51 +0100)]
[Fix] Various fixes in redis sync interface
Vsevolod Stakhov [Mon, 8 Oct 2018 10:50:53 +0000 (11:50 +0100)]
[CritFix] Plug memory leak in redis pool
Vsevolod Stakhov [Mon, 8 Oct 2018 09:41:12 +0000 (10:41 +0100)]
Merge pull request #2574 from negram/store-and-merge-lua-coverage
Store and merge lua coverage
Mikhail Galanin [Mon, 8 Oct 2018 08:00:25 +0000 (09:00 +0100)]
[Test] Reworked build script to correctly collect merge coverage data
Mikhail Galanin [Mon, 8 Oct 2018 07:59:23 +0000 (08:59 +0100)]
[Test] Coverage merge/push script
Mikhail Galanin [Mon, 8 Oct 2018 07:58:50 +0000 (08:58 +0100)]
[Test] Collect coverage from rspamd workers
Vsevolod Stakhov [Sun, 7 Oct 2018 18:53:12 +0000 (19:53 +0100)]
Merge pull request #2573 from moisseev/eslint
[WebUI] Fix symbol description tooltips display
Alexander Moisseev [Sun, 7 Oct 2018 07:51:08 +0000 (10:51 +0300)]
[WebUI] Fix symbol description tooltips display
when the total number of rows is less than number of rows per page
Vsevolod Stakhov [Sat, 6 Oct 2018 16:15:24 +0000 (17:15 +0100)]
[Minor] Fix desctruction order
Vsevolod Stakhov [Sat, 6 Oct 2018 16:13:12 +0000 (17:13 +0100)]
[Fix] Fix parsing address with comments
Vsevolod Stakhov [Sat, 6 Oct 2018 12:35:14 +0000 (13:35 +0100)]
[Minor] Fix event pending checks
Vsevolod Stakhov [Sat, 6 Oct 2018 12:35:02 +0000 (13:35 +0100)]
[Minor] Fix symbols cache saving
Vsevolod Stakhov [Sat, 6 Oct 2018 09:29:32 +0000 (10:29 +0100)]
[Fix] Fix boundaries detection and rework stop words algorithm
Issue: #2541
Closes: #2541
Vsevolod Stakhov [Sat, 6 Oct 2018 08:52:32 +0000 (09:52 +0100)]
[Fix] Remove one letter stop words
Vsevolod Stakhov [Sat, 6 Oct 2018 08:28:10 +0000 (09:28 +0100)]
[Minor] Fix CMA calculations
Vsevolod Stakhov [Sat, 6 Oct 2018 08:26:18 +0000 (09:26 +0100)]
[Minor] Don't load torch unless really needed
Vsevolod Stakhov [Sat, 6 Oct 2018 08:25:55 +0000 (09:25 +0100)]
[Conf] Slashing: use lua rules from local confdir instead of confdir
Vsevolod Stakhov [Sat, 6 Oct 2018 08:23:03 +0000 (09:23 +0100)]
[Minor] Support local confdir in lua
Vsevolod Stakhov [Fri, 5 Oct 2018 19:01:28 +0000 (20:01 +0100)]
[Fix] Slashing: backport chunk logic from libucl
Vsevolod Stakhov [Fri, 5 Oct 2018 16:26:14 +0000 (17:26 +0100)]
Merge pull request #2572 from negram/fix-fatal-flag
[Minor] is_successful != fatal
Mikhail Galanin [Fri, 5 Oct 2018 16:25:08 +0000 (17:25 +0100)]
[Minor] is_successful != fatal
Vsevolod Stakhov [Fri, 5 Oct 2018 13:30:14 +0000 (14:30 +0100)]
Merge pull request #2571 from negram/misprint-2
[Minor] misprint
Vsevolod Stakhov [Fri, 5 Oct 2018 13:29:59 +0000 (14:29 +0100)]
Merge pull request #2570 from negram/lua-coverage-collector
Lua coverage collector
Mikhail Galanin [Fri, 5 Oct 2018 13:16:08 +0000 (14:16 +0100)]
[Minor] misprint
Mikhail Galanin [Fri, 5 Oct 2018 11:35:56 +0000 (12:35 +0100)]
[Test] global variable for coverage collector
Mikhail Galanin [Fri, 5 Oct 2018 11:35:31 +0000 (12:35 +0100)]
[Test] use the coverage collector in tests
Mikhail Galanin [Fri, 5 Oct 2018 11:34:37 +0000 (12:34 +0100)]
[Test] added Lua test coverage collector for functional tests
Vsevolod Stakhov [Thu, 4 Oct 2018 16:21:16 +0000 (17:21 +0100)]
[Minor] Prevent race condition in Redis ctx refcounting
heraklit256 [Thu, 4 Oct 2018 15:49:26 +0000 (17:49 +0200)]
lower weight for RCVD_DKIM_ARC_DNSWL_MED and RCVD_DKIM_ARC_DNSWL_HIGH
These were too high as other symbols - such as ARC_ALLOW - already
introduce some negative scores.
Thanks to @moisseev for reporting this.
Vsevolod Stakhov [Thu, 4 Oct 2018 14:32:27 +0000 (15:32 +0100)]
[Fix] Do not load torch on each rspamadm invocation
Vsevolod Stakhov [Thu, 4 Oct 2018 14:23:43 +0000 (15:23 +0100)]
Merge pull request #2565 from krestenk/master
Added "text/calendar" as a legal mimetype for .ics files.
Vsevolod Stakhov [Thu, 4 Oct 2018 14:23:36 +0000 (15:23 +0100)]
Merge pull request #2563 from negram/lua_http-doc
[Minor] Described some parameters for rspamd_http.request
Vsevolod Stakhov [Thu, 4 Oct 2018 14:23:27 +0000 (15:23 +0100)]
Merge pull request #2562 from negram/fix-c-coverage-collection
[Minor] set umask 0000 when building rspamd
Kresten [Thu, 4 Oct 2018 11:54:11 +0000 (13:54 +0200)]
Added "text/calendar" as a legal mimetype for .ics files. Files are failing this test, and "text/calendar" seems to be the correct one from https://tools.ietf.org/html/rfc5545
Mikhail Galanin [Thu, 4 Oct 2018 10:08:56 +0000 (11:08 +0100)]
[Minor] Described some parameters for rspamd_http.request
Mikhail Galanin [Thu, 4 Oct 2018 07:57:32 +0000 (08:57 +0100)]
[Minor] set umask 0000 when building rspamd
To allow rspamd dumpring coverage data.
In functional tests it runs under "nobody" user and became unable to do this
Vsevolod Stakhov [Wed, 3 Oct 2018 13:18:52 +0000 (14:18 +0100)]
[Feature] Allow maps with HTTP auth
Vsevolod Stakhov [Wed, 3 Oct 2018 12:29:36 +0000 (13:29 +0100)]
[Feature] Add `check_violation` feature to DKIM/ARC signing
Vsevolod Stakhov [Wed, 3 Oct 2018 12:25:31 +0000 (13:25 +0100)]
[Fix] Fix dependencies for DNS_SIGNED symbol
Vsevolod Stakhov [Wed, 3 Oct 2018 12:19:54 +0000 (13:19 +0100)]
[Minor] Don't use shift on -1
Vsevolod Stakhov [Wed, 3 Oct 2018 09:35:14 +0000 (10:35 +0100)]
Merge pull request #2558 from moisseev/eslint
[WebUI] Do not display password form when secure_ip is set
Vsevolod Stakhov [Wed, 3 Oct 2018 09:35:00 +0000 (10:35 +0100)]
Merge pull request #2559 from negram/arg-check-fix
[Minor] Fixed argument check
Vsevolod Stakhov [Tue, 2 Oct 2018 17:52:53 +0000 (18:52 +0100)]
[Minor] Fix evals maths
Mikhail Galanin [Tue, 2 Oct 2018 17:36:09 +0000 (18:36 +0100)]
[Minor] Fixed argument check
ev_base should be passed into lua_http.request(). It comes either from task or explicitly
Vsevolod Stakhov [Tue, 2 Oct 2018 17:16:50 +0000 (18:16 +0100)]
[Minor] Fix DNS packet writing to avoid alignment issues
Vsevolod Stakhov [Tue, 2 Oct 2018 16:09:45 +0000 (17:09 +0100)]
[Minor] Pet luacheck
Vsevolod Stakhov [Tue, 2 Oct 2018 15:59:57 +0000 (16:59 +0100)]
[Fix] Allow to call fstring append with NULL string
Alexander Moisseev [Tue, 2 Oct 2018 10:27:12 +0000 (13:27 +0300)]
[WebUI] Do not display password form when secure_ip is set
Fixes: #2553
Vsevolod Stakhov [Tue, 2 Oct 2018 11:55:55 +0000 (12:55 +0100)]
[Minor] Unify check_auth/check_local options
Vsevolod Stakhov [Tue, 2 Oct 2018 11:46:56 +0000 (12:46 +0100)]
Merge pull request #2557 from HeinleinSupport/master
[Fix] ip_score - respect check_authed and check_local settings
Vsevolod Stakhov [Tue, 2 Oct 2018 11:09:24 +0000 (12:09 +0100)]
[Test] Fix reload test
Vsevolod Stakhov [Tue, 2 Oct 2018 09:20:33 +0000 (10:20 +0100)]
[Minor] Fix field name -> names
Carsten Rosenberg [Tue, 2 Oct 2018 09:05:32 +0000 (11:05 +0200)]
[Fix] ip_score - respect check_authed and check_local settings from config
Vsevolod Stakhov [Mon, 1 Oct 2018 17:17:07 +0000 (18:17 +0100)]
[Test] Fix and extend whitelist tests