Skip to content
Snippets Groups Projects
  1. Mar 13, 2020
  2. 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
  3. Jun 28, 2018
  4. Jun 01, 2018
    • Jan Mach's avatar
      Improvements related to account registration process using auth_env pluggable module for Hawat. · 50346ffa
      Jan Mach authored
      The account registration process needed more work to get it into stable and usefull state:
      * Changed validator for user login from email to string containing restricted set of characters.
      * Renamed field 'Login (eppn)' to just 'Login'. It made no sense to be used that was for example with Basic or certificate based authentication service.
      * Implemented sendind of confirmation emails after successfull registration to system admins and to the user that performed the registration. The emails are generated using Jinja2 templates.
      * Implemented sending of confirmation emails after successfull account activation to the user and as BCC to system admins.
      * Added missing rollback() calls to base View implementations to resolve SQLAlchemy errors after unsuccessfull database operation.
      
      (Redmine issue: #3734)
      50346ffa
  5. Apr 27, 2018
  6. Apr 06, 2018
  7. Feb 26, 2018
    • Jan Mach's avatar
      Implemented the mentat-informant.py module (previously mentat-briefer). · 24e5ea11
      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)
      24e5ea11
  8. Oct 24, 2017
  9. Aug 23, 2017
  10. Aug 08, 2017
  11. May 31, 2017
    • Jan Mach's avatar
      Code quality improvements in executable files in bin project subdirectory. · 5fdfa234
      Jan Mach authored
      Greatly improved code quality using pylint and pyflakes. All files now rank above 9 points with custom .pylintrc-bin file. Following exceptions were added to default pylint configuration:
      
        * line-too-long - I do not want to have calls to logging service spanning over multiple lines and distracting from code flow. I want them to be only single line, no matter how long, because it is not important.
        * bad-whitespace - I like to add additional whitespaces in places, where they should not be, mostly to align related items vertically, which in my opinion improves readability.
        * logging-format-interpolation - In Python3 I prefer string.format() to string % (args).
      
      Additionally the pattern for module name validation was altered, because of our executable file naming policy (added suppot for '-' and '.' characters in name).
      
      (Redmine issue: #3443)
      5fdfa234
Loading