]>
source.dussan.org Git - rspamd.git/log
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
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
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
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
Vsevolod Stakhov [Fri, 24 Jul 2020 12:34:10 +0000 (13:34 +0100)]
[Project] Detect memrchr in systems that supports it
Vsevolod Stakhov [Wed, 22 Jul 2020 20:33:22 +0000 (21:33 +0100)]
[Project] Bitcoin: BTC cash addresses needs some checksum validation
Vsevolod Stakhov [Wed, 22 Jul 2020 19:11:07 +0000 (20:11 +0100)]
Merge pull request #3449 from moisseev/webui
[Minor] CSS clean up
moisseev [Wed, 22 Jul 2020 15:51:17 +0000 (18:51 +0300)]
[Minor] CSS clean up
- remove unused declarations
- use Bootstrap classes
Vsevolod Stakhov [Wed, 22 Jul 2020 13:38:46 +0000 (14:38 +0100)]
[Minor] Fix blas support on osx
Vsevolod Stakhov [Tue, 21 Jul 2020 15:17:26 +0000 (16:17 +0100)]
Merge pull request #3448 from moisseev/webui
[WebUI] Set test selectors card height dynamically
moisseev [Tue, 21 Jul 2020 13:03:00 +0000 (16:03 +0300)]
[Minor] Fix typo
moisseev [Tue, 21 Jul 2020 11:09:41 +0000 (14:09 +0300)]
[Minor] Move controls to card footer
moisseev [Tue, 21 Jul 2020 10:42:45 +0000 (13:42 +0300)]
[Minor] Move buttons to card footer
moisseev [Tue, 21 Jul 2020 10:32:48 +0000 (13:32 +0300)]
[Minor] Remove superfluous bottom margins
moisseev [Tue, 21 Jul 2020 10:08:16 +0000 (13:08 +0300)]
[WebUI] Set test selectors card height dynamically
and minor layout fixes.
Vsevolod Stakhov [Mon, 20 Jul 2020 14:45:24 +0000 (15:45 +0100)]
[Rework] Rework and refactor forged recipients plugin
Vsevolod Stakhov [Mon, 20 Jul 2020 18:48:36 +0000 (19:48 +0100)]
Merge pull request #3447 from croessner/master
[Minor] rspamadm roll -r must not generate new keys
Christian Roessner [Mon, 20 Jul 2020 12:41:40 +0000 (14:41 +0200)]
[Minor] rspamadm roll -r must not generate new keys
Vsevolod Stakhov [Sun, 19 Jul 2020 19:38:22 +0000 (20:38 +0100)]
Merge pull request #3443 from moisseev/webui
[Minor] Fix sidebars transition
moisseev [Sun, 19 Jul 2020 17:21:36 +0000 (20:21 +0300)]
[Minor] Increase `code` and `small` font size
moisseev [Sun, 19 Jul 2020 16:34:55 +0000 (19:34 +0300)]
[Minor] Fix sidebars transition
Vsevolod Stakhov [Sat, 18 Jul 2020 19:48:21 +0000 (20:48 +0100)]
Merge pull request #3441 from moisseev/webui
[Minor] Fix maps list layout
moisseev [Sat, 18 Jul 2020 15:32:34 +0000 (18:32 +0300)]
[Minor] Fix maps list layout
Vsevolod Stakhov [Fri, 17 Jul 2020 15:46:34 +0000 (16:46 +0100)]
[Minor] Oops, true/false was a stupid convention
Vsevolod Stakhov [Fri, 17 Jul 2020 11:11:06 +0000 (12:11 +0100)]
[Minor] Optimize task:get_urls calls
Vsevolod Stakhov [Fri, 17 Jul 2020 09:43:50 +0000 (10:43 +0100)]
Merge pull request #3438 from fatalbanana/docs
Minor doc/config stuff
Vsevolod Stakhov [Fri, 17 Jul 2020 09:43:30 +0000 (10:43 +0100)]
Merge pull request #3439 from moisseev/webui
[WebUI] Map editor further improvements
Vsevolod Stakhov [Thu, 16 Jul 2020 20:25:10 +0000 (21:25 +0100)]
[Minor] Oops, fix crash
Vsevolod Stakhov [Thu, 16 Jul 2020 20:24:55 +0000 (21:24 +0100)]
[Fix] Exclude damaged urls from html parser
moisseev [Thu, 16 Jul 2020 16:12:30 +0000 (19:12 +0300)]
[WebUI] Rework editor resizing, set textarea colors