Vsevolod Stakhov
642ca8c3a4
[Minor] Escape liquid
4 ay önce
Vsevolod Stakhov
7b5b413b40
[Rework] Allow custom filters in `jinja_template`
4 ay önce
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...
4 ay önce
Vsevolod Stakhov
923a70bbce
Revert "[Fix] Fix history key, as we use `{=` and not `{{` in templates"
4 ay önce
Vsevolod Stakhov
50e9652789
[Fix] Fix history key, as we use `{=` and not `{{` in templates
4 ay önce
Vsevolod Stakhov
b9fb73ce0b
[Fix] Fix merge table utility
10 ay önce
Vsevolod Stakhov
1e84018e2a
[Minor] Move config stuff out
10 ay önce
Vsevolod Stakhov
460a824849
[Minor] Allow to log configuration errors from plugins
10 ay önce
Vsevolod Stakhov
bbd88232db
[Minor] Distinguish failures from unknown errors
10 ay önce
Simon Hauser
c04808c938
fix: redis schema parsing
11 ay önce
Vsevolod Stakhov
c3646183ac
[Minor] Load redis scripts from the prefix to simplify calls
1 yıl önce
Vsevolod Stakhov
3496dd3647
[Minor] Add a utility to join path components
1 yıl önce
Vsevolod Stakhov
2265ed4109
[Minor] Add a simple function to strip Lua comments
1 yıl önce
Vsevolod Stakhov
05fd471df5
[Rework] Reiterate on priorities
1 yıl önce
Vsevolod Stakhov
57e500a029
[Minor] Register some more timeouts
1 yıl önce
Vsevolod Stakhov
36ca24fd2f
[Feature] Add function to store upstreams for HTTP urls
2 yıl önce
Vsevolod Stakhov
00c3dded42
[Minor] Fix issues found by the new luacheck version
2 yıl önce
Vsevolod Stakhov
2fa0e126c7
[Minor] Update my email and the copyright year
2 yıl önce
Anton Yuzhaninov
431b3b892f
[Minor] Microoptimize lua_util.str_endswith
Use find to check string suffix instead of sub (which involves string
interning of a returned string). Benchmarks with LuaJIT 2.1.0 shows
that an option with find is significantly faster.
While here added unit test for this function.
2 yıl önce
Josh Soref
2b8e6958f4
Spelling (#4086)
[Rework] Massive spelling fix from @jsoref
2 yıl önce
Vsevolod Stakhov
dd2b7b4c24
[Minor] Add unhex utility
2 yıl önce
Vsevolod Stakhov
b55e61b1ee
[Minor] Pet luacheck
2 yıl önce
Vsevolod Stakhov
6e5b3bd6f9
[Minor] Detect logger's debug level in lua debug utilities
2 yıl önce
Vsevolod Stakhov
5fe80e02c8
[Minor] Add lua_util.shuffle
2 yıl önce
Vsevolod Stakhov
65bba487b9
[Minor] Allow to enable specific module debug
2 yıl önce
Vsevolod Stakhov
df5db93673
[Minor] Improve the default sort function in deep_sort function
3 yıl önce
Vsevolod Stakhov
129652075c
[Minor] Exclude '@' from quote character
3 yıl önce
Vsevolod Stakhov
af9c1b5d66
[Minor] Lua_util: Add maybe_smtp_quote_value
3 yıl önce
Vsevolod Stakhov
f1efd55e9d
[Minor] Lua_util: Fix round function
3 yıl önce
Andrew Lewis
b2d42ef071
[Minor] Fix cache key
3 yıl önce
Andrew Lewis
93c5dcada2
[Feature] RBL: support matching content/image URLs only
3 yıl önce
Vsevolod Stakhov
c2a0484005
[Minor] Add deepsort utility
3 yıl önce
Anton Yuzhaninov
ef8f8ffba0
[Minor] Add Lua functions str_startswith and str_endswith
3 yıl önce
Vsevolod Stakhov
f3423dd014
[Minor] Allow to get content urls in extract_specific routine
4 yıl önce
Vsevolod Stakhov
e2dfcf15cc
[Feature] Spf: Add external_relay option
4 yıl önce
Vsevolod Stakhov
813496a14d
[Minor] Add generic methods to deal with check_local/check_authed flags
4 yıl önce
Vsevolod Stakhov
a6faa5b82d
[Minor] Add `lua_util.nkeys` utility
4 yıl önce
Vsevolod Stakhov
e4ac34be79
[Feature] Add verdict library in lua
4 yıl önce
Vsevolod Stakhov
ec18910181
[Minor] Adopt lua_util.extract_specific_urls
4 yıl önce
Vsevolod Stakhov
2d1967e05b
[Minor] Add str_trim alias
4 yıl önce
Vsevolod Stakhov
f2b60f9e33
[Minor] Lua_util: Allow to enable debug logging by a single method
4 yıl önce
Vsevolod Stakhov
d1ad30ae1a
[Minor] Another fix to extract_specific
4 yıl önce
Vsevolod Stakhov
7eb40a10e7
[Feature] Support images when extracting urls
4 yıl önce
Vsevolod Stakhov
0e83a5325c
[Feature] Lua_util: table_digest can now recursively traverse tables
4 yıl önce
Vsevolod Stakhov
42704e45f7
[Minor] Oops, fix flag name
4 yıl önce
Vsevolod Stakhov
d448cacb05
[Minor] Some more adjustments to extract_specific
4 yıl önce
Vsevolod Stakhov
6e8df5589d
[Minor] Lua_util: Rework and add tests for callback_from_string
4 yıl önce
Vsevolod Stakhov
4745be0218
[Minor] Improve redirected urls processing in filter_specific_urls
4 yıl önce
Vsevolod Stakhov
2bccf655b4
[Rework] Lua_util: Another rework for extract_specific_urls
4 yıl önce
Vsevolod Stakhov
ddbbe07faf
[Fix] More fixes to extract_specific_urls
4 yıl önce