Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 1e425f60c00cb18e376bfb1286bdad6b56321e53
https://github.com/tribe29/checkmk/commit/1e425f60c00cb18e376bfb1286bdad6b5…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2020-10-16 (Fri, 16 Oct 2020)
Changed paths:
M cmk/gui/htmllib.py
M cmk/gui/main.py
Log Message:
-----------
Move redirection from index.py to mobile.py to page handler of index
This is a preparation for factoring out makeuri_contextless from
cmk.gui.htmllib.html.
CMK-5885
Change-Id: I0a713606e097636918ce540bce6be274022c9864
Commit: e1d2f0776031547a6c8f0900ea7a836fa4832377
https://github.com/tribe29/checkmk/commit/e1d2f0776031547a6c8f0900ea7a836fa…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2020-10-16 (Fri, 16 Oct 2020)
Changed paths:
M cmk/gui/htmllib.py
M cmk/gui/utils/url_encoder.py
A cmk/gui/utils/urls.py
Log Message:
-----------
Make method makeuri_contextless of cmk.gui.htmllib.html a function
The method cmk.gui.htmllib.html.makeuri_contextless is, among others,
used for retrieving the URLs of hosts and folders. This is also done
when updating the search index for the Setup menu after a change. The
REST API can make changes and thus trigger this step, however, it has no
access to the global html object in cmk.gui.globals. Hence, the current
implementation of the search index breaks the REST API. To resolve this,
we make makeuri_contextless a function that can be accessessed by the
API.
CMK-5885
Change-Id: Ibc2e8ec86271e418ddd8d4552f3f672e8ffd5f80
Compare:
https://github.com/tribe29/checkmk/compare/196971daa29a...e1d2f0776031