]> source.dussan.org Git - rspamd.git/log
rspamd.git
2 years ago[Minor] Arc: Simplify code
Vsevolod Stakhov [Sat, 25 Jun 2022 13:31:19 +0000 (14:31 +0100)]
[Minor] Arc: Simplify code

2 years ago[Minor] Add some sanity stuff for signing to skip signing for passthrough results
Vsevolod Stakhov [Sat, 25 Jun 2022 11:45:28 +0000 (12:45 +0100)]
[Minor] Add some sanity stuff for signing to skip signing for passthrough results

2 years ago[Minor] Add `ignore_passthrough` flag to signing symbols
Vsevolod Stakhov [Fri, 24 Jun 2022 22:38:48 +0000 (23:38 +0100)]
[Minor] Add `ignore_passthrough` flag to signing symbols

Issue: #4202

2 years agoRevert "[Minor] Simplify code"
Vsevolod Stakhov [Fri, 24 Jun 2022 21:06:44 +0000 (22:06 +0100)]
Revert "[Minor] Simplify code"

It seems that safety guarantees as defined by standard apply merely to the values but not to the keys.
So revert to a more ugly approach unless there is a better way to do `try_emplace` with move only key.

This reverts commit 8bb63981133b479dcaf24b9d34d43993c1b732c8.

2 years ago[Minor] Simplify code
Vsevolod Stakhov [Fri, 24 Jun 2022 20:52:17 +0000 (21:52 +0100)]
[Minor] Simplify code

2 years ago[Minor] Grow small strings more quickly
Vsevolod Stakhov [Thu, 23 Jun 2022 20:57:19 +0000 (21:57 +0100)]
[Minor] Grow small strings more quickly

2 years ago[Minor] Move stuff
Vsevolod Stakhov [Tue, 21 Jun 2022 18:13:35 +0000 (19:13 +0100)]
[Minor] Move stuff

2 years ago[Minor] Add some sanity checks to the redis scripts
Vsevolod Stakhov [Mon, 20 Jun 2022 19:46:27 +0000 (20:46 +0100)]
[Minor] Add some sanity checks to the redis scripts

2 years ago[Minor] Give up about passing constexpr literal
Vsevolod Stakhov [Sun, 19 Jun 2022 17:28:19 +0000 (18:28 +0100)]
[Minor] Give up about passing constexpr literal

2 years ago[Minor] Another try to fix emphasis function
Vsevolod Stakhov [Sun, 19 Jun 2022 12:11:00 +0000 (13:11 +0100)]
[Minor] Another try to fix emphasis function

2 years ago[Fix] Use proper format string, sigh...
Vsevolod Stakhov [Sun, 19 Jun 2022 12:02:15 +0000 (13:02 +0100)]
[Fix] Use proper format string, sigh...

2 years ago[Minor] C++20 is here
Vsevolod Stakhov [Sun, 19 Jun 2022 12:01:10 +0000 (13:01 +0100)]
[Minor] C++20 is here

2 years ago[Minor] Add consteval for fmt wrapper
Vsevolod Stakhov [Sun, 19 Jun 2022 11:57:48 +0000 (12:57 +0100)]
[Minor] Add consteval for fmt wrapper

2 years ago[Minor] Refrain from using runtime format strings
Vsevolod Stakhov [Sun, 19 Jun 2022 11:48:45 +0000 (12:48 +0100)]
[Minor] Refrain from using runtime format strings

2 years ago[Minor] Remove deprecated stuff
Vsevolod Stakhov [Sun, 19 Jun 2022 11:48:31 +0000 (12:48 +0100)]
[Minor] Remove deprecated stuff

2 years ago[Rework] Switch minimum C++ standard version to C++20
Vsevolod Stakhov [Sun, 19 Jun 2022 11:24:09 +0000 (12:24 +0100)]
[Rework] Switch minimum C++ standard version to C++20

