Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: e2fb69686c6157c40dcd9cf9507c4dc6f6e25158
https://github.com/tribe29/checkmk/commit/e2fb69686c6157c40dcd9cf9507c4dc6f…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-02-15 (Mon, 15 Feb 2021)
Changed paths:
A .werks/12130
A cmk/gui/pdf.py
A cmk/gui/plugins/metrics/graph_images.py
A cmk/gui/plugins/metrics/graph_pdf.py
M tests/unit/cmk/gui/test_pages.py
M tests/unit/cmk/gui/wsgi/test_wsgi_router.py
Log Message:
-----------
12130 FIX Raw Edition: Fix graph in HTML notifications
The HTML mail notifications of the Raw Edition were not containing graph
images anymore.
To fix this the following had to be done:
* Graph image rendering code has to be moved to graph_image.py CRE code
* This functionality is based on the PDF rendering code. The relevant
parts were extracted and moved to graph_pdf.py.
* The PDF rendering library is now available at cmk.gui.pdf.
Change-Id: I8d1b4395da6a2a52fca588710ceb0f9a37e3d199