]> source.dussan.org Git - rspamd.git/log
rspamd.git
4 years ago[Minor] Use descriptive variable name 3455/head
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.

4 years ago[Minor] Fix query used to find old partitions
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.

4 years ago[Minor] Fix method
Vsevolod Stakhov [Tue, 4 Aug 2020 14:28:08 +0000 (15:28 +0100)]
[Minor] Fix method

4 years ago[Project] Add ssyev method interface
Vsevolod Stakhov [Tue, 4 Aug 2020 13:56:32 +0000 (14:56 +0100)]
[Project] Add ssyev method interface

4 years ago[Project] Add linalg ffi library for prototyping
Vsevolod Stakhov [Tue, 4 Aug 2020 13:17:01 +0000 (14:17 +0100)]
[Project] Add linalg ffi library for prototyping

4 years ago[Minor] Make lua_ffi more flexible to use
Vsevolod Stakhov [Tue, 4 Aug 2020 12:11:27 +0000 (13:11 +0100)]
[Minor] Make lua_ffi more flexible to use

4 years ago[Minor] Fix utf8 multipatterns without hyperscan
Vsevolod Stakhov [Tue, 4 Aug 2020 09:33:51 +0000 (10:33 +0100)]
[Minor] Fix utf8 multipatterns without hyperscan

4 years ago[Minor] Fix multipattern usage
Vsevolod Stakhov [Tue, 4 Aug 2020 09:31:01 +0000 (10:31 +0100)]
[Minor] Fix multipattern usage

4 years ago[Project] Some more fixes
Vsevolod Stakhov [Mon, 3 Aug 2020 13:03:59 +0000 (14:03 +0100)]
[Project] Some more fixes

4 years ago[Project] Cleanup the redis script
Vsevolod Stakhov [Mon, 3 Aug 2020 12:33:04 +0000 (13:33 +0100)]
[Project] Cleanup the redis script

4 years ago[Project] Implement 'probabilistic' learn mode for ANN
Vsevolod Stakhov [Mon, 3 Aug 2020 12:18:59 +0000 (13:18 +0100)]
[Project] Implement 'probabilistic' learn mode for ANN

4 years agoMerge pull request #3457 from moisseev/webui
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

4 years ago[WebUI] Remove event listeners on disconnect 3457/head
moisseev [Sun, 2 Aug 2020 15:33:17 +0000 (18:33 +0300)]
[WebUI] Remove event listeners on disconnect

4 years ago[Minor] Dmarc: Least flag aleady implies the intended behaviour
Vsevolod Stakhov [Fri, 31 Jul 2020 20:06:11 +0000 (21:06 +0100)]
[Minor] Dmarc: Least flag aleady implies the intended behaviour

4 years ago[CritFix] Fix usage of crypto_sign it should be crypto_sign_detached!
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

4 years ago[Minor] Remove assertion
Vsevolod Stakhov [Thu, 30 Jul 2020 20:18:57 +0000 (21:18 +0100)]
[Minor] Remove assertion

4 years ago[Minor] Distinguish invalid and missing keypair
Vsevolod Stakhov [Thu, 30 Jul 2020 13:42:10 +0000 (14:42 +0100)]
[Minor] Distinguish invalid and missing keypair

4 years ago[Minor] Slight regexp and capture improvements
Vsevolod Stakhov [Thu, 30 Jul 2020 12:13:26 +0000 (13:13 +0100)]
[Minor] Slight regexp and capture improvements

4 years ago[Minor] Fix find invocation
Vsevolod Stakhov [Thu, 30 Jul 2020 12:09:28 +0000 (13:09 +0100)]
[Minor] Fix find invocation

4 years ago[Minor] Fix simple regexps
Vsevolod Stakhov [Wed, 29 Jul 2020 10:00:42 +0000 (11:00 +0100)]
[Minor] Fix simple regexps

4 years ago[Test] Ahaha, oh wow
Vsevolod Stakhov [Tue, 28 Jul 2020 20:06:48 +0000 (21:06 +0100)]
[Test] Ahaha, oh wow