2 years ago[Project] Http_stat: Notice statfiles when creating runtime
Vsevolod Stakhov [Sat, 18 Jun 2022 13:50:43 +0000 (14:50 +0100)]
[Project] Http_stat: Notice statfiles when creating runtime

2 years ago[Minor] Pass statfile id when requesting for the backend runtime
Vsevolod Stakhov [Sat, 18 Jun 2022 13:35:55 +0000 (14:35 +0100)]
[Minor] Pass statfile id when requesting for the backend runtime

2 years ago[Minor] Remove unused function
Vsevolod Stakhov [Thu, 16 Jun 2022 12:40:47 +0000 (13:40 +0100)]
[Minor] Remove unused function

2 years ago[Minor] Fix table output
Vsevolod Stakhov [Wed, 15 Jun 2022 13:44:47 +0000 (14:44 +0100)]
[Minor] Fix table output

2 years ago[Minor] Add log tag to proxy scripts
Vsevolod Stakhov [Wed, 15 Jun 2022 13:14:22 +0000 (14:14 +0100)]
[Minor] Add log tag to proxy scripts

Issue: #4126

2 years ago[Minor] Use fixed floating point format
Vsevolod Stakhov [Tue, 14 Jun 2022 20:08:14 +0000 (21:08 +0100)]
[Minor] Use fixed floating point format

2 years ago[Minor] Try to add workaround for replxx usage with no history
Vsevolod Stakhov [Mon, 13 Jun 2022 22:41:22 +0000 (23:41 +0100)]
[Minor] Try to add workaround for replxx usage with no history

Issue: #4133

2 years ago[Project] Add experimental HTTP statistics backend
Vsevolod Stakhov [Sat, 11 Jun 2022 12:24:50 +0000 (13:24 +0100)]
[Project] Add experimental HTTP statistics backend

2 years ago[Minor] Simplify array_of using types deduction
Vsevolod Stakhov [Sat, 11 Jun 2022 11:24:23 +0000 (12:24 +0100)]
[Minor] Simplify array_of using types deduction

2 years ago[Minor] Use header only mode for fmt
Vsevolod Stakhov [Fri, 10 Jun 2022 20:45:04 +0000 (21:45 +0100)]
[Minor] Use header only mode for fmt

2 years ago[Minor] Some minor improvements
Vsevolod Stakhov [Fri, 10 Jun 2022 20:33:39 +0000 (21:33 +0100)]
[Minor] Some minor improvements

2 years ago[Minor] More colours
Vsevolod Stakhov [Wed, 8 Jun 2022 21:57:57 +0000 (22:57 +0100)]
[Minor] More colours

2 years ago[Feature] Allow to sort symbols output
Vsevolod Stakhov [Wed, 8 Jun 2022 21:46:40 +0000 (22:46 +0100)]
[Feature] Allow to sort symbols output

2 years ago[Minor] Fix parsing of the headers
Vsevolod Stakhov [Wed, 8 Jun 2022 19:21:17 +0000 (20:21 +0100)]
[Minor] Fix parsing of the headers

2 years ago[Minor] Fix compile issues
Vsevolod Stakhov [Tue, 7 Jun 2022 21:38:44 +0000 (22:38 +0100)]
[Minor] Fix compile issues

2 years ago[Minor] Grrr, remove not ready backend one more time
Vsevolod Stakhov [Tue, 7 Jun 2022 21:16:04 +0000 (22:16 +0100)]
[Minor] Grrr, remove not ready backend one more time

2 years ago[Minor] Use tty safe colours support
Vsevolod Stakhov [Tue, 7 Jun 2022 20:01:22 +0000 (21:01 +0100)]
[Minor] Use tty safe colours support

2 years ago[Minor] Add some terminal stuff
Vsevolod Stakhov [Tue, 7 Jun 2022 18:50:52 +0000 (19:50 +0100)]
[Minor] Add some terminal stuff

