Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: baf94602f5efa36f94f94eb42f04f2bb2571137b
https://github.com/tribe29/checkmk/commit/baf94602f5efa36f94f94eb42f04f2bb2…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-01-13 (Mon, 13 Jan 2020)
Changed paths:
M cmk/gui/views.py
M cmk/gui/visuals.py
Log Message:
-----------
Replace broken verify_single_contexts with verify_single_infos
The single context verification for the views did not work since a long time.
The old function has now been replaced with the same logic that is used in reports
and dashlets.
Change-Id: I4b8e787a46e29aa9d316437461541ee2e9578c32
Commit: 8c11c8da37605156e83a1a47403b7f45e3b6d028
https://github.com/tribe29/checkmk/commit/8c11c8da37605156e83a1a47403b7f45e…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-01-13 (Mon, 13 Jan 2020)
Changed paths:
M cmk/gui/dashboard.py
M cmk/gui/views.py
M cmk/gui/visuals.py
M tests/unit/cmk/gui/test_visuals.py
Log Message:
-----------
Cleanup and standardize context merging
The context from the URL is now always retrieved via using
visuals.get_context_from_uri_vars(). Then the contexts of the visual
hierarchy are merged together using visuals.get_merged_context() in
their hierarchical order.
This logic is now used in views, dashboards and reports.
Change-Id: I0a42b2e32c46df134c4253347df50a4066c98d4b
Commit: 119150fc26609f70bbeae36bbf760c249612e937
https://github.com/tribe29/checkmk/commit/119150fc26609f70bbeae36bbf760c249…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-01-13 (Mon, 13 Jan 2020)
Changed paths:
M cmk/gui/mobile.py
M cmk/gui/node_visualization.py
M cmk/gui/plugins/dashboard/view.py
M cmk/gui/plugins/views/availability.py
M cmk/gui/views.py
M tests/unit/cmk/gui/test_views.py
Log Message:
-----------
Cleanup view context processing
The context is now merged together before constructing the View
object and handed over to it during construction. The whole view
processing code can now access the context from it.
Change-Id: Ica714fea0cc0754a176d7a81015769da85130757
Commit: 808b7661f535b3cc09bac92cd0dbbe01c5221b72
https://github.com/tribe29/checkmk/commit/808b7661f535b3cc09bac92cd0dbbe01c…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-01-13 (Mon, 13 Jan 2020)
Changed paths:
M cmk/gui/views.py
Log Message:
-----------
Remove dead condition
Change-Id: I321a2fefbbc7667ae012efe66f7c8026bda1a3a7
Commit: 66b03c09fe5cbb26ac3dc9602d9fb6fbe7c5c7ae
https://github.com/tribe29/checkmk/commit/66b03c09fe5cbb26ac3dc9602d9fb6fbe…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-01-13 (Mon, 13 Jan 2020)
Changed paths:
M cmk/gui/dashboard.py
M cmk/gui/plugins/dashboard/stats.py
M cmk/gui/plugins/dashboard/utils.py
M cmk/gui/plugins/dashboard/view.py
M tests/unit/cmk/gui/test_dashboard.py
Log Message:
-----------
Dashboards: Cleanly compute the context of a dashlet
* The computation of a dashlet context is now cleanly done
in the generic dashboard code before calling the dashlets
show() or update() methods.
* The context HTTP variables are set in the generic code, just
like it's done in the reporting code.
* The show and update methods have access to the effective
context now using the dashlet_instance.context attribute.
Change-Id: I7e5c5d7b689dfce0d4f93e5f54f01df69bc80b25
Commit: 7366b4bfdffc1823d855d76874e5efd387c30d1b
https://github.com/tribe29/checkmk/commit/7366b4bfdffc1823d855d76874e5efd38…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-01-13 (Mon, 13 Jan 2020)
Changed paths:
M cmk/gui/plugins/dashboard/stats.py
M cmk/gui/visuals.py
Log Message:
-----------
Make dashboard globes context sensitive
Different cleanups in the show method on the way.
Change-Id: I4b2825f98d546065cb8b323df38add0ba8ca64ce
Commit: a436c12fa116721ed00ee64983b4d0df3d8a6256
https://github.com/tribe29/checkmk/commit/a436c12fa116721ed00ee64983b4d0df3…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-01-13 (Mon, 13 Jan 2020)
Changed paths:
M tests/unit/cmk/gui/test_dashboard.py
Log Message:
-----------
Add test for dashlet context inheritance
Change-Id: I244c3b039f1f83fcfe6650a8d3efb6a52e504038
Compare:
https://github.com/tribe29/checkmk/compare/3018a20f007d...a436c12fa116