Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 11ce31da295569149ffcda0dad7fdff78cb1bcc6
https://github.com/tribe29/checkmk/commit/11ce31da295569149ffcda0dad7fdff78…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-11-08 (Mon, 08 Nov 2021)
Changed paths:
M cmk/gui/globals.py
M cmk/gui/livestatus_utils/testing.py
M cmk/gui/utils/logged_in.py
M cmk/gui/utils/script_helpers.py
M cmk/gui/wsgi/applications/checkmk.py
M cmk/gui/wsgi/middleware.py
M tests/unit/cmk/utils/livestatus_helpers/conftest.py
Log Message:
-----------
Reduce dependencies of cmk.gui.globals and cleanup local import
Since the module is used in a lot of modules it's a good idea to make it
only depend on a small number of modules which also reduces the risk of
cyclic imports.
* Make TransactionManager a helper of LoggedInUser now
* Extract the initialization of LoggedInNobody
Change-Id: I414acabb2cedf3ea20ed8ee882bf68b4ae6de50f
Commit: fdf4a7e8dd4f4542b64c79de133c600e4e3cbe89
https://github.com/tribe29/checkmk/commit/fdf4a7e8dd4f4542b64c79de133c600e4…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-11-08 (Mon, 08 Nov 2021)
Changed paths:
M cmk/gui/plugins/sidebar/search.py
M cmk/gui/plugins/userdb/user_attributes.py
M cmk/gui/plugins/userdb/utils.py
M cmk/gui/plugins/visuals/filters.py
M cmk/gui/plugins/wato/check_mk_configuration.py
M cmk/gui/utils/__init__.py
A cmk/gui/utils/regex.py
M cmk/gui/wato/user_profile.py
Log Message:
-----------
Make cmk.gui.utils independent of i18n module
We want to add the LazyString helper to cmk.gui.utils.speaklater
in the next commit. To be able to do so, the package __init__
must not rely on cmk.gui.i18n.
Change-Id: If39ec865d52a955cdd401c1e4c8cf391e6b6336f
Commit: 48a7520a6daeb4e746a96d497c8f8e5392614e72
https://github.com/tribe29/checkmk/commit/48a7520a6daeb4e746a96d497c8f8e539…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-11-08 (Mon, 08 Nov 2021)
Changed paths:
M Pipfile
M Pipfile.lock
M cmk/gui/i18n.py
M cmk/gui/utils/escaping.py
A cmk/gui/utils/speaklater.py
M cmk/gui/valuespec.py
M cmk/gui/views.py
M tests/unit/cmk/gui/test_escaping.py
M tests/unit/cmk/gui/test_gui_config.py
A tests/unit/cmk/gui/utils/test_speaklater.py
M tests/unit/test_pipfile.py
Log Message:
-----------
Purge flask_babel.speaklater dependency
It's just a pretty simple class we can easily providing
on our own and improve several things with this step:
* Add type hints to another often used component
* Drop 3rd party dependencies (flask_babel, babel)
Change-Id: I22aa98bea22e5cdb887d377c3903a9962e113f11
Compare:
https://github.com/tribe29/checkmk/compare/1e35efc26600...48a7520a6dae