Vsevolod Stakhov
b7605d9239
[Fix] Return a real number of recipients when dealing with aliases
Issue: #4104
2 years ago
Vsevolod Stakhov
03ff121256
[Minor] Fix find to search for plain substrings only
2 years ago
Vsevolod Stakhov
8e387f507a
[Test] Add test for csv detection
2 years ago
Vsevolod Stakhov
4804292ed2
[Minor] Fix detection for some csv cases
2 years ago
Vsevolod Stakhov
7dfe495e68
[Minor] Another fix for `task:get_symbol`
2 years ago
Vsevolod Stakhov
708b461cc8
[Minor] Fix use of task:get_symbol
2 years ago
Vsevolod Stakhov
95f49b26e9
[Minor] Reputation: Another bunch of fixes
Issue: #4100
2 years ago
Vsevolod Stakhov
e6e1a528da
[Minor] Reputation: Fix config variable
2 years ago
Vsevolod Stakhov
6b6c4af8dc
[Fix] Apply the similar fix to the url_reputation
Issue: #4100
2 years ago
Vsevolod Stakhov
cab96bb04a
[Fix] Properly find the request and the number of requested entries
Issue: #4100
2 years ago
Vsevolod Stakhov
6747093122
Merge pull request #4097 from moisseev/webui
Webui
2 years ago
Vsevolod Stakhov
8bd5500b3f
[Minor] Add average scan time metric
Issue: #4096
2 years ago
Vsevolod Stakhov
d753ba5f49
[Minor] Deduplicate sum function
2 years ago
Vsevolod Stakhov
0b4e9a4f0b
[Minor] Move summation to a separate routine
2 years ago
Vsevolod Stakhov
34d47efef8
[Minor] Fix printing
2 years ago
moisseev
da28099f0e
[WebUI] Show scan time in server list
2 years ago
moisseev
1012fd1cfb
[Test] Enable ECMAScript 6 features
2 years ago
Vsevolod Stakhov
fc9cac29db
[Minor] Move common stuff to a function
2 years ago
Vsevolod Stakhov
5091e29234
[Minor] Obsolete old fuzzy epochs
2 years ago
Vsevolod Stakhov
dc4d83ffa2
Merge pull request #4093 from citrin/str_endswith
[Minor] Microoptimize lua_util.str_endswith
2 years ago
Vsevolod Stakhov
9a6ee04f0d
Merge pull request #4079 from HeinleinSupport/lua_scanners/icap
Lua scanners/icap
2 years ago
Carsten Rosenberg
9f67eef450
[Minor] lua_scanners - icap - lua linting
2 years ago
Carsten Rosenberg
287f81c148
[Minor] lua_scanners - icap - adjust threat_table function
2 years ago
Carsten Rosenberg
4e2bb3bdbf
[Minor] lua_scanners - icap - update compatibility
2 years ago
Carsten Rosenberg
89c9984c0a
[Minor] lua_scanners - icap - add another variant of icap return
2 years ago
Vsevolod Stakhov
8ddf1aaca9
[Minor] Add missing division
Pointed by: @moisseev
2 years ago
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 years ago
Vsevolod Stakhov
4a5f9c2d91
[Feature] Show average scan time in `rspamc stat` output
2 years ago
Vsevolod Stakhov
aabe0bf565
[Feature] Output average scan time in /stat endpoint
2 years ago
Vsevolod Stakhov
9c5ecc6e60
[Minor] Always report actions count
2 years ago
Vsevolod Stakhov
d642742956
[Minor] Mark `c` in Kahan sum volatile
2 years ago
Vsevolod Stakhov
f6cdd27f8b
[Minor] Add average time processing slots
2 years ago
Vsevolod Stakhov
e932a896eb
[Minor] Align rspamd_stat structure
2 years ago
moisseev
ba7f6982b0
[Test] Ignore index.html
2 years ago
Josh Soref
2b8e6958f4
Spelling (#4086)
[Rework] Massive spelling fix from @jsoref
2 years ago
Vsevolod Stakhov
85faeb3471
Merge pull request #4085 from moisseev/d3pie
[WebUI] Replace pie chart library
2 years ago
moisseev
a417f507b9
[WebUI] Replace pie chart library
2 years ago
Vsevolod Stakhov
9c933b1803
[Minor] Strip message id from enclosing spaces
Issue: #4081
2 years ago
Vsevolod Stakhov
b3e1ff9e76
[Test] Add a test case
Issue: #4081
2 years ago
Vsevolod Stakhov
d23dfcf2cd
[Fix] External_relay: Remove useless check of the map value
Issue: #4080
2 years ago
Vsevolod Stakhov
38b8f1e5be
Merge pull request #4077 from citrin/DKIM_MIXED
[Rules] Fix symbol for DKIM temporary failure
2 years ago
Anton Yuzhaninov
9ba051d292
[Rules] Fix symbol for DKIM temporary failure
There is no R_DKIM_DNSFAIL symbol (in default config), but there is R_DKIM_TEMPFAIL.
2 years ago
Vsevolod Stakhov
c5fe1b0509
[Minor] Add an example for the lua_maps usage
2 years ago
Vsevolod Stakhov
b1bef4702c
[Fix] When checking for phishing, we need to convert punicode -> UTF8, not vice versa
Previosly, Rspamd has checked for `xn--` signature just to convert it back to `xn--` form.
According to the expected results, it should do the opposite conversion.
Issue: #4065
2 years ago
Vsevolod Stakhov
192a5fd8bb
[Minor] Improve error reporting
Issue: #4076
2 years ago
Vsevolod Stakhov
4ebb7dcf7f
[Fix] Fix http maps shared memory cache cleanup
It must be initiated by active http worker as it really has the shm object
available.
2 years ago
Vsevolod Stakhov
b00071d015
[Minor] Store map pointer in a backend structure
2 years ago
Vsevolod Stakhov
7c3a7c1365
[Minor] Add more logging for the shm cache for the maps
2 years ago
Vsevolod Stakhov
d4656983a3
Merge pull request #4074 from citrin/clickhouse
[Fix] ClickHouse cleanup of old partitions
2 years ago
Vsevolod Stakhov
91dd70ca32
Merge pull request #4070 from moisseev/lua-stat
[Minor] Disable Received tokens
2 years ago