- Apr 27, 2018
-
-
Jan Mach authored
The data migration script was enhanced for quick and little bit dirty fix of invalid string character encoding when converting records from MongoDB to new PostgreSQL representation. The old implementation contained a bug and some strings were not stored in correct UTF-8 encoding. After this patch everything should be UTF-8 in PostgreSQL tables. (Redmine issue: #3752)
- Apr 26, 2018
-
- Apr 24, 2018
- Apr 23, 2018
-
- Apr 20, 2018
-
-
Jan Mach authored
* Added support for default admin contact, which can be used for redirecting emails to administrators. * Added support for test mode, in which case the all emails are force redirected to admin emails instead of original recipients. This feature can be used for development or testing purposes.
-
Jan Mach authored
Improved error handling and added automatic transaction rollback on database errors in database abstraction layer.
-
- Apr 06, 2018
- Mar 27, 2018
-
-
Jan Mach authored
-
- Mar 22, 2018
-
-
Jan Mach authored
-
- Mar 21, 2018
-
- Mar 20, 2018
-
- Mar 14, 2018
-
-
Jan Mach authored
(Redmine issue: #3361)
-
Jan Mach authored
Previous implementation of reporter did not correctly filtered out sources that did not belong to abuge group`s network address space. It was posssible for external sources to be listed in the report as well as internal ones. This was caused by the fact, that enricher precalculates the ResolvedAbuses attribute, but this field gets calculated from the concatenated list of all sources, that are found in the event and the mapping information between the source and abuse gets lost. For correct functionality it was necessary to perform additional source based filtering of the events fetched from database for particular abuse group. (Redmine issue: #3378)
- Mar 12, 2018
- Mar 07, 2018
-
-
Jan Mach authored
This commit introduces the Pythonic reimplementation of mentat-reporter-ng module. It is complete from roughly 70 percent, there are many features that stil need to be implemented as well as some necessary polishing. The most important next implementation steps: * thresholding and relapse * email template improvements * report section legends with translations * report web interface improvements * unauthorized access to reports * unit testing and bulletproofing (Redmine issue: #3378)
- Mar 05, 2018
-
-
Jan Mach authored
All translatable strings are now correctly marked as translatable using the recipe from documentation at https://docs.python.org/3/library/gettext.html#deferred-translations. The master makefile was updated to correctly extract all relevant strings.
-
- Mar 03, 2018
-
-
Jan Mach authored
The BaseReporter was rewritten to support dynamical locale switching. It is now possible to switch locale after the object instantination and therefore use the same object to report in different locale. The OverviewReporter was adjusted to work with new code and both modules are now covered with unit tests and better documented.
-
- Feb 28, 2018
-
- Feb 26, 2018
-
-
Jan Mach authored
The mentat-informant.py module is a Python replacement for previous mentat-briefer.py module. It is designed to provide periodical statistical overviews via email. The email reports are localized using babel package and can be translated into any language. Additionally, the reporting engine uses Jinja2 templating system for message rendering, so it enables very easy customization. (Redmine issue: #3377)
-
- Feb 23, 2018
-
-
Jan Mach authored
(Redmine issue: #3387)