Froxlor
Froxlor copied to clipboard
[WIP] Extract mail log parsers into dedicated handler classes
Description
This cleans up the traffic parser classes.
This PR is currently just a preview (hence marked as WIP and none of the boxes below checked despite having added unit tests).
The TrafficCron is a big bunch of code and the mail log parser etc. are as well. As discussed on IRC, I started restructuring them into smaller classes that are more easy to track.
Type of change
- [X] New feature (non-breaking change which adds functionality)
How Has This Been Tested?
Includes unit tests for:
- [X] postfix log parsing
- [X] dovecot log parsing
Checklist:
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes
is this still being worked on?
no feedback