Module: check_mk
Branch: master
Commit: 7c8ef208eed65a986dc344517abc66ee6e14bbc8
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7c8ef208eed65a…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Jul 12 09:10:23 2018 +0200
Moved all web gui main modules to cmk.gui
The modules from share/check_mk/web/htdocs that have previously been
imported by their simple file names and were only available after Python
import path modifications have been moved to lib/python/cmk/gui. With
this new path all files can be imported using "cmk.gui.[name]", e.g.
"cmk.gui.views" from the whole site without path modification.
The enterprise modules are available below "cmk.gui.cee" and the managed
editions modules are available through "cmk.gui.cme".
Additionally made former implicit always available HTML() now only
available after explicit import like this: "from htmllib import HTML".
Change-Id: I4797a8d7c3ed36abd08b7066ad7262659101c72b
---
cmk/gui/.f12 | 5 +
{web/htdocs => cmk/gui}/availability.py | 13 +-
{web/htdocs => cmk/gui}/background_job.py | 8 +-
{web/htdocs => cmk/gui}/backup.py | 11 +-
{web/htdocs => cmk/gui}/bi.py | 7 +-
cmk/gui/cee | 1 +
cmk/gui/cme | 1 +
{web/htdocs => cmk/gui}/config.py | 5 +-
{web/htdocs => cmk/gui}/crash_reporting.py | 26 +-
{web/htdocs => cmk/gui}/cron.py | 4 +-
{web/htdocs => cmk/gui}/dashboard.py | 25 +-
{web/htdocs => cmk/gui}/default_permissions.py | 2 +-
{web/htdocs => cmk/gui}/forms.py | 2 +-
{web/htdocs => cmk/gui}/gui_background_job.py | 20 +-
{web/htdocs => cmk/gui}/help.py | 2 +-
{web/htdocs => cmk/gui}/hooks.py | 3 +-
{web/htdocs => cmk/gui}/htmllib.py | 12 +-
{web/htdocs => cmk/gui}/http.py | 3 +-
cmk/gui/i18n.py | 20 +-
{web/htdocs => cmk/gui}/inventory.py | 13 +-
{web/htdocs => cmk/gui}/key_mgmt.py | 6 +-
{web/htdocs => cmk/gui}/log.py | 1 -
{web/htdocs => cmk/gui}/login.py | 15 +-
{web/htdocs => cmk/gui}/logwatch.py | 11 +-
{web/htdocs => cmk/gui}/main.py | 6 +-
{web/htdocs => cmk/gui}/md5crypt.py | 5 +-
{web/htdocs => cmk/gui}/metrics.py | 34 +-
{web/htdocs => cmk/gui}/mkeventd.py | 14 +-
{web/htdocs => cmk/gui}/mobile.py | 7 +-
{web/htdocs => cmk/gui}/modules.py | 29 +-
{web/htdocs => cmk/gui}/multitar.py | 15 +-
{web/htdocs => cmk/gui}/notifications.py | 12 +-
{web/htdocs => cmk/gui}/notify.py | 13 +-
{web/htdocs => cmk/gui}/pagetypes.py | 12 +-
cmk/gui/plugins/sidebar/__init__.py | 2 +
cmk/gui/plugins/sidebar/speedometer.py | 2 +-
cmk/gui/plugins/sidebar/virtual_host_tree.py | 10 +-
{web/htdocs => cmk/gui}/prediction.py | 11 +-
{web/htdocs => cmk/gui}/sidebar.py | 20 +-
{web/htdocs => cmk/gui}/sites.py | 4 +-
{web/htdocs => cmk/gui}/table.py | 5 +-
{web/htdocs => cmk/gui}/userdb.py | 23 +-
{web/htdocs => cmk/gui}/utils.py | 0
{web/htdocs => cmk/gui}/valuespec.py | 18 +-
{web/htdocs => cmk/gui}/views.py | 75 +++-
{web/htdocs => cmk/gui}/visuals.py | 23 +-
{web/htdocs => cmk/gui}/wato.py | 43 +--
{web/htdocs => cmk/gui}/watolib.py | 33 +-
{web/htdocs => cmk/gui}/webapi.py | 14 +-
{web/htdocs => cmk/gui}/weblib.py | 11 +-
{web/htdocs => cmk/gui}/werks.py | 12 +-
.../check_mk/skel/etc/check_mk/apache.conf | 5 -
tests/pylint/pylintrc | 2 +-
tests/pylint/test_pylint_misc.py | 6 +
tests/pylint/test_pylint_web.py | 29 +-
tests/unit/web/conftest.py | 60 +--
tests/unit/web/old/classes.py | 2 +-
tests/unit/web/test_htmllib_TimeoutManager.py | 2 +-
tests/unit/web/test_htmllib_TransactionManager.py | 2 +-
tests/unit/web/test_http.py | 2 +-
tests/unit/web/test_key_mgmt.py | 5 +-
tests/unit/web/test_table.py | 6 +-
web/app/index.wsgi | 38 +-
web/htdocs/guitester.py | 404 ---------------------
web/plugins/cron/gui_background_job.py | 8 +-
web/plugins/cron/network_scan.py | 2 +-
web/plugins/cron/user_sync.py | 2 +-
web/plugins/dashboard/builtin.py | 2 +-
web/plugins/dashboard/dashlets.py | 11 +-
web/plugins/icons/mkeventd.py | 2 +-
web/plugins/icons/wato.py | 2 +-
web/plugins/metrics/check_mk.py | 2 +-
web/plugins/pages/bi.py | 2 +-
web/plugins/pages/cron.py | 4 +-
web/plugins/pages/metrics.py | 2 +-
web/plugins/pages/mobile.py | 2 +-
web/plugins/pages/shipped.py | 42 +--
web/plugins/pages/wato.py | 2 +-
web/plugins/perfometer/check_mk.py | 2 +-
web/plugins/sidebar/bi.py | 2 +-
web/plugins/sidebar/mkeventd.py | 2 +-
web/plugins/sidebar/nagvis_maps.py | 4 +-
web/plugins/sidebar/shipped.py | 19 +-
web/plugins/sidebar/wato.py | 7 +-
web/plugins/userdb/hook_auth.py | 2 +-
web/plugins/userdb/htpasswd.py | 7 +-
web/plugins/userdb/ldap.py | 8 +-
web/plugins/views/availability.py | 8 +-
web/plugins/views/bi.py | 2 +-
web/plugins/views/commands.py | 4 +-
web/plugins/views/inventory.py | 9 +-
web/plugins/views/layouts.py | 2 +-
web/plugins/views/mkeventd.py | 8 +-
web/plugins/views/painters.py | 53 +--
web/plugins/views/perfometer.py | 6 +-
web/plugins/views/sorters.py | 2 +-
web/plugins/views/wato.py | 4 +-
web/plugins/visuals/bi.py | 2 +-
web/plugins/visuals/filters.py | 5 +-
web/plugins/visuals/inventory.py | 4 +-
web/plugins/visuals/mkeventd.py | 2 +-
web/plugins/visuals/wato.py | 4 +-
web/plugins/wato/bi.py | 5 +-
web/plugins/wato/check_mk_configuration.py | 2 +-
web/plugins/wato/mkeventd.py | 4 +-
web/plugins/wato/omd_configuration.py | 4 +-
106 files changed, 590 insertions(+), 910 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=7c8ef208ee…