]> source.dussan.org Git - rspamd.git/log
rspamd.git
6 years ago[Minor] Fix type check error message
Vsevolod Stakhov [Tue, 11 Sep 2018 13:42:06 +0000 (14:42 +0100)]
[Minor] Fix type check error message

6 years ago[Minor] Add utility to get a logger singleton
Vsevolod Stakhov [Tue, 11 Sep 2018 13:41:51 +0000 (14:41 +0100)]
[Minor] Add utility to get a logger singleton

6 years agoMerge pull request #2479 from negram/redis-coroutines
Vsevolod Stakhov [Tue, 11 Sep 2018 10:09:00 +0000 (11:09 +0100)]
Merge pull request #2479 from negram/redis-coroutines

[Project] Redis coroutines

6 years agoMerge branch 'master' into redis-coroutines 2479/head
Mikhail Galanin [Tue, 11 Sep 2018 10:07:58 +0000 (11:07 +0100)]
Merge branch 'master' into redis-coroutines

6 years agoMerge pull request #2478 from negram/down-tcp-test-case
Vsevolod Stakhov [Tue, 11 Sep 2018 10:04:25 +0000 (11:04 +0100)]
Merge pull request #2478 from negram/down-tcp-test-case

[Test] Added test case for error handling check

6 years ago[Minor] Add a generic redis request method
Vsevolod Stakhov [Tue, 11 Sep 2018 10:02:30 +0000 (11:02 +0100)]
[Minor] Add a generic redis request method

6 years ago[Minor] Use shallowcopy from lua_util
Vsevolod Stakhov [Tue, 11 Sep 2018 10:02:17 +0000 (11:02 +0100)]
[Minor] Use shallowcopy from lua_util

6 years ago[Minor] Add shallowcopy utility
Vsevolod Stakhov [Tue, 11 Sep 2018 10:01:18 +0000 (11:01 +0100)]
[Minor] Add shallowcopy utility

6 years ago[Minor] rspamd_session_is_destroying -> rspamd_session_blocked
Mikhail Galanin [Mon, 10 Sep 2018 16:36:28 +0000 (17:36 +0100)]
[Minor] rspamd_session_is_destroying -> rspamd_session_blocked

6 years agoMerge branch 'master' into redis-coroutines
Mikhail Galanin [Mon, 10 Sep 2018 16:29:44 +0000 (17:29 +0100)]
Merge branch 'master' into redis-coroutines

6 years ago[Fix] Another try to fix race conditions on config unload
Vsevolod Stakhov [Mon, 10 Sep 2018 15:27:37 +0000 (16:27 +0100)]
[Fix] Another try to fix race conditions on config unload

6 years agoMerge branch 'master' into redis-coroutines
Mikhail Galanin [Mon, 10 Sep 2018 15:03:11 +0000 (16:03 +0100)]
Merge branch 'master' into redis-coroutines

6 years agoMerge pull request #2480 from negram/fix-declaration
Vsevolod Stakhov [Mon, 10 Sep 2018 14:45:11 +0000 (15:45 +0100)]
Merge pull request #2480 from negram/fix-declaration

[Minor] Fixed function declaration

6 years ago[Test] Mark error with symbol in response 2478/head
Mikhail Galanin [Mon, 10 Sep 2018 14:35:52 +0000 (15:35 +0100)]
[Test] Mark error with symbol in response

6 years ago[Minor] More declaration fixes 2480/head
Mikhail Galanin [Mon, 10 Sep 2018 14:33:36 +0000 (15:33 +0100)]
[Minor] More declaration fixes

6 years ago[Minor] Fixed function declaration
Mikhail Galanin [Mon, 10 Sep 2018 14:26:55 +0000 (15:26 +0100)]
[Minor] Fixed function declaration

6 years agoMerge branch 'master' into redis-coroutines
Mikhail Galanin [Mon, 10 Sep 2018 14:21:40 +0000 (15:21 +0100)]
Merge branch 'master' into redis-coroutines

