Vsevolod Stakhov
0b14fd385e
Merge pull request #4861 from moisseev/webui
[Minor] Serve SVG with the correct CT
3 miesięcy temu
moisseev
1ef13a2419
[Minor] Serve SVG with the correct CT
3 miesięcy temu
Vsevolod Stakhov
f546071626
Merge pull request #4860 from rspamd/vstakhov-lua-udata-opt-moar
Further optimization to the hot path of lua userdata checks
3 miesięcy temu
Vsevolod Stakhov
0e1c723643
[Feature] Further optimization to the hot path
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
3 miesięcy temu
Vsevolod Stakhov
5c8a705941
Merge pull request #4857 from rspamd/vstakhov-lua-udata-opt
[Project] Optimization of userdata hashing
3 miesięcy temu
Vsevolod Stakhov
4ddfbe0a6e
Merge pull request #4856 from moisseev/webui
[Minor] Fix status tables borders
3 miesięcy temu
Vsevolod Stakhov
bcd36f7959
[Rework] Rework dynamic usage
3 miesięcy temu
Vsevolod Stakhov
dd284d1c1e
[Minor] Fix lua_tensor usage
3 miesięcy temu
Vsevolod Stakhov
900f364e36
[Rework] Use direct hashing instead of string hashing
3 miesięcy temu
Vsevolod Stakhov
75327b3889
[Project] Convert the remaining
3 miesięcy temu
Vsevolod Stakhov
72539a7ad1
[Minor] Forgotten files
3 miesięcy temu
Vsevolod Stakhov
8238dc0a23
[Project] Start optimization of userdata hashing
3 miesięcy temu
moisseev
c509c904a3
[Minor] Fix status tables borders
3 miesięcy temu
Vsevolod Stakhov
1fc2eaa7b3
Merge pull request #4855 from moisseev/webui
[Minor] Align items in card headers and buttons
3 miesięcy temu
moisseev
cc4bae7b93
[Minor] Update documentation reference
3 miesięcy temu
moisseev
08c034c966
[Minor] Align items in card headers and buttons
3 miesięcy temu
Vsevolod Stakhov
108dad4a6e
Merge pull request #4853 from moisseev/webui
[Minor] Improve minWidth calculation
3 miesięcy temu
moisseev
1dc3fe402b
[Minor] Improve minWidth calculation
3 miesięcy temu
Vsevolod Stakhov
f93ad4626b
Merge pull request #4852 from rspamd/vstakhov-proxy-nconns
Update `nconns` in proxy
3 miesięcy temu
Vsevolod Stakhov
24b189a91a
[Fix] Update `nconns` in proxy
3 miesięcy temu
Vsevolod Stakhov
5de6247460
[Minor] Add CLion artefacts
3 miesięcy temu
Vsevolod Stakhov
9483f70b87
Merge pull request #4849 from moisseev/webui
[WebUI] Add file input and drop area to scan tab
3 miesięcy temu
moisseev
62b136a336
[WebUI] Add file input and drop area to scan tab
3 miesięcy temu
Vsevolod Stakhov
152676f274
Merge pull request #4845 from fatalbanana/sync_publicsuffix
Sync public suffix list
3 miesięcy temu
Vsevolod Stakhov
c674224867
Merge pull request #4847 from fatalbanana/rspamadm_tests
[Test] rspamadm tests: override DBDIR
3 miesięcy temu
Vsevolod Stakhov
8154c91fb7
Merge pull request #4846 from twesterhever/temp-file-url
[Minor] Add HAS_FILE_URL rule for messages containing a file:// URL
3 miesięcy temu
Andrew Lewis
29fb22ad75
[Test] rspamadm tests: override DBDIR
3 miesięcy temu
twesterhever
c599cb599e
[Minor] Add HAS_FILE_URL rule for messages containing a file:// URL
These are frequently abused for distributing malware via non-HTTP
protocols, such as public Samba servers. file:// URLs may also be abused
for including files from the victims' machine in a message. Either way,
a legitimate usecase is unlikely.
Signed-off-by: twesterhever <40121680+twesterhever@users.noreply.github.com>
3 miesięcy temu
Vsevolod Stakhov
78f4df1e3f
Merge pull request #4834 from fatalbanana/gha_zombies
[Test] Use Robot-native process management
3 miesięcy temu
Andrew Lewis
f47853130d
[Test] Use Robot-native process management
- Partially unbreak functional tests in Github Actions
3 miesięcy temu
Andrew Lewis
7a15364103
Sync public suffix list
3 miesięcy temu
Vsevolod Stakhov
0689f0e7bd
Merge pull request #4843 from rspamd/vstakhov-libarchive
Support libarchive
3 miesięcy temu
Vsevolod Stakhov
d093bb5e0a
[Minor] Ask for utf8 string from libarchive
3 miesięcy temu
Vsevolod Stakhov
35085a042f
[Minor] Detect encryption when libarchive is used
3 miesięcy temu
Vsevolod Stakhov
8e8a09ffbf
[Project] Use libarchive for troublesome archives
3 miesięcy temu
Vsevolod Stakhov
642ca8c3a4
[Minor] Escape liquid
3 miesięcy temu
Vsevolod Stakhov
c64bea53c7
Merge pull request #4839 from rspamd/vstakhov-another-lupa-fix
Rework `jinja_template` functions to avoid LUPA global state dependency
3 miesięcy temu
Vsevolod Stakhov
21d8190dc1
Merge pull request #4838 from moisseev/webui
[WebUI] Disable buttons until tables are ready
3 miesięcy temu
Vsevolod Stakhov
33c00d4502
[Fix] Avoid stupid practice of polluting module's internal state
3 miesięcy temu
Vsevolod Stakhov
7b5b413b40
[Rework] Allow custom filters in `jinja_template`
3 miesięcy temu
moisseev
4b07085920
[WebUI] Disable buttons until tables are ready
to prevent race conditions
3 miesięcy temu
moisseev
945da96f9f
[Minor] Remove obsolete code
3 miesięcy temu
Vsevolod Stakhov
f719e0f329
Merge pull request #4830 from rspamd/vstakhov-fix-history-key
[Fix] Allow different template expansion parameters
3 miesięcy temu
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 miesięcy temu
Vsevolod Stakhov
23b730c272
Merge pull request #4829 from rspamd/revert-4826-vstakhov-fix-history-key
Revert "[Fix] Fix history key, as we use `{=` and not `{{` in templates"
3 miesięcy temu
Vsevolod Stakhov
923a70bbce
Revert "[Fix] Fix history key, as we use `{=` and not `{{` in templates"
3 miesięcy temu
Vsevolod Stakhov
a8c0e34fc8
Merge pull request #4826 from rspamd/vstakhov-fix-history-key
[Fix] Fix history key, as we use `{=` and not `{{` in templates
3 miesięcy temu
Vsevolod Stakhov
50e9652789
[Fix] Fix history key, as we use `{=` and not `{{` in templates
3 miesięcy temu
Vsevolod Stakhov
8c8f53d783
[Minor] Update version to 3.9.0
3 miesięcy temu
Vsevolod Stakhov
6c8e9a3378
[Minor] Allow to have only dynamic keys in fuzzy storage
3 miesięcy temu