Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | [Project] Rework OSDep | Vsevolod Stakhov | 2025-03-29 | 1 | -1/+1 | |
| | | ||||||
* | | [Project] Modernize cmake | Vsevolod Stakhov | 2025-03-29 | 2 | -248/+288 | |
|/ | ||||||
* | [Rework] Use locks/loaded per backend for all maps | Vsevolod Stakhov | 2025-03-28 | 3 | -47/+48 | |
| | ||||||
* | Merge pull request #5386 from rspamd/vstakhov-maps-stuff | Vsevolod Stakhov | 2025-03-24 | 6 | -60/+189 | |
|\ | | | | | Improve maps status visibility | |||||
| * | [Minor] Set loaded flag when we load map from cachevstakhov-maps-stuff | Vsevolod Stakhov | 2025-03-24 | 1 | -0/+3 | |
| | | ||||||
| * | [Minor] Static maps have pre-defined content, so use it to get id | Vsevolod Stakhov | 2025-03-24 | 1 | -0/+7 | |
| | | ||||||
| * | [Minor] Hfilter: add maps with description | Vsevolod Stakhov | 2025-03-24 | 1 | -6/+7 | |
| | | ||||||
| * | [Fix] Fix maps ids | Vsevolod Stakhov | 2025-03-24 | 2 | -5/+21 | |
| | | ||||||
| * | [Fix] Fix static maps description passing | Vsevolod Stakhov | 2025-03-24 | 3 | -8/+20 | |
| | | ||||||
| * | [Feature] Output content for all maps | Vsevolod Stakhov | 2025-03-22 | 1 | -27/+57 | |
| | | ||||||
| * | [Feature] Show all maps status | Vsevolod Stakhov | 2025-03-13 | 2 | -7/+50 | |
| | | ||||||
| * | [Rework] Store shared maps data separately | Vsevolod Stakhov | 2025-03-13 | 3 | -12/+29 | |
| | | ||||||
* | | [Minor] Minor changes to contextal plugin | Andrew Lewis | 2025-03-24 | 1 | -57/+70 | |
| | | | | | | | | | | | | - Abandon prefilter - Abandon postfilter in favour of wait if we have request_ttl - Reformat table | |||||
* | | [Minor] Add config schema | Andrew Lewis | 2025-03-24 | 1 | -2/+27 | |
| | | ||||||
* | | [Minor] Support defering messages if results are unavailable | Andrew Lewis | 2025-03-24 | 1 | -1/+20 | |
| | | ||||||
* | | [Minor] Satisfy luacheck | Andrew Lewis | 2025-03-24 | 1 | -9/+14 | |
| | | ||||||
* | | [Minor] Use lua_cache | Andrew Lewis | 2025-03-24 | 1 | -64/+26 | |
| | | ||||||
* | | [Minor] Deal with unfinished work properly | Andrew Lewis | 2025-03-24 | 1 | -9/+10 | |
| | | ||||||
* | | [Minor] Forgot to use `SETEX` | Andrew Lewis | 2025-03-24 | 1 | -2/+2 | |
| | | ||||||
* | | [Minor] Fix luacheck complaints | Andrew Lewis | 2025-03-24 | 1 | -8/+13 | |
| | | ||||||
* | | [Feature] Plugin to integrate with Contextal platform | Andrew Lewis | 2025-03-24 | 1 | -0/+302 | |
| | | ||||||
* | | Merge pull request #5400 from williamdes/patch-1 | Vsevolod Stakhov | 2025-03-22 | 1 | -2/+2 | |
|\ \ | | | | | | | Fix typo on "destionation" -> "destination" | |||||
| * | | Fix typo on "destionation" -> "destination" | William Desportes | 2025-03-20 | 1 | -2/+2 | |
| | | | ||||||
* | | | Merge pull request #5383 from amulet1/lua_logger_improvements | Vsevolod Stakhov | 2025-03-21 | 4 | -279/+221 | |
|\ \ \ | | | | | | | | | [Minor] Lua logging improvements | |||||
| * | | | Add support for complex table keys in logging output | Dmitry Petrov | 2025-03-16 | 1 | -82/+95 | |
| | | | | ||||||
| * | | | More lua logging improvements | Dmitry Petrov | 2025-03-16 | 2 | -134/+84 | |
| | | | | | | | | | | | | | | | | | | | | | | | | * Do not skip numeric indexes that are non-integer or outside of ipairs range when logging table contents * Simplify the code, drop redundant checks * Allow negative stack indexes in lua_logger_out_*() functions | |||||
| * | | | [Minor] Lua logging improvements | Dmitry Petrov | 2025-03-16 | 4 | -114/+93 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Simplify lua_logger_out_str(), fix length check when doing hex output * Add lua_logger_out() with embedded lua_logger_trace struct * Replace high level lua_logger_out_type() calls with lua_logger_out() * Remove unused lua_logger_trace struct references * Include string terminator into buffer length checks, adjust affected places accordingly | |||||
* | | | | Merge pull request #5387 from alex081512/master | Vsevolod Stakhov | 2025-03-21 | 1 | -6/+7 | |
|\ \ \ \ | |_|/ / |/| | | | [Minor] gpt.lua improvements and one fix for reason_header | |||||
| * | | | [Minor] C&P issue in last commit | alex081512 | 2025-03-14 | 1 | -2/+2 | |
| | | | | ||||||
| * | | | [Minor] Reverted commit for result history | alex081512 | 2025-03-14 | 1 | -9/+2 | |
| | | | | ||||||
| * | | | [Minor] Remove whitespace for lua check | alex081512 | 2025-03-13 | 1 | -2/+2 | |
| | | | | ||||||
| * | | | [Minor] Insert Reason to result to show gpt answer in history | alex081512 | 2025-03-13 | 1 | -2/+10 | |
| | | | | ||||||
| * | | | [Fix] Add header with reason everytime (not only for ham) and use correct ↵ | alex081512 | 2025-03-13 | 1 | -4/+4 | |
| | | | | | | | | | | | | | | | | value for header | |||||
| * | | | [Minor] Improve gpt prompt - Only ask for red flag when it's spam | alex081512 | 2025-03-13 | 1 | -2/+2 | |
| |/ / | ||||||
* / / | [Fix] Update default URL for openphish | Andrew Lewis | 2025-03-14 | 1 | -1/+1 | |
|/ / | ||||||
* / | [Fix] initialize ollama result table | Jens Erat | 2025-03-13 | 1 | -0/+4 | |
|/ | | | | | | similar to gpt.lua:704 for the chatgpt code path, the ollama code path needs to initialize the result table. Without, rspamd fails gpt requests with > lua_http_finish_handler: callback call failed: /usr/share/rspamd/plugins/gpt.lua:740: attempt to index a nil value | |||||
* | Merge pull request #5378 from amulet1/lua_logger_log_format | Vsevolod Stakhov | 2025-03-11 | 1 | -91/+37 | |
|\ | | | | | [Minor] Fix and improve format string processing in lua_logger_log_format() | |||||
| * | [Minor] Fix and improve format string processing in lua_logger_log_format() | Dmitry Petrov | 2025-03-08 | 1 | -91/+37 | |
| | | | | | | | | | | | | | | * Fix handling of %s after % with numeric argument * Fix argument number check * Preserve unhandled % in the output * Redesign to simplify the code | |||||
* | | [Fix] Use bundled libfmt everywherevstakhov-fmt-embedding | Vsevolod Stakhov | 2025-03-10 | 17 | -38/+38 | |
| | | | | | | | | Issue: #5258 | |||||
* | | [Feature] Try to check maps earlier if their expires is too longvstakhov-maps-caching | Vsevolod Stakhov | 2025-03-07 | 1 | -7/+24 | |
| | | | | | | | | Issue: #5351 | |||||
* | | Merge pull request #5374 from rspamd/vstakhov-cache-gpt | Vsevolod Stakhov | 2025-03-06 | 1 | -44/+18 | |
|\ \ | | | | | | | Use caching framework in gpt module | |||||
| * | | [Minor] Fix invocationvstakhov-cache-gpt | Vsevolod Stakhov | 2025-03-06 | 1 | -1/+1 | |
| | | | ||||||
| * | | [Rework] GPT: Use cache framework | Vsevolod Stakhov | 2025-03-06 | 1 | -44/+18 | |
| |/ | ||||||
* | | Move an upvalue check out of the closure returned by gen_check_closure() | Dmitry Petrov | 2025-03-05 | 1 | -7/+6 | |
| | | ||||||
* | | Improve handling of IP conditions in settings | Dmitry Petrov | 2025-03-05 | 1 | -45/+45 | |
| | | | | | | | | | | | | | | * Skip invalid IPs (with appropriate error logging) (previously a bad IP would cause the subsequent IPs in a list to be ignored or make the whole IP condition to be ignored) * Add validated IPs/maps into a flat table * Log complete IP in case of invalid mask | |||||
* | | Rework IP processing/checking in settings | Dmitry Petrov | 2025-03-04 | 1 | -34/+35 | |
|/ | | | | | | | | * Avoid misleading "cannot parse ip" logging by checking for "map:" prefix early * Do not use tables for maps or IPs without mask * Normalize IPs by applying mask during processing * Add error logging for wrong IP mask * Simplify check_ip_settings() based on changes in process_ip_condition() | |||||
* | Fix spelling errors in libserver | Jérôme Lebleu | 2025-03-02 | 1 | -2/+2 | |
| | ||||||
* | [Feature] Allow adding timers to task (respecting symbols)vstakhov-ev-base-periodics | Vsevolod Stakhov | 2025-03-01 | 2 | -4/+108 | |
| | ||||||
* | [Feature] Allow to add periodic functions in Lua API | Vsevolod Stakhov | 2025-03-01 | 1 | -1/+112 | |
| | ||||||
* | [Feature] Allow to disable rbls from map | Vsevolod Stakhov | 2025-02-27 | 1 | -6/+27 | |
| |