6 years ago[Test] Added test for Redis API
Mikhail Galanin [Mon, 10 Sep 2018 14:19:16 +0000 (15:19 +0100)]
[Test] Added test for Redis API

6 years ago[Minor] Updated Lua to comply the new call semantic
Mikhail Galanin [Mon, 10 Sep 2018 14:17:14 +0000 (15:17 +0100)]
[Minor] Updated Lua to comply the new call semantic

6 years ago[Minor] Change deinit order
Mikhail Galanin [Mon, 10 Sep 2018 14:14:05 +0000 (15:14 +0100)]
[Minor] Change deinit order

some destructors in Lua could require Redis pool, that is why the pool should be shud down after lua_state.
While redis pool is created in the mempool.

6 years ago[Minor] Added coroutines to redis API
Mikhail Galanin [Mon, 10 Sep 2018 14:12:22 +0000 (15:12 +0100)]
[Minor] Added coroutines to redis API

6 years ago[Fix] Fix crashes on task cleanup
Vsevolod Stakhov [Mon, 10 Sep 2018 13:54:08 +0000 (14:54 +0100)]
[Fix] Fix crashes on task cleanup

6 years ago[Test] Added test case for error handling check
Mikhail Galanin [Mon, 10 Sep 2018 13:50:13 +0000 (14:50 +0100)]
[Test] Added test case for error handling check

6 years agoMerge pull request #2477 from negram/dont-use-task
Vsevolod Stakhov [Mon, 10 Sep 2018 13:11:19 +0000 (14:11 +0100)]
Merge pull request #2477 from negram/dont-use-task

[Minor] There is no need to refer task for thread pool/lua_state: it …

6 years ago[Minor] There is no need to refer task for thread pool/lua_state: it is sometimes... 2477/head
Mikhail Galanin [Mon, 10 Sep 2018 13:09:22 +0000 (14:09 +0100)]
[Minor] There is no need to refer task for thread pool/lua_state: it is sometimes missing

6 years ago[Minor] Fix build for outdated systems
Vsevolod Stakhov [Mon, 10 Sep 2018 10:48:48 +0000 (11:48 +0100)]
[Minor] Fix build for outdated systems

6 years agoMerge pull request #2476 from negram/fix-milter-test
Vsevolod Stakhov [Mon, 10 Sep 2018 10:22:12 +0000 (11:22 +0100)]
Merge pull request #2476 from negram/fix-milter-test

Fix milter test

6 years agoMerge pull request #2475 from negram/dnssec-mock
Vsevolod Stakhov [Mon, 10 Sep 2018 10:17:53 +0000 (11:17 +0100)]
Merge pull request #2475 from negram/dnssec-mock

[Test] One more domain to faking records

6 years agoMerge pull request #2461 from negram/rspamadm-coroutines
Vsevolod Stakhov [Mon, 10 Sep 2018 10:17:31 +0000 (11:17 +0100)]
Merge pull request #2461 from negram/rspamadm-coroutines

[Project] Rspamadm coroutines

6 years agoMerge branch 'master' into rspamadm-coroutines 2461/head
Mikhail Galanin [Mon, 10 Sep 2018 10:02:47 +0000 (11:02 +0100)]
Merge branch 'master' into rspamadm-coroutines

6 years ago[Test] More fake recors 2475/head
Mikhail Galanin [Mon, 10 Sep 2018 10:00:41 +0000 (11:00 +0100)]
[Test] More fake recors

to fix "SPF DNSFAIL FAILED A" and "SPF DNSFAIL FAILED MX" cases

6 years ago[Test] More debug info 2476/head
Mikhail Galanin [Mon, 10 Sep 2018 09:38:36 +0000 (10:38 +0100)]
[Test] More debug info

6 years ago[Test] Mark "connection" resource as freed
Mikhail Galanin [Mon, 10 Sep 2018 09:37:59 +0000 (10:37 +0100)]
[Test] Mark "connection" resource as freed

mt.disconnect() performs free(). If we call it twice with the same argument, we will get double free()

