]>
source.dussan.org Git - rspamd.git/log
Vsevolod Stakhov [Fri, 10 Jul 2015 14:26:46 +0000 (15:26 +0100)]
Save log files on test errors completely.
Vsevolod Stakhov [Fri, 10 Jul 2015 13:58:56 +0000 (14:58 +0100)]
Rework sqlite3 cache.
Vsevolod Stakhov [Fri, 10 Jul 2015 13:33:10 +0000 (14:33 +0100)]
More fixes to sqlite3 locking.
Vsevolod Stakhov [Fri, 10 Jul 2015 13:13:39 +0000 (14:13 +0100)]
Unify sqlite open and create function.
Vsevolod Stakhov [Fri, 10 Jul 2015 12:20:25 +0000 (13:20 +0100)]
Move sqlite3 utils to a separate module.
Vsevolod Stakhov [Thu, 9 Jul 2015 23:36:34 +0000 (00:36 +0100)]
Quote strings in pragmas.
Vsevolod Stakhov [Thu, 9 Jul 2015 23:36:03 +0000 (00:36 +0100)]
Add finalize process operation.
We could use sqlite transaction for reading as well.
Vsevolod Stakhov [Thu, 9 Jul 2015 18:12:21 +0000 (19:12 +0100)]
Add additional check on open.
Issue: #331
Vsevolod Stakhov [Thu, 9 Jul 2015 17:48:43 +0000 (18:48 +0100)]
Try to do something about sqlite locking.
Vsevolod Stakhov [Thu, 9 Jul 2015 17:48:21 +0000 (18:48 +0100)]
Try to fix sqlite3 blocking.
Issue: #331
Vsevolod Stakhov [Thu, 9 Jul 2015 14:11:49 +0000 (15:11 +0100)]
Use standard functions definitions.
Vsevolod Stakhov [Thu, 9 Jul 2015 14:02:09 +0000 (15:02 +0100)]
Fix issues in the tests.
Vsevolod Stakhov [Thu, 9 Jul 2015 13:45:48 +0000 (14:45 +0100)]
Adopt build system for new tests.
Vsevolod Stakhov [Thu, 9 Jul 2015 13:41:28 +0000 (14:41 +0100)]
Remove bats tests.
Vsevolod Stakhov [Thu, 9 Jul 2015 13:40:56 +0000 (14:40 +0100)]
Remove bats tests.
Vsevolod Stakhov [Thu, 9 Jul 2015 13:40:36 +0000 (14:40 +0100)]
New functional tests approach.
Vsevolod Stakhov [Thu, 9 Jul 2015 08:38:03 +0000 (09:38 +0100)]
Skip missing statfiles on classifying.
Vsevolod Stakhov [Thu, 9 Jul 2015 08:31:33 +0000 (09:31 +0100)]
Move statistics initialization to start of workers.
Vsevolod Stakhov [Wed, 8 Jul 2015 16:30:56 +0000 (17:30 +0100)]
Add tests for xxhash and siphash.
Vsevolod Stakhov [Wed, 8 Jul 2015 16:28:30 +0000 (17:28 +0100)]
Add sqlite3 backend testing.
Vsevolod Stakhov [Wed, 8 Jul 2015 15:52:00 +0000 (16:52 +0100)]
Add functional test for #331.
Vsevolod Stakhov [Wed, 8 Jul 2015 15:51:44 +0000 (16:51 +0100)]
Fix HTTP error code on learn failures.
Vsevolod Stakhov [Wed, 8 Jul 2015 15:51:10 +0000 (16:51 +0100)]
Fix issue if rspamd cannot create statfiles.
Issue: #331
Vsevolod Stakhov [Wed, 8 Jul 2015 15:32:12 +0000 (16:32 +0100)]
Use more UCL vars for tests.
Vsevolod Stakhov [Wed, 8 Jul 2015 14:51:16 +0000 (15:51 +0100)]
Rework cmake caching.
Vsevolod Stakhov [Wed, 8 Jul 2015 13:44:36 +0000 (14:44 +0100)]
Improve functional tests teardown.
Vsevolod Stakhov [Wed, 8 Jul 2015 13:44:22 +0000 (14:44 +0100)]
Do not use __FUNCTION__ as it's unportable.
Vsevolod Stakhov [Wed, 8 Jul 2015 13:17:49 +0000 (14:17 +0100)]
Fix bug when unix sockets were not whitelisted.
Vsevolod Stakhov [Wed, 8 Jul 2015 13:15:46 +0000 (14:15 +0100)]
Fix openssl handling.
Vsevolod Stakhov [Wed, 8 Jul 2015 13:07:01 +0000 (14:07 +0100)]
Remove workaround for local cmake.
Vsevolod Stakhov [Wed, 8 Jul 2015 12:41:26 +0000 (13:41 +0100)]
Fix include directive for hiredis.
Vsevolod Stakhov [Wed, 8 Jul 2015 12:41:14 +0000 (13:41 +0100)]
More fixes to cmake script.
Vsevolod Stakhov [Wed, 8 Jul 2015 12:00:14 +0000 (13:00 +0100)]
Another try to fix cmake configuration.
Vsevolod Stakhov [Tue, 7 Jul 2015 22:57:21 +0000 (23:57 +0100)]
Adopt for the new ProcessPackage.
Vsevolod Stakhov [Tue, 7 Jul 2015 18:16:26 +0000 (19:16 +0100)]
Rework ProcessPackage macro.
Vsevolod Stakhov [Tue, 7 Jul 2015 15:45:58 +0000 (16:45 +0100)]
Try to rework FindLua macro.
Vsevolod Stakhov [Tue, 7 Jul 2015 11:46:27 +0000 (12:46 +0100)]
Fix some extreme cases in bayes.
Vsevolod Stakhov [Tue, 7 Jul 2015 10:00:02 +0000 (11:00 +0100)]
Add test for empty part learning.
Vsevolod Stakhov [Tue, 7 Jul 2015 08:48:01 +0000 (09:48 +0100)]
Fix null pointer dereference.
Vsevolod Stakhov [Tue, 7 Jul 2015 08:47:50 +0000 (09:47 +0100)]
Add dependencies test.
Vsevolod Stakhov [Tue, 7 Jul 2015 07:10:51 +0000 (08:10 +0100)]
Use BATS_TMPDIR instead of '/tmp' for tests.
Vsevolod Stakhov [Tue, 7 Jul 2015 07:06:23 +0000 (08:06 +0100)]
Slightly improve variables extraction code.
Vsevolod Stakhov [Mon, 6 Jul 2015 19:28:05 +0000 (20:28 +0100)]
Allow variables parsing in a command line.
Vsevolod Stakhov [Mon, 6 Jul 2015 19:19:59 +0000 (20:19 +0100)]
Add support for extra variables in a config.
Vsevolod Stakhov [Mon, 6 Jul 2015 19:12:56 +0000 (20:12 +0100)]
Add learning functional tests.
Vsevolod Stakhov [Mon, 6 Jul 2015 19:07:42 +0000 (20:07 +0100)]
Fix error log.
Vsevolod Stakhov [Mon, 6 Jul 2015 19:07:28 +0000 (20:07 +0100)]
Fix mutex locking for logger.
Vsevolod Stakhov [Mon, 6 Jul 2015 19:01:16 +0000 (20:01 +0100)]
Log message if failed to learn.
Vsevolod Stakhov [Mon, 6 Jul 2015 15:00:48 +0000 (16:00 +0100)]
Do not dereference null pointer on learning.
Vsevolod Stakhov [Sun, 5 Jul 2015 12:47:21 +0000 (13:47 +0100)]
Merge pull request #328 from fatalbanana/master
Add DKIM support to RBL module
Andrew Lewis [Sun, 5 Jul 2015 12:41:54 +0000 (14:41 +0200)]
Doc fix: confusing reference to RBL module
Andrew Lewis [Sun, 5 Jul 2015 11:54:39 +0000 (13:54 +0200)]
Add DKIM support to RBL module
Vsevolod Stakhov [Sat, 4 Jul 2015 21:38:18 +0000 (22:38 +0100)]
Add delayed dependency form support to lua.
Vsevolod Stakhov [Sat, 4 Jul 2015 21:33:33 +0000 (22:33 +0100)]
Allow registering of delayed dependencies.
Vsevolod Stakhov [Fri, 3 Jul 2015 13:44:00 +0000 (14:44 +0100)]
Ignore User header in SA mode.
Vsevolod Stakhov [Fri, 3 Jul 2015 11:52:00 +0000 (12:52 +0100)]
Update version to distinguish master.
Vsevolod Stakhov [Fri, 3 Jul 2015 11:51:41 +0000 (12:51 +0100)]
Allow bundling for sqlite3.
Vsevolod Stakhov [Thu, 2 Jul 2015 23:44:14 +0000 (00:44 +0100)]
Merge pull request #324 from fatalbanana/master
Set ignore_whitelists = true for RECEIVED_SPAMHAUS_XBL
Vsevolod Stakhov [Thu, 2 Jul 2015 18:11:18 +0000 (19:11 +0100)]
Add encryption test.
Vsevolod Stakhov [Thu, 2 Jul 2015 18:08:01 +0000 (19:08 +0100)]
Store rspamd log permanently for functional tests.
Vsevolod Stakhov [Thu, 2 Jul 2015 18:02:39 +0000 (19:02 +0100)]
Add functional test for spamc protocol.
Vsevolod Stakhov [Thu, 2 Jul 2015 18:02:14 +0000 (19:02 +0100)]
Avoid double free if cannot load message.
Vsevolod Stakhov [Thu, 2 Jul 2015 17:54:16 +0000 (18:54 +0100)]
Add streamline HTTP test (failing for now).
Vsevolod Stakhov [Thu, 2 Jul 2015 17:53:31 +0000 (18:53 +0100)]
Fix processing of empty messages.
Vsevolod Stakhov [Thu, 2 Jul 2015 16:05:17 +0000 (17:05 +0100)]
Start functional tests.
Andrew Lewis [Thu, 2 Jul 2015 14:34:18 +0000 (16:34 +0200)]
Set ignore_whitelists = true for RECEIVED_SPAMHAUS_XBL
Vsevolod Stakhov [Thu, 2 Jul 2015 13:23:13 +0000 (14:23 +0100)]
Add GTUBE support.
Vsevolod Stakhov [Thu, 2 Jul 2015 10:45:11 +0000 (11:45 +0100)]
Merge pull request #321 from fatalbanana/master
Further defang whitelists
Vsevolod Stakhov [Thu, 2 Jul 2015 10:35:51 +0000 (11:35 +0100)]
Add workarounds for numeric hosts in URLs.
Vsevolod Stakhov [Thu, 2 Jul 2015 08:38:02 +0000 (09:38 +0100)]
Improve support of IP based URLs.
Andrew Lewis [Thu, 2 Jul 2015 07:18:01 +0000 (09:18 +0200)]
Further defang whitelists
Vsevolod Stakhov [Wed, 1 Jul 2015 16:19:48 +0000 (17:19 +0100)]
Merge pull request #319 from fatalbanana/master
Add RCVD_IN_DNSWL_NONE as whitelisting exclusion
Vsevolod Stakhov [Wed, 1 Jul 2015 16:18:43 +0000 (17:18 +0100)]
Add more unit tests for url parser.
Vsevolod Stakhov [Wed, 1 Jul 2015 16:18:32 +0000 (17:18 +0100)]
Fix complicated case of percent encoding.
Vsevolod Stakhov [Wed, 1 Jul 2015 15:54:04 +0000 (16:54 +0100)]
Fix path field in url:to_table method.
Vsevolod Stakhov [Wed, 1 Jul 2015 15:37:45 +0000 (16:37 +0100)]
Fix parsing query just after port.
Vsevolod Stakhov [Wed, 1 Jul 2015 15:34:14 +0000 (16:34 +0100)]
Fix parsing of multiple slashes in URL.
Vsevolod Stakhov [Wed, 1 Jul 2015 15:28:52 +0000 (16:28 +0100)]
Fix finding start of URL's.
Vsevolod Stakhov [Wed, 1 Jul 2015 15:00:01 +0000 (16:00 +0100)]
Add new url unit test.
Vsevolod Stakhov [Wed, 1 Jul 2015 14:59:52 +0000 (15:59 +0100)]
Add missing url fields.
Vsevolod Stakhov [Wed, 1 Jul 2015 14:59:39 +0000 (15:59 +0100)]
Add port definition to URL.
Vsevolod Stakhov [Wed, 1 Jul 2015 14:24:44 +0000 (15:24 +0100)]
Be more permissive about url characters.
Andrew Lewis [Wed, 1 Jul 2015 13:20:28 +0000 (15:20 +0200)]
Add RCVD_IN_DNSWL_NONE as whitelisting exclusion
Vsevolod Stakhov [Tue, 30 Jun 2015 17:58:11 +0000 (18:58 +0100)]
Move sqlite initialization to the common routine.
Vsevolod Stakhov [Tue, 30 Jun 2015 17:26:48 +0000 (18:26 +0100)]
Fix issues with capturing patterns
Vsevolod Stakhov [Tue, 30 Jun 2015 13:50:31 +0000 (14:50 +0100)]
Support dist on FreeBSD and Darwin.
Vsevolod Stakhov [Tue, 30 Jun 2015 13:04:42 +0000 (14:04 +0100)]
Print result of sqlite_exec in fuzzy_backend.
Vsevolod Stakhov [Tue, 30 Jun 2015 13:01:21 +0000 (14:01 +0100)]
Merge pull request #316 from fatalbanana/master
Fix use of RBL name as symbol; ignore RBL names that would not be yielded
Vsevolod Stakhov [Tue, 30 Jun 2015 12:48:34 +0000 (13:48 +0100)]
Update documentation
Vsevolod Stakhov [Tue, 30 Jun 2015 12:43:11 +0000 (13:43 +0100)]
Add captures unit test.
Vsevolod Stakhov [Tue, 30 Jun 2015 12:42:50 +0000 (13:42 +0100)]
Some fixes to pushing captures to lua.
Andrew Lewis [Tue, 30 Jun 2015 12:34:27 +0000 (14:34 +0200)]
Fix use of RBL name as symbol; ignore RBL names that would not be yielded
Vsevolod Stakhov [Tue, 30 Jun 2015 12:33:35 +0000 (13:33 +0100)]
Fix regexp_search invocation.
Vsevolod Stakhov [Tue, 30 Jun 2015 12:29:37 +0000 (13:29 +0100)]
Improve captures in lua regexp.
Vsevolod Stakhov [Tue, 30 Jun 2015 11:22:08 +0000 (12:22 +0100)]
Improve regexp captures.
It is now possible to store regexp captures if needed.
Vsevolod Stakhov [Tue, 30 Jun 2015 10:13:07 +0000 (11:13 +0100)]
Merge pull request #313 from fatalbanana/master
Favour rspamd lua libraries over system libraries
Andrew Lewis [Mon, 29 Jun 2015 16:45:39 +0000 (18:45 +0200)]
Fix misprint
Andrew Lewis [Mon, 29 Jun 2015 16:38:32 +0000 (18:38 +0200)]
Silence errors; yield unknown results from RBLs; fix scoring for DNSWL
Andrew Lewis [Mon, 29 Jun 2015 16:14:27 +0000 (18:14 +0200)]
Favour rspamd lua libraries over system libraries
Vsevolod Stakhov [Mon, 29 Jun 2015 14:42:53 +0000 (15:42 +0100)]
Use WAL for fuzzy storage as well.