Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 66b36ab911bbe280f00c8e9be5a08bc06902a4fa
https://github.com/tribe29/checkmk/commit/66b36ab911bbe280f00c8e9be5a08bc06…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2022-12-16 (Fri, 16 Dec 2022)
Changed paths:
A .werks/15096
M Makefile
M Pipfile
M Pipfile.lock
A cmk/gui/auth.py
M cmk/gui/breadcrumb.py
M cmk/gui/config.py
M cmk/gui/context.py
M cmk/gui/cron.py
M cmk/gui/ctx_stack.py
M cmk/gui/display_options.py
M cmk/gui/htmllib/html.py
M cmk/gui/http.py
M cmk/gui/i18n.py
M cmk/gui/livestatus_utils/commands/acknowledgments.py
M cmk/gui/livestatus_utils/commands/comment.py
M cmk/gui/livestatus_utils/commands/downtimes.py
M cmk/gui/livestatus_utils/commands/force_schedule.py
M cmk/gui/livestatus_utils/testing.py
M cmk/gui/logged_in.py
M cmk/gui/login.py
M cmk/gui/plugins/metrics/graph_images.py
M cmk/gui/plugins/openapi/endpoints/contact_group_config.py
M cmk/gui/plugins/openapi/endpoints/rule/fields.py
M cmk/gui/plugins/openapi/restful_objects/constructors.py
M cmk/gui/plugins/userdb/utils.py
A cmk/gui/session.py
M cmk/gui/type_defs.py
M cmk/gui/userdb/__init__.py
M cmk/gui/userdb/saml2/pages.py
M cmk/gui/userdb/session.py
A cmk/gui/userdb/type_defs.py
M cmk/gui/utils/csrf_token.py
M cmk/gui/utils/flashed_messages.py
M cmk/gui/utils/logging_filters.py
M cmk/gui/utils/mobile.py
M cmk/gui/utils/output_funnel.py
M cmk/gui/utils/script_helpers.py
M cmk/gui/utils/theme.py
M cmk/gui/utils/timeout_manager.py
M cmk/gui/utils/transaction_manager.py
M cmk/gui/utils/user_errors.py
M cmk/gui/wato/pages/automation.py
M cmk/gui/wato/pages/user_profile/two_factor.py
M cmk/gui/watolib/automatic_host_removal.py
M cmk/gui/watolib/host_label_sync.py
M cmk/gui/watolib/network_scan.py
M cmk/gui/watolib/search.py
M cmk/gui/watolib/user_profile.py
M cmk/gui/wsgi/__init__.py
A cmk/gui/wsgi/app.py
M cmk/gui/wsgi/applications/checkmk.py
R cmk/gui/wsgi/applications/helper_apps.py
M cmk/gui/wsgi/applications/rest_api.py
M cmk/gui/wsgi/applications/utils.py
R cmk/gui/wsgi/auth.py
A cmk/gui/wsgi/blueprints/__init__.py
A cmk/gui/wsgi/blueprints/checkmk.py
A cmk/gui/wsgi/blueprints/global_vars.py
A cmk/gui/wsgi/blueprints/rest_api.py
A cmk/gui/wsgi/dev_server.py
A cmk/gui/wsgi/dev_utils.py
M cmk/gui/wsgi/middleware.py
M cmk/gui/wsgi/profiling.py
M cmk/gui/wsgi/routing.py
M cmk/gui/wsgi/utils.py
M cmk/post_rename_site/main.py
M cmk/update_config/main.py
M omd/packages/check_mk/post-create/01_create-sample-config.py
M omd/packages/check_mk/skel/etc/check_mk/apache.conf
M tests/code_quality/test_pipfile.py
M tests/integration/conftest.py
M tests/integration/omd/test_web_access.py
M tests/testlib/__init__.py
M tests/testlib/openapi_session.py
M tests/testlib/users.py
M tests/unit/cmk/gui/conftest.py
M tests/unit/cmk/gui/livestatus_utils/test_downtime_commands.py
M tests/unit/cmk/gui/plugins/openapi/test_endpoint.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_etags.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_rules.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_service_discovery.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_time_period.py
M tests/unit/cmk/gui/test_background_job.py
M tests/unit/cmk/gui/test_dashboard.py
M tests/unit/cmk/gui/test_gui_hooks.py
M tests/unit/cmk/gui/test_i18n.py
M tests/unit/cmk/gui/test_index.py
M tests/unit/cmk/gui/test_logged_in.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_userdb.py
M tests/unit/cmk/gui/utils/test_flashed_messages.py
M tests/unit/cmk/gui/utils/test_theme.py
M tests/unit/cmk/gui/utils/test_timeout_manager.py
M tests/unit/cmk/gui/utils/test_transaction_manager.py
M tests/unit/cmk/gui/views/perfometer/legacy_perfometers/test_perfometer_fileinfo.py
M tests/unit/cmk/gui/views/test_row_post_processing.py
M tests/unit/cmk/gui/wato/pages/test_folders.py
M tests/unit/cmk/gui/watolib/test_git.py
M tests/unit/cmk/gui/watolib/test_watolib_search.py
M tests/unit/cmk/gui/wsgi/test_wsgi_router.py
M tests/unit/cmk/post_rename_site/plugins/actions/conftest.py
A tests/unit/cmk/special_agents/conftest.py
M tests/unit/cmk/special_agents/test_agent_bi.py
A tests/unit/cmk/update_config/conftest.py
M tests/unit/cmk/update_config/plugins/actions/conftest.py
A tests/unit/cmk/utils/livestatus_helpers/conftest.py
M tests/unit/conftest.py
M web/app/index.wsgi
R web/htdocs/openapi/index.html
Log Message:
-----------
15096 Introducing the Checkmk Development Server
This change introduces the GUI development server
which can be run from the command line.
You will need to be in the root of the git repo for
this to work.
Use the following command to get available options
of the server.
$ python -m cmk.gui.dev_server -h
Once it is running, you can log into Checkmk's GUI and
click around. Look at the logs, as they will tell you
where to create your .htpasswd file for your local user(s).
Not supported yet:
* actually doing monitoring
* getting status data from CORE
* sending livestatus commands
For this change to work, the session management of Checkmk
had to be changed to use the one provided by Flask.
Change-Id: Id4d2d781a6161a77921c45669a605ef5fcae965d