aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua
Commit message (Collapse)AuthorAgeFilesLines
* [Project] Remove NIST mode from everywhereVsevolod Stakhov2024-08-093-131/+31
|
* Merge pull request #5084 from rspamd/vstakhov-negative-group-limitsVsevolod Stakhov2024-08-011-0/+2
|\ | | | | [Feature] Allow to set negative group score limit via `min_score`
| * [Feature] Allow to set negative group score limit via `min_score`Vsevolod Stakhov2024-07-301-0/+2
| |
* | [Minor] Improve errors reporting for lua_redisVsevolod Stakhov2024-07-311-7/+16
|/
* [Minor] Add `task:set_subject` alias for sanityVsevolod Stakhov2024-07-301-0/+1
|
* [Minor] Fix several issues with flag propagationVsevolod Stakhov2024-07-181-1/+6
|
* [Feature] Treat SPF +all in a special wayVsevolod Stakhov2024-07-171-0/+2
| | | | Issue: #4996
* [Fix] Do not crash if symbol is missing in the metricVsevolod Stakhov2024-07-111-1/+1
|
* [Minor] Push dynamic symbol weightVsevolod Stakhov2024-07-081-5/+17
|
* Fixed bug with task:inject() function according to the issue #5010 (#5021)Ivan Stakhov2024-06-252-11/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [Fix] Fix issue with task:inject_url * [Minor] Code clean up * [Minor] Clean up * [Minor] Small fix * [Minor] Fix small typo * [Test] Debug * [Test] Debug * [Test] Debug inject_url * [Test] Debugging * [Test] Debugging task:inject test * [Test] Debugging task:inject test * [Test] Debugging task:inject test * [Minor] Debug task:inject_url test * [Minor] Small fix * [Minor] Debug task:inject_url test * [Test] Test base task:inject * [Test] Test updated task:inject * [Test] Test updated task:inject * [Test] Test updated task:inject * [Test] Test updated task:inject * [Test] Test updated task:inject * [Test] Test fixed task:inject * [Test] Test fixed task:inject * [Test] Testing task:inject * [Test] Testing task:inject * [Test] Fix task:inject * [Test] Fix task:inject * [Test] Fix task:inject * [Test] Fix task:inject * [Test] Fix task:inject * [Test] Fix task:inject * [Test] Fix task:inject * [Test] Fix task:inject * [Test] Test base task:inject * [Test] Test base task:inject * [Test] Test base task:inject * [Test] Fix task:inject * [Test] Fix task:inject * [Test] Fix task:inject * [Test] Fix task:inject * [Minor] Clean up code in task:inject * [Minor] Updated test for task:inject * [Test] Debug test for task:inject_url * [Test] Debug test for task:inject_url * [Test] Fix task:inject_url * [Test] Fix task:inject_url * [Test] Fix task:inject_url * [Test] Fix task:inject_url * [Test] Fix task:inject_url * [Test] Fix task:inject_url * [Test] Fix task:inject_url * [Test] Fix task:inject_url * [Test] Fix task:inject_url * [Test] Fix task:inject_url * [Test] Fix task:inject_url * [Test] Fix task:inject_url * [Test] Fix task:inject_url * [Test] Fix task:inject_url * [Test] Fix task:inject_url * [Test] Check task:inject_url * [Test] Check task:inject_url * [Test] Check task:inject_url * [Test] Check task:inject_url * [Test] Check task:inject_url * [Test] Check task:inject_url * [Minor] Clean up code * [Minor] Clean up code * [Minor] Little fix for error messages in url.create function * [Test] Change way to inject url * [Test] Fix inject url * [Test] Fix inject url * [Test] Fix inject url * [Test] Fix inject url * [Test] Fix inject url * [Minor] Clean up code * [Test] Without fake mime_part * [Test] Without fake mime_part * [Minor] Clean up * [Test] Mime part of the task * [Test] Mpart should exist * [Test] Mpart should exist * [Test] Mpart should exist * [Test] Another check for mpart->urls * [Minor] Clean up * [Minor] Clean up * [Fix] Fixing OpenSSL 3.0 compatibility * [Fix] Reverted
* SUBJ_ALL_CAPS is overkillIKEDA Soji2024-05-031-4/+9
| | | | It should consider characters in unicase scripts as being not uppercase.
* [Fix] Honor dynamic thresholds for greylisting moduleVsevolod Stakhov2024-04-051-0/+41
|
* [CritFix] Protect regexp matcher from regexps with empty patternsVsevolod Stakhov2024-03-221-1/+6
| | | | | Issue: #4885 Closes: #4885
* [Rework] Further types conversion (no functional changes)Vsevolod Stakhov2024-03-1842-2093/+2093
|
* [Rework] Remove some of the GLib types in lieu of standard onesVsevolod Stakhov2024-03-1819-129/+129
| | | | This types have constant conflicts with the system ones especially on OSX.
* [Minor] Another similar `getline` fixVsevolod Stakhov2024-03-151-2/+2
|
* [Fix] Do not save multipatterns to FS in certain casesVsevolod Stakhov2024-03-151-4/+4
|
* [Feature] Support reply in message pack formatVsevolod Stakhov2024-03-111-2/+1
| | | | | | Rspamd currently sends reply in JSON format. However, message pack seems to be a better choice for a compatible client. It is faster and does not need escaping or even UTF8 validation. This is a surface for further updates.
* [Feature] Further optimization to the hot pathVsevolod Stakhov2024-03-061-6/+10
| | | | | | | | | | We check userdata very frequently, so the idea here is the following: - Store the address of classname (converted to int) in the metatable at index 1 - When we need to check some udata, we can just compare the static address with the integer stored in metatable - This avoid quite an expensive `lua_rawequal` call for two tables as we know that our classes are quite static
* [Rework] Rework dynamic usageVsevolod Stakhov2024-03-053-6/+112
|
* [Minor] Fix lua_tensor usageVsevolod Stakhov2024-03-052-11/+9
|
* [Rework] Use direct hashing instead of string hashingVsevolod Stakhov2024-03-052-11/+13
|
* [Project] Convert the remainingVsevolod Stakhov2024-03-0532-291/+385
|
* [Minor] Forgotten filesVsevolod Stakhov2024-03-052-0/+46
|
* [Project] Start optimization of userdata hashingVsevolod Stakhov2024-03-055-16/+19
|
* [Minor] Slightly improve log messageVsevolod Stakhov2024-02-121-24/+27
|
* [Feature] Lua_url: Add `to_http` methodVsevolod Stakhov2024-02-121-1/+86
|
* [Minor] rspamd_task API docs: fix broken linkAndrew Lewis2024-02-011-2/+2
|
* [Minor] docs: rspamd_html: fix some copypastaAndrew Lewis2023-12-181-3/+4
|
* [Minor] Append header to the ordered list of headers if it does not existVsevolod Stakhov2023-11-251-1/+4
|
* [Fix] Another try to fix setproctitleVsevolod Stakhov2023-11-131-5/+5
|
* [Fix] Properly set config field when creating tasks from LuaVsevolod Stakhov2023-11-091-1/+1
|
* [Minor] Modernize lua_util_encode_base64Vsevolod Stakhov2023-09-201-27/+10
|
* [Rework] Breaking: return back to semverVsevolod Stakhov2023-09-131-3/+11
|
* [Minor] API docs: lua_ip: fix function nameAndrew Lewis2023-09-121-10/+10
| | | | | - Also clarify description - Make sure example is appropriate
* [Minor] Slightly improve loggingVsevolod Stakhov2023-09-091-4/+12
|
* [Minor] Fix some warningsVsevolod Stakhov2023-09-081-4/+4
|
* [Minor] Sort lua modules and use GPtrArray instead of GListVsevolod Stakhov2023-09-071-13/+3
|
* [Fix] Fix lua stack corruption when logging large tablesVsevolod Stakhov2023-09-041-9/+9
|
* [Minor] Make table and positional arguments equal in get_from/rcptVsevolod Stakhov2023-09-041-52/+54
|
* [Minor] Make old logger API equal to new oneVsevolod Stakhov2023-08-251-33/+10
| | | | I really don't know why the old API ever exists
* Added support for Redis 6 ACL (username/password)laodc2023-08-211-5/+12
|
* [Minor] Allow rspamd_lua_require_function to work without functionVsevolod Stakhov2023-08-181-18/+30
|
* [Rework] Final efforts to make it compileableVsevolod Stakhov2023-08-161-1/+3
|
* [Rework] More steps to do refactoringVsevolod Stakhov2023-08-163-17/+17
|
* [Rework] Further conversion routinesVsevolod Stakhov2023-08-151-2/+2
|
* [Rework] More abstractions to hide C++ internalsVsevolod Stakhov2023-08-142-26/+21
|
* [Rework] Finish utils reworkVsevolod Stakhov2023-08-141-9/+0
|
* [Rework] Use more c++ in cfg_utilsVsevolod Stakhov2023-08-141-1/+1
|
* [Fix] Fix `url:set_redirected` methodVsevolod Stakhov2023-08-091-5/+11
|