6 years ago[Test] Use dofile instead of require
Mikhail Galanin [Mon, 10 Sep 2018 09:36:47 +0000 (10:36 +0100)]
[Test] Use dofile instead of require

require implies module loading via standard mechanism (which is have to present in LUA_PATH). Here we just load the specific files.

6 years ago[Test] And another fake domain
Mikhail Galanin [Mon, 10 Sep 2018 08:44:56 +0000 (09:44 +0100)]
[Test] And another fake domain

Used in "Blacklist" test and slows it down when no connection

6 years ago[Test] One more domain to faking records
Mikhail Galanin [Mon, 10 Sep 2018 08:23:10 +0000 (09:23 +0100)]
[Test] One more domain to faking records

6 years agoMerge pull request #2474 from heraklit256/composites-1
Vsevolod Stakhov [Sun, 9 Sep 2018 17:22:13 +0000 (18:22 +0100)]
Merge pull request #2474 from heraklit256/composites-1

some housekeeping of composite rulesets

6 years ago[Minor] Initialise candidates even in shortage of words case
Vsevolod Stakhov [Sun, 9 Sep 2018 17:11:22 +0000 (18:11 +0100)]
[Minor] Initialise candidates even in shortage of words case

6 years agoadd rule for domains trying to stay anonymous 2474/head
heraklit256 [Sun, 9 Sep 2018 16:28:17 +0000 (18:28 +0200)]
add rule for domains trying to stay anonymous

6 years agoimprove composite rules for phish messages
heraklit256 [Sun, 9 Sep 2018 16:21:12 +0000 (18:21 +0200)]
improve composite rules for phish messages

6 years agoadd some missing composite rule description
heraklit256 [Sun, 9 Sep 2018 16:19:02 +0000 (18:19 +0200)]
add some missing composite rule description

6 years agoMerge pull request #2473 from moisseev/eslint
Vsevolod Stakhov [Sat, 8 Sep 2018 20:30:09 +0000 (21:30 +0100)]
Merge pull request #2473 from moisseev/eslint

[Minor] main.js code cleanup

6 years ago[Minor] main.js code cleanup 2473/head
Alexander Moisseev [Sat, 8 Sep 2018 18:32:55 +0000 (21:32 +0300)]
[Minor] main.js code cleanup

6 years agoMerge pull request #2470 from heraklit256/composites-1
Vsevolod Stakhov [Sat, 8 Sep 2018 15:52:53 +0000 (16:52 +0100)]
Merge pull request #2470 from heraklit256/composites-1

add composite rules against private health insurance spam

6 years agoMerge pull request #2469 from negram/dummy-refactoring
Vsevolod Stakhov [Sat, 8 Sep 2018 15:52:35 +0000 (16:52 +0100)]
Merge pull request #2469 from negram/dummy-refactoring

[Test] Small refactoring in dummy services test

6 years agoMerge pull request #2472 from heraklit256/composites-2
Vsevolod Stakhov [Sat, 8 Sep 2018 15:52:21 +0000 (16:52 +0100)]
Merge pull request #2472 from heraklit256/composites-2

add low positive score to RCVD_NO_TLS_LAST

6 years ago[Minor] Do not apply ngramms detection for short texts
Vsevolod Stakhov [Sat, 8 Sep 2018 15:46:49 +0000 (16:46 +0100)]
[Minor] Do not apply ngramms detection for short texts

6 years ago[Fix] Fix various corner cases for language detection
Vsevolod Stakhov [Sat, 8 Sep 2018 15:40:05 +0000 (16:40 +0100)]
[Fix] Fix various corner cases for language detection

6 years agoadd low positive score to RCVD_NO_TLS_LAST 2472/head
heraklit256 [Sat, 8 Sep 2018 10:55:28 +0000 (12:55 +0200)]
add low positive score to RCVD_NO_TLS_LAST

6 years agoadd rule for spammy mails with detailled sender but generic recipients 2470/head
heraklit256 [Sat, 8 Sep 2018 10:30:05 +0000 (12:30 +0200)]
add rule for spammy mails with detailled sender but generic recipients