4 years ago[Project] Add implicit bitcoincash prefix
Vsevolod Stakhov [Tue, 28 Jul 2020 19:52:58 +0000 (20:52 +0100)]
[Project] Add implicit bitcoincash prefix

4 years ago[Minor] Pet luacheck
Vsevolod Stakhov [Tue, 28 Jul 2020 19:24:14 +0000 (20:24 +0100)]
[Minor] Pet luacheck

4 years ago[Project] Remove old code
Vsevolod Stakhov [Tue, 28 Jul 2020 16:14:18 +0000 (17:14 +0100)]
[Project] Remove old code

4 years ago[Project] Implement bitcoin cash validation in a proper way
Vsevolod Stakhov [Tue, 28 Jul 2020 16:13:32 +0000 (17:13 +0100)]
[Project] Implement bitcoin cash validation in a proper way

4 years ago[Project] Implement BTC polymod in C as it requires 64 bit ops
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

4 years ago[Project] Convert bitcoin rules to the new regexp conditions feature
Vsevolod Stakhov [Tue, 28 Jul 2020 15:34:20 +0000 (16:34 +0100)]
[Project] Convert bitcoin rules to the new regexp conditions feature

4 years ago[Project] Support fun iterators on rspamd_text objects
Vsevolod Stakhov [Tue, 28 Jul 2020 15:25:30 +0000 (16:25 +0100)]
[Project] Support fun iterators on rspamd_text objects

4 years ago[Project] Add `L` flag for regexps to save start of the match in Hyperscan
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

4 years ago[Project] Allow to specify re_conditions for regular expressions
Vsevolod Stakhov [Tue, 28 Jul 2020 13:54:09 +0000 (14:54 +0100)]
[Project] Allow to specify re_conditions for regular expressions

4 years ago[Minor] Move condition
Vsevolod Stakhov [Tue, 28 Jul 2020 11:39:39 +0000 (12:39 +0100)]
[Minor] Move condition

4 years ago[Test] Fix received tests
Vsevolod Stakhov [Mon, 27 Jul 2020 15:24:54 +0000 (16:24 +0100)]
[Test] Fix received tests

4 years ago[Minor] Save zero terminated string properly
Vsevolod Stakhov [Mon, 27 Jul 2020 15:24:39 +0000 (16:24 +0100)]
[Minor] Save zero terminated string properly

4 years ago[Minor] Fix usage
Vsevolod Stakhov [Mon, 27 Jul 2020 15:10:43 +0000 (16:10 +0100)]
[Minor] Fix usage

4 years ago[Fix] Restore support for `for` and `id` parts in received headers
Vsevolod Stakhov [Mon, 27 Jul 2020 15:10:21 +0000 (16:10 +0100)]
[Fix] Restore support for `for` and `id` parts in received headers

4 years ago[Minor] Check message field before dereferencing
Vsevolod Stakhov [Sun, 26 Jul 2020 11:42:47 +0000 (12:42 +0100)]
[Minor] Check message field before dereferencing

4 years ago[Minor] Allow empty body in the controller
Vsevolod Stakhov [Sun, 26 Jul 2020 11:08:29 +0000 (12:08 +0100)]
[Minor] Allow empty body in the controller

4 years agoMerge pull request #3453 from moisseev/webui
Vsevolod Stakhov [Sun, 26 Jul 2020 19:03:32 +0000 (20:03 +0100)]
Merge pull request #3453 from moisseev/webui

[WebUI] Add preloader

4 years agoMerge pull request #3454 from citrin/lua_fuzzy_typo
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

4 years ago[WebUI] Add `Enable JS` warning 3453/head
moisseev [Sun, 26 Jul 2020 17:28:36 +0000 (20:28 +0300)]
[WebUI] Add `Enable JS` warning

4 years ago[Minor] Fix typo in lua_fuzzy options 3454/head
Anton Yuzhaninov [Sun, 26 Jul 2020 17:12:32 +0000 (18:12 +0100)]
[Minor] Fix typo in lua_fuzzy options

4 years ago[Minor] Remove unused preloaders
moisseev [Sun, 26 Jul 2020 15:13:16 +0000 (18:13 +0300)]
[Minor] Remove unused preloaders

