Module: check_mk
Branch: master
Commit: 37d888312fecddbc5e85ceebf7edc18519c1a054
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=37d888312fecdd…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Dec 19 14:38:45 2018 +0100
First integration of npm and webpack in our GUI and packaging workflow
* Our javascript code is integrated as is for the moment and not
modularized yet
* The GUI now loads either main_min.js or main.js which is a file
JS file including all our own JS code and the dependencies
compiled by webpack
* The mobile GUI loads the mobile_min.js which includes the already
shipped outdated versions of jquery and jquery mobile
* The previous "slimit" based minify logic has been removed
* Made ESLint know about the new enviornment
* Add babel for browser compatibility. Starting with these supported:
and_chr 70
and_ff 63
and_qq 1.2
and_uc 11.8
android 67
android 4.4.3-4.4.4
baidu 7.12
chrome 70
chrome 69
edge 18
edge 17
firefox 63
firefox 62
ie 11
ie_mob 11
ios_saf 12.0-12.1
ios_saf 11.3-11.4
op_mini all
op_mob 46
opera 57
opera 56
safari 12
safari 11.1
samsung 7.2
samsung 6.2
Change-Id: I304f2b7b5413ce8d0a17c095bab27dd65cc1b96f
---
.eslintrc.json | 12 ++++---
Makefile | 17 ++++------
cmk/gui/dashboard.py | 3 +-
cmk/gui/htmllib.py | 2 +-
cmk/gui/mobile.py | 5 +--
cmk/gui/notifications.py | 3 +-
cmk/gui/plugins/dashboard/snapin.py | 3 +-
cmk/gui/plugins/sidebar/quicksearch.py | 1 -
cmk/gui/plugins/views/availability.py | 2 +-
cmk/gui/plugins/wato/utils/html_elements.py | 2 +-
cmk/gui/prediction.py | 1 -
cmk/gui/sidebar.py | 3 +-
cmk/gui/wato/pages/activate_changes.py | 1 -
cmk/gui/wato/user_profile.py | 6 ++--
package.json | 11 +++++++
.../cmk/gui/old/unittest_files/body_start.unittest | 2 +-
.../cmk/gui/old/unittest_files/header.unittest | 12 +++----
.../cmk/gui/old/unittest_files/html_head.unittest | 14 ++++----
web/.f12 | 11 ++-----
web/htdocs/js/.gitignore | 1 +
web/htdocs/js/checkmk.js | 1 -
web/htdocs/js/index.js | 12 +++++++
web/htdocs/js/mobile.js | 4 +++
webpack.config.js | 37 ++++++++++++++++++----
24 files changed, 99 insertions(+), 67 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=37d888312f…