Vsevolod Stakhov
215882ae3d
[Minor] Lua_ip: Add address comparison method
4 years ago
Vsevolod Stakhov
1d5ddb1345
[Minor] Lua_task: Add support of shadow results
4 years ago
Vsevolod Stakhov
d68773eabf
[Minor] Fix the case of empty flags :(
4 years ago
Vsevolod Stakhov
4385e17015
[Rework] Further rework of lua urls extraction API
4 years ago
Vsevolod Stakhov
2a7ad79943
[Minor] Add lua_geti compat method
4 years ago
Vsevolod Stakhov
fc08274623
[Minor] Amend doc string
4 years ago
Vsevolod Stakhov
c5c2eaf6b0
[Rework] Rework url flags handling API
4 years ago
Vsevolod Stakhov
d4bd976fd9
[Rework] Rework urls extraction
4 years ago
Jan Smutny
ebfde82556
[Feature] extend lua api
add new value accessible by key 'raw' to the table returned by util:parse_mail_address and task:get_from
4 years ago
Gregor Dschung
1b2b501ceb
[Fix] Do not flag pre-result of virus scanners as least if action is reject
fixes #3279
4 years ago
Jan Smutny
acefdbe25a
src/lua/lua_util.c: remove unused function
4 years ago
Jan Smutny
d04d3d983d
[Rework] add alias util:parse_addr for util:parse_mail_address
4 years ago
Jan Smutny
3e85c63f09
[Rework] get rid of util:parse_addr duplicating the util:parse_mail_address, replace where used
4 years ago
Jan Smutny
b45a93a58a
[Minor] complete comment part of util:parse_addr and util:parse_mail_address method
4 years ago
Jan Smutny
51a7730b1c
[Minor] complete doc part of task:get_from method
4 years ago
Vsevolod Stakhov
c0bcfaff59
[Minor] Allow to adjust symbols without score change
4 years ago
Vsevolod Stakhov
0f1e8e07e0
[Minor] Support shadow results in lua task api
4 years ago
Vsevolod Stakhov
c4f9383a51
[Minor] Lua_task: Add table version and multi-results support for set_pre_result
4 years ago
Vsevolod Stakhov
5d7a33f313
[Minor] Add some missing types and docs to rspamd_lua_parse_table_arguments
4 years ago
Vsevolod Stakhov
b80e8b8477
[Project] Rework some more functions to work with shadow results
4 years ago
Vsevolod Stakhov
29f38bde30
[Minor] Correct deflate header detection
4 years ago
Vsevolod Stakhov
592ededbbe
[Minor] Improve log message for inflate/deflate
4 years ago
Christian Göttsche
765813e908
[Minor] silence warnings about unused function results
GCC does not respect `(void) func()`
4 years ago
Christian Göttsche
0eee052391
[Minor] Remove unused-but-set variables
../src/libserver/url.c: In function ‘rspamd_url_host_set_add’:
../src/libserver/url.c:3808:11: warning: variable ‘k’ set but not used [-Wunused-but-set-variable]
3808 | khiter_t k;
| ^
../src/lua/lua_task.c: In function ‘lua_task_has_urls’:
../src/lua/lua_task.c:2406:11: warning: variable ‘need_emails’ set but not used [-Wunused-but-set-variable]
2406 | gboolean need_emails = FALSE, ret = FALSE;
| ^~~~~~~~~~~
4 years ago
Vsevolod Stakhov
f8072344f9
[Feature] Allow multiple base32 encodings in Lua API
4 years ago
Vsevolod Stakhov
b8a099632f
[Feature] Add multiple base32 alphabets for decoding
4 years ago
Vsevolod Stakhov
c2351037b5
[Feature] Support multiple base32 alphabets
4 years ago
Vsevolod Stakhov
508f85e07f
[Minor] Lua_html: Return empty table if no images are there in html
4 years ago
Vsevolod Stakhov
e02ab40788
[Minor] Fix doc string
4 years ago
Vsevolod Stakhov
839c994813
[Minor] Support flatten attribute in rspamd_config:register_re_selector
4 years ago
Vsevolod Stakhov
e9418b12ff
[Project] Rework scan result functions to support shadow results
4 years ago
Vsevolod Stakhov
d916f02050
[Minor] Allow to add named results via lua API
4 years ago
Vsevolod Stakhov
422bf8b8f4
[Project] Add routine to call a generic lua function
4 years ago
Vsevolod Stakhov
6581dc09e6
[Minor] Fix learning with symbols that have no static scores
4 years ago
Vsevolod Stakhov
a14f280407
[Minor] Try to fix brain damaged libev timers
4 years ago
Vsevolod Stakhov
50e1bfba88
[Fix] Normalize dynamic scores in ANN correctly
4 years ago
Vsevolod Stakhov
a95dc640f9
[Fix] Fix lua symbols scores registration when config does not define scores
4 years ago
Vsevolod Stakhov
ec52f9b4a1
Revert "[Minor] Filter nil values in rspamd_config:get_all_opt"
This reverts commit af30ca1eb0
.
4 years ago
Vsevolod Stakhov
af30ca1eb0
[Minor] Filter nil values in rspamd_config:get_all_opt
4 years ago
Vsevolod Stakhov
d1aa388f92
[Rework] Urls: update lua libraries
4 years ago
Vsevolod Stakhov
a8f11faf7f
[Rework] Rework URL structure: adjust tld part
4 years ago
Vsevolod Stakhov
3e3b94276f
[Rework] Rework URL structure: more structure optimisations
4 years ago
Vsevolod Stakhov
cd270c51b2
[Rework] Rework URL structure: host field
4 years ago
Vsevolod Stakhov
f1d8615a32
[Rework] Rework URL structure: user field
4 years ago
Vsevolod Stakhov
c5836a23f9
[Minor] Add helper to alter metatables
4 years ago
Vsevolod Stakhov
ca991102df
[Minor] Oops, misprint
4 years ago
Vsevolod Stakhov
270365edd7
[Minor] Lua_task: Add more consistency to get_from
4 years ago
Vsevolod Stakhov
2623065a8f
[Fix] Fix opaque maps logic
4 years ago
Vsevolod Stakhov
a8d97d481a
[Fix] Neural: Distinguish missing symbols from symbols with low scores
4 years ago
Vsevolod Stakhov
fd8ce41feb
[Minor] Allow to work with non-registered symbols
4 years ago