Skip to content
Snippets Groups Projects
  1. Feb 26, 2019
  2. Feb 25, 2019
  3. Feb 22, 2019
  4. Feb 20, 2019
    • Jan Mach's avatar
      The HTTP 500 errors will now be logged with critical severity. · 9c6f9419
      Jan Mach authored
      This means, that when running in production environment with logging to email enabled system administrators will be immediatelly notified about the error. (Redmine issue: #4769)
      9c6f9419
    • Jan Mach's avatar
      Redesigned the Flask error handlers. · 2a60cab2
      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)
      2a60cab2
  5. Feb 19, 2019
  6. Feb 18, 2019
  7. Feb 15, 2019
Loading