6 years agoadd rule for phish messages containing emotional subjects
heraklit256 [Sat, 8 Sep 2018 10:11:36 +0000 (12:11 +0200)]
add rule for phish messages containing emotional subjects

6 years agoadd rule for spammy PHP generated mails
heraklit256 [Sat, 8 Sep 2018 10:02:02 +0000 (12:02 +0200)]
add rule for spammy PHP generated mails

6 years agoMerge pull request #4 from rspamd/master
heraklit256 [Sat, 8 Sep 2018 09:47:39 +0000 (11:47 +0200)]
Merge pull request #4 from rspamd/master

Merge rspamd/rspamd into heraklit256/rspamd

6 years ago[Minor] Check language detector prior to usage
Vsevolod Stakhov [Fri, 7 Sep 2018 21:40:33 +0000 (22:40 +0100)]
[Minor] Check language detector prior to usage

6 years ago[Minor] Do not use too recent additions to libicu
Vsevolod Stakhov [Fri, 7 Sep 2018 19:04:09 +0000 (20:04 +0100)]
[Minor] Do not use too recent additions to libicu

6 years agoMerge pull request #2468 from negram/fix-symbol-registering
Vsevolod Stakhov [Fri, 7 Sep 2018 18:59:48 +0000 (19:59 +0100)]
Merge pull request #2468 from negram/fix-symbol-registering

[Minor] Fixed symbol registering in antivirus module - parent is expe…

6 years agoMerge pull request #2464 from negram/fix-fatal-log
Vsevolod Stakhov [Fri, 7 Sep 2018 18:59:33 +0000 (19:59 +0100)]
Merge pull request #2464 from negram/fix-fatal-log

[Minor] Add newline on fatal log, removed extra info

6 years ago[Fix] Fix stop words detection and loading logic
Vsevolod Stakhov [Fri, 7 Sep 2018 18:57:43 +0000 (19:57 +0100)]
[Fix] Fix stop words detection and loading logic

6 years ago[Minor] Use JSON escapes for UTF8
Vsevolod Stakhov [Fri, 7 Sep 2018 18:57:08 +0000 (19:57 +0100)]
[Minor] Use JSON escapes for UTF8

6 years ago[Feature] Add preliminary stop words detection support
Vsevolod Stakhov [Fri, 7 Sep 2018 17:40:54 +0000 (18:40 +0100)]
[Feature] Add preliminary stop words detection support

6 years ago[Test] Small refactoring in dummy services test 2469/head
Mikhail Galanin [Fri, 7 Sep 2018 16:59:28 +0000 (17:59 +0100)]
[Test] Small refactoring in dummy services test

Moved code for pid writing and terminating into a separated module.
Also added cleanup: in some cases, processes remained in the system after test is done. It should not happen anymore

6 years ago[Minor] Fixed symbol registering in antivirus module - parent is expected to be double 2468/head
Mikhail Galanin [Fri, 7 Sep 2018 16:51:57 +0000 (17:51 +0100)]
[Minor] Fixed symbol registering in antivirus module - parent is expected to be double

For some reasons, it is affecting rarely. Related tests are failing one out of 10 times

6 years ago[Minor] Add stop words
Vsevolod Stakhov [Fri, 7 Sep 2018 16:02:06 +0000 (17:02 +0100)]
[Minor] Add stop words

6 years ago[Rework] Rework language detector
Vsevolod Stakhov [Fri, 7 Sep 2018 15:43:58 +0000 (16:43 +0100)]
[Rework] Rework language detector

6 years ago[Minor] Properly set flag on text tokens
Vsevolod Stakhov [Fri, 7 Sep 2018 14:42:19 +0000 (15:42 +0100)]
[Minor] Properly set flag on text tokens

6 years ago[Minor] Fix types
Vsevolod Stakhov [Fri, 7 Sep 2018 14:19:47 +0000 (15:19 +0100)]
[Minor] Fix types

6 years ago[Minor] More fixes to languages, remove hebrew languages
Vsevolod Stakhov [Fri, 7 Sep 2018 14:06:56 +0000 (15:06 +0100)]
[Minor] More fixes to languages, remove hebrew languages

