Vsevolod Stakhov
14c13854d3
[Rework] Further types conversion (no functional changes)
2 months ago
Vsevolod Stakhov
537a7180a0
[Rework] Use clang-format to unify formatting in all sources
No meaningful changes.
10 months ago
Vsevolod Stakhov
19bfd5e302
[Minor] Fix a name and the description of bogus `user` field in the task
2 years ago
Vsevolod Stakhov
7604819ab9
[Minor] Switch to buffered IO
3 years ago
Vsevolod Stakhov
b80e8b8477
[Project] Rework some more functions to work with shadow results
4 years ago
Vsevolod Stakhov
e9418b12ff
[Project] Rework scan result functions to support shadow results
4 years ago
Vsevolod Stakhov
7e4aa922ca
[Fix] Fix smtp message on passthrough result
Issue: #3269
4 years ago
Vsevolod Stakhov
d4d921a97e
[Rework] Rename filter.h to a more sane name
4 years ago
Vsevolod Stakhov
8e2facd1aa
[Project] Empty messages cases handling
4 years ago
Vsevolod Stakhov
72042e8114
[Project] Rework plugins
4 years ago
Vsevolod Stakhov
d5a36f4f75
[Project] Another iteration
5 years ago
Vsevolod Stakhov
aa07f4bc9e
[Project] More work towards flexible actions
5 years ago
Vsevolod Stakhov
a281d6a475
[Project] Adopt functions
5 years ago
Vsevolod Stakhov
04a539f133
[Feature] Add a concept of ignored symbols to avoid race conditions
6 years ago
Vsevolod Stakhov
d4f85c4197
[Minor] Do not fail on empty history file
6 years ago
Vsevolod Stakhov
7a580591aa
[Fix] Improve cached action interaction
6 years ago
Vsevolod Stakhov
661f634db9
[Rework] Remove multiple metrics support from Rspamd
7 years ago
Vsevolod Stakhov
71d52e806a
[Minor] Fix various style issues
7 years ago
Vsevolod Stakhov
a6d89ffbf2
[Feature] Implement lua history in controller
7 years ago
Vsevolod Stakhov
fac6eb71e6
[Minor] Disable internal history if handled by plugins
7 years ago
Vsevolod Stakhov
52a47b8cfb
[Feature] Cache and insert scan time into the protocol
7 years ago
Vsevolod Stakhov
903e7594a3
[Fix] Fix writing of user to roll history
Issue: #1429
Reported by: @moisseev
7 years ago
Vsevolod Stakhov
da4453ce4c
[Rework] Refactor struct names
7 years ago
Vsevolod Stakhov
10816130df
[Fix] Fix actions in rolling history
7 years ago
Vsevolod Stakhov
1b152c5db8
[Feature] Correctly work when there is no hard reject action
7 years ago
Vsevolod Stakhov
b28e3b7c78
[Fix] Save required score in history
Issue: #581
8 years ago
Vsevolod Stakhov
fb6e9f73f4
[Feature] Simplify actions application by the settings
8 years ago
Vsevolod Stakhov
6bc5286496
Refactor UCL API
8 years ago
Vsevolod Stakhov
3c870de8e3
Fix for the new libucl API
8 years ago
Vsevolod Stakhov
47c0129f1d
Fix couple of memory leaks
8 years ago
Vsevolod Stakhov
8766fba694
Switch the rest to apache 2
8 years ago
Vsevolod Stakhov
e661b52594
Implement new saving.
8 years ago
Vsevolod Stakhov
e2b9ffea8d
Start conversion history to a flexible form.
8 years ago
Vsevolod Stakhov
eb737947eb
Reorganize includes to reduce namespace pollution.
8 years ago
Vsevolod Stakhov
3afc4aba24
Rename main.h and main.c to `rspamd.X`
8 years ago
Vsevolod Stakhov
6ef0e07525
Update history logging.
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
9 years ago
Vsevolod Stakhov
8beb6fe20a
Fix dereferencing of NULL pointer.
9 years ago
Vsevolod Stakhov
c451d5d7d3
Rework rolling history.
- Store inet_addr as string, not structure.
- Add history magic for versioning and sanity.
9 years ago
Vsevolod Stakhov
39c853952b
Rework message store to allow encryption.
9 years ago
Vsevolod Stakhov
614767d4fe
Refactor function names.
9 years ago
Vsevolod Stakhov
94282bc264
Consider settings actions.
9 years ago
Vsevolod Stakhov
379055dbbb
Unify style without sorting headers.
10 years ago
Vsevolod Stakhov
fe79d8c5a3
Revert "Unify code style."
This reverts commit e0483657ff
.
10 years ago
Vsevolod Stakhov
e0483657ff
Unify code style.
10 years ago
Vsevolod Stakhov
61555065f3
Rework project structure, remove trash files.
10 years ago
Vsevolod Stakhov
5f25b69c03
Refactor worker task structure and API.
10 years ago
Vsevolod Stakhov
ad837700b8
Refactor memory pool naming.
10 years ago
Vsevolod Stakhov
c7283f8e50
Fix empty messages processing.
10 years ago
Vsevolod Stakhov
5edc7624ce
Refactor metric actions handling.
Use array of actions instead of a linked list to speed up processing.
* Removed required_score, reject_score and action in metric config,
now REJECT is the only default action for a metric.
10 years ago