Vsevolod Stakhov
aa07f4bc9e
[Project] More work towards flexible actions
il y a 5 ans
Vsevolod Stakhov
4929e73f2b
[Project] Another rework for symbols cache
il y a 5 ans
Vsevolod Stakhov
bedf3ff408
[Minor] Store more information about symbols added
il y a 5 ans
Vsevolod Stakhov
98f0a701b7
[Project] Finish rework of passthrough actions
il y a 5 ans
Vsevolod Stakhov
f5051a01e8
[Rework] Always create result for a task
il y a 5 ans
Vsevolod Stakhov
c645b9f72b
[Minor] Various fixes
il y a 5 ans
Vsevolod Stakhov
20f19b78d0
[Minor] Simplify hashes definitions
il y a 5 ans
Vsevolod Stakhov
a281d6a475
[Project] Adopt functions
il y a 5 ans
Vsevolod Stakhov
03bba7bf39
[Project] Add helpers
il y a 5 ans
Vsevolod Stakhov
92b92556c6
[Project] Move symbols to khash for speed and inlining
il y a 5 ans
Vsevolod Stakhov
04a539f133
[Feature] Add a concept of ignored symbols to avoid race conditions
il y a 6 ans
Vsevolod Stakhov
89519495ee
[Minor] Rename confusing variables
il y a 6 ans
Vsevolod Stakhov
8a1de0ae5f
[Rework] Implement flags for inserting a symbol
il y a 6 ans
Vsevolod Stakhov
b3e4fdec18
[Fix] Rework logic of actions setting
il y a 6 ans
Vsevolod Stakhov
70c5a7b688
[Rework] Kill metrics!11
il y a 6 ans
Vsevolod Stakhov
9632c62a86
[Feature] Allow to use postfilters in composites
We actually process composites twice now so it somehow slows down
processing by extra hash lookup. Additional logic to regenerate metric
reply if something is changed by this extra run of composites is also added.
Issue: #1726
il y a 6 ans
Alexander Moisseev
bb5a9f8e45
[Minor] Massive spelling correction
by a bot https://github.com/ka7/misspell_fixer
il y a 7 ans
Vsevolod Stakhov
661f634db9
[Rework] Remove multiple metrics support from Rspamd
il y a 7 ans
Vsevolod Stakhov
7849cfa076
[Fix] Preserve order of options in symbols
il y a 7 ans
Vsevolod Stakhov
c11152d9ec
[Feature] Allow to specify maximum number of shots for symbols
il y a 7 ans
Vsevolod Stakhov
0ba1310894
[Minor] Move common functions from libmime
il y a 7 ans
Vsevolod Stakhov
337d5d63c0
[Feature] Do not increase score for duplicate options
il y a 7 ans
Vsevolod Stakhov
da4453ce4c
[Rework] Refactor struct names
il y a 7 ans
Vsevolod Stakhov
9192f3cf4c
[Feature] Allow to add options explicitly to symbols
il y a 7 ans
Vsevolod Stakhov
ca6f7e1de9
[Rework] Use hash tables for symbols options
il y a 7 ans
Vsevolod Stakhov
9f7ac8960e
[Feature] Allow underscore separated names in settings
il y a 8 ans
Vsevolod Stakhov
fb6e9f73f4
[Feature] Simplify actions application by the settings
il y a 8 ans
Vsevolod Stakhov
365d60218d
[Feature] Store actions limits in metric result
il y a 8 ans
Vsevolod Stakhov
0c9184dcbd
[Feature] Add priorities for actions
Add dedicated API to modify action limits with priorities from different
configuration place. This follows the logic of symbols' priorities and
will be used for dynamic rules and override definitions.
il y a 8 ans
Vsevolod Stakhov
6921abd843
Store real required score inside metric result
il y a 8 ans
Vsevolod Stakhov
3c1fc14d55
Rework symbols configuration.
il y a 8 ans
Vsevolod Stakhov
2a5e10cd47
Hide workers and modules definitions.
il y a 8 ans
Vsevolod Stakhov
a31ea02deb
Reorganize structure of filter components.
il y a 9 ans
Vsevolod Stakhov
b1575711e7
Remove threading support at all.
il y a 9 ans
Vsevolod Stakhov
d16186f149
Store symbol definition inside metric result.
il y a 9 ans
Vsevolod Stakhov
f9ca3cf827
Imlement maximum group score for symbols.
il y a 9 ans
Vsevolod Stakhov
6d7d4b3bf7
Update composites logic.
il y a 9 ans
Vsevolod Stakhov
3071412152
Start to rework composites.
il y a 9 ans
Vsevolod Stakhov
39b8dcb946
Rework text tokenizaton.
il y a 9 ans
Vsevolod Stakhov
a59114820e
Rework pre-filters results processing.
il y a 9 ans
Vsevolod Stakhov
614767d4fe
Refactor function names.
il y a 9 ans
Vsevolod Stakhov
e67faf530b
Rework create_metric_result function.
il y a 9 ans
Vsevolod Stakhov
94282bc264
Consider settings actions.
il y a 9 ans
Vsevolod Stakhov
bd4ce0b809
Add configuration option `unknown_weight` for metrics.
If this option is specified, then all filters add symbols to this metric
with the specified weight even if they are not specified in symbols list
explicitly.
il y a 9 ans
Vsevolod Stakhov
379055dbbb
Unify style without sorting headers.
il y a 10 ans
Vsevolod Stakhov
fe79d8c5a3
Revert "Unify code style."
This reverts commit e0483657ff
.
il y a 10 ans
Vsevolod Stakhov
e0483657ff
Unify code style.
il y a 10 ans
Vsevolod Stakhov
f6777d7fae
Remove hard dependency on settings.
il y a 10 ans
Vsevolod Stakhov
d6643f35d7
Refactor config API.
il y a 10 ans
Vsevolod Stakhov
61555065f3
Rework project structure, remove trash files.
il y a 10 ans