2 years ago[Rework] Rewrite rspamc in C++
Vsevolod Stakhov [Tue, 7 Jun 2022 18:32:04 +0000 (19:32 +0100)]
[Rework] Rewrite rspamc in C++

2 years agoMerge pull request #4189 from moisseev/webui
Vsevolod Stakhov [Mon, 6 Jun 2022 20:43:08 +0000 (21:43 +0100)]
Merge pull request #4189 from moisseev/webui

[WebUI] Fix privileged access for secure_ip

2 years ago[Minor] Add a memory erasing allocator
Vsevolod Stakhov [Mon, 6 Jun 2022 20:42:09 +0000 (21:42 +0100)]
[Minor] Add a memory erasing allocator

2 years ago[WebUI] Fix privileged access for secure_ip 4189/head
moisseev [Mon, 6 Jun 2022 15:01:53 +0000 (18:01 +0300)]
[WebUI] Fix privileged access for secure_ip

2 years ago[Minor] Committed by mistake
Vsevolod Stakhov [Sat, 4 Jun 2022 17:59:28 +0000 (18:59 +0100)]
[Minor] Committed by mistake

2 years ago[Fix] Properly check the original email flag
Vsevolod Stakhov [Sat, 4 Jun 2022 17:57:40 +0000 (18:57 +0100)]
[Fix] Properly check the original email flag

Issue: #4167, #4104, #4187

2 years ago[Minor] Refactor bogus enum
Vsevolod Stakhov [Sat, 4 Jun 2022 17:57:22 +0000 (18:57 +0100)]
[Minor] Refactor bogus enum

2 years ago[Fix] Properly parse expressions atoms
Vsevolod Stakhov [Thu, 2 Jun 2022 20:23:12 +0000 (21:23 +0100)]
[Fix] Properly parse expressions atoms

Issue: #4181

2 years ago[Test] Improve settings test
Vsevolod Stakhov [Thu, 2 Jun 2022 20:22:28 +0000 (21:22 +0100)]
[Test] Improve settings test

Issue: #4181

2 years ago[Minor] Remove dkim reputation reject
Vsevolod Stakhov [Wed, 1 Jun 2022 20:46:04 +0000 (21:46 +0100)]
[Minor] Remove dkim reputation reject

Discussed with: @moisseev

2 years ago[Minor] Try to fix passwords case in the controller
Vsevolod Stakhov [Tue, 31 May 2022 16:39:44 +0000 (17:39 +0100)]
[Minor] Try to fix passwords case in the controller

Issue: #4186

2 years agoMerge pull request #4183 from moisseev/webui
Vsevolod Stakhov [Mon, 30 May 2022 17:28:10 +0000 (18:28 +0100)]
Merge pull request #4183 from moisseev/webui

[WebUI] Add option to choose map editor

2 years ago[Minor] Avoid using legacy method
Vsevolod Stakhov [Sun, 29 May 2022 10:04:58 +0000 (11:04 +0100)]
[Minor] Avoid using legacy method

2 years ago[Fix] Properly deal with `get_symbol/get_metric_symbol` ambiguity
Vsevolod Stakhov [Sun, 29 May 2022 10:02:47 +0000 (11:02 +0100)]
[Fix] Properly deal with `get_symbol/get_metric_symbol` ambiguity

2 years ago[WebUI] Update JavaScript libraries 4183/head
moisseev [Sat, 28 May 2022 15:32:56 +0000 (18:32 +0300)]
[WebUI] Update JavaScript libraries

  CodeJar 3.5.0 -> 3.6.0
  PrismJS 1.23.0 -> 1.28.0

2 years ago[WebUI] Add option to choose map editor
moisseev [Sat, 28 May 2022 15:02:58 +0000 (18:02 +0300)]
[WebUI] Add option to choose map editor

Issue: #4172

and restrict to text area if an opened map larger then 5 KiB
as the advanced editor is unresponsive
when editing a large amount of text.

