From 16587306dd55bab43a5ad43d22fd836816478ca7 Mon Sep 17 00:00:00 2001 From: Evgeniy Alekseev Date: Wed, 8 Sep 2021 02:45:20 +0300 Subject: [PATCH] pass no_report to handlers --- package/share/ahriman/build-status.jinja2 | 20 ++++++++------ src/ahriman/application/ahriman.py | 7 +++-- src/ahriman/application/application.py | 5 ++-- src/ahriman/application/handlers/add.py | 6 +++-- src/ahriman/application/handlers/clean.py | 8 +++--- .../application/handlers/create_user.py | 4 ++- src/ahriman/application/handlers/dump.py | 4 ++- src/ahriman/application/handlers/handler.py | 6 +++-- src/ahriman/application/handlers/init.py | 6 +++-- .../application/handlers/key_import.py | 6 +++-- src/ahriman/application/handlers/rebuild.py | 6 +++-- src/ahriman/application/handlers/remove.py | 6 +++-- .../application/handlers/remove_unknown.py | 6 +++-- src/ahriman/application/handlers/report.py | 6 +++-- src/ahriman/application/handlers/search.py | 4 ++- src/ahriman/application/handlers/setup.py | 6 +++-- src/ahriman/application/handlers/sign.py | 6 +++-- src/ahriman/application/handlers/status.py | 13 ++++++---- .../application/handlers/status_update.py | 7 +++-- src/ahriman/application/handlers/sync.py | 6 +++-- src/ahriman/application/handlers/update.py | 6 +++-- src/ahriman/application/handlers/web.py | 6 +++-- src/ahriman/core/auth/auth.py | 6 ++--- src/ahriman/core/repository/properties.py | 10 +++++-- src/ahriman/core/status/watcher.py | 2 +- src/ahriman/core/status/web_client.py | 2 +- src/ahriman/models/user.py | 2 +- src/ahriman/models/user_access.py | 2 -- src/ahriman/web/middlewares/auth_handler.py | 4 +-- src/ahriman/web/routes.py | 8 +++--- tests/ahriman/application/conftest.py | 2 +- .../application/handlers/test_handler.py | 2 +- .../application/handlers/test_handler_add.py | 4 +-- .../handlers/test_handler_clean.py | 2 +- .../handlers/test_handler_create_user.py | 4 +-- .../application/handlers/test_handler_dump.py | 2 +- .../application/handlers/test_handler_init.py | 2 +- .../handlers/test_handler_key_import.py | 2 +- .../handlers/test_handler_rebuild.py | 6 ++--- .../handlers/test_handler_remove.py | 2 +- .../handlers/test_handler_remove_unknown.py | 4 +-- .../handlers/test_handler_report.py | 2 +- .../handlers/test_handler_search.py | 6 ++--- .../handlers/test_handler_setup.py | 2 +- .../application/handlers/test_handler_sign.py | 2 +- .../handlers/test_handler_status.py | 16 ++++++++++-- .../handlers/test_handler_status_update.py | 18 ++++++++++--- .../application/handlers/test_handler_sync.py | 2 +- .../handlers/test_handler_update.py | 4 +-- .../application/handlers/test_handler_web.py | 4 +-- tests/ahriman/application/test_ahriman.py | 2 +- tests/ahriman/conftest.py | 2 +- tests/ahriman/core/auth/test_auth.py | 4 +-- tests/ahriman/core/repository/conftest.py | 10 +++---- .../core/repository/test_properties.py | 26 ++++++++++++++++++- tests/ahriman/core/status/test_watcher.py | 16 ++++++++++++ tests/ahriman/models/test_user.py | 14 +--------- .../web/middlewares/test_auth_handler.py | 4 +-- tests/ahriman/web/views/test_view_login.py | 8 +++--- tests/ahriman/web/views/test_view_logout.py | 6 ++--- 60 files changed, 232 insertions(+), 134 deletions(-) diff --git a/package/share/ahriman/build-status.jinja2 b/package/share/ahriman/build-status.jinja2 index e9db6106..b93b2e47 100644 --- a/package/share/ahriman/build-status.jinja2 +++ b/package/share/ahriman/build-status.jinja2 @@ -77,7 +77,7 @@ {% if auth_username is none %} {% else %} -
+
{% endif %} @@ -88,19 +88,23 @@