4 years ago[WebUI] Add preloader
moisseev [Sun, 26 Jul 2020 15:01:15 +0000 (18:01 +0300)]
[WebUI] Add preloader

4 years ago[WebUI] Hide navbar while page is loading
moisseev [Sat, 25 Jul 2020 15:39:14 +0000 (18:39 +0300)]
[WebUI] Hide navbar while page is loading

4 years ago[Project] Preliminary support of lua conditions for regexps
Vsevolod Stakhov [Fri, 24 Jul 2020 19:24:59 +0000 (20:24 +0100)]
[Project] Preliminary support of lua conditions for regexps

4 years ago[Minor] Allow rspamd_text to be passed
Vsevolod Stakhov [Fri, 24 Jul 2020 14:15:10 +0000 (15:15 +0100)]
[Minor] Allow rspamd_text to be passed

4 years ago[Project] Lua_text: Add method memchr
Vsevolod Stakhov [Fri, 24 Jul 2020 13:04:11 +0000 (14:04 +0100)]
[Project] Lua_text: Add method memchr

4 years ago[Project] Detect memrchr in systems that supports it
Vsevolod Stakhov [Fri, 24 Jul 2020 12:34:10 +0000 (13:34 +0100)]
[Project] Detect memrchr in systems that supports it

4 years ago[Project] Bitcoin: BTC cash addresses needs some checksum validation
Vsevolod Stakhov [Wed, 22 Jul 2020 20:33:22 +0000 (21:33 +0100)]
[Project] Bitcoin: BTC cash addresses needs some checksum validation

4 years agoMerge pull request #3449 from moisseev/webui
Vsevolod Stakhov [Wed, 22 Jul 2020 19:11:07 +0000 (20:11 +0100)]
Merge pull request #3449 from moisseev/webui

[Minor] CSS clean up

4 years ago[Minor] CSS clean up 3449/head
moisseev [Wed, 22 Jul 2020 15:51:17 +0000 (18:51 +0300)]
[Minor] CSS clean up

 - remove unused declarations
 - use Bootstrap classes

4 years ago[Minor] Fix blas support on osx
Vsevolod Stakhov [Wed, 22 Jul 2020 13:38:46 +0000 (14:38 +0100)]
[Minor] Fix blas support on osx

4 years agoMerge pull request #3448 from moisseev/webui
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

4 years ago[Minor] Fix typo 3448/head
moisseev [Tue, 21 Jul 2020 13:03:00 +0000 (16:03 +0300)]
[Minor] Fix typo

4 years ago[Minor] Move controls to card footer
moisseev [Tue, 21 Jul 2020 11:09:41 +0000 (14:09 +0300)]
[Minor] Move controls to card footer

4 years ago[Minor] Move buttons to card footer
moisseev [Tue, 21 Jul 2020 10:42:45 +0000 (13:42 +0300)]
[Minor] Move buttons to card footer

4 years ago[Minor] Remove superfluous bottom margins
moisseev [Tue, 21 Jul 2020 10:32:48 +0000 (13:32 +0300)]
[Minor] Remove superfluous bottom margins

4 years ago[WebUI] Set test selectors card height dynamically
moisseev [Tue, 21 Jul 2020 10:08:16 +0000 (13:08 +0300)]
[WebUI] Set test selectors card height dynamically

and minor layout fixes.

4 years ago[Rework] Rework and refactor forged recipients plugin
Vsevolod Stakhov [Mon, 20 Jul 2020 14:45:24 +0000 (15:45 +0100)]
[Rework] Rework and refactor forged recipients plugin

4 years agoMerge pull request #3447 from croessner/master
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

4 years ago[Minor] rspamadm roll -r must not generate new keys 3447/head
Christian Roessner [Mon, 20 Jul 2020 12:41:40 +0000 (14:41 +0200)]
[Minor] rspamadm roll -r must not generate new keys

4 years agoMerge pull request #3443 from moisseev/webui
Vsevolod Stakhov [Sun, 19 Jul 2020 19:38:22 +0000 (20:38 +0100)]
Merge pull request #3443 from moisseev/webui