2 years ago[Fix] Another try to fix race condition in the runtime destruction
Vsevolod Stakhov [Sat, 28 May 2022 11:34:33 +0000 (12:34 +0100)]
[Fix] Another try to fix race condition in the runtime destruction

2 years ago[Minor] Change macro for C++
Vsevolod Stakhov [Sat, 28 May 2022 11:29:44 +0000 (12:29 +0100)]
[Minor] Change macro for C++

2 years agoRevert "[Fix] Stop slow timer on task destruction"
Vsevolod Stakhov [Sat, 28 May 2022 11:03:02 +0000 (12:03 +0100)]
Revert "[Fix] Stop slow timer on task destruction"

This reverts commit 64cc33bb9169369241c78b999e3d1a4ce0a2cb02.

2 years ago[Fix] Stop slow timer on task destruction
Vsevolod Stakhov [Fri, 27 May 2022 20:15:51 +0000 (21:15 +0100)]
[Fix] Stop slow timer on task destruction

Issue: #4182

2 years ago[Minor] Remove legacy `default` metric
Vsevolod Stakhov [Fri, 27 May 2022 20:00:49 +0000 (21:00 +0100)]
[Minor] Remove legacy `default` metric

2 years ago[Conf] Add missing groups for whitelist module symbols
Vsevolod Stakhov [Thu, 26 May 2022 20:25:56 +0000 (21:25 +0100)]
[Conf] Add missing groups for whitelist module symbols

Issue: #4169

2 years ago[Minor] History_redis: Allow no expire as a valid expire value
Vsevolod Stakhov [Sun, 22 May 2022 11:55:42 +0000 (12:55 +0100)]
[Minor] History_redis: Allow no expire as a valid expire value

2 years ago[Minor] Hisory_redis: Add configuration schema
Vsevolod Stakhov [Sun, 22 May 2022 11:54:54 +0000 (12:54 +0100)]
[Minor] Hisory_redis: Add configuration schema

2 years agoMerge pull request #4175 from vitalvas/feature/history_redis/expire
Vsevolod Stakhov [Sun, 22 May 2022 11:24:17 +0000 (12:24 +0100)]
Merge pull request #4175 from vitalvas/feature/history_redis/expire

[Enhancement] Add expire to history redis

2 years agoRemove unused redis array in history redis 4175/head
Vitaliy Vasilenko [Sat, 21 May 2022 19:02:27 +0000 (22:02 +0300)]
Remove unused redis array in history redis

2 years ago[Enhancement] Add expire to history redis
Vitaliy Vasilenko [Sat, 21 May 2022 13:30:25 +0000 (16:30 +0300)]
[Enhancement] Add expire to history redis

2 years ago[Minor] Reputation: Another try to fix dkim reputation
Vsevolod Stakhov [Sat, 21 May 2022 12:33:25 +0000 (13:33 +0100)]
[Minor] Reputation: Another try to fix dkim reputation

2 years agoMerge pull request #4173 from tierpod/selector-lower-utf
Vsevolod Stakhov [Sat, 21 May 2022 11:48:13 +0000 (12:48 +0100)]
Merge pull request #4173 from tierpod/selector-lower-utf

[Minor] fix lower transformation for utf symbols

2 years ago[Minor] Add test for lower_utf8 selector transformation 4173/head
Pavel Podkorytov [Sat, 21 May 2022 11:35:18 +0000 (16:35 +0500)]
[Minor] Add test for lower_utf8 selector transformation

2 years ago[Minor] Add lower_utf8 selector transformation
Pavel Podkorytov [Sat, 21 May 2022 10:56:28 +0000 (15:56 +0500)]
[Minor] Add lower_utf8 selector transformation

2 years agoRevert "[Minor] fix lower transformation for utf symbols"
Pavel Podkorytov [Sat, 21 May 2022 10:53:00 +0000 (15:53 +0500)]
Revert "[Minor] fix lower transformation for utf symbols"

This reverts commit fbb7db65a5cf50dc642550688407e724d56ebe34.