6 years ago[Minor] Remove mono script languages
Vsevolod Stakhov [Fri, 7 Sep 2018 13:07:15 +0000 (14:07 +0100)]
[Minor] Remove mono script languages

6 years ago[Minor] Further fixes in tokenization algorithm
Vsevolod Stakhov [Fri, 7 Sep 2018 08:26:27 +0000 (09:26 +0100)]
[Minor] Further fixes in tokenization algorithm

6 years ago[Feature] Implement new text tokenizer based on libicu
Vsevolod Stakhov [Thu, 6 Sep 2018 18:49:44 +0000 (19:49 +0100)]
[Feature] Implement new text tokenizer based on libicu

6 years ago[Minor] Add UText wrapper for stripped content
Vsevolod Stakhov [Thu, 6 Sep 2018 15:24:28 +0000 (16:24 +0100)]
[Minor] Add UText wrapper for stripped content

6 years agoMerge pull request #2463 from negram/misprint
Vsevolod Stakhov [Thu, 6 Sep 2018 16:53:41 +0000 (17:53 +0100)]
Merge pull request #2463 from negram/misprint

[Minor] Misprint

6 years agoMerge pull request #2466 from negram/check-for-segfault
Vsevolod Stakhov [Thu, 6 Sep 2018 16:53:08 +0000 (17:53 +0100)]
Merge pull request #2466 from negram/check-for-segfault

[Test] Added check if there was no segfault during the test run

6 years ago[Test] Added check if there was no segfault during the test run 2466/head
Mikhail Galanin [Thu, 6 Sep 2018 16:43:59 +0000 (17:43 +0100)]
[Test] Added check if there was no segfault during the test run

6 years ago[Minor] Add signing symbols to the corresponding groups
Vsevolod Stakhov [Thu, 6 Sep 2018 13:25:46 +0000 (14:25 +0100)]
[Minor] Add signing symbols to the corresponding groups

6 years ago[Minor] Add newline on fatal log, removed extra info 2464/head
Mikhail Galanin [Thu, 6 Sep 2018 12:49:45 +0000 (13:49 +0100)]
[Minor] Add newline on fatal log, removed extra info

6 years ago[Minor] Load urls before breaking text into words
Vsevolod Stakhov [Thu, 6 Sep 2018 10:12:04 +0000 (11:12 +0100)]
[Minor] Load urls before breaking text into words

6 years ago[Minor] It's too early to test rspamadm with redis
Mikhail Galanin [Thu, 6 Sep 2018 08:30:25 +0000 (09:30 +0100)]
[Minor] It's too early to test rspamadm with redis

6 years ago[Minor] Misprint 2463/head
Mikhail Galanin [Thu, 6 Sep 2018 08:23:58 +0000 (09:23 +0100)]
[Minor] Misprint

6 years ago[Minor] Reworked other parts of rspamadm to handle asynchronous events
Mikhail Galanin [Thu, 6 Sep 2018 08:19:57 +0000 (09:19 +0100)]
[Minor] Reworked other parts of rspamadm to handle asynchronous events

6 years ago[Minor] Sigh, fix non-empty parts this time
Vsevolod Stakhov [Wed, 5 Sep 2018 17:20:28 +0000 (18:20 +0100)]
[Minor] Sigh, fix non-empty parts this time

6 years ago[Minor] Fix processing of empty parts
Vsevolod Stakhov [Wed, 5 Sep 2018 17:05:29 +0000 (18:05 +0100)]
[Minor] Fix processing of empty parts

6 years ago[Rework] Rework utf content processing in text parts
Vsevolod Stakhov [Wed, 5 Sep 2018 16:43:20 +0000 (17:43 +0100)]
[Rework] Rework utf content processing in text parts

- Store unicode in UTF parts
- Store unicode for HTML parts
- Rename struct fields and split them into unicode/utf components

6 years ago[Test] Added more test for rspamadm and test for lua tcp client invoked via rspamadm
Mikhail Galanin [Wed, 5 Sep 2018 12:43:21 +0000 (13:43 +0100)]
[Test] Added more test for rspamadm and test for lua tcp client invoked via rspamadm

