Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: b6892ea31b29a7a34bada1163b0fc4315b673fb0
https://github.com/tribe29/checkmk/commit/b6892ea31b29a7a34bada1163b0fc4315…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-09-27 (Mon, 27 Sep 2021)
Changed paths:
M cmk/gui/utils/script_helpers.py
M tests/unit/cmk/gui/conftest.py
M tests/unit/cmk/utils/livestatus_helpers/conftest.py
Log Message:
-----------
Cleanup WSGI application contexts
Previously we used a DummyApplication for some of our tests which seemed
to work fine, but left out important parts of our WSGI application. For
example the profiling, and request related hook middleware was not in
place. Without the later, the cleanup of request scoped memoized
function calls was not working as intended in unit test context.
This was not visible, since `cmk.gui.hooks.request_memoize` is not widely
used at the moment.
Change-Id: I226825d76e0798b9015e525340e1798cc137a978
Commit: 2ebc44880ac9ca2efb80f7bbe638ec44a1d4dc21
https://github.com/tribe29/checkmk/commit/2ebc44880ac9ca2efb80f7bbe638ec44a…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-09-27 (Mon, 27 Sep 2021)
Changed paths:
M cmk/gui/globals.py
M cmk/gui/hooks.py
Log Message:
-----------
Ensure request_memoize cleanup also in unit test cases
Previously the request_memoize cache was only cleaned up during
actual request processing, which is fine for the normal execution
of the GUI.
But in many unit tests we don't really handle requests, but only
construct an application and request context to execute the test.
To have a cleanup also in this situation, we now also trigger the
cleanup when exiting our `RequestContext`.
Change-Id: I86d5e5daae0b5cf7347bdd3a37199d4bc07ad432
Commit: 001774ba7f08483ae35012fedabf50965881de49
https://github.com/tribe29/checkmk/commit/001774ba7f08483ae35012fedabf50965…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-09-27 (Mon, 27 Sep 2021)
Changed paths:
M tests/unit/cmk/gui/test_gui_hooks.py
Log Message:
-----------
Make reset_hooks preserve the previous hooks
Change-Id: I473402e3963050067e5649227914b3813c4894f3
Commit: d2f57001891016684cef7b64003411bb54cd6298
https://github.com/tribe29/checkmk/commit/d2f57001891016684cef7b64003411bb5…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-09-27 (Mon, 27 Sep 2021)
Changed paths:
M cmk/gui/groups.py
M cmk/gui/inventory.py
M cmk/gui/mkeventd.py
Log Message:
-----------
Spread use of request_memoize - 1
Change-Id: I91de273a98f7b6b829ba48b3149b4e5328010400
Commit: 11fa3aaaad9cf5b0f5899e3015711e8b8562f90e
https://github.com/tribe29/checkmk/commit/11fa3aaaad9cf5b0f5899e3015711e8b8…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-09-27 (Mon, 27 Sep 2021)
Changed paths:
M cmk/gui/modules.py
M cmk/gui/plugins/dashboard/utils.py
M cmk/gui/plugins/views/painters.py
Log Message:
-----------
Spread use of request_memoize - 2
Change-Id: I58c0c89e388ce9e54b0f90b7db2a278ab98fc9db
Commit: e68caa30ef9f6f663c86fb693991c9f9ac4e7a2a
https://github.com/tribe29/checkmk/commit/e68caa30ef9f6f663c86fb693991c9f9a…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-09-27 (Mon, 27 Sep 2021)
Changed paths:
M cmk/gui/userdb.py
M cmk/gui/watolib/timeperiods.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_user.py
M tests/unit/cmk/gui/test_userdb.py
Log Message:
-----------
Spread use of request_memoize - 3
Change-Id: Ib0d9815db9f3e0987e263698aee0c9326cece1f1
Commit: 1c7eebd18074fe953895874a175b0785963694a4
https://github.com/tribe29/checkmk/commit/1c7eebd18074fe953895874a175b07859…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-09-27 (Mon, 27 Sep 2021)
Changed paths:
M cmk/gui/watolib/git.py
A tests/unit/cmk/gui/watolib/test_git.py
Log Message:
-----------
watlob.git: Add type hints and first test
Change-Id: Ib0a15ae5421cfe0ee8e57e33506407aa197ff271
Commit: 0d6ba21f2b4e603c1ddb87f27d1132555f3be334
https://github.com/tribe29/checkmk/commit/0d6ba21f2b4e603c1ddb87f27d1132555…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-09-27 (Mon, 27 Sep 2021)
Changed paths:
M cmk/gui/watolib/git.py
Log Message:
-----------
Spread use of request_memoize - 4
Change-Id: Idb82072be3d5e790eb1beb9995f6b62defa7ec46
Commit: 30a3f1d7f70d1e918cabdaec2610782a093c1617
https://github.com/tribe29/checkmk/commit/30a3f1d7f70d1e918cabdaec2610782a0…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-09-27 (Mon, 27 Sep 2021)
Changed paths:
M cmk/gui/hooks.py
M cmk/gui/inventory.py
M cmk/gui/plugins/userdb/utils.py
M cmk/gui/sites.py
M cmk/gui/utils/labels.py
M cmk/gui/valuespec.py
M cmk/gui/watolib/activate_changes.py
Log Message:
-----------
Spread use of request_memoize - 5
Change-Id: I9b60f0ca0c8dc02699534fba1e7ab2a9ab01faf3
Compare:
https://github.com/tribe29/checkmk/compare/689dde68017a...30a3f1d7f70d