2 years ago[Minor] Hfilter: Some refactoring in hfilter urls stuff
Vsevolod Stakhov [Fri, 20 May 2022 21:15:14 +0000 (22:15 +0100)]
[Minor] Hfilter: Some refactoring in hfilter urls stuff

2 years ago[Minor] Maillist: Add `nice` flag
Vsevolod Stakhov [Fri, 20 May 2022 21:05:33 +0000 (22:05 +0100)]
[Minor] Maillist: Add `nice` flag

2 years ago[Minor] Maillist: Remove old maillist type
Vsevolod Stakhov [Fri, 20 May 2022 21:04:22 +0000 (22:04 +0100)]
[Minor] Maillist: Remove old maillist type

2 years ago[Minor] Maillist: Relax rules for subscribe/unsubscribe slightly
Vsevolod Stakhov [Fri, 20 May 2022 21:02:49 +0000 (22:02 +0100)]
[Minor] Maillist: Relax rules for subscribe/unsubscribe slightly

2 years ago[Minor] fix lower transformation for utf symbols
Pavel Podkorytov [Fri, 20 May 2022 10:30:54 +0000 (15:30 +0500)]
[Minor] fix lower transformation for utf symbols

2 years ago[Minor] Reputation: Another try to fix split_symbols
Vsevolod Stakhov [Wed, 18 May 2022 19:43:44 +0000 (20:43 +0100)]
[Minor] Reputation: Another try to fix split_symbols

2 years ago[Minor] Lua_config: Add routine to extract the specific symbol's configuration
Vsevolod Stakhov [Wed, 18 May 2022 19:23:15 +0000 (20:23 +0100)]
[Minor] Lua_config: Add routine to extract the specific symbol's configuration

2 years ago[Minor] Reputation: Try to fix `split_symbol` default logic
Vsevolod Stakhov [Tue, 17 May 2022 20:30:55 +0000 (21:30 +0100)]
[Minor] Reputation: Try to fix `split_symbol` default logic

2 years ago[Minor] Fix build with LibreSSL 3.5+
Vsevolod Stakhov [Mon, 16 May 2022 22:24:08 +0000 (23:24 +0100)]
[Minor] Fix build with LibreSSL 3.5+

Submitted by: Bernard Spil

2 years ago[Rework] Augmentations can now imply flags
Vsevolod Stakhov [Sun, 15 May 2022 12:08:47 +0000 (13:08 +0100)]
[Rework] Augmentations can now imply flags

2 years ago[Minor] Implement bits printing for numbers
Vsevolod Stakhov [Sun, 15 May 2022 12:08:33 +0000 (13:08 +0100)]
[Minor] Implement bits printing for numbers

2 years ago[Minor] Various improvements into the toolset detection scripts
Vsevolod Stakhov [Sun, 15 May 2022 11:43:20 +0000 (12:43 +0100)]
[Minor] Various improvements into the toolset detection scripts

2 years ago[Fix] Fix ordering when sorting symcache
Vsevolod Stakhov [Sat, 14 May 2022 19:15:48 +0000 (20:15 +0100)]
[Fix] Fix ordering when sorting symcache

2 years ago[Test] Add testing for the augmentations logic
Vsevolod Stakhov [Sat, 14 May 2022 13:52:08 +0000 (14:52 +0100)]
[Test] Add testing for the augmentations logic

2 years ago[Rework] Multimap: Avoid prefilters usage where augmentations can be used
Vsevolod Stakhov [Sat, 14 May 2022 13:38:37 +0000 (14:38 +0100)]
[Rework] Multimap: Avoid prefilters usage where augmentations can be used

2 years ago[Minor] Oops, fix table iteration
Vsevolod Stakhov [Sat, 14 May 2022 13:38:25 +0000 (14:38 +0100)]
[Minor] Oops, fix table iteration

2 years ago[Minor] Force_actions: Fix logic of the module with the modified symcache
Vsevolod Stakhov [Sat, 14 May 2022 12:47:55 +0000 (13:47 +0100)]
[Minor] Force_actions: Fix logic of the module with the modified symcache

