aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua
Commit message (Collapse)AuthorAgeFilesLines
* [Minor] Fix FreeBSD build by including sys/user.hAlexander Moisseev2025-06-271-0/+3
|
* Merge pull request #5523 from rspamd/vstakhov-more-utilsVsevolod Stakhov2025-06-231-1/+134
|\ | | | | [Feature] Add some more OS utility functions
| * [Feature] Add some more OS utility functionsvstakhov-more-utilsVsevolod Stakhov2025-06-211-1/+134
| |
* | [Project] Rework tokenizers initialisationVsevolod Stakhov2025-06-221-6/+82
| |
* | [Minor] Fix the test caseVsevolod Stakhov2025-06-201-0/+2
| |
* | [Minor] Fix build issuesVsevolod Stakhov2025-06-201-5/+5
| |
* | [Rework] Use GLib agnostic type for wordsVsevolod Stakhov2025-06-204-30/+150
| |
* | [Project] Add ability to create custom tokenizers for languagesVsevolod Stakhov2025-06-121-3/+3
|/
* [Test] Add unit tests for the new logger behaviourvstakhov-lua-logger-fixesVsevolod Stakhov2025-06-111-13/+14
|
* [Fix] Make logger more graceful when dealing with format argumentsVsevolod Stakhov2025-06-101-41/+58
|
* [Fix] As we have replxx library, always use itVsevolod Stakhov2025-06-061-24/+2
|
* [Fix] Use safe parsers everywhere except configurationVsevolod Stakhov2025-06-051-1/+1
|
* [Minor] Lua_http: Add more examplesVsevolod Stakhov2025-05-201-9/+110
|
* [Minor] Update API docs RE: multiple HTTP headersAndrew Lewis2025-05-151-2/+2
|
* Merge pull request #5386 from rspamd/vstakhov-maps-stuffVsevolod Stakhov2025-03-242-3/+8
|\ | | | | Improve maps status visibility
| * [Fix] Fix static maps description passingVsevolod Stakhov2025-03-242-3/+8
| |
* | Add support for complex table keys in logging outputDmitry Petrov2025-03-161-82/+95
| |
* | More lua logging improvementsDmitry Petrov2025-03-162-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 improvementsDmitry Petrov2025-03-162-105/+90
|/ | | | | | | | * 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 #5378 from amulet1/lua_logger_log_formatVsevolod Stakhov2025-03-111-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 Petrov2025-03-081-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-embeddingVsevolod Stakhov2025-03-101-1/+1
|/ | | | Issue: #5258
* [Feature] Allow adding timers to task (respecting symbols)vstakhov-ev-base-periodicsVsevolod Stakhov2025-03-012-4/+108
|
* [Feature] Allow to add periodic functions in Lua APIVsevolod Stakhov2025-03-011-1/+112
|
* [Minor] Fix for old OpenSSL, sighVsevolod Stakhov2025-01-251-0/+5
|
* [Minor] Add protection against infinite recursionVsevolod Stakhov2025-01-251-5/+12
|
* [Fix] Make table digests consistentVsevolod Stakhov2025-01-251-4/+76
|
* [Minor] Deal with packed structure member properlyVsevolod Stakhov2025-01-252-2/+2
|
* [Feature] Add UTF8 `sub` and `len` variants for rspamd_textVsevolod Stakhov2025-01-201-3/+101
|
* [Minor] Slightly rework lua shingles to simplify storageVsevolod Stakhov2025-01-084-8/+28
|
* [Minor] Fix some broken linksAndrew Lewis2025-01-072-2/+2
|
* [Fix] Add timer update before timer settingVsevolod Stakhov2025-01-071-43/+54
|
* [Feature] Pass shingles to Lua scriptsvstakhov-lua-shinglesVsevolod Stakhov2025-01-062-5/+5
|
* [Feature] Allow to store shingles as opaque Lua dataVsevolod Stakhov2025-01-064-3/+129
|
* [Feature] Lua_task: Allow to load data into the existing taskVsevolod Stakhov2024-12-201-21/+72
|
* [Feature] Allow to hash any Lua typesVsevolod Stakhov2024-12-201-32/+84
|
* [Fix] Remove USPOOF_SINGLE_SCRIPT_CONFUSABLE from the checksVsevolod Stakhov2024-12-121-1/+12
| | | | | In fact, it just checks if string1 and string2 intersect or not, and it is definitely not the check we want there.
* Merge pull request #5251 from rspamd/vstakhov-cumulative-tcp-timeoutVsevolod Stakhov2024-12-101-1/+7
|\ | | | | [Fix] Use cumulative timeout when dealing with TCP connections
| * [Fix] Use cumulative timeout when dealing with TCP connectionsvstakhov-cumulative-tcp-timeoutVsevolod Stakhov2024-12-091-1/+7
| |
* | [Minor] Add missing action descriptionsAlexander Moisseev2024-12-101-0/+5
|/
* [Rework] Replace fastutf with simdutfVsevolod Stakhov2024-11-292-2/+2
| | | | | | Simdutf is faster and has way better support of the architectures (especially when it comes to non-x86 stuff). Hence, it is a good idea to use it instead of the non-supported fastutf8 stuff.
* [Fix] More fixes to rfc2047 encodingVsevolod Stakhov2024-11-181-4/+9
|
* [Fix] Fix memory leak in `lua_new_text` invocationsVsevolod Stakhov2024-11-014-12/+20
|
* [CritFix] Fix ARC-Seal signingJan Schär2024-10-201-0/+4
| | | | | | | | | | | | | | | | | Signing of ARC-Seal headers was recently broken; the created signatures failed to validate. Most likely, this was caused by commit 1e661a2fc6e3, which changed the way signatures are created in lua_rsa_sign_memory without adding the calls to EVP_PKEY_CTX_set_rsa_padding and EVP_PKEY_CTX_set_signature_md needed with the new interface. After fixing this, some existing tests failed, because the test values passed to the hash parameter did not have the correct size for a sha256 hash. I fixed these by adjusting the length of the test values. Additionally, I extended the "RSA sign" unit test to compare the created signature against the expected one. This is possible because RSA signing is deterministic, and should prevent the same bug from occuring again. Fixes: https://github.com/rspamd/rspamd/issues/5173
* [Rework] Allow `Content-Encoding` standard header for zstd compressionvstakhov-zstd-headersVsevolod Stakhov2024-10-171-1/+2
|
* [Minor] Make API consistentVsevolod Stakhov2024-09-271-4/+4
|
* Merge branch 'master' into vstakhov-utf8-mimevstakhov-utf8-mimeVsevolod Stakhov2024-09-243-30/+43
|\
| * [Minor] Another compatibility fixVsevolod Stakhov2024-09-241-0/+4
| |
| * [Minor] Use portable macro for old OpenSSLvstakhov-ssl-fixesVsevolod Stakhov2024-09-241-1/+1
| |
| * [Minor] Another compatibility fixVsevolod Stakhov2024-09-241-2/+9
| |