Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [Feature] Allow to specify max log tag length for all log messagesvstakhov-logging-improvements | Vsevolod Stakhov | 2025-06-05 | 6 | -20/+166 |
| | |||||
* | [Feature] Allow to specify log tag in proxy | Vsevolod Stakhov | 2025-06-05 | 1 | -2/+139 |
| | | | | Issue: #5194 | ||||
* | Merge pull request #5490 from rspamd/vstakhov-ucl-fix | Vsevolod Stakhov | 2025-06-05 | 19 | -38/+100 |
|\ | | | | | One of the major issues is that we should use safe parser flags for all inputs aside of the real configuration which we should really trust. It means that we need to disable macros, file variables and other UCL features when it is used to parse any potentially unsafe content. I do not treat it as a security vulnerability so far, as Rspamd operates with merely trusted content by HTTP by default, however, it is good to fix to avoid any potential future mususes or even exploits possibilities. | ||||
| * | [Fix] Use safe parsers everywhere except configuration | Vsevolod Stakhov | 2025-06-05 | 17 | -33/+55 |
| | | |||||
| * | [Fix] Backport some issues from libuclvstakhov-ucl-fix | Vsevolod Stakhov | 2025-06-04 | 2 | -4/+38 |
| | | |||||
| * | [CritFix] In lua-ucl disable macros and file variables by default | Vsevolod Stakhov | 2025-06-04 | 1 | -2/+8 |
| | | | | | | | | | | | | | | Since we use libucl to parse untrusted data in some (actually in many) cases, we must not enable any dangerous things like macros. This fix should be treated as a critical one. | ||||
* | | Merge pull request #5489 from heptalium/master | Vsevolod Stakhov | 2025-06-05 | 1 | -1/+1 |
|\ \ | |/ |/| | Reputation Plugin: Fix comment to correspond the code above | ||||
| * | Fix comment to correspond the code above | Jens Meißner | 2025-06-03 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #5488 from lucasRolff/add-token-usage-gpt | Vsevolod Stakhov | 2025-06-03 | 1 | -0/+4 |
|\ \ | |/ |/| | [Minor] Log the token usage for OpenAI (compatible) plain conversion | ||||
| * | [Minor] Log the token usage for OpenAI (compatible) plain conversion | Lucas Rolff | 2025-06-03 | 1 | -0/+4 |
|/ | |||||
* | Merge pull request #5483 from moisseev/selector-file-upload | Vsevolod Stakhov | 2025-06-01 | 5 | -62/+91 |
|\ | | | | | [WebUI] Add file upload to `Test selectors` | ||||
| * | [WebUI] Rework file upload JS implementation | Alexander Moisseev | 2025-05-26 | 3 | -79/+61 |
| | | | | | | | | | | | | Original code, which seems AI-generated, was broken Closes #5381 | ||||
| * | [Minor] Revert drag-and-drop setup adjustments | Alexander Moisseev | 2025-05-19 | 1 | -8/+6 |
| | | | | | | | | | | - Restore descriptive variable name `dragoverClassList` - Re-establish unified event prevention | ||||
| * | [WebUI] Add file upload to Test Selectors (#5381) | Shravan A Y | 2025-05-19 | 5 | -50/+99 |
| | | | | | | | | | | | | | | Squashed and rebased original commits from ShravanAYG’s selector-file-upload branch Co-authored-by: ShravanAYG <shravanay205@gmail.com> See: https://github.com/rspamd/rspamd/pull/5381 | ||||
* | | Merge pull request #5486 from fatalbanana/lua_fuzzy | Vsevolod Stakhov | 2025-06-01 | 1 | -4/+6 |
|\ \ | | | | | | | [Minor] Fix fuzzy lua callback when there are no shingles | ||||
| * | | [Minor] Fix fuzzy lua callback when there are no shingles | Andrew Lewis | 2025-05-28 | 1 | -4/+6 |
|/ / | |||||
* | | Merge pull request #5477 from japc/multimap-type-err | Vsevolod Stakhov | 2025-05-22 | 1 | -0/+3 |
|\ \ | | | | | | | [Minor] Print error on multimap invalid type | ||||
| * | | [Minor] Print error on multimap invalid type | Jose Celestino | 2025-05-22 | 1 | -0/+3 |
| | | | |||||
* | | | Merge pull request #5428 from rspamd/vstakhov-replies-fake-rcpt | Vsevolod Stakhov | 2025-05-22 | 7 | -57/+90 |
|\ \ \ | |/ / |/| | | [Rework] Replies: consider all recipients and use smtp ones | ||||
| * | | [Fix] Known senders: More recipients test logicvstakhov-replies-fake-rcpt | Vsevolod Stakhov | 2025-05-22 | 2 | -22/+48 |
| | | | |||||
| * | | [Fix] Known senders: Use the same logic as in the replies module | Vsevolod Stakhov | 2025-05-22 | 1 | -1/+1 |
| | | | |||||
| * | | [Minor] Restore Vsevolod's changes | Andrew Lewis | 2025-05-16 | 1 | -15/+7 |
| | | | |||||
| * | | [Minor] Fix one more test | Andrew Lewis | 2025-05-16 | 1 | -4/+8 |
| | | | |||||
| * | | [Minor] Fix syntax | Andrew Lewis | 2025-05-15 | 1 | -2/+1 |
| | | | |||||
| * | | [Test] Partially fix tests | Andrew Lewis | 2025-05-15 | 1 | -11/+28 |
| | | | |||||
| * | | [Test] Fix bloody tests | Vsevolod Stakhov | 2025-05-01 | 1 | -15/+10 |
| | | | |||||
| * | | [Test] Move tests with the same number | Vsevolod Stakhov | 2025-05-01 | 3 | -0/+0 |
| | | | |||||
| * | | test: use SMTP recipient via Rcpt= in replies test cases | Vsevolod Stakhov | 2025-05-01 | 1 | -6/+6 |
| | | | |||||
| * | | test: update replies module tests to match new SMTP recipient behavior | Vsevolod Stakhov | 2025-05-01 | 1 | -4/+4 |
| | | | |||||
| * | | [Rework] Replies: consider all recipients and use smtp ones | Vsevolod Stakhov | 2025-04-14 | 1 | -13/+13 |
| | | | |||||
* | | | Merge pull request #5475 from fatalbanana/deb_fix | Vsevolod Stakhov | 2025-05-21 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | [Minor] Fix Debian package build | ||||
| * | | | [Minor] Fix Debian package build | Andrew Lewis | 2025-05-21 | 1 | -1/+1 |
|/ / / | |||||
* | | | [Minor] Lua_http: Add more examples | Vsevolod Stakhov | 2025-05-20 | 1 | -9/+110 |
| | | | |||||
* | | | Merge pull request #5464 from jendis/lua_redis_fix | Vsevolod Stakhov | 2025-05-19 | 1 | -12/+12 |
|\ \ \ | | | | | | | | | fix(lua_redis): Improve Redis script loading | ||||
| * | | | fix(lua_redis): Improve Redis script loading | Jan Smutny | 2025-05-12 | 1 | -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. | ||||
* | | | | Merge pull request #5473 from TwizzyDizzy/master | Vsevolod Stakhov | 2025-05-19 | 2 | -2/+3 |
|\ \ \ \ | |_|_|/ |/| | | | Modify documentation for rspamc "-P" parameter | ||||
| * | | | Modify rspamc doc to clarify that control password can also be passed by path | TwizzyDizzy | 2025-05-16 | 2 | -2/+3 |
| | | | | |||||
* | | | | Merge pull request #5413 from dragoangel/patch-11 | Vsevolod Stakhov | 2025-05-17 | 1 | -0/+6 |
|\ \ \ \ | | | | | | | | | | | Add FREEMAIL_REPLYTO_NEQ_FROM rule | ||||
| * | | | | Add FREEMAIL_REPLYTO_NEQ_FROM rule | Dmitriy Alekseev | 2025-03-30 | 1 | -0/+6 |
| | | | | | |||||
* | | | | | Merge pull request #5471 from rspamd/vstakhov-heic-magic | Vsevolod Stakhov | 2025-05-17 | 4 | -1/+78 |
|\ \ \ \ \ | |_|/ / / |/| | | | | [Feature] Magic: Support HEIC files | ||||
| * | | | | [Test] Test heic recognitionvstakhov-heic-magic | Vsevolod Stakhov | 2025-05-16 | 4 | -7/+57 |
| | | | | | |||||
| * | | | | [Minor] Add HEIC files patterns | Vsevolod Stakhov | 2025-05-16 | 2 | -1/+28 |
|/ / / / | |||||
* | | | | Merge pull request #5470 from left-try/master | Vsevolod Stakhov | 2025-05-15 | 1 | -2/+2 |
|\ \ \ \ | | | | | | | | | | | [Minor] Fix for docs of lua_redis.redis_make_request_taskless | ||||
| * | | | | [Minor] Fix for docs of lua_redis.redis_make_request_taskless | Ivan Stakhov | 2025-05-15 | 1 | -2/+2 |
|/ / / / | |||||
* | | | | Merge pull request #5468 from fatalbanana/lua_http_docs | Vsevolod Stakhov | 2025-05-15 | 1 | -2/+2 |
|\ \ \ \ | | | | | | | | | | | [Minor] Update API docs RE: multiple HTTP headers | ||||
| * | | | | [Minor] Update API docs RE: multiple HTTP headers | Andrew Lewis | 2025-05-15 | 1 | -2/+2 |
|/ / / / | |||||
* | | | | Merge pull request #5459 from NameWeb/patch-1 | Vsevolod Stakhov | 2025-05-14 | 1 | -7/+20 |
|\ \ \ \ | | | | | | | | | | | gpt.lua: Remove "thinking" and fix errorlog | ||||
| * | | | | [Minor] Fix formatting | Vsevolod Stakhov | 2025-05-14 | 1 | -7/+7 |
| | | | | | |||||
| * | | | | Remove "thinking" and fix errorlog | NameWeb | 2025-05-09 | 1 | -2/+15 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Some models used by Ollama will include "thinking" before the actual response. We now remove this. Also fixed error logging, which probably intended to also log "first_message". | ||||
* | | | | | [Feature] Add some convenience methods | Vsevolod Stakhov | 2025-05-14 | 2 | -5/+50 |
| | | | | |