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. Sep 21, 2018
    • Jan Mach's avatar
      Initial version of periodical anomaly detection scripts. · 2586e789
      Jan Mach authored
      I have added prototype periodical anomaly detection scripts created by Pavel Kácha into Mentat package. So far these are just simple shell scripts intended to be executed periodically via cron that will simply use the PSQL utility to query database and send the result via email. Possible improvements might be to envelope these into Mentat script to make use of common configurations. (Redmine issue: #4222)
      2586e789
  3. Sep 20, 2018
    • 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
  4. Jul 26, 2018
  5. Jul 25, 2018
  6. Jul 23, 2018
  7. Jun 21, 2018
    • Jan Mach's avatar
      Huge improvements in reporter module and report views in Hawat. · e7c49335
      Jan Mach authored
      * Improved report model to enable parent reports, so we can link extra reports with parent summary reports.
      * Fixed/improved statistical calculations for reports.
      * Greatly improved report view visuals.
      * Greatly improved report search form.
      
      This commit contains backwards compatibility breaking features including necesity do alter database schema. (Redmine issue: #3734)
      e7c49335
  8. May 29, 2018
  9. May 02, 2018
  10. Apr 27, 2018
    • Jan Mach's avatar
      Improved data migration script. · 362ad620
      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)
      362ad620
  11. Feb 01, 2018
  12. Jan 29, 2018
  13. Jan 28, 2018
  14. Jan 24, 2018
  15. Jan 17, 2018
  16. Jan 16, 2018
  17. Jan 05, 2018
  18. Dec 20, 2017
  19. Oct 24, 2017
  20. Oct 23, 2017
  21. Oct 16, 2017
  22. Sep 27, 2017
    • Jan Mach's avatar
      Feature: Prototype implementation of next generation web user interface for Mentat system. · 0a724ce9
      Jan Mach authored
      This commit represents huge amount of work and introduces new Python-based version of Hawat web user interface for Mentat system. It is built on top of the great Flask framework. Currently it is still work in progress and many features are implemented only as dummy stubs, however the core functionality is almost finished. Following is a list of current key features:
      
        * Focus on modular architecture using Flask`s blueprint feature.
        * Multi-layered configurability (defaults, multiple file overrides).
        * Plugin system.
        * Internationalization support.
        * Support for multiple authentication systems.
      
      This commit provides working albeit hollow starting point for future web interface development. IT IS NOT READY FOR PRODUCTION USAGE!!!
      
      (Redmine issue: #3734,#3361)
      0a724ce9
  23. Sep 14, 2017
  24. Sep 08, 2017
  25. Aug 28, 2017
  26. Aug 22, 2017
  27. Aug 04, 2017
    • Jan Mach's avatar
      Migration, refactoring and code style unification to support latest PyZenKit... · 8c6542f4
      Jan Mach authored
      Migration, refactoring and code style unification to support latest PyZenKit and Pynspect libraries.
      
      This huge update represents a lot of work on many parts of the system. After major upgrade in PyZenKit and Pynspect libraries it was necessary to bring this project up to date. There were many changes in the code, lot of refactoring and while all this was done, code quality was improved, documentation written and unit tests modified. Many of these changes simply make sure, that the code works with latest versions of both libraries. This commit is supposed to be a single major feature upgrade, after this only smaller commits will follow to polish this huge amount of work.
      
      (Redmine issues: #3374, #1017, #3361, #3387, #3443)
      8c6542f4
  28. Jun 21, 2017
  29. Jun 15, 2017
    • Jan Mach's avatar
      Fix: Fixed the unit test for geoip service. · 71a3c3f8
      Jan Mach authored
      Test script attempts to obtain geoip databases before execution of test code, so that it is runnable anywhere and database files do not have to be part of the distribution. (Redmine issue: #1017)
      71a3c3f8
Loading