- Feb 27, 2019
-
-
Jan Mach authored
Pybabel translations are now implemented as built-in Flask CLI commands and accessible from 'hawat-cli intl' utility. This approach enables users to easily customize translations for their custom Mentat system installations, or adding new languages. The drawback of this approach is, that the commands are executed within the Flask`s application context, so the application must be properly installed on target system for everything to work properly. I have kept original translation commands in the makefile for future reference. (Redmine issue: #4789,#4216)
- Feb 26, 2019
-
-
Jan Mach authored
The previous value (10000) of maximum output queue size was too high and in case of system failure too many messages could be lost. On the other hand interval for checking for new messages in case the queue was previously empty was too high (30s).
-
Jan Mach authored
This commit brings in considerable amount of work. When working on this issue everything was so tied together, that I have abandoned all attempts to split it into multiple commits. There are following changes and more: * Implementation of lightweight chroot for containing the application in single directory tree. * Design changes in scripts and daemons to implement the lightweight chroot. * Many configuration file changes to make everything work properly. * Makefile additions, new targets related to running * Updated development documentation page. (Redmine issue: #4216)
- Feb 25, 2019
-
-
Jan Mach authored
In case empty message was loaded from the message queue error was logged into the log file, but event for fetching next message from the queue was not scheduled, which basically resulted in halting of the message processing.
- Feb 22, 2019
-
- Feb 20, 2019
-
-
Jan Mach authored
Previously some HTTP errors like Forbidden or Unauthorized returned HTML even for API endpoints. This was due to the fact, that they were executed by built-in code. I have rewritten the error handling code to be smarter and detect the appropriate response type based on client preferences. I have also consolidated and unified the error response generation. There is a new submodule hawat.errors, that contains the error response generation code and both core error handlers and AJAXMixin/HTMLMixin classes use that. I have also merged all the HTML error page templates into single one. (Redmine issue: #4769)
- Feb 19, 2019