Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 65c62ef23cd792bc9f776766118ad1e165f63fd4
https://github.com/tribe29/checkmk/commit/65c62ef23cd792bc9f776766118ad1e16…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2022-04-04 (Mon, 04 Apr 2022)
Changed paths:
M cmk/gui/availability.py
M cmk/gui/bi.py
M cmk/gui/crash_reporting.py
M cmk/gui/dashboard.py
M cmk/gui/fields/definitions.py
M cmk/gui/forms.py
M cmk/gui/globals.py
M cmk/gui/gui_background_job.py
M cmk/gui/help.py
M cmk/gui/htmllib/__init__.py
M cmk/gui/htmllib/foldable_container.py
M cmk/gui/inventory.py
M cmk/gui/key_mgmt.py
M cmk/gui/login.py
M cmk/gui/logwatch.py
M cmk/gui/main.py
M cmk/gui/message.py
M cmk/gui/mobile.py
M cmk/gui/node_visualization.py
M cmk/gui/notifications.py
M cmk/gui/page_menu.py
M cmk/gui/pagetypes.py
M cmk/gui/plugins/dashboard/stats.py
M cmk/gui/plugins/metrics/artwork.py
M cmk/gui/plugins/metrics/html_render.py
M cmk/gui/plugins/openapi/endpoints/acknowledgement.py
M cmk/gui/plugins/openapi/endpoints/certs.py
M cmk/gui/plugins/openapi/endpoints/downtime.py
M cmk/gui/plugins/openapi/endpoints/host_config.py
M cmk/gui/plugins/openapi/endpoints/rule/__init__.py
M cmk/gui/plugins/openapi/endpoints/ruleset/__init__.py
M cmk/gui/plugins/openapi/endpoints/user.py
M cmk/gui/plugins/openapi/endpoints/utils.py
M cmk/gui/plugins/sidebar/bookmarks.py
M cmk/gui/plugins/sidebar/dashboards.py
M cmk/gui/plugins/sidebar/master_control.py
M cmk/gui/plugins/sidebar/search.py
M cmk/gui/plugins/sidebar/site_status.py
M cmk/gui/plugins/sidebar/tactical_overview.py
M cmk/gui/plugins/sidebar/utils.py
M cmk/gui/plugins/sidebar/views.py
M cmk/gui/plugins/sidebar/virtual_host_tree.py
M cmk/gui/plugins/sidebar/wato.py
M cmk/gui/plugins/userdb/utils.py
M cmk/gui/plugins/views/commands.py
M cmk/gui/plugins/views/icons/builtin.py
M cmk/gui/plugins/views/icons/inventory.py
M cmk/gui/plugins/views/icons/utils.py
M cmk/gui/plugins/views/icons/wato.py
M cmk/gui/plugins/views/layouts.py
M cmk/gui/plugins/views/mkeventd.py
M cmk/gui/plugins/views/utils.py
M cmk/gui/plugins/wato/bi_config.py
M cmk/gui/plugins/wato/bi_valuespecs.py
M cmk/gui/plugins/wato/builtin_attributes.py
M cmk/gui/plugins/wato/check_mk_configuration.py
M cmk/gui/plugins/wato/utils/__init__.py
M cmk/gui/query_filters.py
M cmk/gui/robotmk.py
M cmk/gui/sidebar/__init__.py
M cmk/gui/sidebar/main_menu.py
M cmk/gui/sites.py
M cmk/gui/table.py
M cmk/gui/user_message.py
M cmk/gui/utils/labels.py
M cmk/gui/utils/logged_in.py
M cmk/gui/utils/ntop.py
M cmk/gui/utils/urls.py
M cmk/gui/valuespec.py
M cmk/gui/views/__init__.py
M cmk/gui/views/availability.py
M cmk/gui/visuals.py
M cmk/gui/wato/mkeventd.py
M cmk/gui/wato/page_handler.py
M cmk/gui/wato/pages/activate_changes.py
M cmk/gui/wato/pages/analyze_configuration.py
M cmk/gui/wato/pages/audit_log.py
M cmk/gui/wato/pages/automation.py
M cmk/gui/wato/pages/backup.py
M cmk/gui/wato/pages/bulk_discovery.py
M cmk/gui/wato/pages/bulk_edit.py
M cmk/gui/wato/pages/bulk_import.py
M cmk/gui/wato/pages/diagnostics.py
M cmk/gui/wato/pages/fetch_agent_output.py
M cmk/gui/wato/pages/folders.py
M cmk/gui/wato/pages/global_settings.py
M cmk/gui/wato/pages/host_diagnose.py
M cmk/gui/wato/pages/host_rename.py
M cmk/gui/wato/pages/hosts.py
M cmk/gui/wato/pages/notifications.py
M cmk/gui/wato/pages/parentscan.py
M cmk/gui/wato/pages/password_store.py
M cmk/gui/wato/pages/predefined_conditions.py
M cmk/gui/wato/pages/read_only.py
M cmk/gui/wato/pages/rulesets.py
M cmk/gui/wato/pages/services.py
M cmk/gui/wato/pages/sites.py
M cmk/gui/wato/pages/user_profile/abstract_page.py
M cmk/gui/wato/pages/user_profile/async_replication.py
M cmk/gui/wato/pages/user_profile/change_password.py
M cmk/gui/wato/pages/user_profile/edit_profile.py
M cmk/gui/wato/pages/user_profile/mega_menu.py
M cmk/gui/wato/pages/user_profile/page_menu.py
M cmk/gui/wato/pages/user_profile/replicate.py
M cmk/gui/wato/pages/user_profile/two_factor.py
M cmk/gui/wato/pages/users.py
M cmk/gui/watolib/activate_changes.py
M cmk/gui/watolib/changes.py
M cmk/gui/watolib/downtime.py
M cmk/gui/watolib/git.py
M cmk/gui/watolib/groups.py
M cmk/gui/watolib/hosts_and_folders.py
M cmk/gui/watolib/main_menu.py
M cmk/gui/watolib/password_store.py
M cmk/gui/watolib/passwords.py
M cmk/gui/watolib/predefined_conditions.py
M cmk/gui/watolib/read_only.py
M cmk/gui/watolib/search.py
M cmk/gui/watolib/services.py
M cmk/gui/watolib/snapshots.py
M cmk/gui/watolib/tags.py
M cmk/gui/watolib/users.py
M cmk/gui/watolib/utils.py
M cmk/gui/webapi.py
M cmk/gui/weblib.py
M cmk/gui/werks.py
M cmk/gui/wsgi/applications/rest_api.py
M cmk/gui/wsgi/applications/utils.py
M tests/unit/cmk/gui/htmllib/test_html_cls.py
M tests/unit/cmk/gui/plugins/views/test_views_utils.py
M tests/unit/cmk/gui/test_index.py
M tests/unit/cmk/gui/test_key_mgmt.py
M tests/unit/cmk/gui/test_login_unit.py
M tests/unit/cmk/gui/test_sidebar.py
M tests/unit/cmk/gui/test_sites.py
M tests/unit/cmk/gui/utils/test_logged_in.py
M tests/unit/cmk/gui/utils/test_ntop.py
M tests/unit/cmk/gui/utils/test_urls.py
M tests/unit/cmk/gui/views/test_views.py
M tests/unit/cmk/gui/watolib/test_watolib_search.py
Log Message:
-----------
Move user context from globals to utils.logged_in
CMK-10181
Change-Id: I7629efa11455003a93a97a8d4928683d8af62105
Commit: d1e420afa75b4431fb031e612b47d30ec1e48713
https://github.com/tribe29/checkmk/commit/d1e420afa75b4431fb031e612b47d30ec…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2022-04-04 (Mon, 04 Apr 2022)
Changed paths:
M cmk/gui/availability.py
M cmk/gui/bi.py
M cmk/gui/context.py
M cmk/gui/crash_reporting.py
M cmk/gui/cron.py
M cmk/gui/dashboard.py
M cmk/gui/fields/definitions.py
M cmk/gui/forms.py
M cmk/gui/gui_background_job.py
M cmk/gui/help.py
M cmk/gui/htmllib/__init__.py
M cmk/gui/htmllib/foldable_container.py
M cmk/gui/inventory.py
M cmk/gui/key_mgmt.py
M cmk/gui/livestatus_utils/testing.py
A cmk/gui/logged_in.py
M cmk/gui/login.py
M cmk/gui/logwatch.py
M cmk/gui/main.py
M cmk/gui/message.py
M cmk/gui/mobile.py
M cmk/gui/node_visualization.py
M cmk/gui/notifications.py
M cmk/gui/page_menu.py
M cmk/gui/pagetypes.py
M cmk/gui/plugins/dashboard/stats.py
M cmk/gui/plugins/metrics/artwork.py
M cmk/gui/plugins/metrics/graph_images.py
M cmk/gui/plugins/metrics/html_render.py
M cmk/gui/plugins/openapi/endpoints/acknowledgement.py
M cmk/gui/plugins/openapi/endpoints/certs.py
M cmk/gui/plugins/openapi/endpoints/contact_group_config.py
M cmk/gui/plugins/openapi/endpoints/downtime.py
M cmk/gui/plugins/openapi/endpoints/host_config.py
M cmk/gui/plugins/openapi/endpoints/rule/__init__.py
M cmk/gui/plugins/openapi/endpoints/ruleset/__init__.py
M cmk/gui/plugins/openapi/endpoints/user.py
M cmk/gui/plugins/openapi/endpoints/utils.py
M cmk/gui/plugins/sidebar/bookmarks.py
M cmk/gui/plugins/sidebar/dashboards.py
M cmk/gui/plugins/sidebar/master_control.py
M cmk/gui/plugins/sidebar/search.py
M cmk/gui/plugins/sidebar/site_status.py
M cmk/gui/plugins/sidebar/tactical_overview.py
M cmk/gui/plugins/sidebar/utils.py
M cmk/gui/plugins/sidebar/views.py
M cmk/gui/plugins/sidebar/virtual_host_tree.py
M cmk/gui/plugins/sidebar/wato.py
M cmk/gui/plugins/userdb/utils.py
M cmk/gui/plugins/views/commands.py
M cmk/gui/plugins/views/icons/builtin.py
M cmk/gui/plugins/views/icons/inventory.py
M cmk/gui/plugins/views/icons/utils.py
M cmk/gui/plugins/views/icons/wato.py
M cmk/gui/plugins/views/layouts.py
M cmk/gui/plugins/views/mkeventd.py
M cmk/gui/plugins/views/utils.py
M cmk/gui/plugins/wato/bi_config.py
M cmk/gui/plugins/wato/bi_valuespecs.py
M cmk/gui/plugins/wato/builtin_attributes.py
M cmk/gui/plugins/wato/check_mk_configuration.py
M cmk/gui/plugins/wato/utils/__init__.py
M cmk/gui/query_filters.py
M cmk/gui/robotmk.py
M cmk/gui/sidebar/__init__.py
M cmk/gui/sidebar/main_menu.py
M cmk/gui/sites.py
M cmk/gui/table.py
M cmk/gui/user_message.py
M cmk/gui/userdb.py
M cmk/gui/utils/labels.py
R cmk/gui/utils/logged_in.py
M cmk/gui/utils/ntop.py
M cmk/gui/utils/script_helpers.py
M cmk/gui/utils/transaction_manager.py
M cmk/gui/utils/urls.py
M cmk/gui/valuespec.py
M cmk/gui/view_utils.py
M cmk/gui/views/__init__.py
M cmk/gui/views/availability.py
M cmk/gui/visuals.py
M cmk/gui/wato/mkeventd.py
M cmk/gui/wato/page_handler.py
M cmk/gui/wato/pages/activate_changes.py
M cmk/gui/wato/pages/analyze_configuration.py
M cmk/gui/wato/pages/audit_log.py
M cmk/gui/wato/pages/automation.py
M cmk/gui/wato/pages/backup.py
M cmk/gui/wato/pages/bulk_discovery.py
M cmk/gui/wato/pages/bulk_edit.py
M cmk/gui/wato/pages/bulk_import.py
M cmk/gui/wato/pages/diagnostics.py
M cmk/gui/wato/pages/fetch_agent_output.py
M cmk/gui/wato/pages/folders.py
M cmk/gui/wato/pages/global_settings.py
M cmk/gui/wato/pages/host_diagnose.py
M cmk/gui/wato/pages/host_rename.py
M cmk/gui/wato/pages/hosts.py
M cmk/gui/wato/pages/notifications.py
M cmk/gui/wato/pages/parentscan.py
M cmk/gui/wato/pages/password_store.py
M cmk/gui/wato/pages/predefined_conditions.py
M cmk/gui/wato/pages/read_only.py
M cmk/gui/wato/pages/rulesets.py
M cmk/gui/wato/pages/services.py
M cmk/gui/wato/pages/sites.py
M cmk/gui/wato/pages/user_profile/abstract_page.py
M cmk/gui/wato/pages/user_profile/async_replication.py
M cmk/gui/wato/pages/user_profile/change_password.py
M cmk/gui/wato/pages/user_profile/edit_profile.py
M cmk/gui/wato/pages/user_profile/mega_menu.py
M cmk/gui/wato/pages/user_profile/page_menu.py
M cmk/gui/wato/pages/user_profile/replicate.py
M cmk/gui/wato/pages/user_profile/two_factor.py
M cmk/gui/wato/pages/users.py
M cmk/gui/watolib/activate_changes.py
M cmk/gui/watolib/changes.py
M cmk/gui/watolib/downtime.py
M cmk/gui/watolib/git.py
M cmk/gui/watolib/groups.py
M cmk/gui/watolib/hosts_and_folders.py
M cmk/gui/watolib/main_menu.py
M cmk/gui/watolib/network_scan.py
M cmk/gui/watolib/password_store.py
M cmk/gui/watolib/passwords.py
M cmk/gui/watolib/predefined_conditions.py
M cmk/gui/watolib/read_only.py
M cmk/gui/watolib/search.py
M cmk/gui/watolib/services.py
M cmk/gui/watolib/snapshots.py
M cmk/gui/watolib/tags.py
M cmk/gui/watolib/users.py
M cmk/gui/watolib/utils.py
M cmk/gui/webapi.py
M cmk/gui/weblib.py
M cmk/gui/werks.py
M cmk/gui/wsgi/applications/checkmk.py
M cmk/gui/wsgi/applications/rest_api.py
M cmk/gui/wsgi/applications/utils.py
M cmk/gui/wsgi/auth.py
M cmk/post_rename_site/main.py
M cmk/update_config.py
M tests/testlib/users.py
M tests/unit/cmk/gui/conftest.py
M tests/unit/cmk/gui/htmllib/test_html_cls.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_certs.py
M tests/unit/cmk/gui/plugins/views/test_views_utils.py
M tests/unit/cmk/gui/test_index.py
M tests/unit/cmk/gui/test_key_mgmt.py
M tests/unit/cmk/gui/test_login_unit.py
M tests/unit/cmk/gui/test_sidebar.py
M tests/unit/cmk/gui/test_sites.py
M tests/unit/cmk/gui/test_table.py
M tests/unit/cmk/gui/utils/test_logged_in.py
M tests/unit/cmk/gui/utils/test_ntop.py
M tests/unit/cmk/gui/utils/test_transaction_manager.py
M tests/unit/cmk/gui/utils/test_urls.py
M tests/unit/cmk/gui/views/test_views.py
M tests/unit/cmk/gui/watolib/test_watolib_search.py
M tests/unit/cmk/post_rename_site/plugins/actions/conftest.py
M tests/unit/cmk/utils/livestatus_helpers/conftest.py
Log Message:
-----------
Move logged_in module from cmk.gui.utils to cmk.gui
`utils` gives the impression that the module is not that important
but it is!
Change-Id: Idd9495650a982e85b2472b95d99178c199606352
Compare:
https://github.com/tribe29/checkmk/compare/6dfab8fc0f0a...d1e420afa75b