Skip to content
Snippets Groups Projects
  1. Jan 31, 2019
    • Jan Mach's avatar
      Implemented database migrations for mentat_events database. · a8c06759
      Jan Mach authored
      The database migrations for IDEA event database *mentat_events* are now implemented. I have moved this issue to the next release, because there is code already merged in the current development branch that depended performing the migrations on target system. It was a choice of either removing that commit, or going forward with implementation. I have decided to implement it immediately, because this issue is blocking many more features.
      
      The implementation is again based on Alembic tool, which is already being used for migrations on mentat_main metadata database. It is however separatelly configured instance, merging both instances into single one would require considerably more amount of research and work.
      
      I have also updated accordingly manual pages regarding installation and upgrading. Very important bit of information was stamping the database with latest migration revision after clean installation.
      
      (Redmine issue: #4230)
      a8c06759
  2. Jan 21, 2019
  3. Jan 16, 2019
    • Jan Mach's avatar
      Simplified the statistics calculations by removing the secondary statistics calculations. · 9fe8199d
      Jan Mach authored
      Various secondary statistics like counts, minimums, maximums and sums were pre-calculated together with regular statistics. These operations do not make sense anymore from multiple point of views:
      - They are not used during chart generation anymore, because these values are calculated by JavaScript code.
      - They do not make sense during merging statistical data, because they produce incorrect results anyway (for example without knowing the exact omitted values it is not possible to calculate the counts, averages, minimums etc.).
      
      (Redmine issue: #4321)
      9fe8199d
  4. Dec 20, 2018
  5. Dec 19, 2018
  6. Oct 12, 2018
  7. Oct 11, 2018
  8. Oct 03, 2018
  9. Sep 25, 2018
  10. Sep 21, 2018
  11. Sep 20, 2018
    • Jan Mach's avatar
      Fix: Prevented reporter from attaching too big files to the report. · 5366dce4
      Jan Mach authored
      It was possible for the reporter to attach files of any size to the report. The MTA then complained for the message being too big and refused to mail it. Now it is possible for each group co configure maximal attachment size limit (defaults to 10MB). Attachment files exceeding this limit will not be added to the report and user will be informed in the email text to download it from the server. (Redmine issue: #4232)
      5366dce4
    • Jan Mach's avatar
      Used the Flask-Migrate plugin for metadata database migrations. · 0ccc41c7
      Jan Mach authored
      With future improvements of database schema there must be a mechanism for performing database migrations. Problem is we have two databases, one accesed via SQLAlchemy and the second directly via Psycopg2. I have selected to use Flask-Migrate plugin built on top of Alembic to perform metadata database migrations. (Redmine issue: #4230)
      0ccc41c7
  12. Sep 18, 2018
  13. Sep 17, 2018
    • Lukas Hutak's avatar
      Modified PassiveDNS plugin for Enricher module · 5c6cd612
      Lukas Hutak authored
      * Created a new base class for PassiveDNS connectors with record caching support
      * Modified EML connector to be based on the new base class
      * Added a new connector for PassiveDNS provided by CESNET z.s.p.o.
      * Added a new plugin for CESNET PassiveDNS API
      5c6cd612
  14. Aug 13, 2018
  15. Aug 09, 2018
    • Lukas Hutak's avatar
      Added PassiveDNS plugin for Enricher module · f42a0f0e
      Lukas Hutak authored
      The plugin performs PassiveDNS lookup of all Source IP addresses in an IDEA message using "The Email Laundry" API. For each IP address it tries to find known domains within a specified time period and enriches the IDEA message.
      f42a0f0e
  16. Aug 02, 2018
  17. Jul 30, 2018
  18. Jul 27, 2018
  19. Jul 25, 2018
    • Jan Mach's avatar
      Minor fixes in report related features. · 023f002f
      Jan Mach authored
      * Tweaked report templates: made Count column more narrow, aligned Count title to right to correspond with column value.
      * Fixed translation typo.
      * Fixed displaying report messages in web interface (message content must be escaped first to display characters like < and >.
      
      (Redmine issue: #3378)
      023f002f
  20. Jul 24, 2018
  21. Jul 20, 2018
    • Jan Mach's avatar
      This commit features big redesign of reporting configuration features. · 488e10b2
      Jan Mach authored
      * Enhanced data model for reporting settings to contain timezone selection for generated reports.
      * Changed data model for reporting settings to allow Null values for many of the settings. In this case system default will be used.
      * Updated utility class for configuring reporting settings to enable use of new features mentioned above.
      * Updated utility class for configuring reporting settings to enable enforcing most of the values by administrator launching the reporting script.
      * Implemented new base form radio field that accepts empty option as valid. This enables implementing for example three state choices like True, False, None, which is great for some reporting settings.
      * Updated all Hawat views for working with reporting settings to use new features.
      * Enhanced reporter template built-in features, mainly for working with timezones.
      * Changed default reporter templates to output dates in chosen timezone.
      * Translated all new features to czech localization.
      
      The main result of this commit is, that each group can configure in which timezone it wants to have the dates in the report to be displayed.
      
      (Redmine issue: #3378)
      488e10b2
  22. Jul 18, 2018
  23. Jul 17, 2018
  24. Jul 13, 2018
Loading