2 years ago[Minor] Symcache: Stop on non least passthrough results
Vsevolod Stakhov [Sat, 14 May 2022 12:41:45 +0000 (13:41 +0100)]
[Minor] Symcache: Stop on non least passthrough results

2 years ago[Minor] Fix types
Vsevolod Stakhov [Sat, 14 May 2022 12:22:12 +0000 (13:22 +0100)]
[Minor] Fix types

2 years ago[Feature] Allow augmentations set in Lua API
Vsevolod Stakhov [Sat, 14 May 2022 12:20:44 +0000 (13:20 +0100)]
[Feature] Allow augmentations set in Lua API

2 years ago[Feature] Implement symbols augmentations
Vsevolod Stakhov [Sat, 14 May 2022 12:05:14 +0000 (13:05 +0100)]
[Feature] Implement symbols augmentations

2 years ago[Minor] Composites companion
Vsevolod Stakhov [Sat, 14 May 2022 11:30:12 +0000 (12:30 +0100)]
[Minor] Composites companion

2 years ago[Minor] Move common hashing utils to a separate util header
Vsevolod Stakhov [Sat, 14 May 2022 11:29:48 +0000 (12:29 +0100)]
[Minor] Move common hashing utils to a separate util header

2 years ago[Minor] Improve logging in lambdas
Vsevolod Stakhov [Sat, 14 May 2022 11:07:03 +0000 (12:07 +0100)]
[Minor] Improve logging in lambdas

2 years ago[Minor] Fix some misuse cases
Vsevolod Stakhov [Fri, 13 May 2022 21:11:27 +0000 (22:11 +0100)]
[Minor] Fix some misuse cases

2 years ago[Rework] Simplify scores check and extend it to pre/post filters
Vsevolod Stakhov [Fri, 13 May 2022 20:20:20 +0000 (21:20 +0100)]
[Rework] Simplify scores check and extend it to pre/post filters

2 years ago[Minor] Remove useless check
Vsevolod Stakhov [Fri, 13 May 2022 19:38:14 +0000 (20:38 +0100)]
[Minor] Remove useless check

2 years ago[Minor] Add diacritics flag for `de` language
Vsevolod Stakhov [Thu, 12 May 2022 20:00:12 +0000 (21:00 +0100)]
[Minor] Add diacritics flag for `de` language

Reported by: @fatalbanana

2 years ago[Fix] Distinguish dynamic and static items
Vsevolod Stakhov [Wed, 11 May 2022 21:06:09 +0000 (22:06 +0100)]
[Fix] Distinguish dynamic and static items

2 years ago[Test] Compare lists sorted...
Vsevolod Stakhov [Tue, 10 May 2022 22:17:11 +0000 (23:17 +0100)]
[Test] Compare lists sorted...

2 years ago[Rework] Use dynamic items in the callbacks
Vsevolod Stakhov [Mon, 9 May 2022 20:32:35 +0000 (21:32 +0100)]
[Rework] Use dynamic items in the callbacks

2 years ago[Rework] Use dynamic items for calling callbacks
Vsevolod Stakhov [Mon, 9 May 2022 20:25:23 +0000 (21:25 +0100)]
[Rework] Use dynamic items for calling callbacks

It is trivial to get a static item by dynamic item by just subtracting
pointers. So there is no need in other complications.

2 years ago[Fix] Zstd: Fix compression with the new Zstd API
Vsevolod Stakhov [Sun, 8 May 2022 11:19:47 +0000 (12:19 +0100)]
[Fix] Zstd: Fix compression with the new Zstd API

Issue: #4140

2 years ago[Fix] Dmarc report: Use local timezone instead of GMT
Vsevolod Stakhov [Sun, 8 May 2022 11:09:52 +0000 (12:09 +0100)]
[Fix] Dmarc report: Use local timezone instead of GMT