- Feb 03, 2020
- Jan 07, 2020
-
- Nov 27, 2019
-
- Sep 24, 2019
-
- May 24, 2019
-
- Apr 26, 2019
-
- Mar 06, 2019
-
-
Jan Mach authored
New mechanism for building Debian packages makes better use of debhelper. Previous solution with using Grunt for building the package was abandoned entirely. (Redmine issue: #3387,#4216)
-
- Mar 04, 2019
-
- Feb 26, 2019
- Feb 19, 2019
-
-
Jan Mach authored
I have used Pylint tool to fix easily fixable issues. (Redmine issue: #3443)
-
- Feb 11, 2019
-
- Feb 06, 2019
-
- Feb 01, 2019
-
-
Jan Mach authored
-
- Jan 31, 2019
-
-
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)
- Sep 21, 2018
-
-
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)
-
- Sep 20, 2018
-
-
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)
-
- Jul 26, 2018
-
-
Jan Mach authored
On busy server the report storage can easily contain hundreds of thousands of files and things can start to get really slow when working with that particular directory. This patch will solve that problem by sorting reports according to the timestamp within the report file name. (Redmine issue: #3378)
-
Jan Mach authored
The previous version was not able to detect that files were indeed successfully installed into target folder. There was a report, that when the script was executed with insufficient permissions, it reported success even when no database files were actually installed. This is fixed now. (Redmine issue: #3387)
- Jul 25, 2018
-
-
Jan Mach authored
TODO: Truncation would be much faster. (Redmine issue: #3752) E
-
- Jul 23, 2018
-
-
Jan Mach authored
* Replaced simple prints with Python logging framework. * Added command line argument to start migration with given UTC timestamp (reports and statistics). * Added command line argument for better duplicate ignoration. * Output text improvements for better readability. (Redmine issue: #3362)
- Jun 21, 2018
-
-
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)
-
- May 29, 2018
-
- May 02, 2018
-
- 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)
-
- Feb 01, 2018
-
- Jan 29, 2018
-
- Jan 28, 2018
-
-
Jan Mach authored
* Added the ability to search according to the 'source|target|detector types' and 'description'. * Added the ability to search according to the host address|ports|types. Host is an alias for Source OR Target. * Minor design improvements in main menu and other page widgets. * Updated mentat-precache.py according to changes mentioned above. * Added new 'allow_empty' feature to mentat-precache.py. (Redmine issue: #3752,#3734)
-
Jan Mach authored
This commit contains following new features: * The PostgreSQL model for IDEA events now contains '(Source|Target|Node).Type' and 'Description' attributes. These are now represented as separate IDEA event table columns to enable better searching. This means, that the table schema changed !!! * The migration script and all necessary underlying functions had to be updated accordingly. * Minor facelift in output of migration script. (Redmine issue: #3752)
-
- Jan 24, 2018
-