Vsevolod Stakhov
14c13854d3
[Rework] Further types conversion (no functional changes)
2 months ago
Vsevolod Stakhov
1d0ff299f5
[Fix] Do not save multipatterns to FS in certain cases
2 months ago
Vsevolod Stakhov
75327b3889
[Project] Convert the remaining
2 months ago
Vsevolod Stakhov
537a7180a0
[Rework] Use clang-format to unify formatting in all sources
No meaningful changes.
10 months ago
Vsevolod Stakhov
1d3c9379b9
[Rework] Html: Deal with the utf_content part
3 years ago
Vsevolod Stakhov
0342874401
[Feature] Lua_trie: Allow to report start of the match
3 years ago
Vsevolod Stakhov
4aee16e53d
[Minor] Fix rspamd_has_only_html_part function + refactor macro names
3 years ago
Vsevolod Stakhov
bf798c5fc6
[Minor] Add method to check hyperscan support to multipattern library
4 years ago
Vsevolod Stakhov
6321d90514
[Feature] Support more hyperscan flags
4 years ago
Vsevolod Stakhov
5ef148649d
[Rework] Lua core: Use lightuserdata to index classes
4 years ago
Vsevolod Stakhov
d3360f80fc
[Minor] Lua_trie: Fix match for lua_text
4 years ago
Vsevolod Stakhov
5eb5732198
[Feature] Lua_trie: More flexible API
4 years ago
Vsevolod Stakhov
9c2d6348f6
[Minor] Lua_trie: Add support of flags for trie creation
4 years ago
Vsevolod Stakhov
e3412399bb
[Project] Adopt Lua API
4 years ago
Vsevolod Stakhov
a64ce9b424
[Rework] Rework utf content processing in text parts
- Store unicode in UTF parts
- Store unicode for HTML parts
- Rename struct fields and split them into unicode/utf components
5 years ago
Vsevolod Stakhov
938a0dba32
[Minor] Better Lua 5.3 compatibility
5 years ago
Vsevolod Stakhov
084dc96bc5
[Feature] Add support for Lua API tracing
5 years ago
Vsevolod Stakhov
0e270dbe70
[Fix] Fix couple of issues
Found by: Coverity
7 years ago
Vsevolod Stakhov
d52a62c089
[Rework] Rename mime parts structures
8 years ago
Vsevolod Stakhov
df0b6cd825
[Feature] Implement body rules for the trie plugin
8 years ago
Vsevolod Stakhov
dedb850663
[Feature] Use rspamd specific type checks for userdata
8 years ago
Vsevolod Stakhov
9ab1bcfc44
[Feature] Allow binary patterns in lua_trie
8 years ago
Vsevolod Stakhov
4d1669e4b4
[Feature] Allow to have different flags for different patterns
8 years ago
Vsevolod Stakhov
da58466e4e
[Minor] Fix callback type
8 years ago
Vsevolod Stakhov
a210cf3548
[Feature] Use mutlipattern for lua_trie code
8 years ago
Vsevolod Stakhov
c2cbcd8d98
Fix some issues found by coverity
8 years ago
Vsevolod Stakhov
b35299b4e3
Fix leaks in lua error paths
8 years ago
Vsevolod Stakhov
8766fba694
Switch the rest to apache 2
8 years ago
Vsevolod Stakhov
aac916db77
Start miration to the new strings.
8 years ago
Vsevolod Stakhov
d2a938d398
Rework parts and task structure:
- Now text_parts, parts and received are arrays
- Pre-allocate arrays with some reasonable defaults
- Use arrays instead of lists in plugins and checks
- Remove unused fields from task structure
- Rework mime_foreach callback function
- Remove deprecated scan_milliseconds field
8 years ago
Vsevolod Stakhov
d08dd10cf2
Use binary flags for part flags.
9 years ago
Vsevolod Stakhov
7da462c139
Add @example tag.
9 years ago
Vsevolod Stakhov
cf28be3242
Forgot @module.
9 years ago
Vsevolod Stakhov
a79164da51
Write documentation for lua_trie module.
9 years ago
Vsevolod Stakhov
0ae6d8f0d0
Indicies in lua starts from 1.
9 years ago
Vsevolod Stakhov
125f180517
Rework lua trie API, allow raw message search.
9 years ago
Vsevolod Stakhov
b02707fb59
Fix logic of lua_trie search.
9 years ago
Vsevolod Stakhov
6f099b62c5
Rework lua trie for new actrie.
9 years ago