6 years ago[Minor] Added coroutines and async events support to rspamadm commands
Mikhail Galanin [Wed, 5 Sep 2018 12:39:53 +0000 (13:39 +0100)]
[Minor] Added coroutines and async events support to rspamadm commands

6 years agoMerge pull request #2451 from negram/coroutines-tcp
Vsevolod Stakhov [Wed, 5 Sep 2018 10:23:18 +0000 (11:23 +0100)]
Merge pull request #2451 from negram/coroutines-tcp

Coroutines tcp

6 years ago[Minor] timeout in seconds everywhere (as documentation says) 2451/head
Mikhail Galanin [Wed, 5 Sep 2018 10:18:34 +0000 (11:18 +0100)]
[Minor] timeout in seconds everywhere (as documentation says)

6 years ago[Minor] Add descriptions to the selectors
Vsevolod Stakhov [Wed, 5 Sep 2018 09:34:43 +0000 (10:34 +0100)]
[Minor] Add descriptions to the selectors

6 years ago[Minor] Add methods to display selectors lists
Vsevolod Stakhov [Tue, 4 Sep 2018 18:54:30 +0000 (19:54 +0100)]
[Minor] Add methods to display selectors lists

6 years ago[Minor] Fix unsigned clockid_t case
Vsevolod Stakhov [Tue, 4 Sep 2018 18:51:32 +0000 (19:51 +0100)]
[Minor] Fix unsigned clockid_t case

6 years agoMerge pull request #2458 from moisseev/eslint
Vsevolod Stakhov [Tue, 4 Sep 2018 06:34:37 +0000 (07:34 +0100)]
Merge pull request #2458 from moisseev/eslint

[Test] Disable warning

6 years ago[Test] Disable warning 2458/head
Alexander Moisseev [Tue, 4 Sep 2018 06:26:52 +0000 (09:26 +0300)]
[Test] Disable warning

as `u` flag is not supported in ES5

6 years agoMerge pull request #2457 from negram/hs-worker-fix
Vsevolod Stakhov [Mon, 3 Sep 2018 20:25:15 +0000 (21:25 +0100)]
Merge pull request #2457 from negram/hs-worker-fix

[Minor] Fixed HyperScan worker build

6 years ago[Minor] Fixed HyperScan worker build 2457/head
Mikhail Galanin [Mon, 3 Sep 2018 08:39:48 +0000 (09:39 +0100)]
[Minor] Fixed HyperScan worker build

6 years ago[Minor] function -> method
Mikhail Galanin [Mon, 3 Sep 2018 08:34:41 +0000 (09:34 +0100)]
[Minor] function -> method

6 years ago[Minor] Review fixes
Mikhail Galanin [Mon, 3 Sep 2018 08:10:07 +0000 (09:10 +0100)]
[Minor] Review fixes

6 years agoMerge pull request #2456 from moisseev/eslint
Vsevolod Stakhov [Sun, 2 Sep 2018 22:14:40 +0000 (23:14 +0100)]
Merge pull request #2456 from moisseev/eslint

[WebUI] Add progress bar for AJAX requests

6 years ago[WebUI] Add progress bar for AJAX requests 2456/head
Alexander Moisseev [Sun, 2 Sep 2018 19:24:06 +0000 (22:24 +0300)]
[WebUI] Add progress bar for AJAX requests

6 years agoMerge pull request #2454 from moisseev/eslint
Vsevolod Stakhov [Sat, 1 Sep 2018 20:16:23 +0000 (21:16 +0100)]
Merge pull request #2454 from moisseev/eslint

[WebUI] Fix tables destroying

6 years ago[WebUI] Fix tables destroying 2454/head
Alexander Moisseev [Sat, 1 Sep 2018 12:25:11 +0000 (15:25 +0300)]
[WebUI] Fix tables destroying

It seems there is a bug in Footable.
FooTable doesn't remove the table body if the table was initialized without contents.