]>
git.ipfire.org Git - thirdparty/rspamd.git/log
Vsevolod Stakhov [Wed, 30 Jul 2025 09:01:10 +0000 (10:01 +0100)]
[Fix] Use a more straightforward approach for learn cache
Vsevolod Stakhov [Tue, 29 Jul 2025 19:01:36 +0000 (20:01 +0100)]
[Fix] Fix various corner cases and tests
Vsevolod Stakhov [Tue, 29 Jul 2025 13:17:00 +0000 (14:17 +0100)]
[Test] Add logic to match test id and logs id
Vsevolod Stakhov [Tue, 29 Jul 2025 09:06:35 +0000 (10:06 +0100)]
[Minor] Add --log-tag option for rspamc
Vsevolod Stakhov [Tue, 29 Jul 2025 08:16:42 +0000 (09:16 +0100)]
[Minor] Fix single class fallback
Vsevolod Stakhov [Mon, 28 Jul 2025 18:22:56 +0000 (19:22 +0100)]
[Project] Apply changes to bayes_expiry plugin
Vsevolod Stakhov [Mon, 28 Jul 2025 18:07:35 +0000 (19:07 +0100)]
[Test] Some more adjustments to the tests
Vsevolod Stakhov [Mon, 28 Jul 2025 14:06:06 +0000 (15:06 +0100)]
[Project] Fix unlearn stuff
Vsevolod Stakhov [Mon, 28 Jul 2025 09:41:33 +0000 (10:41 +0100)]
[Project] Fix more calculation issues
Vsevolod Stakhov [Mon, 28 Jul 2025 08:53:43 +0000 (09:53 +0100)]
[Feature] Add some convenience options to rspamc
Vsevolod Stakhov [Sun, 27 Jul 2025 15:04:29 +0000 (16:04 +0100)]
[Minor] Further adjustments
Vsevolod Stakhov [Sat, 26 Jul 2025 11:28:07 +0000 (12:28 +0100)]
[Fix] Fix statfiles ordering
Vsevolod Stakhov [Sat, 26 Jul 2025 11:27:50 +0000 (12:27 +0100)]
[Fix] Fix probabilities overflow
Vsevolod Stakhov [Fri, 25 Jul 2025 14:40:06 +0000 (15:40 +0100)]
[Minor] Fix stupid change to call Redis for each class
Vsevolod Stakhov [Fri, 25 Jul 2025 10:58:36 +0000 (11:58 +0100)]
[Project] Fix various issues
Vsevolod Stakhov [Fri, 25 Jul 2025 07:48:48 +0000 (08:48 +0100)]
[Test] Add multiclass tests
Vsevolod Stakhov [Wed, 23 Jul 2025 17:28:46 +0000 (18:28 +0100)]
[Minor] Reduce debug level verbosity
Vsevolod Stakhov [Wed, 23 Jul 2025 17:06:34 +0000 (18:06 +0100)]
[Doc] Add architecture document
Vsevolod Stakhov [Wed, 23 Jul 2025 14:17:25 +0000 (15:17 +0100)]
[Minor] Use modern bayes configuration
Vsevolod Stakhov [Wed, 23 Jul 2025 13:33:04 +0000 (14:33 +0100)]
[Project] Fix binary classification and lua scripts
Vsevolod Stakhov [Tue, 22 Jul 2025 21:30:03 +0000 (22:30 +0100)]
[Project] Further updates
Vsevolod Stakhov [Mon, 21 Jul 2025 09:55:59 +0000 (10:55 +0100)]
[Project] Fix other classification and learning issues
Vsevolod Stakhov [Mon, 21 Jul 2025 09:07:27 +0000 (10:07 +0100)]
[Minor] Fix various issues
Vsevolod Stakhov [Sun, 20 Jul 2025 16:11:52 +0000 (17:11 +0100)]
[Project] Multi-class classification project baseline
Vsevolod Stakhov [Thu, 17 Jul 2025 11:09:06 +0000 (17:09 +0600)]
Merge pull request #5545 from rspamd/vstakhov-html-tags-overload
[Project] Rework system of html tags to allow more tag types
Vsevolod Stakhov [Thu, 17 Jul 2025 10:49:28 +0000 (11:49 +0100)]
[Test] Write unit tests for new functions
Vsevolod Stakhov [Thu, 17 Jul 2025 10:46:08 +0000 (11:46 +0100)]
[Fix] Store html attributes that are empty
If we see something like <div class=""> we were not storing attribute at all!
Vsevolod Stakhov [Thu, 17 Jul 2025 08:53:04 +0000 (09:53 +0100)]
[Minor] Add method to parse html into html context
Vsevolod Stakhov [Thu, 17 Jul 2025 08:39:54 +0000 (09:39 +0100)]
[Project] Fix Lua API and some constexpr compatibility
Vsevolod Stakhov [Thu, 17 Jul 2025 08:16:50 +0000 (09:16 +0100)]
[Project] Support more common html attributes
Vsevolod Stakhov [Wed, 16 Jul 2025 13:57:33 +0000 (19:57 +0600)]
Merge pull request #5532 from rheoli/icap_ipv6_fix
icap.lua: ipv6 pseudo hostname in GET request
Vsevolod Stakhov [Wed, 16 Jul 2025 13:47:35 +0000 (19:47 +0600)]
Merge pull request #5544 from moisseev/webui
[Minor] Update Bootstrap 5.3.5 → 5.3.7
Vsevolod Stakhov [Wed, 16 Jul 2025 11:31:26 +0000 (12:31 +0100)]
[Project] Rework system of html tags to allow more tag types
Alexander Moisseev [Tue, 15 Jul 2025 10:58:46 +0000 (13:58 +0300)]
[Minor] Update Bootstrap 5.3.5 → 5.3.7
Vsevolod Stakhov [Tue, 15 Jul 2025 10:40:42 +0000 (16:40 +0600)]
Merge pull request #5543 from rspamd/vstakhov-nary-ops-opts
[Rework] Return back N-ary optimizations for arithmetic-alike expressions
Vsevolod Stakhov [Tue, 15 Jul 2025 10:10:09 +0000 (11:10 +0100)]
[Rules] Make bitcoin expression to use explicit flags
Vsevolod Stakhov [Tue, 15 Jul 2025 10:09:45 +0000 (11:09 +0100)]
[Feature] Allow to pass expression flags in the regexp plugin
Vsevolod Stakhov [Mon, 14 Jul 2025 20:22:06 +0000 (21:22 +0100)]
[Rework] Return back N-ary optimizations for arithmetic-alike expressions
Vsevolod Stakhov [Mon, 14 Jul 2025 15:05:51 +0000 (21:05 +0600)]
Merge pull request #5530 from rspamd/vstakhov-more-maps-features
Create rule based maps
Vsevolod Stakhov [Mon, 14 Jul 2025 13:50:36 +0000 (14:50 +0100)]
[Test] Add functional tests for regexp maps
Vsevolod Stakhov [Mon, 14 Jul 2025 09:46:32 +0000 (10:46 +0100)]
[Project] Fix symbols finalisation
Vsevolod Stakhov [Sun, 13 Jul 2025 21:03:50 +0000 (22:03 +0100)]
[Minor] Add some more debug logs
Vsevolod Stakhov [Sun, 13 Jul 2025 14:56:58 +0000 (15:56 +0100)]
[Minor] Improve logging
Vsevolod Stakhov [Sun, 13 Jul 2025 14:28:09 +0000 (15:28 +0100)]
[Fix] Fix DL lists initialisations
Vsevolod Stakhov [Sat, 12 Jul 2025 13:21:43 +0000 (19:21 +0600)]
Merge pull request #5540 from 1358/clean-gpt-response-for-openai
Cleanup GPT response for openai-provider, too (<think>)
Vsevolod Stakhov [Sat, 12 Jul 2025 13:21:00 +0000 (14:21 +0100)]
[Project] Store regexp rules state to avoid incomplete/orphaned rules
Tom Mittelstädt [Thu, 10 Jul 2025 08:31:18 +0000 (10:31 +0200)]
clean gpt response for openai, too
Vsevolod Stakhov [Mon, 7 Jul 2025 14:45:43 +0000 (15:45 +0100)]
[Minor] Use more efficient approach for iterations
Vsevolod Stakhov [Mon, 7 Jul 2025 11:10:07 +0000 (12:10 +0100)]
[Project] Fix scoped compilation again
Vsevolod Stakhov [Mon, 7 Jul 2025 10:03:44 +0000 (11:03 +0100)]
[Minor] Another rework of the notifications
Vsevolod Stakhov [Mon, 7 Jul 2025 10:02:13 +0000 (11:02 +0100)]
[Fix] Fix order of descriptor closing
Vsevolod Stakhov [Sat, 5 Jul 2025 07:16:29 +0000 (13:16 +0600)]
Merge pull request #5534 from moisseev/webui
[WebUI] Update classifiers on server or tab switch
Vsevolod Stakhov [Sat, 5 Jul 2025 07:16:12 +0000 (13:16 +0600)]
Merge pull request #5537 from moisseev/test
[Test] Update ESLint and Stylelint linters
Alexander Moisseev [Wed, 2 Jul 2025 10:46:29 +0000 (13:46 +0300)]
[Test] Update ESLint and Stylelint linters
Alexander Moisseev [Wed, 2 Jul 2025 10:42:10 +0000 (13:42 +0300)]
[Minor] Replace legacy rgba() alias
with modern rgb() notation
Vsevolod Stakhov [Tue, 1 Jul 2025 20:27:23 +0000 (21:27 +0100)]
[Feature] Add a signal from main to workers for workers ready state
Alexander Moisseev [Mon, 30 Jun 2025 14:05:49 +0000 (17:05 +0300)]
[WebUI] Update classifiers on server or tab switch
Ensure the Bayes classifiers dropdown is refreshed whenever the user
changes the selected server or navigates to the Scan/Learn tab, so it
always reflects the selected server’s configuration.
Vsevolod Stakhov [Mon, 30 Jun 2025 11:44:55 +0000 (17:44 +0600)]
Merge pull request #5524 from moisseev/fuzzy-config
[WebUI] Add fuzzy flag selectors to Scan/Learn tab
Vsevolod Stakhov [Sat, 28 Jun 2025 12:32:17 +0000 (13:32 +0100)]
[Project] Implement scoped compilation
Vsevolod Stakhov [Fri, 27 Jun 2025 16:38:28 +0000 (17:38 +0100)]
[Project] Use re_cache scopes for maps
Vsevolod Stakhov [Fri, 27 Jun 2025 16:16:00 +0000 (17:16 +0100)]
[Project] Implement scoped regexp cache system
Vsevolod Stakhov [Fri, 27 Jun 2025 08:38:03 +0000 (14:38 +0600)]
Merge pull request #5533 from moisseev/sys-user-h
[Minor] Fix FreeBSD build by including sys/user.h
Alexander Moisseev [Fri, 27 Jun 2025 06:46:42 +0000 (09:46 +0300)]
[Minor] Fix FreeBSD build by including sys/user.h
Stephan Toggweiler [Thu, 26 Jun 2025 13:07:12 +0000 (15:07 +0200)]
icap.lua: ipv6 pseudo hostname in GET request
ipv6 addresses need to be changed to a pseudo hostname in GET request who is encapsulated in ICAP.
A change to [::] did not work in SkyHigh Web Gateway (aka McAfee)
Didn't use Lua often maybe the code can be optimized.
Vsevolod Stakhov [Thu, 26 Jun 2025 08:01:01 +0000 (09:01 +0100)]
[Project] Start implementation of the rules maps
Alexander Moisseev [Wed, 25 Jun 2025 14:20:19 +0000 (17:20 +0300)]
[WebUI] Add fuzzy flag selectors to Scan/Learn tab
- Populate selectors with symbols and flags from writable fuzzy storages.
- Cache each server’s config_id to avoid redundant `/plugins/fuzzy/storages` calls.
- Dynamically show, hide, and disable controls based on fuzzy_check module availability and storage writability.
Vsevolod Stakhov [Wed, 25 Jun 2025 14:03:25 +0000 (15:03 +0100)]
[Feature] Allow lua callback maps to be filled line by line
Alexander Moisseev [Mon, 23 Jun 2025 15:14:22 +0000 (18:14 +0300)]
[Minor] Improve JSDoc for ui.query()
Alexander Moisseev [Sat, 21 Jun 2025 14:12:03 +0000 (17:12 +0300)]
[Minor] Add /plugins/fuzzy/storages endpoint
Allows retrieving the list of configured fuzzy storages via HTTP API,
including associated flags, read_only status, and server addresses.
Vsevolod Stakhov [Wed, 25 Jun 2025 08:39:44 +0000 (09:39 +0100)]
[Fix] GPT: fix processing of messages with no subject
Vsevolod Stakhov [Mon, 23 Jun 2025 07:56:04 +0000 (13:56 +0600)]
Merge pull request #5520 from moisseev/webui
[WebUI] Add Bayes classifier selector to Learn card
Vsevolod Stakhov [Mon, 23 Jun 2025 07:55:53 +0000 (13:55 +0600)]
Merge pull request #5523 from rspamd/vstakhov-more-utils
[Feature] Add some more OS utility functions
Vsevolod Stakhov [Mon, 23 Jun 2025 07:55:40 +0000 (13:55 +0600)]
Merge pull request #5510 from rspamd/vstakhov-flexible-tokenizer
[Project] Add ability to create custom tokenizers for languages
Vsevolod Stakhov [Sun, 22 Jun 2025 21:34:20 +0000 (22:34 +0100)]
[Minor] Make fundamental structures less GLib polluted
Vsevolod Stakhov [Sun, 22 Jun 2025 21:00:16 +0000 (22:00 +0100)]
[Project] Rework tokenizers initialisation
Vsevolod Stakhov [Sun, 22 Jun 2025 20:54:30 +0000 (02:54 +0600)]
Merge pull request #5526 from moisseev/group-sorting
[WebUI] Sort symbol groups in filter dropdown
Vsevolod Stakhov [Sun, 22 Jun 2025 14:48:34 +0000 (15:48 +0100)]
[Minor] Fix issue with scores comparison while I'm here
Issue: #5384
Alexander Moisseev [Sun, 22 Jun 2025 06:15:24 +0000 (09:15 +0300)]
[WebUI] Sort symbol groups in filter dropdown
Sort symbol groups in the Symbols table dropdown filter in a
case-insensitive manner, ensuring alphabetical A–Z ordering
regardless of capitalization.
Vsevolod Stakhov [Sat, 21 Jun 2025 11:16:26 +0000 (12:16 +0100)]
[Feature] Add some more OS utility functions
Vsevolod Stakhov [Fri, 20 Jun 2025 15:50:49 +0000 (16:50 +0100)]
[Project] Create an isolated API for external tokenizers
Vsevolod Stakhov [Fri, 20 Jun 2025 14:24:49 +0000 (15:24 +0100)]
[Minor] Do not apply snowball to something that has already been stemmed
Vsevolod Stakhov [Fri, 20 Jun 2025 14:19:58 +0000 (15:19 +0100)]
[Minor] Fix the test case
Vsevolod Stakhov [Fri, 20 Jun 2025 14:12:04 +0000 (15:12 +0100)]
[Minor] Fix build issues
Vsevolod Stakhov [Fri, 20 Jun 2025 13:44:56 +0000 (14:44 +0100)]
[Rework] Use GLib agnostic type for words
Vsevolod Stakhov [Thu, 19 Jun 2025 10:50:32 +0000 (11:50 +0100)]
Merge branch 'master' into vstakhov-flexible-tokenizer
Alexander Moisseev [Wed, 18 Jun 2025 13:56:55 +0000 (16:56 +0300)]
[WebUI] Add Bayes classifier selector to Learn card
This enables users to choose a specific Bayes classifier for training from WebUI.
Vsevolod Stakhov [Tue, 17 Jun 2025 09:33:03 +0000 (10:33 +0100)]
[Minor] Update version
Vsevolod Stakhov [Tue, 17 Jun 2025 09:32:30 +0000 (10:32 +0100)]
Release 3.12.1
* [Feature] Add /bayes/classifiers HTTP endpoint
* [Feature] Further improvements in scheduling next checks
* [Fix] Another fix for maps concurrent load
* [Fix] Do not add log tag header in milter logic
* [Fix] Do not explicitly add Connection header if it's there
* [Fix] Fix proxy headers duplication
* [Fix] Fix several issues with the lua_logger
* [Fix] Make logger more graceful when dealing with format arguments
* [Fix] Try to avoid incomplete writes
* [Rework] Eliminate maps locking
Vsevolod Stakhov [Tue, 17 Jun 2025 09:18:26 +0000 (15:18 +0600)]
Merge pull request #5494 from g00g1/feat-hfilter-ovh
[Enhancement] hfilter: Add VPS generic hostname
Vsevolod Stakhov [Tue, 17 Jun 2025 07:49:33 +0000 (08:49 +0100)]
[Minor] Proper application of the #5509
Vsevolod Stakhov [Tue, 17 Jun 2025 07:47:33 +0000 (13:47 +0600)]
Merge pull request #5517 from moisseev/classifiers
[Feature] Add /bayes/classifiers HTTP endpoint
Vsevolod Stakhov [Tue, 17 Jun 2025 07:41:59 +0000 (08:41 +0100)]
[Minor] Try to be consistent in cached flag for maps
Vsevolod Stakhov [Mon, 16 Jun 2025 18:24:59 +0000 (00:24 +0600)]
Merge pull request #5512 from rspamd/vstakhov-maps-lock
[Fix] Another fix for maps concurrent load
Vsevolod Stakhov [Mon, 16 Jun 2025 18:15:28 +0000 (19:15 +0100)]
[Minor] Try to be consistent in logging when dealing with Expires
Vsevolod Stakhov [Sun, 15 Jun 2025 17:45:51 +0000 (18:45 +0100)]
[Test] Add some more tests for AEAD used in Rspamd
Alexander Moisseev [Sun, 15 Jun 2025 14:25:41 +0000 (17:25 +0300)]
[Feature] Add /bayes/classifiers HTTP endpoint
This endpoint returns a JSON array of names of all configured Bayes classifiers
in the same order as they are declared in the configuration.
Vsevolod Stakhov [Sat, 14 Jun 2025 13:54:56 +0000 (14:54 +0100)]
[Minor] Oops, forgot some code to be added
Vsevolod Stakhov [Sat, 14 Jun 2025 13:48:49 +0000 (14:48 +0100)]
[Feature] Further improvements in scheduling next checks
Vsevolod Stakhov [Sat, 14 Jun 2025 12:58:56 +0000 (13:58 +0100)]
[Fix] Try to avoid incomplete writes
Vsevolod Stakhov [Sat, 14 Jun 2025 10:38:03 +0000 (11:38 +0100)]
[Rework] Eliminate maps locking