Vsevolod Stakhov
6b2b416718
[Rework] Remove some of the GLib types in lieu of standard ones
This types have constant conflicts with the system ones especially on OSX.
2 月之前
Vsevolod Stakhov
e879458ea8
[Minor] Imply LEFTMOST flag on regexps with conditions
8 月之前
Andrew Lewis
8a1e1ec63c
[Minor] Test & fix has_only_html_part regression
10 月之前
Vsevolod Stakhov
5e81edd480
[Fix] Fix `rspamd_has_only_html_part`
10 月之前
Vsevolod Stakhov
537a7180a0
[Rework] Use clang-format to unify formatting in all sources
No meaningful changes.
10 月之前
Vsevolod Stakhov
7fab24199e
[Minor] Cleanup memory on the error path
2 年之前
Vsevolod Stakhov
19bfd5e302
[Minor] Fix a name and the description of bogus `user` field in the task
2 年之前
Vsevolod Stakhov
cd2b10baed
[Minor] Fix format string
2 年之前
Vsevolod Stakhov
e77e2d42f4
[Minor] Further priorities adjustment
2 年之前
Vsevolod Stakhov
4685cc5b83
[Minor] Fix expressions priorities
2 年之前
Vsevolod Stakhov
e215f89e7c
[Minor] Try to fix has_fake_html rule
2 年之前
Vsevolod Stakhov
0e21fac34d
[Minor] Lemove legacy
2 年之前
Vsevolod Stakhov
1d3c9379b9
[Rework] Html: Deal with the utf_content part
3 年之前
Vsevolod Stakhov
c017695895
[Minor] Move html code to a separate subdir (no functional changes)
3 年之前
Vsevolod Stakhov
2237481903
[Project] Rework API for the modified headers
3 年之前
Vsevolod Stakhov
ba285a1b84
[Minor] Plug leak on error path
3 年之前
Vsevolod Stakhov
8f2d531695
[Minor] Remove unused var
3 年之前
Vsevolod Stakhov
4aee16e53d
[Minor] Fix rspamd_has_only_html_part function + refactor macro names
3 年之前
Vsevolod Stakhov
e8437ef00f
[Minor] Fix simple regexps
3 年之前
Vsevolod Stakhov
0e21da4e38
[Project] Add `L` flag for regexps to save start of the match in Hyperscan
3 年之前
Vsevolod Stakhov
a95c5a23ed
[Project] Allow to specify re_conditions for regular expressions
3 年之前
Vsevolod Stakhov
976a824a0e
[Project] Preliminary support of lua conditions for regexps
3 年之前
Vsevolod Stakhov
e9418b12ff
[Project] Rework scan result functions to support shadow results
4 年之前
Vsevolod Stakhov
3e9f86bda6
[Minor] Split url and email regexps
4 年之前
Anton Yuzhaninov
bc613d0186
[Fix] 'R' flag is for all headers regexp
According to the documentation R flag is for regexp which applied for
all headers (unencoded):
https://rspamd.com/doc/modules/regexp.html#regular-expressions
4 年之前
Vsevolod Stakhov
eba3b1535d
[Fix] Fix O(N^2) algorithm
4 年之前
Vsevolod Stakhov
3c772979bb
[Rework] Change mime part specifics handling
4 年之前
Vsevolod Stakhov
7ffeac6f52
[Rework] Distinguish protocol and task flags
4 年之前
Vsevolod Stakhov
ad0c533f1c
[Project] Move digest to message
4 年之前
Vsevolod Stakhov
7df2c1887e
[Minor] Add has_symbol function to rspamd expressions
5 年之前
Vsevolod Stakhov
a15eaba20a
Revert "[Fix] Escape utf in regexp to dodge ragel/hyperscan issue"
This reverts commit e658c7fcb5
.
5 年之前
Vsevolod Stakhov
e658c7fcb5
[Fix] Escape utf in regexp to dodge ragel/hyperscan issue
5 年之前
Vsevolod Stakhov
eb5fc65aca
[Fix] Do not use lightuserdata for traceback
LuaJIT limits lightuserdata usage to 47 bits. On Arm64, this leads to
break of the C <-> Lua interoperability using this type.
This rework has changed traceback function behaviour from lightuserdata
opaque pointer (GString * in particular) to luaL_Buffer.
Issue: #2906
5 年之前
Vsevolod Stakhov
957e21258d
[Rework] Rework expression API
5 年之前
Vsevolod Stakhov
fc55fd21a5
[Minor] Fix expressions for empty content HTML parts
Issue: #2751
5 年之前
Vsevolod Stakhov
48db96cdcb
[Minor] Fix various issues
5 年之前
Vsevolod Stakhov
a8fb3a3f5f
[Feature] Regexp: Allow local lua functions in Rspamd regexp module
5 年之前
Vsevolod Stakhov
6abb04609d
[Minor] Core: Fix one more issue in content_type_has_param
5 年之前
Vsevolod Stakhov
714faa2b80
[Minor] Core: Fix content type attributes access after rework
5 年之前
Vsevolod Stakhov
3f147877af
[Rules] Use bad_unicode flag for LEAKED_PASSWORD_SCAM rule
Issue: #2649
5 年之前
Vsevolod Stakhov
d664f2fd52
[Feature] Allow to get task flags in C expressions
5 年之前
Vsevolod Stakhov
36c874383c
[Feature] Add more words regexp classes
5 年之前
Vsevolod Stakhov
40958cbc99
[Feature] Add support of words regexps
5 年之前
Vsevolod Stakhov
5cd10b421b
[Minor] Fixes to regexp selectors
5 年之前
Vsevolod Stakhov
ca18e04ce0
[Minor] Add implicit header type for regexps
5 年之前
Vsevolod Stakhov
fed99b23a3
[Project] Add initial support for selectors in regexps
5 年之前
Mikhail Galanin
a9bc3d63a3
[Minor] Use struct to pass parameters to process_atom() functions
5 年之前
Vsevolod Stakhov
f3d41eeed6
[Fix] Fix regexp functions when no data is passed
5 年之前
Vsevolod Stakhov
b0bc4a9e9c
[Rework] Use floating point arithmetics in Rspamd expressions
6 年之前
Vsevolod Stakhov
e9d0099066
[Minor] Add `is_empty_body` regexp function
7 年之前