Skip to content
Snippets Groups Projects
  1. Jun 28, 2018
  2. 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
  3. Apr 27, 2018
  4. Apr 06, 2018
  5. 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
  6. Oct 24, 2017
  7. Aug 23, 2017
  8. Aug 08, 2017
  9. 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