Important:
* This patchset depends on [PATCH V2] [Wok 0/3] User Request Log improvements.
* This patch requires "[Kimchi] Do not break the logging of failed requests".
Otherwise, some tests will be broken.
Changes in V2:
* Applied review suggestions
Lucio Correia (6):
Revert "Use past verbs"
Parse request before authorization check
Use status code 200 for PUT requests on resource
Log failed login/logout attempts
Log failed user requests
Add status code to request log message
docs/API/logs.md | 1 +
src/wok/control/base.py | 130 ++++++++++++++++++++++--------------------------
src/wok/exception.py | 28 ++++++++---
src/wok/i18n.py | 4 +-
src/wok/reqlogger.py | 10 ++--
src/wok/root.py | 44 +++++++++++-----
tests/test_api.py | 2 +-
7 files changed, 122 insertions(+), 97 deletions(-)
--
1.9.1