[Minor] Fix sidebars transition

4 years ago[Minor] Increase `code` and `small` font size 3443/head
moisseev [Sun, 19 Jul 2020 17:21:36 +0000 (20:21 +0300)]
[Minor] Increase `code` and `small` font size

4 years ago[Minor] Fix sidebars transition
moisseev [Sun, 19 Jul 2020 16:34:55 +0000 (19:34 +0300)]
[Minor] Fix sidebars transition

4 years agoMerge pull request #3441 from moisseev/webui
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

4 years ago[Minor] Fix maps list layout 3441/head
moisseev [Sat, 18 Jul 2020 15:32:34 +0000 (18:32 +0300)]
[Minor] Fix maps list layout

4 years ago[Minor] Oops, true/false was a stupid convention
Vsevolod Stakhov [Fri, 17 Jul 2020 15:46:34 +0000 (16:46 +0100)]
[Minor] Oops, true/false was a stupid convention

4 years ago[Minor] Optimize task:get_urls calls
Vsevolod Stakhov [Fri, 17 Jul 2020 11:11:06 +0000 (12:11 +0100)]
[Minor] Optimize task:get_urls calls

4 years agoMerge pull request #3438 from fatalbanana/docs
Vsevolod Stakhov [Fri, 17 Jul 2020 09:43:50 +0000 (10:43 +0100)]
Merge pull request #3438 from fatalbanana/docs

Minor doc/config stuff

4 years agoMerge pull request #3439 from moisseev/webui
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

4 years ago[Minor] Oops, fix crash
Vsevolod Stakhov [Thu, 16 Jul 2020 20:25:10 +0000 (21:25 +0100)]
[Minor] Oops, fix crash

4 years ago[Fix] Exclude damaged urls from html parser
Vsevolod Stakhov [Thu, 16 Jul 2020 20:24:55 +0000 (21:24 +0100)]
[Fix] Exclude damaged urls from html parser

4 years ago[WebUI] Rework editor resizing, set textarea colors 3439/head
moisseev [Thu, 16 Jul 2020 16:12:30 +0000 (19:12 +0300)]
[WebUI] Rework editor resizing, set textarea colors

4 years ago[Minor] Do not autodetect html parts as text parts
Vsevolod Stakhov [Thu, 16 Jul 2020 15:14:22 +0000 (16:14 +0100)]
[Minor] Do not autodetect html parts as text parts

4 years ago[Minor] Add link tag basic processing
Vsevolod Stakhov [Thu, 16 Jul 2020 15:08:41 +0000 (16:08 +0100)]
[Minor] Add link tag basic processing

4 years ago[Minor] Ignore data urls
Vsevolod Stakhov [Thu, 16 Jul 2020 14:55:50 +0000 (15:55 +0100)]
[Minor] Ignore data urls

4 years ago[Minor] Fix data images processing in html links
Vsevolod Stakhov [Thu, 16 Jul 2020 14:53:07 +0000 (15:53 +0100)]
[Minor] Fix data images processing in html links

4 years ago[Minor] Tune line numbers gutter
moisseev [Thu, 16 Jul 2020 11:41:53 +0000 (14:41 +0300)]
[Minor] Tune line numbers gutter

4 years ago[Minor] Set editor modal width dynamically
moisseev [Thu, 16 Jul 2020 11:33:25 +0000 (14:33 +0300)]
[Minor] Set editor modal width dynamically

4 years ago[Minor] Tune Prism show-invisibles plugin
moisseev [Thu, 16 Jul 2020 11:08:58 +0000 (14:08 +0300)]
[Minor] Tune Prism show-invisibles plugin

4 years ago[Fix] Improve part:is_attachment logic
Vsevolod Stakhov [Wed, 15 Jul 2020 14:51:22 +0000 (15:51 +0100)]
[Fix] Improve part:is_attachment logic

4 years ago[Minor] Fix description: rspamd_cryptobox_pubkey.create 3438/head
Andrew Lewis [Wed, 15 Jul 2020 13:45:59 +0000 (15:45 +0200)]
[Minor] Fix description: rspamd_cryptobox_pubkey.create

