- Oct 19, 2017
-
- Oct 18, 2017
-
-
Jan Mach authored
The module contains all CRUDL views, forms and templates to enable group management. (Redmine issue: #3734)
- Oct 17, 2017
-
- Oct 16, 2017
-
-
Jan Mach authored
For better differentiation between future authentication modules. (Redmine issue: 3734)
-
Jan Mach authored
For better differentiation between future authentication modules. (Redmine issue: 3734)
-
Jan Mach authored
PostgreSQL migration: Reimplemented DBAL, authentication layer and user management modules in Hawat. Base on the previous work the DBAL in Hawat was reimplemented to use the new mentat.services.sqlstorage module and sqlalchemy backend. The authentication layer was rewritten to use the new dabase interface. The user management plugin was rewritten to use new database interface. (Redmine issue: #3752,#3734)
-
- Oct 10, 2017
-
- Oct 09, 2017
-
-
Jan Mach authored
There was a following error: 2017-10-08 09:18:02,556 mentat-enricher.py [25191] ERROR: Unable to enrich IDEA message '....20936.1507447072.800174.2051.31886139.idea': 'Traceback (most recent call last): File "/usr/lib/python3/dist-packages/mentat/daemon/component/enricher.py", line 199, in cbk_event_message_process (flag_cont, flag_changed) = plugin.process(daemon, args['idea_id'], args['idea']) File "/usr/lib/python3/dist-packages/mentat/plugin/enricher/geoip.py", line 98, in process resolved_country_src = sorted(resolved_country_src.keys()) TypeError: unorderable types: NoneType() < str()' The enrichment code failed when the lookup was not successfull and no result was found. Subsequent code was written in a way, that it failed on empty data.
-
- Oct 05, 2017
-
-
Jan Mach authored
(Redmine issue: #3734,#3361)
-
Jan Mach authored
Added following helpers into Jinja global namespace to be used in templates: * babel_format_datetime => flask_babel.format_datetime * babel_format_timedelta => flask_babel.format_timedelta * get_current_utc => datetime.datetime.utcnow These helpers can be used for localized formating of timestamps in template views. (Redmine issue: #3734)
- Oct 02, 2017
-
-
Jan Mach authored
Objects in Jinja templates can now be protected with permission protection mechanism. This can be used for hiding links, that are inaccessible to current user etc. As a proof of concept raw results output of geoip and whois search are now restricted only to users with developer role. (Redmine issue: #3734)
-
- Sep 29, 2017
-
-
Jan Mach authored
The mentat.geoip, mentat.whois and mentat.storage services were enhanced to fully understand and use Mentat core configurations. The main idea is that the configuration of these services should be centralized for the whole Mentat ecosystem and any module or component, that wishes to use these services should be able to easily obtain correctly configured instance and without the knowledge of the configuration directory schema and syntax. This patch introduces following new concepts: * Each service has corresponding service manager that is capable of understanding Mentat core configuration tree schema and syntax and quickly provide fully configured service instance. * Each service has ability to store reference to fully configured service instance at module level (like a singleton pattern) and any code can get a hold of this reference. This patch also contains improvements in documentation of all above mentioned modules and also many improvements in unit testing framework, which was used to verify correct functionality. (Redmine issue: #1017,#3361)
- Sep 27, 2017
-
-
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)
- Sep 14, 2017
-
-
Jan Mach authored
-