summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Release 1.8.11.8.1Vsevolod Stakhov2018-10-161-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [CritFix] Fix options insertion * [CritFix] Fix words decay one more time (affects long messages) * [CritFix] Increase default words_decay * [CritFix] Plug memory leak in redis pool * [Feature] Add `check_violation` feature to DKIM/ARC signing * [Feature] Add only unique elements to Clickhouse url arrays * [Feature] Allow `g+:` and `g-:` composite atoms * [Feature] Allow dkim domains check in surbl * [Feature] Allow maps with HTTP auth * [Feature] Allow to disable actions by users settings * [Feature] Extend whitelisting options * [Feature] Store url object in images * [Feature] Use verdict instead of the plain action in plugins * [Fix] Allow to call fstring append with NULL string * [Fix] DCC - luacheck * [Fix] Do not load torch on each rspamadm invocation * [Fix] Fix boundaries detection and rework stop words algorithm * [Fix] Fix dependencies for DNS_SIGNED symbol * [Fix] Fix errors when dealing with dynamic rates/bursts in Ratelimit * [Fix] Fix groups mess * [Fix] Fix groups mess * [Fix] Fix parsing address with comments * [Fix] Fix resolving in DMARC reports * [Fix] Fix various issues with parsing of the received headers * [Fix] Fix watchers issue in lua_tcp when doing no resolving * [Fix] Plug memory leak in language detector (affects reloads) * [Fix] Remove one letter stop words * [Fix] Slashing: backport chunk logic from libucl * [Fix] Stop libevent from using cached time in rspamadm * [Fix] Try to fix watchers chaining * [Fix] Various fixes in redis sync interface * [Fix] ip_score - respect check_authed and check_local settings from config * [Project] Rework passthrough actions * [Project] Clustering module * [Rework] Always create result for a task * [Rework] Completely rewrite DMARC checks logic * [Rework] Rework and fix whitelist plugin * [WebUI] Add symbols sorting buttons * [WebUI] Change symbols order without updating history * [WebUI] Colorize symbols * [WebUI] Do not display password form when secure_ip is set * [WebUI] Fix symbol description tooltips display * [WebUI] History: add sorting by symbol score value Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
* [Test] Try to fix test segfaultVsevolod Stakhov2018-10-161-11/+12
|
* [Minor] Fix test build with lua >= 5.3Vsevolod Stakhov2018-10-161-0/+12
|
* [Minor] Fix buildVsevolod Stakhov2018-10-161-0/+13
|
* [Minor] Improve crash loggingVsevolod Stakhov2018-10-163-2/+13
|
* Merge pull request #2595 from citrin/coverallsVsevolod Stakhov2018-10-161-0/+14
|\ | | | | Add git repo info to coveralls payload
| * Add git repo info to coveralls payloadAnton Yuzhaninov2018-10-151-0/+14
| | | | | | | | | | Again other implementations were used as reference, because API is not fully documented.
* | [Fix] Fix various issues with parsing of the received headersVsevolod Stakhov2018-10-165-35/+71
| |
* | [Minor] Add log_usec option to the default config as an exampleVsevolod Stakhov2018-10-161-1/+4
| |
* | [Minor] Try to use a faster timer if availableVsevolod Stakhov2018-10-161-1/+11
| |
* | [Minor] Another log invocation fixedVsevolod Stakhov2018-10-161-1/+1
| |
* | [Minor] Fix logger invocationVsevolod Stakhov2018-10-161-1/+1
|/
* [Conf] Extend BAD_POLICIES compositeVsevolod Stakhov2018-10-151-2/+2
|
* [Minor] Some fixes towards epsilon comparisonVsevolod Stakhov2018-10-151-5/+5
|
* [Minor] Prevent use-after-freeVsevolod Stakhov2018-10-151-9/+8
|
* [Fix] Fix errors when dealing with dynamic rates/bursts in RatelimitVsevolod Stakhov2018-10-151-9/+44
|
* [Minor] Fix function invocationVsevolod Stakhov2018-10-151-1/+1
|
* [Minor] Fix error when using plain unix socket in DCC pluginVsevolod Stakhov2018-10-151-1/+2
|
* [Feature] Use verdict instead of the plain action in pluginsVsevolod Stakhov2018-10-153-44/+41
|
* [Minor] Add function lua_util.get_task_verdictVsevolod Stakhov2018-10-151-0/+44
|
* [Minor] Add task:get_metric_result() methodVsevolod Stakhov2018-10-151-3/+74
|
* [Minor] Store more information about symbols addedVsevolod Stakhov2018-10-152-4/+20
|
* Merge pull request #2590 from heraklit256/onion-uri-2Vsevolod Stakhov2018-10-142-1/+10
|\ | | | | add rule for .onion URIs
| * add HAS_ONION_URI to HAS_ANON_DOMAINheraklit2562018-10-131-1/+1
| |
| * add HAS_ONION_URI ruleheraklit2562018-10-131-0/+9
| |
| * Merge pull request #7 from rspamd/masterheraklit2562018-10-1390-881/+2094
| |\ | | | | | | merge upstream into local master
| * \ Merge pull request #6 from rspamd/masterheraklit2562018-10-0469-672/+1787
| |\ \ | | | | | | | | merge upstream into local master
* | | | Drone coverage fix (#2592)Anton Yuzhaninov2018-10-142-13/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Build as nobody This showld fix coverage files writing. At least some coverage files (*.gcda, *.gcno) are written by rspamd running as nobody. * Comment luacov-coveralls * Run rspamd-test as nobody too * Run coveralls from build root (/rspamd/build) It need to find all `.gcda` files. * Hack for coveralls was moved to Docker image * Add test debug * More debug * Workaround to writing *.gcda from different users *.gcda files written in parallel by root and by nobody * Remove debug * Use current build number instead of previous * Remove unused variable * Add more parameters - If CI detected we don't need to check if service_job_id and other fields in json already filled - this info anyway comes from environment - coveralls.io API is not documented. Code from: https://github.com/lemurheavy/coveralls-ruby/ and https://github.com/coveralls-clients/coveralls-python/ was used as an example. * In case of error there is no url in json respnse Print message field anyway - it can contain useful error message. * Add debug * Simplify * Fix: for pull request CI_BUILD_EVENT set to 'pull_request' * Remove debug
* | | | Merge pull request #2593 from moisseev/eslintVsevolod Stakhov2018-10-142-92/+47
|\ \ \ \ | |_|_|/ |/| | | [WebUI] Colorize symbols
| * | | [Minor] Remove unused CSS rule-setsAlexander Moisseev2018-10-141-84/+0
| | | |
| * | | [WebUI] Colorize symbolsAlexander Moisseev2018-10-132-8/+47
|/ / /
* | | [Minor] Python...Vsevolod Stakhov2018-10-131-1/+1
| | |
* | | [Minor] Python...Vsevolod Stakhov2018-10-131-3/+3
| | |
* | | [Minor] Fucking pythonVsevolod Stakhov2018-10-131-2/+2
| | |
* | | [Feature] Add only unique elements to Clickhouse url arraysVsevolod Stakhov2018-10-131-7/+11
| | |
* | | [Minor] Another try to fix bloody pythonVsevolod Stakhov2018-10-131-5/+9
| | |
* | | [Minor] Set number of threads on load as precautionVsevolod Stakhov2018-10-131-0/+2
| | |
* | | [Minor] Always set number of threads when performing learnVsevolod Stakhov2018-10-131-1/+1
| | |
* | | [Minor] Further try to fix bloody pythonVsevolod Stakhov2018-10-131-1/+1
| | |
* | | [Minor] Allow to edit empty mapsVsevolod Stakhov2018-10-131-6/+12
| | |
* | | [Minor] Use python3Vsevolod Stakhov2018-10-131-5/+5
| | |
* | | [Minor] Include module name when setting pre resultVsevolod Stakhov2018-10-139-14/+14
| | |
* | | Update README.mdVsevolod Stakhov2018-10-131-1/+1
| | |
* | | Drone speedup (#2588)Anton Yuzhaninov2018-10-132-66/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | | [Minor] Improve errors loggingVsevolod Stakhov2018-10-121-1/+2
| | |
* | | [Minor] Do not call legacy API in modern OpenSSLVsevolod Stakhov2018-10-121-1/+2
| | | | | | | | | | | | | | | Issue: #2587 Closes: #2587
* | | Merge pull request #2586 from moisseev/eslintVsevolod Stakhov2018-10-122-14/+40
|\ \ \ | | | | | | | | [WebUI] Add symbols sorting buttons
| * | | [WebUI] Add symbols sorting buttonsAlexander Moisseev2018-10-122-14/+40
| | | | | | | | | | | | | | | | to detail history rows
* | | | [Test] Fix tests that are not RFC conformantVsevolod Stakhov2018-10-121-4/+4
| | | |
* | | | [Minor] Fix some testsVsevolod Stakhov2018-10-121-15/+17
| | | |