4 years ago[Minor] ratelimit: remove max_rcpt from config
Andrew Lewis [Wed, 15 Jul 2020 13:43:04 +0000 (15:43 +0200)]
[Minor] ratelimit: remove max_rcpt from config

4 years ago[Minor] Fix line count calculation
moisseev [Wed, 15 Jul 2020 13:21:00 +0000 (16:21 +0300)]
[Minor] Fix line count calculation

4 years ago[Minor] Improve log message
Vsevolod Stakhov [Wed, 15 Jul 2020 10:22:13 +0000 (11:22 +0100)]
[Minor] Improve log message

4 years ago[Minor] Increase log level
Vsevolod Stakhov [Wed, 15 Jul 2020 10:19:02 +0000 (11:19 +0100)]
[Minor] Increase log level

4 years ago[Minor] Add caching for attachments digests
Vsevolod Stakhov [Tue, 14 Jul 2020 15:48:23 +0000 (16:48 +0100)]
[Minor] Add caching for attachments digests

4 years agoMerge pull request #3434 from moisseev/webui
Vsevolod Stakhov [Tue, 14 Jul 2020 08:57:51 +0000 (09:57 +0100)]
Merge pull request #3434 from moisseev/webui

[WebUI] Add map editor (requires a modern browser)

4 years ago[WebUI] Add map editor (requires a modern browser) 3434/head
moisseev [Tue, 14 Jul 2020 08:47:12 +0000 (11:47 +0300)]
[WebUI] Add map editor (requires a modern browser)

4 years ago[Minor] Fix fuzzy sessions counter
Vsevolod Stakhov [Mon, 13 Jul 2020 15:01:38 +0000 (16:01 +0100)]
[Minor] Fix fuzzy sessions counter

4 years ago[Minor] Gzip archives are always deflate
Vsevolod Stakhov [Mon, 13 Jul 2020 14:43:33 +0000 (15:43 +0100)]
[Minor] Gzip archives are always deflate

4 years ago[Fix] Fix adding of the empty archive file for gzip
Vsevolod Stakhov [Mon, 13 Jul 2020 14:40:43 +0000 (15:40 +0100)]
[Fix] Fix adding of the empty archive file for gzip

4 years agoMerge pull request #3433 from moisseev/webui
Vsevolod Stakhov [Sun, 12 Jul 2020 10:26:21 +0000 (11:26 +0100)]
Merge pull request #3433 from moisseev/webui

[Minor] Update JS libraries

4 years ago[Minor] Update JS libraries 3433/head
moisseev [Sun, 12 Jul 2020 10:23:13 +0000 (13:23 +0300)]
[Minor] Update JS libraries

4 years agoMerge pull request #3432 from moisseev/webui
Vsevolod Stakhov [Sat, 11 Jul 2020 22:15:36 +0000 (23:15 +0100)]
Merge pull request #3432 from moisseev/webui

[WebUI] Rework actions form

4 years ago[Minor] Use class for hiding WebUI elements 3432/head
moisseev [Sat, 11 Jul 2020 15:57:53 +0000 (18:57 +0300)]
[Minor] Use class for hiding WebUI elements

4 years ago[WebUI] Rework actions form
moisseev [Sat, 11 Jul 2020 15:41:55 +0000 (18:41 +0300)]
[WebUI] Rework actions form

4 years agoMerge pull request #3428 from moisseev/webui
Vsevolod Stakhov [Fri, 10 Jul 2020 18:01:41 +0000 (19:01 +0100)]
Merge pull request #3428 from moisseev/webui

[WebUI] Rework maps modal

4 years ago[WebUI] Rework maps modal 3428/head
moisseev [Fri, 10 Jul 2020 17:12:40 +0000 (20:12 +0300)]
[WebUI] Rework maps modal

4 years agoMerge pull request #3427 from moisseev/webui
Vsevolod Stakhov [Thu, 9 Jul 2020 23:00:03 +0000 (00:00 +0100)]
Merge pull request #3427 from moisseev/webui

[WebUI] Fix login modal