aboutsummaryrefslogtreecommitdiffstats
path: root/lualib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #5547 from rspamd/vstakhov-multi-class-bayesVsevolod Stakhov4 days4-55/+159
|\ | | | | [Project] Multi-class classification
| * [Fix] Use a more straightforward approach for learn cachevstakhov-multi-class-bayesVsevolod Stakhov9 days2-30/+7
| |
| * [Fix] Fix various corner cases and testsVsevolod Stakhov10 days1-4/+29
| |
| * [Project] Fix various issuesVsevolod Stakhov2025-07-251-21/+21
| |
| * [Project] Fix binary classification and lua scriptsVsevolod Stakhov2025-07-231-2/+2
| |
| * [Project] Further updatesVsevolod Stakhov2025-07-221-47/+19
| |
| * [Project] Fix other classification and learning issuesVsevolod Stakhov2025-07-213-14/+30
| |
| * [Minor] Fix various issuesVsevolod Stakhov2025-07-211-18/+3
| |
| * [Project] Multi-class classification project baselineVsevolod Stakhov2025-07-204-67/+196
| |
* | [Fix] Fix whitelist options in the arc modulevstakhov-arc-fixesVsevolod Stakhov7 days1-57/+55
| | | | | | | | Issue: #5558
* | Use Redis write servers for write commands while generating DMARC reports.Jens Meißner9 days1-8/+10
|/
* icap.lua: ipv6 pseudo hostname in GET requestStephan Toggweiler2025-06-261-3/+6
| | | | | | 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.
* [Project] Rework tokenizers initialisationVsevolod Stakhov2025-06-221-189/+212
|
* [Minor] Fix issue with scores comparison while I'm hereVsevolod Stakhov2025-06-221-1/+1
| | | | Issue: #5384
* Correcting the index number for is_spamKevin Shah2025-06-061-1/+1
|
* Merge pull request #5464 from jendis/lua_redis_fixVsevolod Stakhov2025-05-191-12/+12
|\ | | | | fix(lua_redis): Improve Redis script loading
| * fix(lua_redis): Improve Redis script loadingJan Smutny2025-05-121-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change modifies how Rspamd handles Redis script loading across multiple servers to improve resilience during server failures and restarts. Previously, the system required ALL Redis servers to successfully load a script before considering it ready for use. This caused modules to get stuck in a waiting state when any Redis server was down, reporting errors like: "redis script is not ready, waiting it to be loaded" even when most servers were operational. Key changes: - Replace is_all_servers_ready() with is_any_server_ready() to allow operation when at least one server has successfully loaded the script - Reset all servers to "unsent" status when NOSCRIPT errors are encountered to properly handle server restarts - Ensure script loading is retried appropriately on reconnection This fix allows Rspamd to continue operating when some Redis servers are temporarily unavailable and to recover gracefully when servers rejoin the pool.
* | [Test] Test heic recognitionvstakhov-heic-magicVsevolod Stakhov2025-05-162-7/+2
| |
* | [Minor] Add HEIC files patternsVsevolod Stakhov2025-05-162-1/+28
| |
* | [Minor] Fix for docs of lua_redis.redis_make_request_tasklessIvan Stakhov2025-05-151-2/+2
| |
* | [Fix] Add fail check for cfg transform for some corner casesVsevolod Stakhov2025-05-011-9/+11
|/
* [Feature] Allow to specify Redis versionvstakhov-redis-versionVsevolod Stakhov2025-04-021-3/+13
| | | | | | | | Some Redis versions introduce important changes to the commands, for example `EVAL` vs `EVAL_RO`. Rspamd should be able to use these commands where possible. Issue: #5418
* Merge pull request #5386 from rspamd/vstakhov-maps-stuffVsevolod Stakhov2025-03-241-1/+1
|\ | | | | Improve maps status visibility
| * [Fix] Fix static maps description passingVsevolod Stakhov2025-03-241-2/+3
| |
* | [Feature] Plugin to integrate with Contextal platformAndrew Lewis2025-03-242-48/+52
| |
* | [Test] Add tests for CDB mapsvstakhov-cdb-mapsVsevolod Stakhov2025-03-151-1/+1
| |
* | [Feature] Allow CDB files as external mapsVsevolod Stakhov2025-03-151-6/+77
|/
* Update neural_save_unlock.luaDmitriy Alekseev2025-03-071-7/+6
|
* Merge pull request #5374 from rspamd/vstakhov-cache-gptVsevolod Stakhov2025-03-061-44/+45
|\ | | | | Use caching framework in gpt module
| * [Feature] Use debug module name from caller in lua_cacheVsevolod Stakhov2025-03-061-44/+45
| |
* | Merge branch 'master' into map_improvementsVsevolod Stakhov2025-03-062-2/+4
|\|
| * Fix typo in neural.luaDmitriy Alekseev2025-03-041-1/+1
| |
| * [Fix] Expire neural ham and spam sets so they not hangup in redis indefinitelyDmitriy Alekseev2025-03-041-1/+3
| |
* | Fix support for "map://" prefixDmitry Petrov2025-03-041-8/+5
|/
* [Feature] More additionsvstakhov-cache-frameworkVsevolod Stakhov2025-03-031-9/+135
| | | | | | * Hash keys * Docs * Example
* [Minor] Fix format stringsVsevolod Stakhov2025-03-031-2/+2
|
* [Feature] Add Redis caching frameworkVsevolod Stakhov2025-03-031-0/+348
|
* Merge pull request #5335 from japc/statistics_dumpVsevolod Stakhov2025-02-191-7/+13
|\ | | | | [Minor] Some small fixes to statistics_dump
| * [Minor] On statistics_dump opts.cdb was doing dump_out and vice-versaJose Celestino2025-02-061-3/+3
| |
| * [Minor] Fixed nil batch_size on default dump on statistics_dumpJose Celestino2025-02-061-4/+10
| |
* | [Fix] properly close multipart/related boundary when adding text footerFreddleSpl0it2025-02-051-5/+19
|/
* [Minor] Pass both the multimap and the rules descriptions for combined when ↵Jose Celestino2025-01-261-1/+1
| | | | creating
* [Minor] Set RBL checks to bool trueJose Celestino2025-01-231-2/+2
|
* [Minor] rbl check_types was missing imagesJose Celestino2025-01-191-0/+1
|
* [Minor] Add another acceptable mime type for iconAndrew Lewis2025-01-141-1/+1
|
* [Minor] Improve some logging stuffvstakhov-redis-pool-fixesVsevolod Stakhov2025-01-071-4/+6
|
* Merge pull request #5269 from corbosman/cloudmarkVsevolod Stakhov2024-12-291-1/+2
|\ | | | | [minor] log queue id with cloudmark analysis string
| * [minor] log queue id with cloudmark analysis stringCor Bosman2024-12-211-1/+2
| |
* | Merge pull request #5267 from rspamd/vstakhov-llm-anonymizeVsevolod Stakhov2024-12-272-73/+225
|\ \ | |/ |/| Allow to use LLM for anonymize
| * [Minor] Fixes, fixesvstakhov-llm-anonymizeVsevolod Stakhov2024-12-201-4/+13
| |