Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 2418e78cce802cf1d1ce9b3274a508c67df38c01
https://github.com/tribe29/checkmk/commit/2418e78cce802cf1d1ce9b3274a508c67…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2022-12-20 (Tue, 20 Dec 2022)
Changed paths:
M tests/unit/cmk/utils/packaging/test_packaging.py
Log Message:
-----------
add type annotations
Change-Id: I1a8d9f410230a815e6ce67c97cb366b092def610
Commit: d545a9dbba8720968f6d06503227ec3eee6a8b8a
https://github.com/tribe29/checkmk/commit/d545a9dbba8720968f6d06503227ec3ee…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2022-12-20 (Tue, 20 Dec 2022)
Changed paths:
M cmk/utils/packaging/__init__.py
M tests/unit/cmk/utils/packaging/test_packaging.py
Log Message:
-----------
clean up version comparison I
Note that the change in the tests is a fix:
All daily builds are considered newer than regular versions.
Not very relevant to normal users - currently the GUI won't allow such a
version string.
Change-Id: I2ef900c3513a5bc68f6dbdaeb15dce6e73234268
Commit: 7af3099359c94896595b18e031d90fda9d2b2809
https://github.com/tribe29/checkmk/commit/7af3099359c94896595b18e031d90fda9…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2022-12-20 (Tue, 20 Dec 2022)
Changed paths:
M cmk/utils/packaging/__init__.py
Log Message:
-----------
remove logging from utility function
In one of the callsites the logging is redundant, in the other it is inconsistent.
In addition: "can not decide" is lie, we do decide to allow it.
Change-Id: I5401b130f27c979647993cc85d7ae17b453f7b51
Commit: 9d63c6084e467aa1eb80e216e2e4c03c98d8544c
https://github.com/tribe29/checkmk/commit/9d63c6084e467aa1eb80e216e2e4c03c9…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2022-12-20 (Tue, 20 Dec 2022)
Changed paths:
M cmk/utils/packaging/__init__.py
Log Message:
-----------
drop debug raise
In this case, raising actually changes the outcome of the function - that is not what the
flag is supposed to be doing.
Change-Id: I8827fba64421fed8367cce65bca4d017cb7a3cdd
Commit: 7bfd7c18f43577e49aa579fc86278d9de4b29e06
https://github.com/tribe29/checkmk/commit/7bfd7c18f43577e49aa579fc86278d9de…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2022-12-20 (Tue, 20 Dec 2022)
Changed paths:
M cmk/utils/packaging/__init__.py
M tests/unit/cmk/utils/packaging/test_packaging.py
Log Message:
-----------
align version checks
Change-Id: I20bf7928918b56f252552144bb067f6893809f19
Commit: 941b2822bab4d78e9549e86d26d69acae84ccf46
https://github.com/tribe29/checkmk/commit/941b2822bab4d78e9549e86d26d69acae…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2022-12-20 (Tue, 20 Dec 2022)
Changed paths:
M cmk/base/packaging.py
Log Message:
-----------
misc cleanups
Change-Id: I6ed32aac418b297b96d12c1c9994a0fa8b9f2553
Commit: b5db891879f6fa4f977216fe221166248d83fc80
https://github.com/tribe29/checkmk/commit/b5db891879f6fa4f977216fe221166248…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2022-12-20 (Tue, 20 Dec 2022)
Changed paths:
M cmk/utils/packaging/_installed.py
Log Message:
-----------
add path function
Change-Id: I8fbbd7fee6e3c1deef4666a08e992997521758e3
Commit: b10ecc3d42bad169ed82d45fdeefee1105eeb499
https://github.com/tribe29/checkmk/commit/b10ecc3d42bad169ed82d45fdeefee110…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2022-12-20 (Tue, 20 Dec 2022)
Changed paths:
M cmk/utils/packaging/__init__.py
M tests/unit/cmk/utils/packaging/test_packaging.py
Log Message:
-----------
add testable function and test it
Change-Id: I2f8a978f8f5d95c15f640afe6eb21f90f6f59295
Commit: 897cb8697dc40b070c2619d7e6aa29088e155226
https://github.com/tribe29/checkmk/commit/897cb8697dc40b070c2619d7e6aa29088…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2022-12-20 (Tue, 20 Dec 2022)
Changed paths:
M cmk/utils/packaging/__init__.py
Log Message:
-----------
avoid over-the-top package_part_info
Change-Id: I00aa74bd2bf3283a00ca65bb0bc0a2b08a054152
Commit: 9e0ffe844a43573dda71e4c9bd4108616a6d394d
https://github.com/tribe29/checkmk/commit/9e0ffe844a43573dda71e4c9bd4108616…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2022-12-20 (Tue, 20 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/change_password.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:
-----------
Revert "Revert "15096 Introducing the Checkmk Development Server""
This reverts commit b288a87c7d1802cae2f36220443ea9dc3541a072.
This is the second attemt and incorporates the following fixes:
Flask session: prevent logout on password change
Flask session: fix flash messages
Original commit 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: I65e85a61eb42844179054ddbfe82355773fb540c
Compare:
https://github.com/tribe29/checkmk/compare/c8df75cb9e04...9e0ffe844a43