Vsevolod Stakhov
f879e676a2
[Fix] Another try to fix rspamd_text passing in the selectors
Suggested by: @citrin
2 years ago
Vsevolod Stakhov
1e9750de35
[Fix] Fix passing of rspamd_text in selectors pipelines
2 years ago
Vsevolod Stakhov
0b24fc6c10
[Minor] Fix rspamd_text in selectors combinators
2 years ago
Vsevolod Stakhov
3e684cd159
[Minor] Allow utf8 identifiers in the selectors
3 years ago
Vsevolod Stakhov
3a3b6cef3e
[Minor] Use rspamd_url flags to avoid sync issues
3 years ago
Vsevolod Stakhov
b8ea7f6b08
[Minor] Selectors: Add get_urls_filtered extractor
3 years ago
Vsevolod Stakhov
0bb5930abf
[Fix] Selectors: Properly fix implicit tostring for nils
3 years ago
Vsevolod Stakhov
8fe0974de5
Revert "[Fix] Selectors: Filter nil elements in lists"
This reverts commit 60396f2478
.
3 years ago
Vsevolod Stakhov
60396f2478
[Fix] Selectors: Filter nil elements in lists
3 years ago
Andrew Lewis
838d9dda1a
[Minor] Selectors: support extracting task cache variables
3 years ago
Vsevolod Stakhov
a1b9dffcf7
[Fix] Fix text selectors
3 years ago
Vsevolod Stakhov
eda0fa8f2a
[Minor] Remove tostring
3 years ago
Andrew Lewis
3c0a34cc0f
[Minor] Selectors: further fixes for dealing with specific URLs
3 years ago
Andrew Lewis
a9f2fb8d1a
[Minor] Selectors: fixes for specific URLs
3 years ago
Vsevolod Stakhov
b2c3f581ec
[Minor] Selectors: filter_string_nils utility transformation
3 years ago
Vsevolod Stakhov
d4fa8bac0a
[Fix] Deduct type of a table methods
3 years ago
Andrew Lewis
54e19913f1
[Minor] Selectors: Add extractor & transform for metatokens
3 years ago
Andrew Lewis
be88dfaade
[Minor] Selectors: avoid returning empty list from extractors
3 years ago
Vsevolod Stakhov
67a9b24adc
[Minor] Fix `get_tld` selector
3 years ago
Vsevolod Stakhov
58c0ecaa2e
[Minor] Selectors: Add `get_tld` transform
3 years ago
Vsevolod Stakhov
450d49c880
[Minor] Allow to add all parameters into `rcpts` and `from` selectors
3 years ago
Anton Yuzhaninov
11cf19b02c
[Minor] Save into ClickHouse unnamed attaches
Most MUA allow to save attachments (parts with Content-Disposition: attachment)
even if don't have a name. Keep name field empty and save other
information about such attachments to ClickHouse: Content-Type, size,
digest.
Modify attachments selector as well to return hashes of unnamed
attachments.
3 years ago
Vsevolod Stakhov
f688e88f18
[Minor] Add caching for attachments digests
4 years ago
Vsevolod Stakhov
d43b852a02
[Fix] Fix regexp selector and add flattening
4 years ago
Vsevolod Stakhov
fbaa06d71d
[Fix] Fix passing of methods arguments
4 years ago
Vsevolod Stakhov
fe590fd7b5
[Fix] Fix calling of methods in selectors
4 years ago
Vsevolod Stakhov
3dfad0da61
[Project] Allow rspamd_text based selectors
4 years ago
Vsevolod Stakhov
1616d15b55
[Minor] More fixes to digests selectors + added tests
4 years ago
Vsevolod Stakhov
1f68d27762
[Minor] Selectors: Optimize the case
4 years ago
Vsevolod Stakhov
f2a5e351ef
[Minor] Selectors: Fix digests and add compatibility with blake2b used in C
4 years ago
Vsevolod Stakhov
f7b9b38901
[Minor] Add common selectors functions
4 years ago
Vsevolod Stakhov
ab5767eb8b
[Fix] Unify selectors digest functions
4 years ago
Vsevolod Stakhov
86c11386cf
[Minor] Selectors: Add scan_result extractor
4 years ago
Vsevolod Stakhov
e6556d52c2
[Minor] Lua_selectors: Add optional shadow result name
4 years ago
Gregor Dschung
7a55c51038
[Minor] Pet luacheck
4 years ago
rm-minus-rf
00b2ecaa3b
[Minor] selectors: cleaner symbol extractor
'symbol' extractor returns a table
'to_ascii' transform can handle tables
4 years ago
rm-minus-rf
834279171c
[Feature] add queueid, uid, messageid and specific symbols to selectors
[Minor] use only selectors to fill vars in force_actions message
4 years ago
Vsevolod Stakhov
e7b48149fc
[Minor] Selectors: Add ability to use base32 variants
4 years ago
Vsevolod Stakhov
839c994813
[Minor] Support flatten attribute in rspamd_config:register_re_selector
4 years ago
Vsevolod Stakhov
2398d3465c
[Minor] Selectors: Sigh, another try to fix .last
4 years ago
Vsevolod Stakhov
3b37aa2a86
[Minor] Selectors: Try to fix last transformation
4 years ago
Vsevolod Stakhov
7ed1a20f98
[Minor] Update selectors schema
4 years ago
Vsevolod Stakhov
ef130e10c0
[Feature] Selectors: Add flatten function
4 years ago
Vsevolod Stakhov
ddbbe07faf
[Fix] More fixes to extract_specific_urls
4 years ago
Vsevolod Stakhov
ed52028907
[Feature] Selectors: Add `specific_urls` extractor
4 years ago
Vsevolod Stakhov
05d6a89da9
[Feature] Lua_selectors: Allow table arguments for selectors
4 years ago
Vsevolod Stakhov
0c8dcea94a
[Minor] Selectors: Add except_map function
4 years ago
Vsevolod Stakhov
d997f81584
[Minor] Oops, fix paths
4 years ago
Vsevolod Stakhov
58a5e0c703
[Rework] Reorganise selectors implementation
4 years ago