Vsevolod Stakhov
33c00d4502
[Fix] Avoid stupid practice of polluting module's internal state
3 months ago
Vsevolod Stakhov
7b5b413b40
[Rework] Allow custom filters in `jinja_template`
3 months ago
Vsevolod Stakhov
0859509197
[Fix] Allow different template expansion parameters
Probably one of the most dirty hacks I've used in the Lua code in Rspamd...
3 months ago
Vsevolod Stakhov
269243987f
[Fix] Allow different template expansion parameters
Probably one of the most dirty hacks I've used in the Lua code in Rspamd...
3 months ago
Vsevolod Stakhov
923a70bbce
Revert "[Fix] Fix history key, as we use `{=` and not `{{` in templates"
3 months ago
Vsevolod Stakhov
50e9652789
[Fix] Fix history key, as we use `{=` and not `{{` in templates
3 months ago
Vsevolod Stakhov
e509f85e28
[Minor] Support keepalive and authorization
4 months ago
Vsevolod Stakhov
fda5af53e8
[Minor] Proper header name
4 months ago
Vsevolod Stakhov
43c789659c
[Minor] KAS: add source ip information
4 months ago
Vsevolod Stakhov
500fac7fd7
[Fix] Resolve issue with bayes stat in `rspamadm` mode
4 months ago
Andrew Lewis
e8a24a2ac4
[Minor] configwizard: really use LOCAL_CONFDIR
4 months ago
Alexander Moisseev
c8452b009d
[Rework] Breaking: Do not report module as action
in the /history response since we have the `passthrough_module` key
for that purpose.
While that might be handy in some situations,
mixing actions and module names is confusing in general.
4 months ago
Vsevolod Stakhov
04f6599ad7
[Minor] Add fail-safety
4 months ago
Andrew Lewis
1ea7a0b88c
[Minor] rbl: fix warning
4 months ago
Vsevolod Stakhov
66cc2d3d88
[Fix] Fix storing of the bayes tokens
4 months ago
Petr Vaněk
0805aace80
[Minor] Fix typo in comment
4 months ago
Petr Vaněk
aaf4373418
[Fix] Use short comments rather than long one
Rspamd fails to start with Lua-5.1 because long comment does not allow
nesting, see [1]. This change replaces it to short comments in order to
fix the issue but preserves this part as comment in docs.
[1] https://www.lua.org/manual/5.1/manual.html#7.1
Bug: https://bugs.gentoo.org/922522
Fixes: b189c9fea6
("[Minor] lua_maps docs: apply formatting")
Fixes: https://github.com/rspamd/rspamd/issues/4784
4 months ago
Vsevolod Stakhov
a00c667b4c
[Minor] Remove special handling
4 months ago
Vsevolod Stakhov
da42b91ec3
[Project] Some more work with regard to configuration
4 months ago
Vsevolod Stakhov
c2fd943dc8
[Project] Final things on redis cache rework
4 months ago
Vsevolod Stakhov
903b60db99
[Project] Add cache config
4 months ago
Vsevolod Stakhov
7b9dd286ea
[Minor] Fix scripts invocation
4 months ago
Vsevolod Stakhov
7541d281d3
[Project] Initial implementation of the lua counterpart
4 months ago
Vsevolod Stakhov
48bfe90186
[Minor] Rework redis servers config parsing
4 months ago
Vsevolod Stakhov
6d0cfe35ab
[Project] Implement text tokens storage on C++ side
5 months ago
Vsevolod Stakhov
38244b721b
[Project] Add store tokens support in new bayes learn
5 months ago
Andrew Lewis
84ee2815a5
[Minor] rbl: revisit previous change
5 months ago
Vsevolod Stakhov
65477c3064
[Project] Try to do strings concatenation in C
5 months ago
Andrew Lewis
fb53d4f2fd
[Minor] rbl: try harder to identify lua patterns
5 months ago
Andrew Lewis
d06fc3bea3
[Feature] rbl: support disabling or replacing url_whitelist per RBL
5 months ago
Andrew Lewis
4da87a5cda
[Minor] Have bayes use global redis settings
5 months ago
Vsevolod Stakhov
a639c5fae0
[Minor] Fix learned stats
5 months ago
Vsevolod Stakhov
b11f8216f0
[Project] Add some stats
5 months ago
Vsevolod Stakhov
cd568d7085
[Project] Various fixes
5 months ago
Vsevolod Stakhov
33cf745fb1
[Rework] Use strings for int64_t
It seems there is no easy way to use int64 in Redis Lua, hence, we have
to use strings. It's much more expensive but still some advantage over
the previous schema.
5 months ago
Vsevolod Stakhov
fcf2c2bb48
[Minor] Fix keys name
5 months ago
Vsevolod Stakhov
752414a1f5
[Project] Add some basic learning
5 months ago
Vsevolod Stakhov
0d993187c1
[Project] Add bayes learn script
5 months ago
Vsevolod Stakhov
3a7f4ef0ed
[Minor] Add initial stat callback
5 months ago
Vsevolod Stakhov
cbc907994e
[Project] Further caching logic modifications
5 months ago
Vsevolod Stakhov
9f754e6c77
[Project] Temporary fixes to start new bayes logic debug
6 months ago
Vsevolod Stakhov
25e7d7ff17
[Minor] Slightly improve logging
6 months ago
Vsevolod Stakhov
548251ac7e
[Project] Optimise classify script
6 months ago
Vsevolod Stakhov
44c6c563c2
[Project] Add classify redis script
6 months ago
Vsevolod Stakhov
69381e238b
[Project] Start migration of bayes redis backend to Lua
6 months ago
Andrew Lewis
33b3dd9a1b
[Fix] dkim_signing: siging_table: lowercase before lookup
6 months ago
Vsevolod Stakhov
ab21a6f65f
[Minor] Allow argument atoms to start from `-`
6 months ago
Vsevolod Stakhov
06062be5ce
[Minor] Relax arguments grammar for selectors
6 months ago
Vsevolod Stakhov
3adc6d6e2a
[Minor] Do something when no successful replies are detected
6 months ago
Vsevolod Stakhov
01cab363f0
[Project] Polish output modes
6 months ago