]>
source.dussan.org Git - rspamd.git/log
Vsevolod Stakhov [Tue, 18 Aug 2020 11:21:46 +0000 (12:21 +0100)]
[Minor] Restore scripts flag
Vsevolod Stakhov [Tue, 18 Aug 2020 10:45:59 +0000 (11:45 +0100)]
[Feature] Split pdf processing object and output object to allow GC
Vsevolod Stakhov [Tue, 18 Aug 2020 10:28:42 +0000 (11:28 +0100)]
[Minor] Dkim/ARC: allow to sign merely for specific settings id
Vsevolod Stakhov [Mon, 17 Aug 2020 13:41:39 +0000 (14:41 +0100)]
[Test] Fix tests
Vsevolod Stakhov [Mon, 17 Aug 2020 12:19:15 +0000 (13:19 +0100)]
[Fix] Store reference of upstream list in upstreams objects
Vsevolod Stakhov [Sat, 15 Aug 2020 13:53:54 +0000 (14:53 +0100)]
[Minor] Add null safety to rspamd_regexp_new
Vsevolod Stakhov [Sat, 15 Aug 2020 13:49:54 +0000 (14:49 +0100)]
[Minor] Lua_text: Add __lt metamethod
Vsevolod Stakhov [Fri, 14 Aug 2020 17:13:27 +0000 (18:13 +0100)]
Merge pull request #3471 from moisseev/webui
[WebUI] Use /auth to get data missing in /stat
moisseev [Fri, 14 Aug 2020 10:43:02 +0000 (13:43 +0300)]
[WebUI] Use /auth to get data missing in /stat
response on legacy servers.
Namely "config_id", "version" and "uptime".
moisseev [Fri, 14 Aug 2020 07:56:13 +0000 (10:56 +0300)]
[WebUI] Fix alert status reset
Vsevolod Stakhov [Thu, 13 Aug 2020 19:30:16 +0000 (20:30 +0100)]
Merge pull request #3461 from korgoth1/master
[TEST] PHISH Senders
moisseev [Thu, 13 Aug 2020 17:35:39 +0000 (20:35 +0300)]
[Minor] Convert only finite numbers
Vsevolod Stakhov [Wed, 12 Aug 2020 18:05:29 +0000 (19:05 +0100)]
[Minor] Improve error message when learning with passthrough result
Issue: #3339
Vsevolod Stakhov [Tue, 11 Aug 2020 19:14:35 +0000 (20:14 +0100)]
Merge pull request #3469 from citrin/fuzzy-check
[Minor] Fix off-by-one error in log message
Anton Yuzhaninov [Tue, 11 Aug 2020 14:04:07 +0000 (15:04 +0100)]
[Minor] Fix off-by-one error in log message
Vsevolod Stakhov [Mon, 10 Aug 2020 19:25:14 +0000 (20:25 +0100)]
Merge pull request #3468 from citrin/bounce
[Feature] Add BOUNCE rule
Anton Yuzhaninov [Mon, 10 Aug 2020 15:04:10 +0000 (16:04 +0100)]
[Feature] Add BOUNCE rule
Vsevolod Stakhov [Sun, 9 Aug 2020 18:26:36 +0000 (19:26 +0100)]
Merge pull request #3466 from moisseev/webui
[WebUI] Add uptime and version to servers table
moisseev [Sun, 9 Aug 2020 14:50:13 +0000 (17:50 +0300)]
[WebUI] Highlight uptime of restarted servers
moisseev [Sun, 9 Aug 2020 11:32:10 +0000 (14:32 +0300)]
[WebUI] Add fuzzy hashes info
moisseev [Sat, 8 Aug 2020 17:59:27 +0000 (20:59 +0300)]
[WebUI] Add Bayesian statistics info
moisseev [Sat, 8 Aug 2020 15:24:30 +0000 (18:24 +0300)]
[Minor] Refactor displayStatWidgets function
Vsevolod Stakhov [Sat, 8 Aug 2020 14:39:12 +0000 (15:39 +0100)]
Merge pull request #3464 from citrin/maillist
MAILLIST rule fixes
moisseev [Sat, 8 Aug 2020 13:04:27 +0000 (16:04 +0300)]
[Minor] Avoid double quotes escaping
moisseev [Sat, 8 Aug 2020 12:59:17 +0000 (15:59 +0300)]
[WebUI] Add uptime and version to servers table
Anton Yuzhaninov [Sat, 8 Aug 2020 12:26:57 +0000 (13:26 +0100)]
[Minor] Improve debug logs in check_generic_list_headers
And small style improvements.
Anton Yuzhaninov [Sat, 8 Aug 2020 12:12:15 +0000 (13:12 +0100)]
[Minor] Improve mailman mailing list detection
Anton Yuzhaninov [Sat, 8 Aug 2020 09:27:42 +0000 (10:27 +0100)]
[Minor] Update headers used by subscribe.ru
Notably Precedence header no longer used and web links use https.
While here improve style.
Vsevolod Stakhov [Fri, 7 Aug 2020 19:27:28 +0000 (20:27 +0100)]
Merge pull request #3463 from moisseev/webui
[WebUI] Add "rewrite subject" to Status tab widgets
moisseev [Fri, 7 Aug 2020 17:41:03 +0000 (20:41 +0300)]
[WebUI] Remove actions capitalization
moisseev [Fri, 7 Aug 2020 17:17:01 +0000 (20:17 +0300)]
[WebUI] Add "rewrite subject" to Status tab widgets
Vsevolod Stakhov [Fri, 7 Aug 2020 17:12:53 +0000 (18:12 +0100)]
Merge pull request #3462 from moisseev/webui
[WebUI] Use /stat path to get stat
moisseev [Fri, 7 Aug 2020 17:03:13 +0000 (20:03 +0300)]
[WebUI] Use actions names as labels
moisseev [Fri, 7 Aug 2020 16:08:31 +0000 (19:08 +0300)]
[WebUI] Use /stat path to get stat
instead of /auth path
korgoth1 [Thu, 6 Aug 2020 14:50:41 +0000 (17:50 +0300)]
[TEST] PHISH Senders
korgoth1 [Thu, 6 Aug 2020 14:05:10 +0000 (17:05 +0300)]
[TEST] PHISH Senders
korgoth1 [Thu, 6 Aug 2020 14:01:26 +0000 (17:01 +0300)]
[TEST] PHISH Senders
Vsevolod Stakhov [Thu, 6 Aug 2020 13:43:18 +0000 (14:43 +0100)]
[Minor] Lua_tensor: Add deserialisation
Vsevolod Stakhov [Thu, 6 Aug 2020 13:18:47 +0000 (14:18 +0100)]
[Minor] Lua_tensor: Implement serialisation
Vsevolod Stakhov [Thu, 6 Aug 2020 11:06:00 +0000 (12:06 +0100)]
[Minor] Lua_content: Use hex representation of fuzzy hashes
Vsevolod Stakhov [Thu, 6 Aug 2020 11:05:43 +0000 (12:05 +0100)]
[Fix] Fix lua_next invocation
Vsevolod Stakhov [Wed, 5 Aug 2020 20:06:08 +0000 (21:06 +0100)]
Merge pull request #3460 from moisseev/webui
[Minor] Extend /stat response
Vsevolod Stakhov [Wed, 5 Aug 2020 20:04:32 +0000 (21:04 +0100)]
[Project] Add tensors index method
Vsevolod Stakhov [Wed, 5 Aug 2020 20:04:06 +0000 (21:04 +0100)]
[Minor] Allow to have __index in rspamd "classes"
Vsevolod Stakhov [Wed, 5 Aug 2020 15:05:40 +0000 (16:05 +0100)]
[Minor] Add printing and fix multiplication
Vsevolod Stakhov [Wed, 5 Aug 2020 14:36:41 +0000 (15:36 +0100)]
[Project] Add a simple matrix Lua library
moisseev [Wed, 5 Aug 2020 15:04:35 +0000 (18:04 +0300)]
[Minor] Extend /stat response
Vsevolod Stakhov [Wed, 5 Aug 2020 10:17:30 +0000 (11:17 +0100)]
Merge pull request #3458 from moisseev/webui
[Test] Unlock stylelint version
Vsevolod Stakhov [Wed, 5 Aug 2020 10:15:12 +0000 (11:15 +0100)]
Merge pull request #3455 from citrin/clickhouse-retention-fix
Clickhouse retention fix
Vsevolod Stakhov [Wed, 5 Aug 2020 09:16:15 +0000 (10:16 +0100)]
Anton Yuzhaninov [Wed, 29 Jul 2020 15:49:06 +0000 (16:49 +0100)]
[Minor] Use descriptive variable name
PARTITION and PARTITION ID in ClickHouse are different:
https://clickhouse.tech/docs/en/sql-reference/statements/alter/partition/#alter-how-to-specify-part-expr
and we use PARTITION clause here.
Anton Yuzhaninov [Wed, 29 Jul 2020 13:30:23 +0000 (14:30 +0100)]
[Minor] Fix query used to find old partitions
In ClickHouse a partition includes one or more parts. Typically
a partition has at least a few parts. For each part there is a row in
system.parts table and max_date can be different for different parts.
For example if we have following parts:
┌─partition──┬─table──┬───max_date─┐
│ 2020-06-01 │ rspamd │ 2020-06-07 │
│ 2020-06-08 │ rspamd │ 2020-06-10 │
│ 2020-06-08 │ rspamd │ 2020-06-14 │
│ 2020-06-15 │ rspamd │ 2020-06-21 │
└────────────┴────────┴────────────┘
and want to delete parts which don't contain data written
before 2020-06-12.
Old query will return partition which contain a part with
max_date=2020-06-14:
┌─partition──┬─table──┐
│ 2020-06-01 │ rspamd │
│ 2020-06-08 │ rspamd │
└────────────┴────────┘
and new query will return
┌─partition──┬─table──┐
│ 2020-06-01 │ rspamd │
└────────────┴────────┘
While here change <= to < so we will store at least given number of full
months.
Vsevolod Stakhov [Tue, 4 Aug 2020 15:52:30 +0000 (16:52 +0100)]
[Minor] Forwarded: Fix initial condition
Vsevolod Stakhov [Tue, 4 Aug 2020 14:32:29 +0000 (15:32 +0100)]
[Minor] Dmarc: Fix reporting logger invocations
Vsevolod Stakhov [Tue, 4 Aug 2020 14:28:08 +0000 (15:28 +0100)]
[Minor] Fix method
Vsevolod Stakhov [Tue, 4 Aug 2020 13:56:32 +0000 (14:56 +0100)]
[Project] Add ssyev method interface
Vsevolod Stakhov [Tue, 4 Aug 2020 13:17:01 +0000 (14:17 +0100)]
[Project] Add linalg ffi library for prototyping
Vsevolod Stakhov [Tue, 4 Aug 2020 12:11:27 +0000 (13:11 +0100)]
[Minor] Make lua_ffi more flexible to use
Vsevolod Stakhov [Tue, 4 Aug 2020 09:33:51 +0000 (10:33 +0100)]
[Minor] Fix utf8 multipatterns without hyperscan
Vsevolod Stakhov [Tue, 4 Aug 2020 09:31:01 +0000 (10:31 +0100)]
[Minor] Fix multipattern usage
moisseev [Tue, 4 Aug 2020 07:30:53 +0000 (10:30 +0300)]
[Test] Unlock stylelint version
TypeError fixed in stylelint/stylelint#4793
Vsevolod Stakhov [Mon, 3 Aug 2020 13:03:59 +0000 (14:03 +0100)]
[Project] Some more fixes
Vsevolod Stakhov [Mon, 3 Aug 2020 12:33:04 +0000 (13:33 +0100)]
[Project] Cleanup the redis script
Vsevolod Stakhov [Mon, 3 Aug 2020 12:18:59 +0000 (13:18 +0100)]
[Project] Implement 'probabilistic' learn mode for ANN
Vsevolod Stakhov [Sun, 2 Aug 2020 17:46:58 +0000 (18:46 +0100)]
Merge pull request #3457 from moisseev/webui
[WebUI] Remove event listeners on disconnect
moisseev [Sun, 2 Aug 2020 15:33:17 +0000 (18:33 +0300)]
[WebUI] Remove event listeners on disconnect
Vsevolod Stakhov [Fri, 31 Jul 2020 20:06:11 +0000 (21:06 +0100)]
[Minor] Dmarc: Least flag aleady implies the intended behaviour
Vsevolod Stakhov [Thu, 30 Jul 2020 20:19:06 +0000 (21:19 +0100)]
[CritFix] Fix usage of crypto_sign it should be crypto_sign_detached!
Issue: #3456
Vsevolod Stakhov [Thu, 30 Jul 2020 20:18:57 +0000 (21:18 +0100)]
[Minor] Remove assertion
Vsevolod Stakhov [Thu, 30 Jul 2020 13:42:10 +0000 (14:42 +0100)]
[Minor] Distinguish invalid and missing keypair
Vsevolod Stakhov [Thu, 30 Jul 2020 12:13:26 +0000 (13:13 +0100)]
[Minor] Slight regexp and capture improvements
Vsevolod Stakhov [Thu, 30 Jul 2020 12:09:28 +0000 (13:09 +0100)]
[Minor] Fix find invocation
Vsevolod Stakhov [Wed, 29 Jul 2020 10:00:42 +0000 (11:00 +0100)]
[Minor] Fix simple regexps
Vsevolod Stakhov [Tue, 28 Jul 2020 20:06:48 +0000 (21:06 +0100)]
[Test] Ahaha, oh wow
Vsevolod Stakhov [Tue, 28 Jul 2020 19:52:58 +0000 (20:52 +0100)]
[Project] Add implicit bitcoincash prefix
Vsevolod Stakhov [Tue, 28 Jul 2020 19:24:14 +0000 (20:24 +0100)]
[Minor] Pet luacheck
Vsevolod Stakhov [Tue, 28 Jul 2020 16:14:18 +0000 (17:14 +0100)]
[Project] Remove old code
Vsevolod Stakhov [Tue, 28 Jul 2020 16:13:32 +0000 (17:13 +0100)]
[Project] Implement bitcoin cash validation in a proper way
Vsevolod Stakhov [Tue, 28 Jul 2020 16:13:02 +0000 (17:13 +0100)]
[Project] Implement BTC polymod in C as it requires 64 bit ops
Vsevolod Stakhov [Tue, 28 Jul 2020 15:34:20 +0000 (16:34 +0100)]
[Project] Convert bitcoin rules to the new regexp conditions feature
Vsevolod Stakhov [Tue, 28 Jul 2020 15:25:30 +0000 (16:25 +0100)]
[Project] Support fun iterators on rspamd_text objects
Vsevolod Stakhov [Tue, 28 Jul 2020 14:47:51 +0000 (15:47 +0100)]
[Project] Add `L` flag for regexps to save start of the match in Hyperscan
Vsevolod Stakhov [Tue, 28 Jul 2020 13:54:09 +0000 (14:54 +0100)]
[Project] Allow to specify re_conditions for regular expressions
Vsevolod Stakhov [Tue, 28 Jul 2020 11:39:39 +0000 (12:39 +0100)]
[Minor] Move condition
Vsevolod Stakhov [Mon, 27 Jul 2020 15:24:54 +0000 (16:24 +0100)]
[Test] Fix received tests
Vsevolod Stakhov [Mon, 27 Jul 2020 15:24:39 +0000 (16:24 +0100)]
[Minor] Save zero terminated string properly
Vsevolod Stakhov [Mon, 27 Jul 2020 15:10:43 +0000 (16:10 +0100)]
[Minor] Fix usage
Vsevolod Stakhov [Mon, 27 Jul 2020 15:10:21 +0000 (16:10 +0100)]
[Fix] Restore support for `for` and `id` parts in received headers
Vsevolod Stakhov [Sun, 26 Jul 2020 11:42:47 +0000 (12:42 +0100)]
[Minor] Check message field before dereferencing
Vsevolod Stakhov [Sun, 26 Jul 2020 11:08:29 +0000 (12:08 +0100)]
[Minor] Allow empty body in the controller
Vsevolod Stakhov [Sun, 26 Jul 2020 19:03:32 +0000 (20:03 +0100)]
Merge pull request #3453 from moisseev/webui
[WebUI] Add preloader
Vsevolod Stakhov [Sun, 26 Jul 2020 19:03:19 +0000 (20:03 +0100)]
Merge pull request #3454 from citrin/lua_fuzzy_typo
[Minor] Fix typo in lua_fuzzy options
moisseev [Sun, 26 Jul 2020 17:28:36 +0000 (20:28 +0300)]
[WebUI] Add `Enable JS` warning
Anton Yuzhaninov [Sun, 26 Jul 2020 17:12:32 +0000 (18:12 +0100)]
[Minor] Fix typo in lua_fuzzy options
moisseev [Sun, 26 Jul 2020 15:13:16 +0000 (18:13 +0300)]
[Minor] Remove unused preloaders
moisseev [Sun, 26 Jul 2020 15:01:15 +0000 (18:01 +0300)]
[WebUI] Add preloader
moisseev [Sat, 25 Jul 2020 15:39:14 +0000 (18:39 +0300)]
[WebUI] Hide navbar while page is loading
Vsevolod Stakhov [Fri, 24 Jul 2020 19:24:59 +0000 (20:24 +0100)]
[Project] Preliminary support of lua conditions for regexps
Vsevolod Stakhov [Fri, 24 Jul 2020 14:15:10 +0000 (15:15 +0100)]
[Minor] Allow rspamd_text to be passed
Vsevolod Stakhov [Fri, 24 Jul 2020 13:04:11 +0000 (14:04 +0100)]
[Project] Lua_text: Add method memchr