rubyfox-server 2.13.4.1 → 2.16.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/rubyfox/server/data/config/UploadsLock.txt +3 -0
- data/lib/rubyfox/server/data/config/admin/admintool.xml +2 -0
- data/lib/rubyfox/server/data/config/admin/descriptors/config_room.txt +97 -43
- data/lib/rubyfox/server/data/config/admin/descriptors/config_server.txt +307 -93
- data/lib/rubyfox/server/data/config/admin/descriptors/config_zone.txt +311 -95
- data/lib/rubyfox/server/data/config/admin/descriptors/runtime_game.txt +5 -5
- data/lib/rubyfox/server/data/config/admin/descriptors/runtime_mmo.txt +6 -6
- data/lib/rubyfox/server/data/config/admin/descriptors/runtime_room.txt +69 -44
- data/lib/rubyfox/server/data/config/admin/descriptors/runtime_user.txt +55 -43
- data/lib/rubyfox/server/data/config/admin/descriptors/runtime_zone.txt +81 -36
- data/lib/rubyfox/server/data/config/admin/gmc/gmc.py +55 -18
- data/lib/rubyfox/server/data/config/admin/icons/Analytics.png +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/Analytics.svg +1 -0
- data/lib/rubyfox/server/data/config/admin/icons/BanManager.png +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/BanManager.svg +1 -0
- data/lib/rubyfox/server/data/config/admin/icons/BlueBoxMonitor.png +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/BlueBoxMonitor.svg +1 -0
- data/lib/rubyfox/server/data/config/admin/icons/Console.png +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/Console.svg +9 -0
- data/lib/rubyfox/server/data/config/admin/icons/Dashboard.png +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/Dashboard.svg +1 -0
- data/lib/rubyfox/server/data/config/admin/icons/ExtensionManager.png +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/ExtensionManager.svg +1 -0
- data/lib/rubyfox/server/data/config/admin/icons/LicenseManager.png +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/LicenseManager.svg +1 -0
- data/lib/rubyfox/server/data/config/admin/icons/LogViewer.png +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/LogViewer.svg +1 -0
- data/lib/rubyfox/server/data/config/admin/icons/ServerConfigurator.png +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/ServerConfigurator.svg +1 -0
- data/lib/rubyfox/server/data/config/admin/icons/ServletManager.png +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/ServletManager.svg +1 -0
- data/lib/rubyfox/server/data/config/admin/icons/ZoneConfigurator.png +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/ZoneConfigurator.svg +1 -0
- data/lib/rubyfox/server/data/config/admin/icons/ZoneMonitor.png +0 -0
- data/lib/rubyfox/server/data/config/admin/icons/ZoneMonitor.svg +1 -0
- data/lib/rubyfox/server/data/config/core.xml +2 -2
- data/lib/rubyfox/server/data/config/log4j.properties +7 -7
- data/lib/rubyfox/server/data/config/server.xml +9 -10
- data/lib/rubyfox/server/data/config/wordsFile.txt +0 -2
- data/lib/rubyfox/server/data/data/GeoLite2-Country.mmdb +0 -0
- data/lib/rubyfox/server/data/{config → data/buddylists/BasicExamples}/.keep +0 -0
- data/lib/rubyfox/server/data/data/{buddylists → uploads}/.keep +0 -0
- data/lib/rubyfox/server/data/lib/BlueBox.war +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/LICENSE +1061 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/NOTICE +68 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/README.md +79 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/RELEASE-NOTES +173 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/bootstrap.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/catalina-tasks.xml +39 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/catalina.bat +372 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/catalina.sh +648 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/ciphers.bat +58 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/ciphers.sh +60 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/commons-daemon-native.tar.gz +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/commons-daemon.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/configtest.bat +58 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/configtest.sh +60 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/daemon.sh +275 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/digest.bat +58 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/digest.sh +60 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/makebase.bat +114 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/makebase.sh +115 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/setclasspath.bat +94 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/setclasspath.sh +98 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/shutdown.bat +58 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/shutdown.sh +60 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/startup.bat +58 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/startup.sh +60 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/tomcat-juli.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/tomcat-native.tar.gz +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/tool-wrapper.bat +110 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/tool-wrapper.sh +153 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/version.bat +58 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/version.sh +60 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/conf/Catalina/localhost/rewrite.config +1 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/conf/catalina.policy +260 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/conf/catalina.properties +205 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/conf/context.xml +31 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/conf/jaspic-providers.xml +23 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/conf/jaspic-providers.xsd +53 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/conf/keystore.jks +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/conf/logging.properties +79 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/conf/server.xml +161 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/conf/tomcat-users.xml +41 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/conf/tomcat-users.xsd +59 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/conf/web.xml +4737 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/annotations-api.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/catalina-ant.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/catalina-ha.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/catalina-storeconfig.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/catalina-tribes.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/catalina.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/ecj-4.12.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/el-api.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/jasper-el.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/jasper.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/jaspic-api.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/jsp-api.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/servlet-api.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/sfs2x-ws-helper.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-api.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-coyote.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-dbcp.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-i18n-cs.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-i18n-de.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-i18n-es.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-i18n-fr.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-i18n-ja.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-i18n-ko.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-i18n-pt-BR.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-i18n-ru.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-i18n-zh-CN.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-jdbc.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-jni.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-util-scan.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-util.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-websocket.jar +0 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/lib/websocket-api.jar +0 -0
- data/lib/rubyfox/server/data/{extensions → lib/apache-tomcat/logs}/.keep +0 -0
- data/lib/rubyfox/server/data/lib/{jetty/lib/ext/.donotdelete → apache-tomcat/temp/safeToDelete.tmp} +0 -0
- data/lib/rubyfox/server/data/lib/{jetty/resources → apache-tomcat/work}/.keep +0 -0
- data/lib/rubyfox/server/data/lib/commons-collections-3.2.2.jar +0 -0
- data/lib/rubyfox/server/data/lib/commons-compress-1.19.jar +0 -0
- data/lib/rubyfox/server/data/lib/js/LibApi.js +48 -181
- data/lib/rubyfox/server/data/lib/sfs2x-admin.jar +0 -0
- data/lib/rubyfox/server/data/lib/sfs2x-core.jar +0 -0
- data/lib/rubyfox/server/data/lib/sfs2x-lib.jar +0 -0
- data/lib/rubyfox/server/data/lib/sfs2x-util.jar +0 -0
- data/lib/rubyfox/server/data/lib/sfs2x.jar +0 -0
- data/lib/rubyfox/server/data/sfs2x-service +6 -6
- data/lib/rubyfox/server/data/sfs2x-service.vmoptions +1 -1
- data/lib/rubyfox/server/data/sfs2x.sh +1 -1
- data/lib/rubyfox/server/data/www/BlueBox.war +0 -0
- data/lib/rubyfox/server/data/www/HelloServlet/index.jsp +1 -1
- data/lib/rubyfox/server/data/www/{root → ROOT}/_css_/default.css +0 -0
- data/lib/rubyfox/server/data/www/{root → ROOT}/_css_/reset.css +0 -0
- data/lib/rubyfox/server/data/www/{root → ROOT}/_images_/background_gradient.png +0 -0
- data/lib/rubyfox/server/data/www/{root → ROOT}/_images_/background_logo.png +0 -0
- data/lib/rubyfox/server/data/www/{root → ROOT}/_images_/favicon.png +0 -0
- data/lib/rubyfox/server/data/www/{root → ROOT}/_images_/logo_smartfoxserver.png +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/_changes-to-default-themes_.txt +15 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/bootstrap.min.css +7 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/custom-bootstrap.min.css +1 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/css/all.min.css +5 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-brands-400.eot +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-brands-400.svg +3459 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-brands-400.ttf +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-brands-400.woff +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-brands-400.woff2 +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-regular-400.eot +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-regular-400.svg +803 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-regular-400.ttf +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-regular-400.woff +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-regular-400.woff2 +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-solid-900.eot +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-solid-900.svg +4527 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-solid-900.ttf +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-solid-900.woff +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-solid-900.woff2 +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fonts.css +175 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/jquery.scrolling-tabs.min.css +8 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/kendo.custom-bootstrap-v4.css +15280 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/reset.css +54 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/style.css +1428 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/data/countries.geo.json +178 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/FreeMono.otf +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/FreeMono.ttf +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/FreeMono.woff +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/FreeMono.woff2 +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-300.ttf +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-300.woff +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-300.woff2 +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-300italic.ttf +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-300italic.woff +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-300italic.woff2 +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-600.ttf +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-600.woff +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-600.woff2 +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-600italic.ttf +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-600italic.woff +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-600italic.woff2 +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-700.ttf +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-700.woff +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-700.woff2 +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-700italic.ttf +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-700italic.woff +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-700italic.woff2 +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-800.ttf +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-800.woff +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-800.woff2 +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-800italic.ttf +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-800italic.woff +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-800italic.woff2 +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-italic.ttf +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-italic.woff +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-italic.woff2 +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-regular.ttf +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-regular.woff +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-regular.woff2 +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/roboto-condensed-v16-latin-300.ttf +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/roboto-condensed-v16-latin-300.woff +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/roboto-condensed-v16-latin-300.woff2 +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/roboto-condensed-v16-latin-700.ttf +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/roboto-condensed-v16-latin-700.woff +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/roboto-condensed-v16-latin-700.woff2 +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/analytics-adv/compare.png +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/analytics-adv/demographicsChart.png +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/analytics-adv/demographicsCompare.png +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/analytics-adv/demographicsFilter.png +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/analytics-adv/demographicsMap.png +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/analytics-adv/demographicsTable.png +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/analytics-adv/technologyChart.png +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/analytics-adv/technologyCompare.png +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/analytics-adv/technologyFilter.png +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/analytics-adv/technologyTable.png +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/apple-touch-icon-180x180.png +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/favicon-16x16.png +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/favicon-32x32.png +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/favicon-64x64.png +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/logo.png +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/application.bundle.js +2208 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-0.bundle.js +7662 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-1.bundle.js +929 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-10.bundle.js +766 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-11.bundle.js +71 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-12.bundle.js +1184 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-12~module-13~module-9.bundle.js +2618 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-13.bundle.js +3315 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-3.bundle.js +280 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-4.bundle.js +1122 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-5.bundle.js +2624 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-6.bundle.js +801 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-7.bundle.js +607 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-8.bundle.js +1221 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-9.bundle.js +847 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/vendors~module-0.bundle.js +3240 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/vendors~module-0~module-1~module-13~module-4~module-5~module-7~module-8.bundle.js +17357 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/vendors~module-9.bundle.js +807 -0
- data/lib/rubyfox/server/data/{lib/jetty/webapps → www/ROOT/admin/assets/js/custom-modules}/.keep +0 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/libs/bootstrap.min.js +7 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/libs/jquery-3.3.1.min.js +2 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/libs/jquery.scrolling-tabs.min.js +8 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/libs/js.cookie.min.js +8 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/libs/kendo.all.min.js +136 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/libs/popper.min.js +5 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/libs/sfs2x-api-1.7.15.js +8 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/libs/versions-readme.txt +16 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/index.html +244 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/manifest.json +25 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/modules/analytics.html +328 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/modules/ban-manager.html +160 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/modules/blue-box-monitor.html +37 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/modules/console.html +135 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/modules/dashboard.html +368 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/modules/extension-manager.html +98 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/modules/license-manager.html +117 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/modules/log-viewer.html +194 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/modules/server-configurator.html +55 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/modules/servlet-manager.html +98 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/modules/zone-configurator.html +62 -0
- data/lib/rubyfox/server/data/www/ROOT/admin/modules/zone-monitor.html +346 -0
- data/lib/rubyfox/server/data/www/{root → ROOT}/crossdomain.xml +0 -0
- data/lib/rubyfox/server/data/www/{root → ROOT}/examples/index.html +0 -0
- data/lib/rubyfox/server/data/www/{root → ROOT}/favicon.ico +0 -0
- data/lib/rubyfox/server/data/www/{root → ROOT}/favicon.png +0 -0
- data/lib/rubyfox/server/data/www/{root → ROOT}/index.html +0 -0
- data/lib/rubyfox/server/data/www/host-manager/META-INF/context.xml +24 -0
- data/lib/rubyfox/server/data/www/host-manager/WEB-INF/jsp/401.jsp +71 -0
- data/lib/rubyfox/server/data/www/host-manager/WEB-INF/jsp/403.jsp +90 -0
- data/lib/rubyfox/server/data/www/host-manager/WEB-INF/jsp/404.jsp +62 -0
- data/lib/rubyfox/server/data/www/host-manager/WEB-INF/web.xml +131 -0
- data/lib/rubyfox/server/data/www/host-manager/images/asf-logo.svg +226 -0
- data/lib/rubyfox/server/data/www/host-manager/images/tomcat.gif +0 -0
- data/lib/rubyfox/server/data/www/host-manager/index.jsp +18 -0
- data/lib/rubyfox/server/data/www/host-manager/manager.xml +26 -0
- data/lib/rubyfox/server/data/{logs → www/logsBackup}/.keep +0 -0
- data/lib/rubyfox/server/data/www/manager/META-INF/context.xml +24 -0
- data/lib/rubyfox/server/data/www/manager/WEB-INF/jsp/401.jsp +80 -0
- data/lib/rubyfox/server/data/www/manager/WEB-INF/jsp/403.jsp +100 -0
- data/lib/rubyfox/server/data/www/manager/WEB-INF/jsp/404.jsp +63 -0
- data/lib/rubyfox/server/data/www/manager/WEB-INF/jsp/connectorCerts.jsp +92 -0
- data/lib/rubyfox/server/data/www/manager/WEB-INF/jsp/connectorCiphers.jsp +92 -0
- data/lib/rubyfox/server/data/www/manager/WEB-INF/jsp/connectorTrustedCerts.jsp +92 -0
- data/lib/rubyfox/server/data/www/manager/WEB-INF/jsp/sessionDetail.jsp +197 -0
- data/lib/rubyfox/server/data/www/manager/WEB-INF/jsp/sessionsList.jsp +170 -0
- data/lib/rubyfox/server/data/www/manager/WEB-INF/web.xml +195 -0
- data/lib/rubyfox/server/data/www/manager/images/asf-logo.svg +226 -0
- data/lib/rubyfox/server/data/www/manager/images/tomcat.gif +0 -0
- data/lib/rubyfox/server/data/www/manager/index.jsp +18 -0
- data/lib/rubyfox/server/data/www/manager/status.xsd +84 -0
- data/lib/rubyfox/server/data/www/manager/xform.xsl +125 -0
- data/lib/rubyfox/server/version.rb +1 -1
- metadata +257 -333
- data/lib/rubyfox/server/data/config/ExtensionManagerLock.txt +0 -2
- data/lib/rubyfox/server/data/data/bannedusers/users.bin +0 -0
- data/lib/rubyfox/server/data/lib/Lib/reindex$py.class +0 -0
- data/lib/rubyfox/server/data/lib/cachedir/packages/charsets.pkc +0 -0
- data/lib/rubyfox/server/data/lib/cachedir/packages/cldrdata.pkc +0 -0
- data/lib/rubyfox/server/data/lib/cachedir/packages/dnsns.pkc +0 -0
- data/lib/rubyfox/server/data/lib/cachedir/packages/jaccess.pkc +0 -0
- data/lib/rubyfox/server/data/lib/cachedir/packages/javax.mail.glassfish-1.4.1.v201005082020.pkc +0 -0
- data/lib/rubyfox/server/data/lib/cachedir/packages/javax.transaction-api-1.2.pkc +0 -0
- data/lib/rubyfox/server/data/lib/cachedir/packages/jce.pkc +0 -0
- data/lib/rubyfox/server/data/lib/cachedir/packages/jetty-annotations-9.3.11.v20160721.pkc +0 -0
- data/lib/rubyfox/server/data/lib/cachedir/packages/jetty-deploy-9.3.11.v20160721.pkc +0 -0
- data/lib/rubyfox/server/data/lib/cachedir/packages/jetty-http-9.3.11.v20160721.pkc +0 -0
- data/lib/rubyfox/server/data/lib/cachedir/packages/jetty-io-9.3.11.v20160721.pkc +0 -0
- data/lib/rubyfox/server/data/lib/cachedir/packages/jetty-jndi-9.3.11.v20160721.pkc +0 -0
- data/lib/rubyfox/server/data/lib/cachedir/packages/jetty-plus-9.3.11.v20160721.pkc +0 -0
- data/lib/rubyfox/server/data/lib/cachedir/packages/jetty-schemas-3.1.pkc +0 -0
- data/lib/rubyfox/server/data/lib/cachedir/packages/jetty-security-9.3.11.v20160721.pkc +0 -0
- data/lib/rubyfox/server/data/lib/cachedir/packages/jetty-server-9.3.11.v20160721.pkc +0 -0
- data/lib/rubyfox/server/data/lib/cachedir/packages/jetty-servlet-9.3.11.v20160721.pkc +0 -0
- data/lib/rubyfox/server/data/lib/cachedir/packages/jetty-util-9.3.11.v20160721.pkc +0 -0
- data/lib/rubyfox/server/data/lib/cachedir/packages/jetty-webapp-9.3.11.v20160721.pkc +0 -0
- data/lib/rubyfox/server/data/lib/cachedir/packages/jetty-xml-9.3.11.v20160721.pkc +0 -0
- data/lib/rubyfox/server/data/lib/cachedir/packages/jfr.pkc +0 -0
- data/lib/rubyfox/server/data/lib/cachedir/packages/jfxrt.pkc +0 -0
- data/lib/rubyfox/server/data/lib/cachedir/packages/jsse.pkc +0 -0
- data/lib/rubyfox/server/data/lib/cachedir/packages/localedata.pkc +0 -0
- data/lib/rubyfox/server/data/lib/cachedir/packages/nashorn.pkc +0 -0
- data/lib/rubyfox/server/data/lib/cachedir/packages/packages.idx +0 -0
- data/lib/rubyfox/server/data/lib/cachedir/packages/resources.pkc +0 -0
- data/lib/rubyfox/server/data/lib/cachedir/packages/rt.pkc +0 -0
- data/lib/rubyfox/server/data/lib/cachedir/packages/servlet-api-3.1.pkc +0 -0
- data/lib/rubyfox/server/data/lib/cachedir/packages/sunec.pkc +0 -0
- data/lib/rubyfox/server/data/lib/cachedir/packages/sunjce_provider.pkc +0 -0
- data/lib/rubyfox/server/data/lib/cachedir/packages/sunpkcs11.pkc +0 -0
- data/lib/rubyfox/server/data/lib/cachedir/packages/zipfs.pkc +0 -0
- data/lib/rubyfox/server/data/lib/jetty/VERSION.txt +0 -9320
- data/lib/rubyfox/server/data/lib/jetty/etc/README.spnego +0 -62
- data/lib/rubyfox/server/data/lib/jetty/etc/jamon.xml +0 -32
- data/lib/rubyfox/server/data/lib/jetty/etc/jdbcRealm.properties +0 -72
- data/lib/rubyfox/server/data/lib/jetty/etc/jetty-alpn.xml +0 -32
- data/lib/rubyfox/server/data/lib/jetty/etc/jetty-annotations.xml +0 -20
- data/lib/rubyfox/server/data/lib/jetty/etc/jetty-cdi.xml +0 -19
- data/lib/rubyfox/server/data/lib/jetty/etc/jetty-debug.xml +0 -36
- data/lib/rubyfox/server/data/lib/jetty/etc/jetty-debuglog.xml +0 -25
- data/lib/rubyfox/server/data/lib/jetty/etc/jetty-deploy.xml +0 -76
- data/lib/rubyfox/server/data/lib/jetty/etc/jetty-gcloud-memcached-sessions.xml +0 -27
- data/lib/rubyfox/server/data/lib/jetty/etc/jetty-gcloud-session-idmgr.xml +0 -19
- data/lib/rubyfox/server/data/lib/jetty/etc/jetty-gcloud-sessions.xml +0 -27
- data/lib/rubyfox/server/data/lib/jetty/etc/jetty-gzip.xml +0 -67
- data/lib/rubyfox/server/data/lib/jetty/etc/jetty-http-forwarded.xml +0 -17
- data/lib/rubyfox/server/data/lib/jetty/etc/jetty-http.xml +0 -47
- data/lib/rubyfox/server/data/lib/jetty/etc/jetty-http2.xml +0 -26
- data/lib/rubyfox/server/data/lib/jetty/etc/jetty-http2c.xml +0 -18
- data/lib/rubyfox/server/data/lib/jetty/etc/jetty-https.xml +0 -29
- data/lib/rubyfox/server/data/lib/jetty/etc/jetty-infinispan.xml +0 -39
- data/lib/rubyfox/server/data/lib/jetty/etc/jetty-ipaccess.xml +0 -28
- data/lib/rubyfox/server/data/lib/jetty/etc/jetty-jaas.xml +0 -16
- data/lib/rubyfox/server/data/lib/jetty/etc/jetty-jdbc-sessions.xml +0 -34
- data/lib/rubyfox/server/data/lib/jetty/etc/jetty-jmx-remote.xml +0 -40
- data/lib/rubyfox/server/data/lib/jetty/etc/jetty-jmx.xml +0 -32
- data/lib/rubyfox/server/data/lib/jetty/etc/jetty-logging.xml +0 -36
- data/lib/rubyfox/server/data/lib/jetty/etc/jetty-lowresources.xml +0 -22
- data/lib/rubyfox/server/data/lib/jetty/etc/jetty-monitor.xml +0 -30
- data/lib/rubyfox/server/data/lib/jetty/etc/jetty-nosql.xml +0 -19
- data/lib/rubyfox/server/data/lib/jetty/etc/jetty-plus.xml +0 -26
- data/lib/rubyfox/server/data/lib/jetty/etc/jetty-proxy-protocol-ssl.xml +0 -10
- data/lib/rubyfox/server/data/lib/jetty/etc/jetty-proxy-protocol.xml +0 -10
- data/lib/rubyfox/server/data/lib/jetty/etc/jetty-proxy.xml +0 -35
- data/lib/rubyfox/server/data/lib/jetty/etc/jetty-requestlog.xml +0 -30
- data/lib/rubyfox/server/data/lib/jetty/etc/jetty-rewrite-customizer.xml +0 -17
- data/lib/rubyfox/server/data/lib/jetty/etc/jetty-rewrite.xml +0 -31
- data/lib/rubyfox/server/data/lib/jetty/etc/jetty-setuid.xml +0 -30
- data/lib/rubyfox/server/data/lib/jetty/etc/jetty-spring.xml +0 -61
- data/lib/rubyfox/server/data/lib/jetty/etc/jetty-ssl-context.xml +0 -29
- data/lib/rubyfox/server/data/lib/jetty/etc/jetty-ssl.xml +0 -58
- data/lib/rubyfox/server/data/lib/jetty/etc/jetty-started.xml +0 -15
- data/lib/rubyfox/server/data/lib/jetty/etc/jetty-stats.xml +0 -18
- data/lib/rubyfox/server/data/lib/jetty/etc/jetty.conf +0 -12
- data/lib/rubyfox/server/data/lib/jetty/etc/jetty.xml +0 -195
- data/lib/rubyfox/server/data/lib/jetty/etc/jminix.xml +0 -12
- data/lib/rubyfox/server/data/lib/jetty/etc/jolokia.xml +0 -16
- data/lib/rubyfox/server/data/lib/jetty/etc/keystore +0 -0
- data/lib/rubyfox/server/data/lib/jetty/etc/krb5.ini +0 -23
- data/lib/rubyfox/server/data/lib/jetty/etc/rewrite-compactpath.xml +0 -10
- data/lib/rubyfox/server/data/lib/jetty/etc/spnego.conf +0 -19
- data/lib/rubyfox/server/data/lib/jetty/etc/spnego.properties +0 -1
- data/lib/rubyfox/server/data/lib/jetty/etc/webdefault.xml +0 -539
- data/lib/rubyfox/server/data/lib/jetty/lib/asm-5.0.1.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/asm-commons-5.0.1.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/fcgi/fcgi-client-9.3.11.v20160721.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/fcgi/fcgi-server-9.3.11.v20160721.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/http2-common-9.3.11.v20160721.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/http2-hpack-9.3.11.v20160721.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/http2-server-9.3.11.v20160721.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/jaspi/javax.security.auth.message-1.0.0.v201108011116.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/javax-websocket-client-impl-9.3.11.v20160721.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/javax-websocket-server-impl-9.3.11.v20160721.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/javax.annotation-api-1.2.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/javax.websocket-api-1.0.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/jetty-alpn-server-9.3.11.v20160721.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/jetty-annotations-9.3.11.v20160721.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/jetty-client-9.3.11.v20160721.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/jetty-continuation-9.3.11.v20160721.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/jetty-deploy-9.3.11.v20160721.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/jetty-gcloud-memcached-session-manager-9.3.11.v20160721.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/jetty-gcloud-session-manager-9.3.11.v20160721.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/jetty-http-9.3.11.v20160721.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/jetty-infinispan-9.3.11.v20160721.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/jetty-io-9.3.11.v20160721.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/jetty-jaas-9.3.11.v20160721.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/jetty-jaspi-9.3.11.v20160721.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/jetty-jmx-9.3.11.v20160721.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/jetty-jndi-9.3.11.v20160721.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/jetty-nosql-9.3.11.v20160721.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/jetty-plus-9.3.11.v20160721.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/jetty-proxy-9.3.11.v20160721.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/jetty-quickstart-9.3.11.v20160721.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/jetty-rewrite-9.3.11.v20160721.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/jetty-schemas-3.1.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/jetty-security-9.3.11.v20160721.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/jetty-server-9.3.11.v20160721.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/jetty-servlet-9.3.11.v20160721.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/jetty-servlets-9.3.11.v20160721.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/jetty-util-9.3.11.v20160721.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/jetty-webapp-9.3.11.v20160721.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/jetty-xml-9.3.11.v20160721.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/jndi/javax.mail.glassfish-1.4.1.v201005082020.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/jndi/javax.transaction-api-1.2.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/monitor/jetty-monitor-9.3.11.v20160721.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/org.apache.taglibs.taglibs-standard-impl-1.2.5.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/org.apache.taglibs.taglibs-standard-spec-1.2.5.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/org.eclipse.jdt.core.compiler.ecj-4.4.2.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/org.eclipse.jetty.apache-jsp-9.3.11.v20160721.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/org.mortbay.jasper.apache-el-8.0.33.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/org.mortbay.jasper.apache-jsp-8.0.33.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/servlet-api-3.1.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/setuid/jetty-setuid-java-1.0.3.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/setuid/libsetuid-linux.so +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/setuid/libsetuid-osx.so +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/spring/jetty-spring-9.3.11.v20160721.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/start.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/websocket-api-9.3.11.v20160721.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/websocket-client-9.3.11.v20160721.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/websocket-common-9.3.11.v20160721.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/websocket-server-9.3.11.v20160721.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/lib/websocket-servlet-9.3.11.v20160721.jar +0 -0
- data/lib/rubyfox/server/data/lib/jetty/license-eplv10-aslv20.html +0 -576
- data/lib/rubyfox/server/data/lib/jetty/modules/.donotdelete +0 -0
- data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0.mod +0 -8
- data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_05.mod +0 -8
- data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_101.mod +0 -8
- data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_102.mod +0 -8
- data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_11.mod +0 -8
- data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_20.mod +0 -8
- data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_25.mod +0 -8
- data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_31.mod +0 -8
- data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_40.mod +0 -8
- data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_45.mod +0 -8
- data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_51.mod +0 -8
- data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_60.mod +0 -8
- data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_65.mod +0 -8
- data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_66.mod +0 -8
- data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_71.mod +0 -8
- data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_72.mod +0 -8
- data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_73.mod +0 -8
- data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_74.mod +0 -8
- data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_77.mod +0 -8
- data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_91.mod +0 -8
- data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_92.mod +0 -8
- data/lib/rubyfox/server/data/lib/jetty/modules/alpn.mod +0 -53
- data/lib/rubyfox/server/data/lib/jetty/modules/annotations.mod +0 -17
- data/lib/rubyfox/server/data/lib/jetty/modules/apache-jsp.mod +0 -10
- data/lib/rubyfox/server/data/lib/jetty/modules/apache-jstl.mod +0 -9
- data/lib/rubyfox/server/data/lib/jetty/modules/cdi.mod +0 -39
- data/lib/rubyfox/server/data/lib/jetty/modules/client.mod +0 -6
- data/lib/rubyfox/server/data/lib/jetty/modules/continuation.mod +0 -6
- data/lib/rubyfox/server/data/lib/jetty/modules/debug.mod +0 -29
- data/lib/rubyfox/server/data/lib/jetty/modules/debuglog.mod +0 -25
- data/lib/rubyfox/server/data/lib/jetty/modules/deploy.mod +0 -31
- data/lib/rubyfox/server/data/lib/jetty/modules/ext.mod +0 -11
- data/lib/rubyfox/server/data/lib/jetty/modules/fcgi.mod +0 -15
- data/lib/rubyfox/server/data/lib/jetty/modules/gcloud-memcached-sessions.mod +0 -26
- data/lib/rubyfox/server/data/lib/jetty/modules/gcloud-session-idmgr.mod +0 -63
- data/lib/rubyfox/server/data/lib/jetty/modules/gcloud-sessions.mod +0 -11
- data/lib/rubyfox/server/data/lib/jetty/modules/gzip.mod +0 -23
- data/lib/rubyfox/server/data/lib/jetty/modules/hawtio.mod +0 -28
- data/lib/rubyfox/server/data/lib/jetty/modules/home-base-warning.mod +0 -7
- data/lib/rubyfox/server/data/lib/jetty/modules/http-forwarded.mod +0 -20
- data/lib/rubyfox/server/data/lib/jetty/modules/http.mod +0 -39
- data/lib/rubyfox/server/data/lib/jetty/modules/http2.mod +0 -20
- data/lib/rubyfox/server/data/lib/jetty/modules/http2c.mod +0 -22
- data/lib/rubyfox/server/data/lib/jetty/modules/https.mod +0 -14
- data/lib/rubyfox/server/data/lib/jetty/modules/infinispan.mod +0 -33
- data/lib/rubyfox/server/data/lib/jetty/modules/ipaccess.mod +0 -9
- data/lib/rubyfox/server/data/lib/jetty/modules/jaas.mod +0 -17
- data/lib/rubyfox/server/data/lib/jetty/modules/jamon.mod +0 -31
- data/lib/rubyfox/server/data/lib/jetty/modules/jaspi.mod +0 -10
- data/lib/rubyfox/server/data/lib/jetty/modules/jdbc-sessions.mod +0 -27
- data/lib/rubyfox/server/data/lib/jetty/modules/jminix.mod +0 -41
- data/lib/rubyfox/server/data/lib/jetty/modules/jmx-remote.mod +0 -16
- data/lib/rubyfox/server/data/lib/jetty/modules/jmx.mod +0 -13
- data/lib/rubyfox/server/data/lib/jetty/modules/jndi.mod +0 -11
- data/lib/rubyfox/server/data/lib/jetty/modules/jolokia.mod +0 -19
- data/lib/rubyfox/server/data/lib/jetty/modules/jsp.mod +0 -9
- data/lib/rubyfox/server/data/lib/jetty/modules/jstl.mod +0 -8
- data/lib/rubyfox/server/data/lib/jetty/modules/jvm.mod +0 -22
- data/lib/rubyfox/server/data/lib/jetty/modules/logging.mod +0 -36
- data/lib/rubyfox/server/data/lib/jetty/modules/lowresources.mod +0 -28
- data/lib/rubyfox/server/data/lib/jetty/modules/monitor.mod +0 -13
- data/lib/rubyfox/server/data/lib/jetty/modules/nosql.mod +0 -31
- data/lib/rubyfox/server/data/lib/jetty/modules/plus.mod +0 -15
- data/lib/rubyfox/server/data/lib/jetty/modules/proxy-protocol-ssl.mod +0 -9
- data/lib/rubyfox/server/data/lib/jetty/modules/proxy-protocol.mod +0 -9
- data/lib/rubyfox/server/data/lib/jetty/modules/proxy.mod +0 -22
- data/lib/rubyfox/server/data/lib/jetty/modules/quickstart.mod +0 -11
- data/lib/rubyfox/server/data/lib/jetty/modules/requestlog.mod +0 -40
- data/lib/rubyfox/server/data/lib/jetty/modules/resources.mod +0 -10
- data/lib/rubyfox/server/data/lib/jetty/modules/rewrite-compactpath.mod +0 -10
- data/lib/rubyfox/server/data/lib/jetty/modules/rewrite-customizer.mod +0 -24
- data/lib/rubyfox/server/data/lib/jetty/modules/rewrite.mod +0 -23
- data/lib/rubyfox/server/data/lib/jetty/modules/security.mod +0 -9
- data/lib/rubyfox/server/data/lib/jetty/modules/server.mod +0 -79
- data/lib/rubyfox/server/data/lib/jetty/modules/servlet.mod +0 -9
- data/lib/rubyfox/server/data/lib/jetty/modules/servlets.mod +0 -11
- data/lib/rubyfox/server/data/lib/jetty/modules/setuid.mod +0 -19
- data/lib/rubyfox/server/data/lib/jetty/modules/spring.mod +0 -17
- data/lib/rubyfox/server/data/lib/jetty/modules/ssl.mod +0 -97
- data/lib/rubyfox/server/data/lib/jetty/modules/stats.mod +0 -9
- data/lib/rubyfox/server/data/lib/jetty/modules/webapp.mod +0 -10
- data/lib/rubyfox/server/data/lib/jetty/modules/websocket.mod +0 -12
- data/lib/rubyfox/server/data/lib/jetty/notice.html +0 -111
- data/lib/rubyfox/server/data/lib/jetty/start.d/README.TXT +0 -24
- data/lib/rubyfox/server/data/lib/jetty/start.d/http.ini +0 -7
- data/lib/rubyfox/server/data/lib/jetty/start.d/https.ini +0 -10
- data/lib/rubyfox/server/data/lib/jetty/start.d/ssl.ini +0 -19
- data/lib/rubyfox/server/data/lib/jetty/start.ini +0 -83
- data/lib/rubyfox/server/data/www/.keep +0 -0
- data/lib/rubyfox/server/data/www/HelloServlet/META-INF/context.xml +0 -2
- data/lib/rubyfox/server/data/www/PyServletExample/MyModule$py.class +0 -0
- data/lib/rubyfox/server/data/www/PyServletExample/MyModule.py +0 -5
- data/lib/rubyfox/server/data/www/PyServletExample/WEB-INF/web.xml +0 -37
- data/lib/rubyfox/server/data/www/PyServletExample/errors/404.htm +0 -20
- data/lib/rubyfox/server/data/www/PyServletExample/index.py +0 -42
- data/lib/rubyfox/server/data/www/root/admin/.keep +0 -0
- data/lib/rubyfox/server/data/www/root/admin/AdminTool.swf +0 -0
- data/lib/rubyfox/server/data/www/root/admin/ReleaseNotes.txt +0 -192
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/adobeFlashPlayer.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/advanced.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/analytics.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/banManager.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/bannedIPs.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/bannedUsernames.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/bookmarks.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/bootLog.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/buddyList.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/buddyProperties.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/connection.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/databaseManager.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/floodFilter.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/gameSettings.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/general.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/globalServerStatus.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/hTML5WebSockets.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/iPDiscovery.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/iPFilter.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/jVMSettings.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/logsDownload.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/mMOSettings.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/mailer.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/permissionsAndEvents.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/privilegeManager.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/remoteAdmin.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/roomExtension.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/roomVariables.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/roomsAndGroups.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/runtimeLog.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/runtimeRoomSettings.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/runtimeUserSettings.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/runtimeZoneSettings.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/statsApplication.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/statsDemographics.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/statsExceptions.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/statsOverview.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/statsTechnology.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/systemQueueStatus.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/threadPools.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/userManagement.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/userVariables.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/webServer.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/wordsFilter.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/zoneExtension.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/zoneTraffic.png +0 -0
- data/lib/rubyfox/server/data/www/root/admin/expressInstall.swf +0 -0
- data/lib/rubyfox/server/data/www/root/admin/index.html +0 -124
- data/lib/rubyfox/server/data/www/root/admin/modules/Analytics.swf +0 -0
- data/lib/rubyfox/server/data/www/root/admin/modules/BanManager.swf +0 -0
- data/lib/rubyfox/server/data/www/root/admin/modules/BlueBoxMonitor.swf +0 -0
- data/lib/rubyfox/server/data/www/root/admin/modules/Console.swf +0 -0
- data/lib/rubyfox/server/data/www/root/admin/modules/Dashboard.swf +0 -0
- data/lib/rubyfox/server/data/www/root/admin/modules/ExtensionManager.swf +0 -0
- data/lib/rubyfox/server/data/www/root/admin/modules/LicenseManager.swf +0 -0
- data/lib/rubyfox/server/data/www/root/admin/modules/LogViewer.swf +0 -0
- data/lib/rubyfox/server/data/www/root/admin/modules/ServerConfigurator.swf +0 -0
- data/lib/rubyfox/server/data/www/root/admin/modules/ZoneConfigurator.swf +0 -0
- data/lib/rubyfox/server/data/www/root/admin/modules/ZoneMonitor.swf +0 -0
- data/lib/rubyfox/server/data/www/root/admin/swfobject.js +0 -4
- data/lib/rubyfox/server/data/www/root/examples/.keep +0 -0
- data/lib/rubyfox/server/data/www/sfs2x-ws.war +0 -0
- data/lib/rubyfox/server/data/www/sfs2x-ws.xml +0 -30
- data/lib/rubyfox/server/data/zones/BasicExamples.zone.xml +0 -147
@@ -0,0 +1,2624 @@
|
|
1
|
+
/*! (c) gotoAndPlay | All rights reserved */
|
2
|
+
(window["webpackJsonpapplication"] = window["webpackJsonpapplication"] || []).push([["module-5"],{
|
3
|
+
|
4
|
+
/***/ "./node_modules/moment/locale sync recursive ^\\.\\/.*$":
|
5
|
+
/*!**************************************************!*\
|
6
|
+
!*** ./node_modules/moment/locale sync ^\.\/.*$ ***!
|
7
|
+
\**************************************************/
|
8
|
+
/*! no static exports found */
|
9
|
+
/***/ (function(module, exports, __webpack_require__) {
|
10
|
+
|
11
|
+
var map = {
|
12
|
+
"./af": "./node_modules/moment/locale/af.js",
|
13
|
+
"./af.js": "./node_modules/moment/locale/af.js",
|
14
|
+
"./ar": "./node_modules/moment/locale/ar.js",
|
15
|
+
"./ar-dz": "./node_modules/moment/locale/ar-dz.js",
|
16
|
+
"./ar-dz.js": "./node_modules/moment/locale/ar-dz.js",
|
17
|
+
"./ar-kw": "./node_modules/moment/locale/ar-kw.js",
|
18
|
+
"./ar-kw.js": "./node_modules/moment/locale/ar-kw.js",
|
19
|
+
"./ar-ly": "./node_modules/moment/locale/ar-ly.js",
|
20
|
+
"./ar-ly.js": "./node_modules/moment/locale/ar-ly.js",
|
21
|
+
"./ar-ma": "./node_modules/moment/locale/ar-ma.js",
|
22
|
+
"./ar-ma.js": "./node_modules/moment/locale/ar-ma.js",
|
23
|
+
"./ar-sa": "./node_modules/moment/locale/ar-sa.js",
|
24
|
+
"./ar-sa.js": "./node_modules/moment/locale/ar-sa.js",
|
25
|
+
"./ar-tn": "./node_modules/moment/locale/ar-tn.js",
|
26
|
+
"./ar-tn.js": "./node_modules/moment/locale/ar-tn.js",
|
27
|
+
"./ar.js": "./node_modules/moment/locale/ar.js",
|
28
|
+
"./az": "./node_modules/moment/locale/az.js",
|
29
|
+
"./az.js": "./node_modules/moment/locale/az.js",
|
30
|
+
"./be": "./node_modules/moment/locale/be.js",
|
31
|
+
"./be.js": "./node_modules/moment/locale/be.js",
|
32
|
+
"./bg": "./node_modules/moment/locale/bg.js",
|
33
|
+
"./bg.js": "./node_modules/moment/locale/bg.js",
|
34
|
+
"./bm": "./node_modules/moment/locale/bm.js",
|
35
|
+
"./bm.js": "./node_modules/moment/locale/bm.js",
|
36
|
+
"./bn": "./node_modules/moment/locale/bn.js",
|
37
|
+
"./bn.js": "./node_modules/moment/locale/bn.js",
|
38
|
+
"./bo": "./node_modules/moment/locale/bo.js",
|
39
|
+
"./bo.js": "./node_modules/moment/locale/bo.js",
|
40
|
+
"./br": "./node_modules/moment/locale/br.js",
|
41
|
+
"./br.js": "./node_modules/moment/locale/br.js",
|
42
|
+
"./bs": "./node_modules/moment/locale/bs.js",
|
43
|
+
"./bs.js": "./node_modules/moment/locale/bs.js",
|
44
|
+
"./ca": "./node_modules/moment/locale/ca.js",
|
45
|
+
"./ca.js": "./node_modules/moment/locale/ca.js",
|
46
|
+
"./cs": "./node_modules/moment/locale/cs.js",
|
47
|
+
"./cs.js": "./node_modules/moment/locale/cs.js",
|
48
|
+
"./cv": "./node_modules/moment/locale/cv.js",
|
49
|
+
"./cv.js": "./node_modules/moment/locale/cv.js",
|
50
|
+
"./cy": "./node_modules/moment/locale/cy.js",
|
51
|
+
"./cy.js": "./node_modules/moment/locale/cy.js",
|
52
|
+
"./da": "./node_modules/moment/locale/da.js",
|
53
|
+
"./da.js": "./node_modules/moment/locale/da.js",
|
54
|
+
"./de": "./node_modules/moment/locale/de.js",
|
55
|
+
"./de-at": "./node_modules/moment/locale/de-at.js",
|
56
|
+
"./de-at.js": "./node_modules/moment/locale/de-at.js",
|
57
|
+
"./de-ch": "./node_modules/moment/locale/de-ch.js",
|
58
|
+
"./de-ch.js": "./node_modules/moment/locale/de-ch.js",
|
59
|
+
"./de.js": "./node_modules/moment/locale/de.js",
|
60
|
+
"./dv": "./node_modules/moment/locale/dv.js",
|
61
|
+
"./dv.js": "./node_modules/moment/locale/dv.js",
|
62
|
+
"./el": "./node_modules/moment/locale/el.js",
|
63
|
+
"./el.js": "./node_modules/moment/locale/el.js",
|
64
|
+
"./en-SG": "./node_modules/moment/locale/en-SG.js",
|
65
|
+
"./en-SG.js": "./node_modules/moment/locale/en-SG.js",
|
66
|
+
"./en-au": "./node_modules/moment/locale/en-au.js",
|
67
|
+
"./en-au.js": "./node_modules/moment/locale/en-au.js",
|
68
|
+
"./en-ca": "./node_modules/moment/locale/en-ca.js",
|
69
|
+
"./en-ca.js": "./node_modules/moment/locale/en-ca.js",
|
70
|
+
"./en-gb": "./node_modules/moment/locale/en-gb.js",
|
71
|
+
"./en-gb.js": "./node_modules/moment/locale/en-gb.js",
|
72
|
+
"./en-ie": "./node_modules/moment/locale/en-ie.js",
|
73
|
+
"./en-ie.js": "./node_modules/moment/locale/en-ie.js",
|
74
|
+
"./en-il": "./node_modules/moment/locale/en-il.js",
|
75
|
+
"./en-il.js": "./node_modules/moment/locale/en-il.js",
|
76
|
+
"./en-nz": "./node_modules/moment/locale/en-nz.js",
|
77
|
+
"./en-nz.js": "./node_modules/moment/locale/en-nz.js",
|
78
|
+
"./eo": "./node_modules/moment/locale/eo.js",
|
79
|
+
"./eo.js": "./node_modules/moment/locale/eo.js",
|
80
|
+
"./es": "./node_modules/moment/locale/es.js",
|
81
|
+
"./es-do": "./node_modules/moment/locale/es-do.js",
|
82
|
+
"./es-do.js": "./node_modules/moment/locale/es-do.js",
|
83
|
+
"./es-us": "./node_modules/moment/locale/es-us.js",
|
84
|
+
"./es-us.js": "./node_modules/moment/locale/es-us.js",
|
85
|
+
"./es.js": "./node_modules/moment/locale/es.js",
|
86
|
+
"./et": "./node_modules/moment/locale/et.js",
|
87
|
+
"./et.js": "./node_modules/moment/locale/et.js",
|
88
|
+
"./eu": "./node_modules/moment/locale/eu.js",
|
89
|
+
"./eu.js": "./node_modules/moment/locale/eu.js",
|
90
|
+
"./fa": "./node_modules/moment/locale/fa.js",
|
91
|
+
"./fa.js": "./node_modules/moment/locale/fa.js",
|
92
|
+
"./fi": "./node_modules/moment/locale/fi.js",
|
93
|
+
"./fi.js": "./node_modules/moment/locale/fi.js",
|
94
|
+
"./fo": "./node_modules/moment/locale/fo.js",
|
95
|
+
"./fo.js": "./node_modules/moment/locale/fo.js",
|
96
|
+
"./fr": "./node_modules/moment/locale/fr.js",
|
97
|
+
"./fr-ca": "./node_modules/moment/locale/fr-ca.js",
|
98
|
+
"./fr-ca.js": "./node_modules/moment/locale/fr-ca.js",
|
99
|
+
"./fr-ch": "./node_modules/moment/locale/fr-ch.js",
|
100
|
+
"./fr-ch.js": "./node_modules/moment/locale/fr-ch.js",
|
101
|
+
"./fr.js": "./node_modules/moment/locale/fr.js",
|
102
|
+
"./fy": "./node_modules/moment/locale/fy.js",
|
103
|
+
"./fy.js": "./node_modules/moment/locale/fy.js",
|
104
|
+
"./ga": "./node_modules/moment/locale/ga.js",
|
105
|
+
"./ga.js": "./node_modules/moment/locale/ga.js",
|
106
|
+
"./gd": "./node_modules/moment/locale/gd.js",
|
107
|
+
"./gd.js": "./node_modules/moment/locale/gd.js",
|
108
|
+
"./gl": "./node_modules/moment/locale/gl.js",
|
109
|
+
"./gl.js": "./node_modules/moment/locale/gl.js",
|
110
|
+
"./gom-latn": "./node_modules/moment/locale/gom-latn.js",
|
111
|
+
"./gom-latn.js": "./node_modules/moment/locale/gom-latn.js",
|
112
|
+
"./gu": "./node_modules/moment/locale/gu.js",
|
113
|
+
"./gu.js": "./node_modules/moment/locale/gu.js",
|
114
|
+
"./he": "./node_modules/moment/locale/he.js",
|
115
|
+
"./he.js": "./node_modules/moment/locale/he.js",
|
116
|
+
"./hi": "./node_modules/moment/locale/hi.js",
|
117
|
+
"./hi.js": "./node_modules/moment/locale/hi.js",
|
118
|
+
"./hr": "./node_modules/moment/locale/hr.js",
|
119
|
+
"./hr.js": "./node_modules/moment/locale/hr.js",
|
120
|
+
"./hu": "./node_modules/moment/locale/hu.js",
|
121
|
+
"./hu.js": "./node_modules/moment/locale/hu.js",
|
122
|
+
"./hy-am": "./node_modules/moment/locale/hy-am.js",
|
123
|
+
"./hy-am.js": "./node_modules/moment/locale/hy-am.js",
|
124
|
+
"./id": "./node_modules/moment/locale/id.js",
|
125
|
+
"./id.js": "./node_modules/moment/locale/id.js",
|
126
|
+
"./is": "./node_modules/moment/locale/is.js",
|
127
|
+
"./is.js": "./node_modules/moment/locale/is.js",
|
128
|
+
"./it": "./node_modules/moment/locale/it.js",
|
129
|
+
"./it-ch": "./node_modules/moment/locale/it-ch.js",
|
130
|
+
"./it-ch.js": "./node_modules/moment/locale/it-ch.js",
|
131
|
+
"./it.js": "./node_modules/moment/locale/it.js",
|
132
|
+
"./ja": "./node_modules/moment/locale/ja.js",
|
133
|
+
"./ja.js": "./node_modules/moment/locale/ja.js",
|
134
|
+
"./jv": "./node_modules/moment/locale/jv.js",
|
135
|
+
"./jv.js": "./node_modules/moment/locale/jv.js",
|
136
|
+
"./ka": "./node_modules/moment/locale/ka.js",
|
137
|
+
"./ka.js": "./node_modules/moment/locale/ka.js",
|
138
|
+
"./kk": "./node_modules/moment/locale/kk.js",
|
139
|
+
"./kk.js": "./node_modules/moment/locale/kk.js",
|
140
|
+
"./km": "./node_modules/moment/locale/km.js",
|
141
|
+
"./km.js": "./node_modules/moment/locale/km.js",
|
142
|
+
"./kn": "./node_modules/moment/locale/kn.js",
|
143
|
+
"./kn.js": "./node_modules/moment/locale/kn.js",
|
144
|
+
"./ko": "./node_modules/moment/locale/ko.js",
|
145
|
+
"./ko.js": "./node_modules/moment/locale/ko.js",
|
146
|
+
"./ku": "./node_modules/moment/locale/ku.js",
|
147
|
+
"./ku.js": "./node_modules/moment/locale/ku.js",
|
148
|
+
"./ky": "./node_modules/moment/locale/ky.js",
|
149
|
+
"./ky.js": "./node_modules/moment/locale/ky.js",
|
150
|
+
"./lb": "./node_modules/moment/locale/lb.js",
|
151
|
+
"./lb.js": "./node_modules/moment/locale/lb.js",
|
152
|
+
"./lo": "./node_modules/moment/locale/lo.js",
|
153
|
+
"./lo.js": "./node_modules/moment/locale/lo.js",
|
154
|
+
"./lt": "./node_modules/moment/locale/lt.js",
|
155
|
+
"./lt.js": "./node_modules/moment/locale/lt.js",
|
156
|
+
"./lv": "./node_modules/moment/locale/lv.js",
|
157
|
+
"./lv.js": "./node_modules/moment/locale/lv.js",
|
158
|
+
"./me": "./node_modules/moment/locale/me.js",
|
159
|
+
"./me.js": "./node_modules/moment/locale/me.js",
|
160
|
+
"./mi": "./node_modules/moment/locale/mi.js",
|
161
|
+
"./mi.js": "./node_modules/moment/locale/mi.js",
|
162
|
+
"./mk": "./node_modules/moment/locale/mk.js",
|
163
|
+
"./mk.js": "./node_modules/moment/locale/mk.js",
|
164
|
+
"./ml": "./node_modules/moment/locale/ml.js",
|
165
|
+
"./ml.js": "./node_modules/moment/locale/ml.js",
|
166
|
+
"./mn": "./node_modules/moment/locale/mn.js",
|
167
|
+
"./mn.js": "./node_modules/moment/locale/mn.js",
|
168
|
+
"./mr": "./node_modules/moment/locale/mr.js",
|
169
|
+
"./mr.js": "./node_modules/moment/locale/mr.js",
|
170
|
+
"./ms": "./node_modules/moment/locale/ms.js",
|
171
|
+
"./ms-my": "./node_modules/moment/locale/ms-my.js",
|
172
|
+
"./ms-my.js": "./node_modules/moment/locale/ms-my.js",
|
173
|
+
"./ms.js": "./node_modules/moment/locale/ms.js",
|
174
|
+
"./mt": "./node_modules/moment/locale/mt.js",
|
175
|
+
"./mt.js": "./node_modules/moment/locale/mt.js",
|
176
|
+
"./my": "./node_modules/moment/locale/my.js",
|
177
|
+
"./my.js": "./node_modules/moment/locale/my.js",
|
178
|
+
"./nb": "./node_modules/moment/locale/nb.js",
|
179
|
+
"./nb.js": "./node_modules/moment/locale/nb.js",
|
180
|
+
"./ne": "./node_modules/moment/locale/ne.js",
|
181
|
+
"./ne.js": "./node_modules/moment/locale/ne.js",
|
182
|
+
"./nl": "./node_modules/moment/locale/nl.js",
|
183
|
+
"./nl-be": "./node_modules/moment/locale/nl-be.js",
|
184
|
+
"./nl-be.js": "./node_modules/moment/locale/nl-be.js",
|
185
|
+
"./nl.js": "./node_modules/moment/locale/nl.js",
|
186
|
+
"./nn": "./node_modules/moment/locale/nn.js",
|
187
|
+
"./nn.js": "./node_modules/moment/locale/nn.js",
|
188
|
+
"./pa-in": "./node_modules/moment/locale/pa-in.js",
|
189
|
+
"./pa-in.js": "./node_modules/moment/locale/pa-in.js",
|
190
|
+
"./pl": "./node_modules/moment/locale/pl.js",
|
191
|
+
"./pl.js": "./node_modules/moment/locale/pl.js",
|
192
|
+
"./pt": "./node_modules/moment/locale/pt.js",
|
193
|
+
"./pt-br": "./node_modules/moment/locale/pt-br.js",
|
194
|
+
"./pt-br.js": "./node_modules/moment/locale/pt-br.js",
|
195
|
+
"./pt.js": "./node_modules/moment/locale/pt.js",
|
196
|
+
"./ro": "./node_modules/moment/locale/ro.js",
|
197
|
+
"./ro.js": "./node_modules/moment/locale/ro.js",
|
198
|
+
"./ru": "./node_modules/moment/locale/ru.js",
|
199
|
+
"./ru.js": "./node_modules/moment/locale/ru.js",
|
200
|
+
"./sd": "./node_modules/moment/locale/sd.js",
|
201
|
+
"./sd.js": "./node_modules/moment/locale/sd.js",
|
202
|
+
"./se": "./node_modules/moment/locale/se.js",
|
203
|
+
"./se.js": "./node_modules/moment/locale/se.js",
|
204
|
+
"./si": "./node_modules/moment/locale/si.js",
|
205
|
+
"./si.js": "./node_modules/moment/locale/si.js",
|
206
|
+
"./sk": "./node_modules/moment/locale/sk.js",
|
207
|
+
"./sk.js": "./node_modules/moment/locale/sk.js",
|
208
|
+
"./sl": "./node_modules/moment/locale/sl.js",
|
209
|
+
"./sl.js": "./node_modules/moment/locale/sl.js",
|
210
|
+
"./sq": "./node_modules/moment/locale/sq.js",
|
211
|
+
"./sq.js": "./node_modules/moment/locale/sq.js",
|
212
|
+
"./sr": "./node_modules/moment/locale/sr.js",
|
213
|
+
"./sr-cyrl": "./node_modules/moment/locale/sr-cyrl.js",
|
214
|
+
"./sr-cyrl.js": "./node_modules/moment/locale/sr-cyrl.js",
|
215
|
+
"./sr.js": "./node_modules/moment/locale/sr.js",
|
216
|
+
"./ss": "./node_modules/moment/locale/ss.js",
|
217
|
+
"./ss.js": "./node_modules/moment/locale/ss.js",
|
218
|
+
"./sv": "./node_modules/moment/locale/sv.js",
|
219
|
+
"./sv.js": "./node_modules/moment/locale/sv.js",
|
220
|
+
"./sw": "./node_modules/moment/locale/sw.js",
|
221
|
+
"./sw.js": "./node_modules/moment/locale/sw.js",
|
222
|
+
"./ta": "./node_modules/moment/locale/ta.js",
|
223
|
+
"./ta.js": "./node_modules/moment/locale/ta.js",
|
224
|
+
"./te": "./node_modules/moment/locale/te.js",
|
225
|
+
"./te.js": "./node_modules/moment/locale/te.js",
|
226
|
+
"./tet": "./node_modules/moment/locale/tet.js",
|
227
|
+
"./tet.js": "./node_modules/moment/locale/tet.js",
|
228
|
+
"./tg": "./node_modules/moment/locale/tg.js",
|
229
|
+
"./tg.js": "./node_modules/moment/locale/tg.js",
|
230
|
+
"./th": "./node_modules/moment/locale/th.js",
|
231
|
+
"./th.js": "./node_modules/moment/locale/th.js",
|
232
|
+
"./tl-ph": "./node_modules/moment/locale/tl-ph.js",
|
233
|
+
"./tl-ph.js": "./node_modules/moment/locale/tl-ph.js",
|
234
|
+
"./tlh": "./node_modules/moment/locale/tlh.js",
|
235
|
+
"./tlh.js": "./node_modules/moment/locale/tlh.js",
|
236
|
+
"./tr": "./node_modules/moment/locale/tr.js",
|
237
|
+
"./tr.js": "./node_modules/moment/locale/tr.js",
|
238
|
+
"./tzl": "./node_modules/moment/locale/tzl.js",
|
239
|
+
"./tzl.js": "./node_modules/moment/locale/tzl.js",
|
240
|
+
"./tzm": "./node_modules/moment/locale/tzm.js",
|
241
|
+
"./tzm-latn": "./node_modules/moment/locale/tzm-latn.js",
|
242
|
+
"./tzm-latn.js": "./node_modules/moment/locale/tzm-latn.js",
|
243
|
+
"./tzm.js": "./node_modules/moment/locale/tzm.js",
|
244
|
+
"./ug-cn": "./node_modules/moment/locale/ug-cn.js",
|
245
|
+
"./ug-cn.js": "./node_modules/moment/locale/ug-cn.js",
|
246
|
+
"./uk": "./node_modules/moment/locale/uk.js",
|
247
|
+
"./uk.js": "./node_modules/moment/locale/uk.js",
|
248
|
+
"./ur": "./node_modules/moment/locale/ur.js",
|
249
|
+
"./ur.js": "./node_modules/moment/locale/ur.js",
|
250
|
+
"./uz": "./node_modules/moment/locale/uz.js",
|
251
|
+
"./uz-latn": "./node_modules/moment/locale/uz-latn.js",
|
252
|
+
"./uz-latn.js": "./node_modules/moment/locale/uz-latn.js",
|
253
|
+
"./uz.js": "./node_modules/moment/locale/uz.js",
|
254
|
+
"./vi": "./node_modules/moment/locale/vi.js",
|
255
|
+
"./vi.js": "./node_modules/moment/locale/vi.js",
|
256
|
+
"./x-pseudo": "./node_modules/moment/locale/x-pseudo.js",
|
257
|
+
"./x-pseudo.js": "./node_modules/moment/locale/x-pseudo.js",
|
258
|
+
"./yo": "./node_modules/moment/locale/yo.js",
|
259
|
+
"./yo.js": "./node_modules/moment/locale/yo.js",
|
260
|
+
"./zh-cn": "./node_modules/moment/locale/zh-cn.js",
|
261
|
+
"./zh-cn.js": "./node_modules/moment/locale/zh-cn.js",
|
262
|
+
"./zh-hk": "./node_modules/moment/locale/zh-hk.js",
|
263
|
+
"./zh-hk.js": "./node_modules/moment/locale/zh-hk.js",
|
264
|
+
"./zh-tw": "./node_modules/moment/locale/zh-tw.js",
|
265
|
+
"./zh-tw.js": "./node_modules/moment/locale/zh-tw.js"
|
266
|
+
};
|
267
|
+
|
268
|
+
|
269
|
+
function webpackContext(req) {
|
270
|
+
var id = webpackContextResolve(req);
|
271
|
+
return __webpack_require__(id);
|
272
|
+
}
|
273
|
+
function webpackContextResolve(req) {
|
274
|
+
if(!__webpack_require__.o(map, req)) {
|
275
|
+
var e = new Error("Cannot find module '" + req + "'");
|
276
|
+
e.code = 'MODULE_NOT_FOUND';
|
277
|
+
throw e;
|
278
|
+
}
|
279
|
+
return map[req];
|
280
|
+
}
|
281
|
+
webpackContext.keys = function webpackContextKeys() {
|
282
|
+
return Object.keys(map);
|
283
|
+
};
|
284
|
+
webpackContext.resolve = webpackContextResolve;
|
285
|
+
module.exports = webpackContext;
|
286
|
+
webpackContext.id = "./node_modules/moment/locale sync recursive ^\\.\\/.*$";
|
287
|
+
|
288
|
+
/***/ }),
|
289
|
+
|
290
|
+
/***/ "./src/components/charts/base-chart.js":
|
291
|
+
/*!*********************************************!*\
|
292
|
+
!*** ./src/components/charts/base-chart.js ***!
|
293
|
+
\*********************************************/
|
294
|
+
/*! exports provided: BaseChart */
|
295
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
296
|
+
|
297
|
+
"use strict";
|
298
|
+
__webpack_require__.r(__webpack_exports__);
|
299
|
+
/* WEBPACK VAR INJECTION */(function($) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BaseChart", function() { return BaseChart; });
|
300
|
+
class BaseChart extends HTMLElement
|
301
|
+
{
|
302
|
+
constructor(maxValues)
|
303
|
+
{
|
304
|
+
super();
|
305
|
+
|
306
|
+
this._maxValues = maxValues;
|
307
|
+
|
308
|
+
// Initialize
|
309
|
+
this._initialize();
|
310
|
+
}
|
311
|
+
|
312
|
+
// Can be overridden
|
313
|
+
_initialize()
|
314
|
+
{
|
315
|
+
// Create chart html
|
316
|
+
let chartHtml = $('<div>');
|
317
|
+
$(this).append(chartHtml);
|
318
|
+
|
319
|
+
this._chartWidget = this._initChartWidget(chartHtml);
|
320
|
+
|
321
|
+
// Reset data source
|
322
|
+
this.reset();
|
323
|
+
}
|
324
|
+
|
325
|
+
// MUST BE OVERRIDDEN
|
326
|
+
_initChartWidget()
|
327
|
+
{
|
328
|
+
throw new Error('Chart widget must be initialized!')
|
329
|
+
}
|
330
|
+
|
331
|
+
set paused(value)
|
332
|
+
{
|
333
|
+
this.isPaused = value;
|
334
|
+
this._onPauseChange();
|
335
|
+
}
|
336
|
+
|
337
|
+
get paused()
|
338
|
+
{
|
339
|
+
return this.isPaused;
|
340
|
+
}
|
341
|
+
|
342
|
+
reset()
|
343
|
+
{
|
344
|
+
this._chartWidget.setDataSource([]);
|
345
|
+
}
|
346
|
+
|
347
|
+
redraw()
|
348
|
+
{
|
349
|
+
this._chartWidget.redraw();
|
350
|
+
}
|
351
|
+
|
352
|
+
getLastEntry()
|
353
|
+
{
|
354
|
+
let ds;
|
355
|
+
|
356
|
+
if (this.isPaused)
|
357
|
+
ds = this._tempDS;
|
358
|
+
else
|
359
|
+
ds = this._dataSource;
|
360
|
+
|
361
|
+
if (ds != null && ds.total() > 0)
|
362
|
+
return ds.at(ds.total() - 1);
|
363
|
+
else
|
364
|
+
return null;
|
365
|
+
}
|
366
|
+
|
367
|
+
_addEntry(newEntry)
|
368
|
+
{
|
369
|
+
if (this.isPaused)
|
370
|
+
{
|
371
|
+
if (this._tempDS == null)
|
372
|
+
this._tempDS = new kendo.data.DataSource();
|
373
|
+
|
374
|
+
// Store new value in a temporary array
|
375
|
+
this._tempDS.add(newEntry);
|
376
|
+
}
|
377
|
+
else
|
378
|
+
{
|
379
|
+
let ds = this._dataSource;
|
380
|
+
|
381
|
+
if (this._tempDS != null)
|
382
|
+
{
|
383
|
+
// Concatenate temporary entries to actual data source
|
384
|
+
let newArr = $.merge(ds.data(), this._tempDS.data());
|
385
|
+
|
386
|
+
// Remove values exceeding MAX_VALUES
|
387
|
+
if (newArr.length > this._maxValues)
|
388
|
+
newArr.splice(0, newArr.length - this._maxValues)
|
389
|
+
|
390
|
+
// Create new datasource
|
391
|
+
let newDS = new kendo.data.DataSource({data: newArr})
|
392
|
+
|
393
|
+
// Assign new data source to chart
|
394
|
+
this._chartWidget.setDataSource(newDS);
|
395
|
+
|
396
|
+
// Remove temporary array
|
397
|
+
this._tempDS = null;
|
398
|
+
}
|
399
|
+
|
400
|
+
// Add new entry
|
401
|
+
ds.add(newEntry);
|
402
|
+
|
403
|
+
// Remove first item if needed
|
404
|
+
if (ds.total() > this._maxValues)
|
405
|
+
ds.remove(ds.at(0));
|
406
|
+
}
|
407
|
+
}
|
408
|
+
|
409
|
+
get _dataSource()
|
410
|
+
{
|
411
|
+
return this._chartWidget.dataSource;
|
412
|
+
}
|
413
|
+
|
414
|
+
_onPauseChange()
|
415
|
+
{
|
416
|
+
// Nothing to do, should be overridden
|
417
|
+
}
|
418
|
+
}
|
419
|
+
|
420
|
+
// DEFINE COMPONENT
|
421
|
+
if (!window.customElements.get('base-chart'))
|
422
|
+
window.customElements.define('base-chart', BaseChart);
|
423
|
+
|
424
|
+
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! jquery */ "jquery")))
|
425
|
+
|
426
|
+
/***/ }),
|
427
|
+
|
428
|
+
/***/ "./src/components/charts/chart-utils.js":
|
429
|
+
/*!**********************************************!*\
|
430
|
+
!*** ./src/components/charts/chart-utils.js ***!
|
431
|
+
\**********************************************/
|
432
|
+
/*! exports provided: getFormattedDateTime, getBasicSharedTemplate, getMemorySharedTemplate, getMemoryValueAxisLabelTemplate, getNetworkSharedTemplate, getNetworkValueAxisLabelTemplate, getUserCountSharedTemplate, getTimeRangeTooltipTemplate, getWRBytesLabelTemplate */
|
433
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
434
|
+
|
435
|
+
"use strict";
|
436
|
+
__webpack_require__.r(__webpack_exports__);
|
437
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getFormattedDateTime", function() { return getFormattedDateTime; });
|
438
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getBasicSharedTemplate", function() { return getBasicSharedTemplate; });
|
439
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getMemorySharedTemplate", function() { return getMemorySharedTemplate; });
|
440
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getMemoryValueAxisLabelTemplate", function() { return getMemoryValueAxisLabelTemplate; });
|
441
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getNetworkSharedTemplate", function() { return getNetworkSharedTemplate; });
|
442
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getNetworkValueAxisLabelTemplate", function() { return getNetworkValueAxisLabelTemplate; });
|
443
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getUserCountSharedTemplate", function() { return getUserCountSharedTemplate; });
|
444
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getTimeRangeTooltipTemplate", function() { return getTimeRangeTooltipTemplate; });
|
445
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getWRBytesLabelTemplate", function() { return getWRBytesLabelTemplate; });
|
446
|
+
/* harmony import */ var _utils_utilities__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/utilities */ "./src/utils/utilities.js");
|
447
|
+
|
448
|
+
|
449
|
+
function getFormattedDateTime(date, format = 'dd MMM HH:mm:ss')
|
450
|
+
{
|
451
|
+
return kendo.toString(date, format);
|
452
|
+
}
|
453
|
+
|
454
|
+
function getBasicSharedTemplate(valueFormat = '{0}') {
|
455
|
+
return kendo.template(`
|
456
|
+
<div class="chart-tooltip-category"><strong>#: category #</strong></div>
|
457
|
+
# for (var i = 0; i < points.length; i++) { #
|
458
|
+
<div>
|
459
|
+
<i class="fas fa-square" style="color: #: points[i].color # "></i>
|
460
|
+
#: points[i].series.name# : #: kendo.format('${valueFormat}', points[i].value) #
|
461
|
+
</div>
|
462
|
+
# } #
|
463
|
+
`);
|
464
|
+
}
|
465
|
+
|
466
|
+
function getMemorySharedTemplate() {
|
467
|
+
return function(dataItem) {
|
468
|
+
dataItem.bytesToSize = _utils_utilities__WEBPACK_IMPORTED_MODULE_0__["bytesToSize"]; // Pass bytesToSize utility function to template
|
469
|
+
return kendo.template(`
|
470
|
+
<div class="chart-tooltip-category"><strong>#: category #</strong></div>
|
471
|
+
# for (var i = 0; i < points.length; i++) { #
|
472
|
+
<div>
|
473
|
+
<i class="fas fa-square" style="color: #: points[i].color # "></i>
|
474
|
+
#: points[i].series.name# : #: bytesToSize(points[i].value) #
|
475
|
+
</div>
|
476
|
+
# } #
|
477
|
+
`)(dataItem);
|
478
|
+
};
|
479
|
+
}
|
480
|
+
|
481
|
+
function getMemoryValueAxisLabelTemplate() {
|
482
|
+
return function(dataItem) {
|
483
|
+
dataItem.bytesToSize = _utils_utilities__WEBPACK_IMPORTED_MODULE_0__["bytesToSize"]; // Pass bytesToSize utility function to template
|
484
|
+
return kendo.template(`
|
485
|
+
#: bytesToSize(value) #
|
486
|
+
`)(dataItem);
|
487
|
+
};
|
488
|
+
}
|
489
|
+
|
490
|
+
function getNetworkSharedTemplate(categoryFormat = 'dd MMM HH:mm:ss') {
|
491
|
+
return function(dataItem) {
|
492
|
+
dataItem.kBytesToSize = _utils_utilities__WEBPACK_IMPORTED_MODULE_0__["kBytesToSize"]; // Pass kBytesToSize utility function to template
|
493
|
+
return kendo.template(`
|
494
|
+
<div class="chart-tooltip-category"><strong>#: kendo.toString(category, '${categoryFormat}') #</strong></div>
|
495
|
+
# for (var i = 0; i < points.length; i++) { #
|
496
|
+
<div>
|
497
|
+
<i class="fas fa-square" style="color: #: points[i].color # "></i>
|
498
|
+
#: points[i].series.name# : #: kBytesToSize(points[i].value, 1, '', '/s') #
|
499
|
+
</div>
|
500
|
+
# } #
|
501
|
+
`)(dataItem);
|
502
|
+
};
|
503
|
+
}
|
504
|
+
|
505
|
+
function getNetworkValueAxisLabelTemplate() {
|
506
|
+
return function(dataItem) {
|
507
|
+
dataItem.kBytesToSize = _utils_utilities__WEBPACK_IMPORTED_MODULE_0__["kBytesToSize"]; // Pass kBytesToSize utility function to template
|
508
|
+
return kendo.template(`
|
509
|
+
#: kBytesToSize(value, 1, '', '/s') #
|
510
|
+
`)(dataItem);
|
511
|
+
};
|
512
|
+
}
|
513
|
+
|
514
|
+
function getUserCountSharedTemplate(categoryFormat = 'dd MMM HH:mm:ss') {
|
515
|
+
return function(dataItem) {
|
516
|
+
return kendo.template(`
|
517
|
+
<div class="chart-tooltip-category"><strong>#: kendo.toString(category, '${categoryFormat}') #</strong></div>
|
518
|
+
# for (var i = 0; i < points.length; i++) { #
|
519
|
+
<div>
|
520
|
+
<i class="fas fa-square" style="color: #: points[i].color # "></i>
|
521
|
+
#: points[i].series.name# : #: points[i].value #
|
522
|
+
</div>
|
523
|
+
# } #
|
524
|
+
`)(dataItem);
|
525
|
+
};
|
526
|
+
}
|
527
|
+
|
528
|
+
function getTimeRangeTooltipTemplate() {
|
529
|
+
return function(dataItem) {
|
530
|
+
dataItem.getTooltipString = function(v1, v2) {
|
531
|
+
if (v1 == v2)
|
532
|
+
{
|
533
|
+
if (v2 == -24)
|
534
|
+
v2 = -23;
|
535
|
+
|
536
|
+
v1 = v2 - 1;
|
537
|
+
}
|
538
|
+
|
539
|
+
let start = Math.abs(v1);
|
540
|
+
let end = Math.abs(v2);
|
541
|
+
|
542
|
+
return `From ${start} hour${start != 1 ? 's' : ''} ago to ${end > 0 ? ('to ' + end + ' hour' + (end != 1 ? 's' : '') + ' ago') : 'now'}`;
|
543
|
+
}; // Pass utility function to template
|
544
|
+
return kendo.template(`
|
545
|
+
#: getTooltipString(selectionStart, selectionEnd) #
|
546
|
+
`)(dataItem);
|
547
|
+
};
|
548
|
+
}
|
549
|
+
|
550
|
+
function getWRBytesLabelTemplate() {
|
551
|
+
return function(dataItem) {
|
552
|
+
return kendo.template(`
|
553
|
+
#: value # #: dataItem.unit #
|
554
|
+
`)(dataItem);
|
555
|
+
};
|
556
|
+
}
|
557
|
+
|
558
|
+
|
559
|
+
/***/ }),
|
560
|
+
|
561
|
+
/***/ "./src/components/charts/cpu-usage-chart.js":
|
562
|
+
/*!**************************************************!*\
|
563
|
+
!*** ./src/components/charts/cpu-usage-chart.js ***!
|
564
|
+
\**************************************************/
|
565
|
+
/*! exports provided: CpuUsageChart */
|
566
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
567
|
+
|
568
|
+
"use strict";
|
569
|
+
__webpack_require__.r(__webpack_exports__);
|
570
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CpuUsageChart", function() { return CpuUsageChart; });
|
571
|
+
/* harmony import */ var _base_chart__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base-chart */ "./src/components/charts/base-chart.js");
|
572
|
+
/* harmony import */ var _chart_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./chart-utils */ "./src/components/charts/chart-utils.js");
|
573
|
+
|
574
|
+
|
575
|
+
|
576
|
+
|
577
|
+
class CpuUsageChart extends _base_chart__WEBPACK_IMPORTED_MODULE_0__["BaseChart"]
|
578
|
+
{
|
579
|
+
constructor()
|
580
|
+
{
|
581
|
+
super(120);
|
582
|
+
}
|
583
|
+
|
584
|
+
_initChartWidget(chartHtml)
|
585
|
+
{
|
586
|
+
return chartHtml.kendoChart({
|
587
|
+
transitions: false,
|
588
|
+
chartArea: {
|
589
|
+
height: 120
|
590
|
+
},
|
591
|
+
legend: {
|
592
|
+
visible: false
|
593
|
+
},
|
594
|
+
seriesDefaults: {
|
595
|
+
type: 'area',
|
596
|
+
labels: {
|
597
|
+
visible: false,
|
598
|
+
format: '{0}%',
|
599
|
+
background: 'transparent'
|
600
|
+
}
|
601
|
+
},
|
602
|
+
series: [
|
603
|
+
{
|
604
|
+
name: 'System',
|
605
|
+
field: 'systemLoad',
|
606
|
+
categoryField: 'time',
|
607
|
+
color: this.systemColor,
|
608
|
+
line: {
|
609
|
+
width: 2
|
610
|
+
}
|
611
|
+
},
|
612
|
+
{
|
613
|
+
name: 'Process',
|
614
|
+
field: 'processLoad',
|
615
|
+
categoryField: 'time',
|
616
|
+
color: this.processColor,
|
617
|
+
line: {
|
618
|
+
width: 2
|
619
|
+
}
|
620
|
+
}
|
621
|
+
],
|
622
|
+
valueAxis: {
|
623
|
+
labels: {
|
624
|
+
format: '{0}%'
|
625
|
+
},
|
626
|
+
line: {
|
627
|
+
visible: false
|
628
|
+
},
|
629
|
+
min: 0,
|
630
|
+
max: 100
|
631
|
+
},
|
632
|
+
categoryAxis: {
|
633
|
+
majorGridLines: {
|
634
|
+
visible: false
|
635
|
+
},
|
636
|
+
majorTicks: {
|
637
|
+
visible: false
|
638
|
+
},
|
639
|
+
labels: {
|
640
|
+
visible: false
|
641
|
+
}
|
642
|
+
},
|
643
|
+
tooltip: {
|
644
|
+
shared: true,
|
645
|
+
visible: true,
|
646
|
+
sharedTemplate: Object(_chart_utils__WEBPACK_IMPORTED_MODULE_1__["getBasicSharedTemplate"])('{0}%'),
|
647
|
+
background: '#e4e4e4'
|
648
|
+
}
|
649
|
+
}).data('kendoChart');
|
650
|
+
}
|
651
|
+
|
652
|
+
get systemColor()
|
653
|
+
{
|
654
|
+
return '#3399FF';
|
655
|
+
}
|
656
|
+
|
657
|
+
get processColor()
|
658
|
+
{
|
659
|
+
return '#0033CC';
|
660
|
+
}
|
661
|
+
|
662
|
+
addEntry(processLoad, systemLoad)
|
663
|
+
{
|
664
|
+
let newEntry = {
|
665
|
+
time: Object(_chart_utils__WEBPACK_IMPORTED_MODULE_1__["getFormattedDateTime"])(new Date()),
|
666
|
+
processLoad: processLoad,
|
667
|
+
systemLoad: systemLoad
|
668
|
+
};
|
669
|
+
|
670
|
+
// Add entry to chart
|
671
|
+
super._addEntry(newEntry);
|
672
|
+
}
|
673
|
+
}
|
674
|
+
|
675
|
+
// DEFINE COMPONENT
|
676
|
+
if (!window.customElements.get('cpu-usage-chart'))
|
677
|
+
window.customElements.define('cpu-usage-chart', CpuUsageChart);
|
678
|
+
|
679
|
+
|
680
|
+
/***/ }),
|
681
|
+
|
682
|
+
/***/ "./src/components/charts/memory-chart.js":
|
683
|
+
/*!***********************************************!*\
|
684
|
+
!*** ./src/components/charts/memory-chart.js ***!
|
685
|
+
\***********************************************/
|
686
|
+
/*! exports provided: MemoryChart */
|
687
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
688
|
+
|
689
|
+
"use strict";
|
690
|
+
__webpack_require__.r(__webpack_exports__);
|
691
|
+
/* WEBPACK VAR INJECTION */(function($) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MemoryChart", function() { return MemoryChart; });
|
692
|
+
/* harmony import */ var _base_chart__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base-chart */ "./src/components/charts/base-chart.js");
|
693
|
+
/* harmony import */ var _chart_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./chart-utils */ "./src/components/charts/chart-utils.js");
|
694
|
+
|
695
|
+
|
696
|
+
|
697
|
+
|
698
|
+
class MemoryChart extends _base_chart__WEBPACK_IMPORTED_MODULE_0__["BaseChart"]
|
699
|
+
{
|
700
|
+
constructor()
|
701
|
+
{
|
702
|
+
super(300);
|
703
|
+
|
704
|
+
// Append text to display elapsed time
|
705
|
+
this._elapsedTxt = $('<div>', {class: 'text-center', text: '---'});
|
706
|
+
$(this).append(this._elapsedTxt);
|
707
|
+
}
|
708
|
+
|
709
|
+
_initChartWidget(chartHtml)
|
710
|
+
{
|
711
|
+
return chartHtml.kendoChart({
|
712
|
+
transitions: false,
|
713
|
+
chartArea: {
|
714
|
+
height: 240
|
715
|
+
},
|
716
|
+
legend: {
|
717
|
+
visible: false
|
718
|
+
},
|
719
|
+
seriesDefaults: {
|
720
|
+
type: 'area',
|
721
|
+
labels: {
|
722
|
+
visible: false,
|
723
|
+
format: '{0}',
|
724
|
+
background: 'transparent'
|
725
|
+
},
|
726
|
+
},
|
727
|
+
series: [{
|
728
|
+
name: 'Allocated',
|
729
|
+
field: 'allocMem',
|
730
|
+
categoryField: 'time',
|
731
|
+
color: this.allocatedColor,
|
732
|
+
line: {
|
733
|
+
width: 2
|
734
|
+
}
|
735
|
+
},
|
736
|
+
{
|
737
|
+
name: 'Used',
|
738
|
+
field: 'usedMem',
|
739
|
+
categoryField: 'time',
|
740
|
+
color: this.usedColor,
|
741
|
+
line: {
|
742
|
+
width: 2
|
743
|
+
}
|
744
|
+
}],
|
745
|
+
valueAxis: {
|
746
|
+
labels: {
|
747
|
+
format: '{0}',
|
748
|
+
template: Object(_chart_utils__WEBPACK_IMPORTED_MODULE_1__["getMemoryValueAxisLabelTemplate"])()
|
749
|
+
},
|
750
|
+
line: {
|
751
|
+
visible: false
|
752
|
+
},
|
753
|
+
min: 0
|
754
|
+
},
|
755
|
+
categoryAxis: {
|
756
|
+
majorGridLines: {
|
757
|
+
visible: false
|
758
|
+
},
|
759
|
+
majorTicks: {
|
760
|
+
visible: false
|
761
|
+
},
|
762
|
+
labels: {
|
763
|
+
visible: false
|
764
|
+
}
|
765
|
+
},
|
766
|
+
tooltip: {
|
767
|
+
shared: true,
|
768
|
+
visible: true,
|
769
|
+
sharedTemplate: Object(_chart_utils__WEBPACK_IMPORTED_MODULE_1__["getMemorySharedTemplate"])(),
|
770
|
+
background: '#e4e4e4'
|
771
|
+
}
|
772
|
+
}).data('kendoChart');
|
773
|
+
}
|
774
|
+
|
775
|
+
get allocatedColor()
|
776
|
+
{
|
777
|
+
return '#3399FF';
|
778
|
+
}
|
779
|
+
|
780
|
+
get usedColor()
|
781
|
+
{
|
782
|
+
return '#0033CC';
|
783
|
+
}
|
784
|
+
|
785
|
+
addEntry(allocMem, usedMem)
|
786
|
+
{
|
787
|
+
let now = new Date();
|
788
|
+
|
789
|
+
let newEntry = {
|
790
|
+
time: Object(_chart_utils__WEBPACK_IMPORTED_MODULE_1__["getFormattedDateTime"])(now),
|
791
|
+
timestamp: now.getTime(),
|
792
|
+
allocMem: allocMem,
|
793
|
+
usedMem: usedMem
|
794
|
+
};
|
795
|
+
|
796
|
+
// Add entry to chart
|
797
|
+
super._addEntry(newEntry);
|
798
|
+
|
799
|
+
// Update x axis
|
800
|
+
if (!this.isPaused)
|
801
|
+
this._updateElapsedText();
|
802
|
+
}
|
803
|
+
|
804
|
+
_updateElapsedText()
|
805
|
+
{
|
806
|
+
let ds = this._dataSource;
|
807
|
+
|
808
|
+
if (ds.total() > 1)
|
809
|
+
{
|
810
|
+
// Get axis limits
|
811
|
+
const chartMinimum = ds.at(0).timestamp;
|
812
|
+
const chartMaximum = ds.at(ds.total() - 1).timestamp;
|
813
|
+
|
814
|
+
// Set elapsed text
|
815
|
+
let seconds = Math.round( (chartMaximum - chartMinimum) / 1000 );
|
816
|
+
let title;
|
817
|
+
|
818
|
+
if (seconds < 60)
|
819
|
+
title = 'Last ' + (seconds != 1 ? seconds + ' seconds' : 'second');
|
820
|
+
else
|
821
|
+
{
|
822
|
+
const minutes = Math.floor(seconds / 60);
|
823
|
+
title = 'Last ' + (minutes != 1 ? minutes + ' minutes' : 'minute');
|
824
|
+
}
|
825
|
+
|
826
|
+
this._elapsedTxt.text(title);
|
827
|
+
}
|
828
|
+
}
|
829
|
+
}
|
830
|
+
|
831
|
+
// DEFINE COMPONENT
|
832
|
+
if (!window.customElements.get('memory-chart'))
|
833
|
+
window.customElements.define('memory-chart', MemoryChart);
|
834
|
+
|
835
|
+
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! jquery */ "jquery")))
|
836
|
+
|
837
|
+
/***/ }),
|
838
|
+
|
839
|
+
/***/ "./src/components/charts/network-24h-chart.js":
|
840
|
+
/*!****************************************************!*\
|
841
|
+
!*** ./src/components/charts/network-24h-chart.js ***!
|
842
|
+
\****************************************************/
|
843
|
+
/*! exports provided: Network24hChart */
|
844
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
845
|
+
|
846
|
+
"use strict";
|
847
|
+
__webpack_require__.r(__webpack_exports__);
|
848
|
+
/* WEBPACK VAR INJECTION */(function($) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Network24hChart", function() { return Network24hChart; });
|
849
|
+
/* harmony import */ var _chart_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chart-utils */ "./src/components/charts/chart-utils.js");
|
850
|
+
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! moment */ "./node_modules/moment/moment.js");
|
851
|
+
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_1__);
|
852
|
+
|
853
|
+
|
854
|
+
|
855
|
+
class Network24hChart extends HTMLElement
|
856
|
+
{
|
857
|
+
constructor()
|
858
|
+
{
|
859
|
+
super();
|
860
|
+
|
861
|
+
this._lastTotalOut = 0;
|
862
|
+
this._lastTotalIn = 0;
|
863
|
+
this._lastDate = new Date();
|
864
|
+
this._samplingRateSeconds = 0;
|
865
|
+
|
866
|
+
// Create chart html
|
867
|
+
let chartHtml = $('<div>');
|
868
|
+
$(this).append(chartHtml);
|
869
|
+
|
870
|
+
// Initialize chart
|
871
|
+
this._chartWidget = this._initChartWidget(chartHtml);
|
872
|
+
}
|
873
|
+
|
874
|
+
_initChartWidget(chartHtml)
|
875
|
+
{
|
876
|
+
return chartHtml.kendoChart({
|
877
|
+
transitions: false,
|
878
|
+
chartArea: {
|
879
|
+
height: 270,
|
880
|
+
background: 'transparent'
|
881
|
+
},
|
882
|
+
legend: {
|
883
|
+
visible: false
|
884
|
+
},
|
885
|
+
seriesDefaults: {
|
886
|
+
type: 'area',
|
887
|
+
labels: {
|
888
|
+
visible: false,
|
889
|
+
format: '{0}',
|
890
|
+
background: 'transparent'
|
891
|
+
},
|
892
|
+
},
|
893
|
+
series: [{
|
894
|
+
name: 'Outgoing',
|
895
|
+
field: 'outgoing',
|
896
|
+
categoryField: 'time',
|
897
|
+
color: '#CC0000',
|
898
|
+
line: {
|
899
|
+
width: 2
|
900
|
+
}
|
901
|
+
},
|
902
|
+
{
|
903
|
+
name: 'Incoming',
|
904
|
+
field: 'incoming',
|
905
|
+
categoryField: 'time',
|
906
|
+
color: '#009900',
|
907
|
+
line: {
|
908
|
+
width: 2
|
909
|
+
}
|
910
|
+
}],
|
911
|
+
valueAxis: {
|
912
|
+
labels: {
|
913
|
+
format: '{0}',
|
914
|
+
template: Object(_chart_utils__WEBPACK_IMPORTED_MODULE_0__["getNetworkValueAxisLabelTemplate"])()
|
915
|
+
},
|
916
|
+
line: {
|
917
|
+
visible: false
|
918
|
+
},
|
919
|
+
min: 0
|
920
|
+
},
|
921
|
+
categoryAxis: {
|
922
|
+
majorGridLines: {
|
923
|
+
visible: true,
|
924
|
+
step: 60
|
925
|
+
},
|
926
|
+
majorTicks: {
|
927
|
+
visible: true,
|
928
|
+
step: 60
|
929
|
+
},
|
930
|
+
labels: {
|
931
|
+
visible: true,
|
932
|
+
step: 60
|
933
|
+
},
|
934
|
+
baseUnit: 'minutes',
|
935
|
+
type: 'date',
|
936
|
+
},
|
937
|
+
tooltip: {
|
938
|
+
shared: true,
|
939
|
+
visible: true,
|
940
|
+
sharedTemplate: Object(_chart_utils__WEBPACK_IMPORTED_MODULE_0__["getNetworkSharedTemplate"])('dd MMM HH:mm'),
|
941
|
+
background: '#e4e4e4'
|
942
|
+
}
|
943
|
+
}).data('kendoChart');
|
944
|
+
}
|
945
|
+
|
946
|
+
redraw()
|
947
|
+
{
|
948
|
+
this._chartWidget.redraw();
|
949
|
+
}
|
950
|
+
|
951
|
+
set range(values)
|
952
|
+
{
|
953
|
+
this._range = values;
|
954
|
+
|
955
|
+
this._updateXAxisLimits();
|
956
|
+
}
|
957
|
+
|
958
|
+
get range()
|
959
|
+
{
|
960
|
+
return this._range;
|
961
|
+
}
|
962
|
+
|
963
|
+
addHistoryEntries(outgoingData, incomingData, samplingRateSeconds, shiftSeconds)
|
964
|
+
{
|
965
|
+
this._samplingRateSeconds = samplingRateSeconds;
|
966
|
+
|
967
|
+
let now = new Date();
|
968
|
+
|
969
|
+
// NOTE: outgoingData and incominData are supposed to have the same size!!!
|
970
|
+
|
971
|
+
if (outgoingData.length > 0)
|
972
|
+
{
|
973
|
+
let start = moment__WEBPACK_IMPORTED_MODULE_1__(now);
|
974
|
+
start.subtract((samplingRateSeconds * outgoingData.length) + shiftSeconds, 's')
|
975
|
+
|
976
|
+
this._lastTotalOut = outgoingData[0];
|
977
|
+
this._lastTotalIn = incomingData[0];
|
978
|
+
this._lastDate = start.toDate();
|
979
|
+
|
980
|
+
if (outgoingData.length > 1)
|
981
|
+
{
|
982
|
+
let dataSource = new kendo.data.DataSource();
|
983
|
+
|
984
|
+
for (let i = 1; i < outgoingData.length; i++)
|
985
|
+
{
|
986
|
+
const totalOut = outgoingData[i];
|
987
|
+
const totalIn = incomingData[i];
|
988
|
+
|
989
|
+
let date = start.clone();
|
990
|
+
date.add(i * samplingRateSeconds, 's');
|
991
|
+
|
992
|
+
this.addEntry(totalOut, totalIn, dataSource, date.toDate(), false);
|
993
|
+
}
|
994
|
+
|
995
|
+
// Assign datasource to chart
|
996
|
+
this._chartWidget.setDataSource(dataSource);
|
997
|
+
|
998
|
+
// Update axis
|
999
|
+
this._updateXAxisLimits();
|
1000
|
+
}
|
1001
|
+
}
|
1002
|
+
else
|
1003
|
+
{
|
1004
|
+
this._lastTotalOut = 0;
|
1005
|
+
this._lastTotalIn = 0;
|
1006
|
+
this._lastDate = now;
|
1007
|
+
}
|
1008
|
+
}
|
1009
|
+
|
1010
|
+
addEntry(totalOut, totalIn, dataSource = null, date = null, updateAxis = true)
|
1011
|
+
{
|
1012
|
+
if (date == null)
|
1013
|
+
date = new Date();
|
1014
|
+
|
1015
|
+
const elapsedSecs = Math.round((date.getTime() - this._lastDate.getTime()) / 1000);
|
1016
|
+
|
1017
|
+
// The 24h chart is updated at the same sampling rate used by the server to save the traffic history
|
1018
|
+
if (elapsedSecs >= this._samplingRateSeconds)
|
1019
|
+
{
|
1020
|
+
let newEntry = {
|
1021
|
+
time: date,
|
1022
|
+
outgoing: Math.round((totalOut - this._lastTotalOut) / elapsedSecs),
|
1023
|
+
incoming: Math.round((totalIn - this._lastTotalIn) / elapsedSecs)
|
1024
|
+
};
|
1025
|
+
|
1026
|
+
// Add entry to data source
|
1027
|
+
if (dataSource == null)
|
1028
|
+
dataSource = this._dataSource;
|
1029
|
+
|
1030
|
+
dataSource.add(newEntry);
|
1031
|
+
|
1032
|
+
this._lastTotalOut = totalOut;
|
1033
|
+
this._lastTotalIn = totalIn;
|
1034
|
+
this._lastDate = date;
|
1035
|
+
|
1036
|
+
if (updateAxis)
|
1037
|
+
this._updateXAxisLimits();
|
1038
|
+
}
|
1039
|
+
}
|
1040
|
+
|
1041
|
+
_updateXAxisLimits()
|
1042
|
+
{
|
1043
|
+
let ds = this._dataSource;
|
1044
|
+
|
1045
|
+
if (ds.total() > 0)
|
1046
|
+
{
|
1047
|
+
const chartMinimum = moment__WEBPACK_IMPORTED_MODULE_1__(this._lastDate).add(this._range[0], 'h');
|
1048
|
+
const chartMaximum = moment__WEBPACK_IMPORTED_MODULE_1__(this._lastDate).add(this._range[1], 'h');
|
1049
|
+
|
1050
|
+
this._chartWidget.options.categoryAxis.min = chartMinimum.toDate();
|
1051
|
+
this._chartWidget.options.categoryAxis.max = chartMaximum.toDate();
|
1052
|
+
|
1053
|
+
this._chartWidget.redraw();
|
1054
|
+
}
|
1055
|
+
}
|
1056
|
+
|
1057
|
+
get _dataSource()
|
1058
|
+
{
|
1059
|
+
return this._chartWidget.dataSource;
|
1060
|
+
}
|
1061
|
+
}
|
1062
|
+
|
1063
|
+
// DEFINE COMPONENT
|
1064
|
+
if (!window.customElements.get('network-24h-chart'))
|
1065
|
+
window.customElements.define('network-24h-chart', Network24hChart);
|
1066
|
+
|
1067
|
+
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! jquery */ "jquery")))
|
1068
|
+
|
1069
|
+
/***/ }),
|
1070
|
+
|
1071
|
+
/***/ "./src/components/charts/network-realtime-chart.js":
|
1072
|
+
/*!*********************************************************!*\
|
1073
|
+
!*** ./src/components/charts/network-realtime-chart.js ***!
|
1074
|
+
\*********************************************************/
|
1075
|
+
/*! exports provided: NetworkRealtimeChart */
|
1076
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1077
|
+
|
1078
|
+
"use strict";
|
1079
|
+
__webpack_require__.r(__webpack_exports__);
|
1080
|
+
/* WEBPACK VAR INJECTION */(function($) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NetworkRealtimeChart", function() { return NetworkRealtimeChart; });
|
1081
|
+
/* harmony import */ var _base_chart__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base-chart */ "./src/components/charts/base-chart.js");
|
1082
|
+
/* harmony import */ var _chart_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./chart-utils */ "./src/components/charts/chart-utils.js");
|
1083
|
+
|
1084
|
+
|
1085
|
+
|
1086
|
+
|
1087
|
+
class NetworkRealtimeChart extends _base_chart__WEBPACK_IMPORTED_MODULE_0__["BaseChart"]
|
1088
|
+
{
|
1089
|
+
constructor()
|
1090
|
+
{
|
1091
|
+
super(300);
|
1092
|
+
|
1093
|
+
this._lastTotalKbOut = 0;
|
1094
|
+
this._lastTotalKbIn = 0;
|
1095
|
+
this._lastTime = 0;
|
1096
|
+
|
1097
|
+
// Append text to display elapsed time
|
1098
|
+
this._elapsedTxt = $('<div>', {class: 'text-center', text: '---'});
|
1099
|
+
$(this).append(this._elapsedTxt);
|
1100
|
+
}
|
1101
|
+
|
1102
|
+
_initChartWidget(chartHtml)
|
1103
|
+
{
|
1104
|
+
return chartHtml.kendoChart({
|
1105
|
+
transitions: false,
|
1106
|
+
chartArea: {
|
1107
|
+
height: 270,
|
1108
|
+
background: 'transparent'
|
1109
|
+
},
|
1110
|
+
legend: {
|
1111
|
+
visible: false
|
1112
|
+
},
|
1113
|
+
seriesDefaults: {
|
1114
|
+
type: 'area',
|
1115
|
+
labels: {
|
1116
|
+
visible: false,
|
1117
|
+
format: '{0}',
|
1118
|
+
background: 'transparent'
|
1119
|
+
},
|
1120
|
+
},
|
1121
|
+
series: [{
|
1122
|
+
name: 'Outgoing',
|
1123
|
+
field: 'outgoing',
|
1124
|
+
categoryField: 'time',
|
1125
|
+
color: this.outgoingColor,
|
1126
|
+
line: {
|
1127
|
+
width: 2
|
1128
|
+
}
|
1129
|
+
},
|
1130
|
+
{
|
1131
|
+
name: 'Incoming',
|
1132
|
+
field: 'incoming',
|
1133
|
+
categoryField: 'time',
|
1134
|
+
color: this.incomingColor,
|
1135
|
+
line: {
|
1136
|
+
width: 2
|
1137
|
+
}
|
1138
|
+
}],
|
1139
|
+
valueAxis: {
|
1140
|
+
labels: {
|
1141
|
+
format: '{0}',
|
1142
|
+
template: Object(_chart_utils__WEBPACK_IMPORTED_MODULE_1__["getNetworkValueAxisLabelTemplate"])()
|
1143
|
+
},
|
1144
|
+
line: {
|
1145
|
+
visible: false
|
1146
|
+
},
|
1147
|
+
min: 0,
|
1148
|
+
},
|
1149
|
+
categoryAxis: {
|
1150
|
+
majorGridLines: {
|
1151
|
+
visible: false
|
1152
|
+
},
|
1153
|
+
majorTicks: {
|
1154
|
+
visible: false
|
1155
|
+
},
|
1156
|
+
labels: {
|
1157
|
+
visible: false
|
1158
|
+
}
|
1159
|
+
},
|
1160
|
+
tooltip: {
|
1161
|
+
shared: true,
|
1162
|
+
visible: true,
|
1163
|
+
sharedTemplate: Object(_chart_utils__WEBPACK_IMPORTED_MODULE_1__["getNetworkSharedTemplate"])(),
|
1164
|
+
background: '#e4e4e4'
|
1165
|
+
}
|
1166
|
+
}).data('kendoChart');
|
1167
|
+
}
|
1168
|
+
|
1169
|
+
get outgoingColor()
|
1170
|
+
{
|
1171
|
+
return '#CC0000';
|
1172
|
+
}
|
1173
|
+
|
1174
|
+
get incomingColor()
|
1175
|
+
{
|
1176
|
+
return '#009900';
|
1177
|
+
}
|
1178
|
+
|
1179
|
+
addEntry(totalOutKb, totalInKb)
|
1180
|
+
{
|
1181
|
+
let now = new Date()
|
1182
|
+
let time = now.getTime();
|
1183
|
+
|
1184
|
+
// The first value sent by the server is not plotted: it would be a worng value because
|
1185
|
+
// we have to calculate it as the difference between two total values, but we don't have the previous one
|
1186
|
+
if (this._lastTime > 0)
|
1187
|
+
{
|
1188
|
+
let elapsedSecs = (time - this._lastTime) / 1000;
|
1189
|
+
|
1190
|
+
const valueOut = Math.round((totalOutKb - this._lastTotalKbOut) / elapsedSecs);
|
1191
|
+
const valueIn = Math.round((totalInKb - this._lastTotalKbIn) / elapsedSecs);
|
1192
|
+
|
1193
|
+
let newEntry = {
|
1194
|
+
time: Object(_chart_utils__WEBPACK_IMPORTED_MODULE_1__["getFormattedDateTime"])(now),
|
1195
|
+
timestamp: time,
|
1196
|
+
outgoing: valueOut,
|
1197
|
+
incoming: valueIn
|
1198
|
+
};
|
1199
|
+
|
1200
|
+
// Add entry to chart
|
1201
|
+
super._addEntry(newEntry);
|
1202
|
+
|
1203
|
+
// Update x axis
|
1204
|
+
if (!this.isPaused)
|
1205
|
+
this._updateElapsedText();
|
1206
|
+
}
|
1207
|
+
|
1208
|
+
this._lastTotalKbOut = totalOutKb;
|
1209
|
+
this._lastTotalKbIn = totalInKb;
|
1210
|
+
this._lastTime = time;
|
1211
|
+
}
|
1212
|
+
|
1213
|
+
_updateElapsedText()
|
1214
|
+
{
|
1215
|
+
let ds = this._dataSource;
|
1216
|
+
|
1217
|
+
if (ds.total() > 1)
|
1218
|
+
{
|
1219
|
+
// Get axis limits
|
1220
|
+
const chartMinimum = ds.at(0).timestamp;
|
1221
|
+
const chartMaximum = ds.at(ds.total() - 1).timestamp;
|
1222
|
+
|
1223
|
+
// Set elapsed text
|
1224
|
+
let title;
|
1225
|
+
let seconds = Math.round( (chartMaximum - chartMinimum) / 1000 );
|
1226
|
+
|
1227
|
+
if (seconds < 60)
|
1228
|
+
title = 'Last ' + (seconds != 1 ? seconds + ' seconds' : 'second');
|
1229
|
+
else
|
1230
|
+
{
|
1231
|
+
const minutes = Math.floor(seconds / 60);
|
1232
|
+
title = 'Last ' + (minutes != 1 ? minutes + ' minutes' : 'minute');
|
1233
|
+
}
|
1234
|
+
|
1235
|
+
this._elapsedTxt.text(title);
|
1236
|
+
}
|
1237
|
+
}
|
1238
|
+
}
|
1239
|
+
|
1240
|
+
// DEFINE COMPONENT
|
1241
|
+
if (!window.customElements.get('network-realtime-chart'))
|
1242
|
+
window.customElements.define('network-realtime-chart', NetworkRealtimeChart);
|
1243
|
+
|
1244
|
+
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! jquery */ "jquery")))
|
1245
|
+
|
1246
|
+
/***/ }),
|
1247
|
+
|
1248
|
+
/***/ "./src/components/charts/system-queue-chart.js":
|
1249
|
+
/*!*****************************************************!*\
|
1250
|
+
!*** ./src/components/charts/system-queue-chart.js ***!
|
1251
|
+
\*****************************************************/
|
1252
|
+
/*! exports provided: SystemQueueChart */
|
1253
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1254
|
+
|
1255
|
+
"use strict";
|
1256
|
+
__webpack_require__.r(__webpack_exports__);
|
1257
|
+
/* WEBPACK VAR INJECTION */(function($) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SystemQueueChart", function() { return SystemQueueChart; });
|
1258
|
+
/* harmony import */ var _base_chart__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base-chart */ "./src/components/charts/base-chart.js");
|
1259
|
+
/* harmony import */ var _chart_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./chart-utils */ "./src/components/charts/chart-utils.js");
|
1260
|
+
|
1261
|
+
|
1262
|
+
|
1263
|
+
|
1264
|
+
class SystemQueueChart extends _base_chart__WEBPACK_IMPORTED_MODULE_0__["BaseChart"]
|
1265
|
+
{
|
1266
|
+
constructor()
|
1267
|
+
{
|
1268
|
+
super(240);
|
1269
|
+
|
1270
|
+
this._averageLoad = 0;
|
1271
|
+
}
|
1272
|
+
|
1273
|
+
_initialize()
|
1274
|
+
{
|
1275
|
+
const chartHeight = 240;
|
1276
|
+
|
1277
|
+
// Append container for chart & gauge
|
1278
|
+
let container = $('<div>', {class: 'd-flex flex-row'});
|
1279
|
+
$(this).append(container);
|
1280
|
+
|
1281
|
+
// CHART
|
1282
|
+
|
1283
|
+
let chartContainer = $('<div>', {class: 'flex-grow-1'});
|
1284
|
+
container.append(chartContainer);
|
1285
|
+
|
1286
|
+
// Create chart html
|
1287
|
+
let chartHtml = $('<div>');
|
1288
|
+
chartContainer.append(chartHtml);
|
1289
|
+
|
1290
|
+
// Initialize chart
|
1291
|
+
this._chartWidget = this._initChartWidget(chartHtml, chartHeight);
|
1292
|
+
|
1293
|
+
// Append text to display elapsed time
|
1294
|
+
this._elapsedTxt = $('<div>', {class: 'text-center', text: '---'});
|
1295
|
+
chartContainer.append(this._elapsedTxt);
|
1296
|
+
|
1297
|
+
// GAUGE
|
1298
|
+
|
1299
|
+
let gaugeContainer = $('<div>');
|
1300
|
+
container.append(gaugeContainer);
|
1301
|
+
|
1302
|
+
// Create gauge html
|
1303
|
+
let gaugeHtml = $('<div>');
|
1304
|
+
gaugeContainer.append(gaugeHtml);
|
1305
|
+
|
1306
|
+
// Initialize gauge
|
1307
|
+
this._gaugeWidget = this._initGaugeWidget(gaugeHtml, chartHeight);
|
1308
|
+
|
1309
|
+
// Append text to display load
|
1310
|
+
this._loadTxt = $('<div>', {class: 'text-center font-weight-bold', text: '---'});
|
1311
|
+
gaugeContainer.append(this._loadTxt);
|
1312
|
+
|
1313
|
+
//------------------------------
|
1314
|
+
|
1315
|
+
// Reset data source
|
1316
|
+
this.reset();
|
1317
|
+
}
|
1318
|
+
|
1319
|
+
_initChartWidget(chartHtml, height)
|
1320
|
+
{
|
1321
|
+
return chartHtml.kendoChart({
|
1322
|
+
transitions: false,
|
1323
|
+
chartArea: {
|
1324
|
+
height: height,
|
1325
|
+
background: 'transparent'
|
1326
|
+
},
|
1327
|
+
legend: {
|
1328
|
+
visible: false
|
1329
|
+
},
|
1330
|
+
seriesDefaults: {
|
1331
|
+
type: 'area',
|
1332
|
+
labels: {
|
1333
|
+
visible: false,
|
1334
|
+
format: '{0}',
|
1335
|
+
background: 'transparent'
|
1336
|
+
}
|
1337
|
+
},
|
1338
|
+
series: [
|
1339
|
+
{
|
1340
|
+
name: 'Messages',
|
1341
|
+
field: 'load',
|
1342
|
+
categoryField: 'time',
|
1343
|
+
color: '#3399ff',
|
1344
|
+
line: {
|
1345
|
+
width: 2
|
1346
|
+
}
|
1347
|
+
}
|
1348
|
+
],
|
1349
|
+
valueAxis: {
|
1350
|
+
title: {
|
1351
|
+
text: 'Messages'
|
1352
|
+
},
|
1353
|
+
labels: {
|
1354
|
+
format: '{0}'
|
1355
|
+
},
|
1356
|
+
line: {
|
1357
|
+
visible: false
|
1358
|
+
},
|
1359
|
+
min: 0
|
1360
|
+
},
|
1361
|
+
categoryAxis: {
|
1362
|
+
majorGridLines: {
|
1363
|
+
visible: false
|
1364
|
+
},
|
1365
|
+
majorTicks: {
|
1366
|
+
visible: false
|
1367
|
+
},
|
1368
|
+
labels: {
|
1369
|
+
visible: false
|
1370
|
+
}
|
1371
|
+
},
|
1372
|
+
tooltip: {
|
1373
|
+
shared: true,
|
1374
|
+
visible: true,
|
1375
|
+
sharedTemplate: Object(_chart_utils__WEBPACK_IMPORTED_MODULE_1__["getBasicSharedTemplate"])(),
|
1376
|
+
background: '#e4e4e4'
|
1377
|
+
}
|
1378
|
+
}).data('kendoChart');
|
1379
|
+
}
|
1380
|
+
|
1381
|
+
_initGaugeWidget(gaugeHtml, height)
|
1382
|
+
{
|
1383
|
+
return gaugeHtml.kendoLinearGauge({
|
1384
|
+
pointer: {
|
1385
|
+
value: 0,
|
1386
|
+
shape: 'arrow',
|
1387
|
+
size: 10,
|
1388
|
+
color: '#212529'
|
1389
|
+
},
|
1390
|
+
gaugeArea: {
|
1391
|
+
height: height
|
1392
|
+
},
|
1393
|
+
scale: {
|
1394
|
+
majorUnit: 10,
|
1395
|
+
minorUnit: 1,
|
1396
|
+
min: 0,
|
1397
|
+
max: 100,
|
1398
|
+
ranges: [
|
1399
|
+
{
|
1400
|
+
from: 0,
|
1401
|
+
to: 50,
|
1402
|
+
color: '#00cc00',
|
1403
|
+
opacity: .5
|
1404
|
+
}, {
|
1405
|
+
from: 50,
|
1406
|
+
to: 75,
|
1407
|
+
color: '#ffe106',
|
1408
|
+
opacity: .5
|
1409
|
+
}, {
|
1410
|
+
from: 75,
|
1411
|
+
to: 100,
|
1412
|
+
color: '#ed1601',
|
1413
|
+
opacity: .5
|
1414
|
+
}
|
1415
|
+
],
|
1416
|
+
majorTicks: {
|
1417
|
+
visible: true,
|
1418
|
+
size: 10
|
1419
|
+
},
|
1420
|
+
minorTicks: {
|
1421
|
+
visible: false
|
1422
|
+
},
|
1423
|
+
labels: {
|
1424
|
+
visible: false
|
1425
|
+
},
|
1426
|
+
line: {
|
1427
|
+
visible: false
|
1428
|
+
},
|
1429
|
+
rangeSize: 10
|
1430
|
+
}
|
1431
|
+
}).data('kendoLinearGauge');
|
1432
|
+
}
|
1433
|
+
|
1434
|
+
addEntry(load, queueMsgLimit)
|
1435
|
+
{
|
1436
|
+
// CHART
|
1437
|
+
|
1438
|
+
let now = new Date();
|
1439
|
+
|
1440
|
+
let newEntry = {
|
1441
|
+
time: Object(_chart_utils__WEBPACK_IMPORTED_MODULE_1__["getFormattedDateTime"])(now),
|
1442
|
+
timestamp: now.getTime(),
|
1443
|
+
load: load
|
1444
|
+
};
|
1445
|
+
|
1446
|
+
// Add entry to chart
|
1447
|
+
super._addEntry(newEntry);
|
1448
|
+
|
1449
|
+
// Update x axis
|
1450
|
+
if (!this.isPaused)
|
1451
|
+
this._updateElapsedText();
|
1452
|
+
|
1453
|
+
// GAUGE
|
1454
|
+
|
1455
|
+
// Evaluate average
|
1456
|
+
let numValues = this._dataSource.total();
|
1457
|
+
|
1458
|
+
if (numValues > 0)
|
1459
|
+
{
|
1460
|
+
let total = 0;
|
1461
|
+
for (let i = 0; i < numValues; i++)
|
1462
|
+
total += this._dataSource.at(i).load;
|
1463
|
+
|
1464
|
+
this._averageLoad = Math.round(total / numValues);
|
1465
|
+
}
|
1466
|
+
else
|
1467
|
+
this._averageLoad = 0;
|
1468
|
+
|
1469
|
+
const avgLoadPerc = Math.round(this._averageLoad / queueMsgLimit * 1000) / 10;
|
1470
|
+
|
1471
|
+
// Set gauge value
|
1472
|
+
this._gaugeWidget.value(avgLoadPerc);
|
1473
|
+
|
1474
|
+
// Set load text
|
1475
|
+
this._loadTxt.text(avgLoadPerc + '%')
|
1476
|
+
}
|
1477
|
+
|
1478
|
+
_updateElapsedText()
|
1479
|
+
{
|
1480
|
+
let ds = this._dataSource;
|
1481
|
+
|
1482
|
+
if (ds.total() > 1)
|
1483
|
+
{
|
1484
|
+
// Get axis limits
|
1485
|
+
const chartMinimum = ds.at(0).timestamp;
|
1486
|
+
const chartMaximum = ds.at(ds.total() - 1).timestamp;
|
1487
|
+
|
1488
|
+
// Set elapsed text
|
1489
|
+
let seconds = Math.round( (chartMaximum - chartMinimum) / 1000 );
|
1490
|
+
let title;
|
1491
|
+
|
1492
|
+
if (seconds < 60)
|
1493
|
+
title = 'Last ' + (seconds != 1 ? seconds + ' seconds' : 'second');
|
1494
|
+
else
|
1495
|
+
{
|
1496
|
+
const minutes = Math.floor(seconds / 60);
|
1497
|
+
title = 'Last ' + (minutes != 1 ? minutes + ' minutes' : 'minute');
|
1498
|
+
}
|
1499
|
+
|
1500
|
+
this._elapsedTxt.text(title);
|
1501
|
+
}
|
1502
|
+
}
|
1503
|
+
|
1504
|
+
get load()
|
1505
|
+
{
|
1506
|
+
return this._averageLoad;
|
1507
|
+
}
|
1508
|
+
}
|
1509
|
+
|
1510
|
+
// DEFINE COMPONENT
|
1511
|
+
if (!window.customElements.get('system-queue-chart'))
|
1512
|
+
window.customElements.define('system-queue-chart', SystemQueueChart);
|
1513
|
+
|
1514
|
+
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! jquery */ "jquery")))
|
1515
|
+
|
1516
|
+
/***/ }),
|
1517
|
+
|
1518
|
+
/***/ "./src/components/charts/system-workload-chart.js":
|
1519
|
+
/*!********************************************************!*\
|
1520
|
+
!*** ./src/components/charts/system-workload-chart.js ***!
|
1521
|
+
\********************************************************/
|
1522
|
+
/*! exports provided: SystemWorkloadChart */
|
1523
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1524
|
+
|
1525
|
+
"use strict";
|
1526
|
+
__webpack_require__.r(__webpack_exports__);
|
1527
|
+
/* WEBPACK VAR INJECTION */(function($) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SystemWorkloadChart", function() { return SystemWorkloadChart; });
|
1528
|
+
/* harmony import */ var _base_chart__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base-chart */ "./src/components/charts/base-chart.js");
|
1529
|
+
/* harmony import */ var _chart_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./chart-utils */ "./src/components/charts/chart-utils.js");
|
1530
|
+
|
1531
|
+
|
1532
|
+
|
1533
|
+
|
1534
|
+
class SystemWorkloadChart extends _base_chart__WEBPACK_IMPORTED_MODULE_0__["BaseChart"]
|
1535
|
+
{
|
1536
|
+
constructor()
|
1537
|
+
{
|
1538
|
+
super(240);
|
1539
|
+
}
|
1540
|
+
|
1541
|
+
_initialize()
|
1542
|
+
{
|
1543
|
+
const chartHeight = 240;
|
1544
|
+
|
1545
|
+
// Append container for chart & gauge
|
1546
|
+
let container = $('<div>', {class: 'd-flex flex-row'});
|
1547
|
+
$(this).append(container);
|
1548
|
+
|
1549
|
+
// CHART
|
1550
|
+
|
1551
|
+
let chartContainer = $('<div>', {class: 'flex-grow-1'});
|
1552
|
+
container.append(chartContainer);
|
1553
|
+
|
1554
|
+
// Create chart html
|
1555
|
+
let chartHtml = $('<div>');
|
1556
|
+
chartContainer.append(chartHtml);
|
1557
|
+
|
1558
|
+
// Initialize chart
|
1559
|
+
this._chartWidget = this._initChartWidget(chartHtml, chartHeight);
|
1560
|
+
|
1561
|
+
// Append text to display elapsed time
|
1562
|
+
this._elapsedTxt = $('<div>', {class: 'text-center', text: '---'});
|
1563
|
+
chartContainer.append(this._elapsedTxt);
|
1564
|
+
|
1565
|
+
// GAUGE
|
1566
|
+
|
1567
|
+
let gaugeContainer = $('<div>');
|
1568
|
+
container.append(gaugeContainer);
|
1569
|
+
|
1570
|
+
// Create gauge html
|
1571
|
+
let gaugeHtml = $('<div>');
|
1572
|
+
gaugeContainer.append(gaugeHtml);
|
1573
|
+
|
1574
|
+
// Initialize gauge
|
1575
|
+
this._gaugeWidget = this._initGaugeWidget(gaugeHtml, chartHeight);
|
1576
|
+
|
1577
|
+
// Append text to display load
|
1578
|
+
this._loadTxt = $('<div>', {class: 'text-center font-weight-bold', text: '---'});
|
1579
|
+
gaugeContainer.append(this._loadTxt);
|
1580
|
+
|
1581
|
+
//------------------------------
|
1582
|
+
|
1583
|
+
// Reset data source
|
1584
|
+
this.reset();
|
1585
|
+
}
|
1586
|
+
|
1587
|
+
_initChartWidget(chartHtml, height)
|
1588
|
+
{
|
1589
|
+
return chartHtml.kendoChart({
|
1590
|
+
transitions: false,
|
1591
|
+
chartArea: {
|
1592
|
+
height: height,
|
1593
|
+
background: 'transparent'
|
1594
|
+
},
|
1595
|
+
legend: {
|
1596
|
+
visible: false
|
1597
|
+
},
|
1598
|
+
seriesDefaults: {
|
1599
|
+
type: 'area',
|
1600
|
+
labels: {
|
1601
|
+
visible: false,
|
1602
|
+
format: '{0}%',
|
1603
|
+
background: 'transparent'
|
1604
|
+
}
|
1605
|
+
},
|
1606
|
+
series: [
|
1607
|
+
{
|
1608
|
+
name: 'Workload',
|
1609
|
+
field: 'load',
|
1610
|
+
categoryField: 'time',
|
1611
|
+
color: '#3399ff',
|
1612
|
+
line: {
|
1613
|
+
width: 2
|
1614
|
+
}
|
1615
|
+
}
|
1616
|
+
],
|
1617
|
+
valueAxis: {
|
1618
|
+
labels: {
|
1619
|
+
format: '{0}%'
|
1620
|
+
},
|
1621
|
+
line: {
|
1622
|
+
visible: false
|
1623
|
+
},
|
1624
|
+
min: 0,
|
1625
|
+
max: 100
|
1626
|
+
},
|
1627
|
+
categoryAxis: {
|
1628
|
+
majorGridLines: {
|
1629
|
+
visible: false
|
1630
|
+
},
|
1631
|
+
majorTicks: {
|
1632
|
+
visible: false
|
1633
|
+
},
|
1634
|
+
labels: {
|
1635
|
+
visible: false
|
1636
|
+
}
|
1637
|
+
},
|
1638
|
+
tooltip: {
|
1639
|
+
shared: true,
|
1640
|
+
visible: true,
|
1641
|
+
sharedTemplate: Object(_chart_utils__WEBPACK_IMPORTED_MODULE_1__["getBasicSharedTemplate"])('{0}%'),
|
1642
|
+
background: '#e4e4e4'
|
1643
|
+
}
|
1644
|
+
}).data('kendoChart');
|
1645
|
+
}
|
1646
|
+
|
1647
|
+
_initGaugeWidget(gaugeHtml, height)
|
1648
|
+
{
|
1649
|
+
return gaugeHtml.kendoLinearGauge({
|
1650
|
+
pointer: {
|
1651
|
+
value: 0,
|
1652
|
+
shape: 'arrow',
|
1653
|
+
size: 10,
|
1654
|
+
color: '#212529'
|
1655
|
+
},
|
1656
|
+
gaugeArea: {
|
1657
|
+
height: height
|
1658
|
+
},
|
1659
|
+
scale: {
|
1660
|
+
majorUnit: 10,
|
1661
|
+
minorUnit: 1,
|
1662
|
+
max: 100,
|
1663
|
+
min: 0,
|
1664
|
+
ranges: [
|
1665
|
+
{
|
1666
|
+
from: 0,
|
1667
|
+
to: 50,
|
1668
|
+
color: '#00cc00',
|
1669
|
+
opacity: .5
|
1670
|
+
}, {
|
1671
|
+
from: 50,
|
1672
|
+
to: 75,
|
1673
|
+
color: '#ffe106',
|
1674
|
+
opacity: .5
|
1675
|
+
}, {
|
1676
|
+
from: 75,
|
1677
|
+
to: 100,
|
1678
|
+
color: '#ed1601',
|
1679
|
+
opacity: .5
|
1680
|
+
}
|
1681
|
+
],
|
1682
|
+
majorTicks: {
|
1683
|
+
visible: true,
|
1684
|
+
size: 10
|
1685
|
+
},
|
1686
|
+
minorTicks: {
|
1687
|
+
visible: false
|
1688
|
+
},
|
1689
|
+
labels: {
|
1690
|
+
visible: false
|
1691
|
+
},
|
1692
|
+
line: {
|
1693
|
+
visible: false
|
1694
|
+
},
|
1695
|
+
rangeSize: 10
|
1696
|
+
}
|
1697
|
+
}).data('kendoLinearGauge');
|
1698
|
+
}
|
1699
|
+
|
1700
|
+
addEntry(load)
|
1701
|
+
{
|
1702
|
+
// CHART
|
1703
|
+
|
1704
|
+
let now = new Date();
|
1705
|
+
|
1706
|
+
let newEntry = {
|
1707
|
+
time: Object(_chart_utils__WEBPACK_IMPORTED_MODULE_1__["getFormattedDateTime"])(now),
|
1708
|
+
timestamp: now.getTime(),
|
1709
|
+
load: load
|
1710
|
+
};
|
1711
|
+
|
1712
|
+
// Add entry to chart
|
1713
|
+
super._addEntry(newEntry);
|
1714
|
+
|
1715
|
+
// Update x axis
|
1716
|
+
if (!this.isPaused)
|
1717
|
+
this._updateElapsedText();
|
1718
|
+
|
1719
|
+
// GAUGE
|
1720
|
+
|
1721
|
+
// Evaluate average
|
1722
|
+
let numValues = this._dataSource.total();
|
1723
|
+
let averageLoad = 0;
|
1724
|
+
|
1725
|
+
if (numValues > 0)
|
1726
|
+
{
|
1727
|
+
let total = 0;
|
1728
|
+
for (let i = 0; i < numValues; i++)
|
1729
|
+
total += this._dataSource.at(i).load;
|
1730
|
+
|
1731
|
+
averageLoad = Math.round(total / numValues);
|
1732
|
+
}
|
1733
|
+
|
1734
|
+
// Set gauge value
|
1735
|
+
this._gaugeWidget.value(averageLoad);
|
1736
|
+
|
1737
|
+
// Set load text
|
1738
|
+
this._loadTxt.text(averageLoad + '%')
|
1739
|
+
}
|
1740
|
+
|
1741
|
+
_updateElapsedText()
|
1742
|
+
{
|
1743
|
+
let ds = this._dataSource;
|
1744
|
+
|
1745
|
+
if (ds.total() > 1)
|
1746
|
+
{
|
1747
|
+
// Get axis limits
|
1748
|
+
const chartMinimum = ds.at(0).timestamp;
|
1749
|
+
const chartMaximum = ds.at(ds.total() - 1).timestamp;
|
1750
|
+
|
1751
|
+
// Set elapsed text
|
1752
|
+
let seconds = Math.round( (chartMaximum - chartMinimum) / 1000 );
|
1753
|
+
let title;
|
1754
|
+
|
1755
|
+
if (seconds < 60)
|
1756
|
+
title = 'Last ' + (seconds != 1 ? seconds + ' seconds' : 'second');
|
1757
|
+
else
|
1758
|
+
{
|
1759
|
+
const minutes = Math.floor(seconds / 60);
|
1760
|
+
title = 'Last ' + (minutes != 1 ? minutes + ' minutes' : 'minute');
|
1761
|
+
}
|
1762
|
+
|
1763
|
+
this._elapsedTxt.text(title);
|
1764
|
+
}
|
1765
|
+
}
|
1766
|
+
|
1767
|
+
get load()
|
1768
|
+
{
|
1769
|
+
return this._averageLoad;
|
1770
|
+
}
|
1771
|
+
}
|
1772
|
+
|
1773
|
+
// DEFINE COMPONENT
|
1774
|
+
if (!window.customElements.get('system-workload-chart'))
|
1775
|
+
window.customElements.define('system-workload-chart', SystemWorkloadChart);
|
1776
|
+
|
1777
|
+
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! jquery */ "jquery")))
|
1778
|
+
|
1779
|
+
/***/ }),
|
1780
|
+
|
1781
|
+
/***/ "./src/components/charts/thread-count-chart.js":
|
1782
|
+
/*!*****************************************************!*\
|
1783
|
+
!*** ./src/components/charts/thread-count-chart.js ***!
|
1784
|
+
\*****************************************************/
|
1785
|
+
/*! exports provided: ThreadCountChart */
|
1786
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1787
|
+
|
1788
|
+
"use strict";
|
1789
|
+
__webpack_require__.r(__webpack_exports__);
|
1790
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ThreadCountChart", function() { return ThreadCountChart; });
|
1791
|
+
/* harmony import */ var _base_chart__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base-chart */ "./src/components/charts/base-chart.js");
|
1792
|
+
/* harmony import */ var _chart_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./chart-utils */ "./src/components/charts/chart-utils.js");
|
1793
|
+
|
1794
|
+
|
1795
|
+
|
1796
|
+
|
1797
|
+
class ThreadCountChart extends _base_chart__WEBPACK_IMPORTED_MODULE_0__["BaseChart"]
|
1798
|
+
{
|
1799
|
+
constructor()
|
1800
|
+
{
|
1801
|
+
super(120);
|
1802
|
+
}
|
1803
|
+
|
1804
|
+
_initChartWidget(chartHtml)
|
1805
|
+
{
|
1806
|
+
return chartHtml.kendoChart({
|
1807
|
+
transitions: false,
|
1808
|
+
chartArea: {
|
1809
|
+
height: 120,
|
1810
|
+
background: 'transparent'
|
1811
|
+
},
|
1812
|
+
legend: {
|
1813
|
+
visible: false
|
1814
|
+
},
|
1815
|
+
seriesDefaults: {
|
1816
|
+
type: 'area',
|
1817
|
+
labels: {
|
1818
|
+
visible: false,
|
1819
|
+
format: '{0}',
|
1820
|
+
background: 'transparent'
|
1821
|
+
},
|
1822
|
+
},
|
1823
|
+
series: [
|
1824
|
+
{
|
1825
|
+
name: 'Threads',
|
1826
|
+
field: 'threads',
|
1827
|
+
categoryField: 'time',
|
1828
|
+
color: this.threadsColor,
|
1829
|
+
line: {
|
1830
|
+
width: 2
|
1831
|
+
}
|
1832
|
+
}
|
1833
|
+
],
|
1834
|
+
valueAxis: {
|
1835
|
+
min: 0,
|
1836
|
+
labels: {
|
1837
|
+
format: '{0}'
|
1838
|
+
},
|
1839
|
+
line: {
|
1840
|
+
visible: false
|
1841
|
+
},
|
1842
|
+
},
|
1843
|
+
categoryAxis: {
|
1844
|
+
majorGridLines: {
|
1845
|
+
visible: false
|
1846
|
+
},
|
1847
|
+
majorTicks: {
|
1848
|
+
visible: false
|
1849
|
+
},
|
1850
|
+
labels: {
|
1851
|
+
visible: false
|
1852
|
+
}
|
1853
|
+
},
|
1854
|
+
tooltip: {
|
1855
|
+
shared: true,
|
1856
|
+
visible: true,
|
1857
|
+
sharedTemplate: Object(_chart_utils__WEBPACK_IMPORTED_MODULE_1__["getBasicSharedTemplate"])(),
|
1858
|
+
background: '#e4e4e4'
|
1859
|
+
}
|
1860
|
+
}).data('kendoChart');
|
1861
|
+
}
|
1862
|
+
|
1863
|
+
get threadsColor()
|
1864
|
+
{
|
1865
|
+
return '#3399FF';
|
1866
|
+
}
|
1867
|
+
|
1868
|
+
addEntry(threads)
|
1869
|
+
{
|
1870
|
+
let newEntry = {
|
1871
|
+
time: Object(_chart_utils__WEBPACK_IMPORTED_MODULE_1__["getFormattedDateTime"])(new Date()),
|
1872
|
+
threads: threads
|
1873
|
+
};
|
1874
|
+
|
1875
|
+
// Add entry to chart
|
1876
|
+
super._addEntry(newEntry);
|
1877
|
+
}
|
1878
|
+
}
|
1879
|
+
|
1880
|
+
// DEFINE COMPONENT
|
1881
|
+
if (!window.customElements.get('thread-count-chart'))
|
1882
|
+
window.customElements.define('thread-count-chart', ThreadCountChart);
|
1883
|
+
|
1884
|
+
|
1885
|
+
/***/ }),
|
1886
|
+
|
1887
|
+
/***/ "./src/modules/dashboard.js":
|
1888
|
+
/*!**********************************!*\
|
1889
|
+
!*** ./src/modules/dashboard.js ***!
|
1890
|
+
\**********************************/
|
1891
|
+
/*! exports provided: default */
|
1892
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1893
|
+
|
1894
|
+
"use strict";
|
1895
|
+
__webpack_require__.r(__webpack_exports__);
|
1896
|
+
/* WEBPACK VAR INJECTION */(function($) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return Dashboard; });
|
1897
|
+
/* harmony import */ var _base_module__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base-module */ "./src/modules/base-module.js");
|
1898
|
+
/* harmony import */ var _utils_utilities__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/utilities */ "./src/utils/utilities.js");
|
1899
|
+
/* harmony import */ var _components_charts_chart_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../components/charts/chart-utils */ "./src/components/charts/chart-utils.js");
|
1900
|
+
/* harmony import */ var _components_charts_cpu_usage_chart__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../components/charts/cpu-usage-chart */ "./src/components/charts/cpu-usage-chart.js");
|
1901
|
+
/* harmony import */ var _components_charts_thread_count_chart__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../components/charts/thread-count-chart */ "./src/components/charts/thread-count-chart.js");
|
1902
|
+
/* harmony import */ var _components_charts_memory_chart__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../components/charts/memory-chart */ "./src/components/charts/memory-chart.js");
|
1903
|
+
/* harmony import */ var _components_charts_network_realtime_chart__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../components/charts/network-realtime-chart */ "./src/components/charts/network-realtime-chart.js");
|
1904
|
+
/* harmony import */ var _components_charts_network_24h_chart__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../components/charts/network-24h-chart */ "./src/components/charts/network-24h-chart.js");
|
1905
|
+
/* harmony import */ var _components_charts_system_workload_chart__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../components/charts/system-workload-chart */ "./src/components/charts/system-workload-chart.js");
|
1906
|
+
/* harmony import */ var _components_charts_system_queue_chart__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../components/charts/system-queue-chart */ "./src/components/charts/system-queue-chart.js");
|
1907
|
+
|
1908
|
+
|
1909
|
+
|
1910
|
+
|
1911
|
+
|
1912
|
+
|
1913
|
+
|
1914
|
+
|
1915
|
+
|
1916
|
+
|
1917
|
+
|
1918
|
+
class Dashboard extends _base_module__WEBPACK_IMPORTED_MODULE_0__["BaseModule"]
|
1919
|
+
{
|
1920
|
+
constructor()
|
1921
|
+
{
|
1922
|
+
super('dashboard');
|
1923
|
+
|
1924
|
+
// Outgoing requests
|
1925
|
+
this.REQ_INIT = 'init';
|
1926
|
+
this.REQ_GET_DATA = 'getData';
|
1927
|
+
this.REQ_DUMP_THREADS = 'getThDump';
|
1928
|
+
|
1929
|
+
// Incoming responses
|
1930
|
+
this.RESP_INIT = 'init';
|
1931
|
+
this.RESP_DATA = 'data';
|
1932
|
+
this.RESP_THREAD_DUMP = 'thDump';
|
1933
|
+
|
1934
|
+
this._tcpOutThreads = 0;
|
1935
|
+
this._tcpOutLoad = 0;
|
1936
|
+
this._udpOutThreads = 0;
|
1937
|
+
this._udpOutLoad = 0;
|
1938
|
+
}
|
1939
|
+
|
1940
|
+
//------------------------------------
|
1941
|
+
// COMMON MODULE INTERFACE METHODS
|
1942
|
+
// This members are used by the main controller
|
1943
|
+
// to communicate with the module's controller.
|
1944
|
+
//------------------------------------
|
1945
|
+
|
1946
|
+
initialize(idData, shellController)
|
1947
|
+
{
|
1948
|
+
// Call super method
|
1949
|
+
super.initialize(idData, shellController);
|
1950
|
+
|
1951
|
+
// Initialize scrolling tabs
|
1952
|
+
$('#dsh-tabNavigator > #tabs').scrollingTabs({
|
1953
|
+
bootstrapVersion: 4,
|
1954
|
+
scrollToTabEdge: true,
|
1955
|
+
enableSwiping: true,
|
1956
|
+
disableScrollArrowsOnFullyScrolled: true,
|
1957
|
+
cssClassLeftArrow: 'fa fa-chevron-left',
|
1958
|
+
cssClassRightArrow: 'fa fa-chevron-right'
|
1959
|
+
});
|
1960
|
+
|
1961
|
+
// Initialize interval dropdown
|
1962
|
+
this._intervalDropDown = $('#dsh-intervalDD').kendoDropDownList({
|
1963
|
+
valueTemplate: '<span class="text-muted pr-1">Interval:</span><span>#:data.text#</span>',
|
1964
|
+
change: $.proxy(this._onUpdateIntervalChange, this)
|
1965
|
+
}).data('kendoDropDownList');
|
1966
|
+
|
1967
|
+
// Initialize threads grid
|
1968
|
+
this._threadsGrid = $('#dsh-threadsGrid').kendoGrid({
|
1969
|
+
dataSource: this._getThreadsGridDataSource(),
|
1970
|
+
scrollable: true,
|
1971
|
+
sortable: true,
|
1972
|
+
filterable: false,
|
1973
|
+
resizable: true,
|
1974
|
+
selectable: false,
|
1975
|
+
columns: [
|
1976
|
+
{
|
1977
|
+
field: 'id',
|
1978
|
+
title: 'Id',
|
1979
|
+
width: 60
|
1980
|
+
},
|
1981
|
+
{
|
1982
|
+
field: 'name',
|
1983
|
+
title: 'Name',
|
1984
|
+
width: '65%'
|
1985
|
+
},
|
1986
|
+
{
|
1987
|
+
field: 'cpuTime',
|
1988
|
+
title: 'CPU Time',
|
1989
|
+
format: '{0}%',
|
1990
|
+
width: '35%'
|
1991
|
+
},
|
1992
|
+
],
|
1993
|
+
noRecords: {
|
1994
|
+
template: 'No threads.'
|
1995
|
+
},
|
1996
|
+
height: 'calc(240px - .75rem + 1rem)'
|
1997
|
+
}).data('kendoGrid');
|
1998
|
+
|
1999
|
+
// Add click listener to threads dump button
|
2000
|
+
$('#dsh-dumpThreadsBt').on('click', $.proxy(this._onDumpThreadsClick, this));
|
2001
|
+
|
2002
|
+
// Configure thread dump panel
|
2003
|
+
$('#dsh-threadDumpModal').modal({
|
2004
|
+
backdrop: 'static',
|
2005
|
+
keyboard: false,
|
2006
|
+
show: false,
|
2007
|
+
});
|
2008
|
+
|
2009
|
+
// Add listener for threads dump panel hide
|
2010
|
+
$('#dsh-threadDumpModal').on('hidden.bs.modal', $.proxy(this._onThreadDumpModalHidden, this));
|
2011
|
+
|
2012
|
+
// Add click listener to threads dump copy button
|
2013
|
+
$('#dsh-copyThreadDumpBt').on('click', $.proxy(this._onCopyThreadDumpClick, this));
|
2014
|
+
|
2015
|
+
// Initialize time range slider
|
2016
|
+
this._timeSlider = $('#dsh-timeSlider').kendoRangeSlider({
|
2017
|
+
min: -24,
|
2018
|
+
max: 0,
|
2019
|
+
smallStep: 1,
|
2020
|
+
largeStep: 0,
|
2021
|
+
change: $.proxy(this._onTimeRangeChange, this),
|
2022
|
+
tooltip: {
|
2023
|
+
template: Object(_components_charts_chart_utils__WEBPACK_IMPORTED_MODULE_2__["getTimeRangeTooltipTemplate"])()
|
2024
|
+
},
|
2025
|
+
leftDragHandleTitle: 'Drag',
|
2026
|
+
rightDragHandleTitle: 'Drag',
|
2027
|
+
}).data('kendoRangeSlider');
|
2028
|
+
|
2029
|
+
// Add click listener to reset charts button
|
2030
|
+
$('#dsh-resetBt').on('click', $.proxy(this._onResetChartsClick, this));
|
2031
|
+
|
2032
|
+
// Add click listener to play & pause chart update buttons
|
2033
|
+
$('#dsh-pauseBt').on('click', $.proxy(this._onPauseUpdateClick, this));
|
2034
|
+
$('#dsh-playBt').on('click', $.proxy(this._onPlayUpdateClick, this));
|
2035
|
+
|
2036
|
+
// Set reference to charts
|
2037
|
+
this._cpuUsageChart = document.getElementById('dsh-cpuUsageChart');
|
2038
|
+
this._threadCountChart = document.getElementById('dsh-threadCountChart');
|
2039
|
+
this._memoryChart = document.getElementById('dsh-memoryChart');
|
2040
|
+
this._networkRTChart = document.getElementById('dsh-networkRTChart');
|
2041
|
+
this._network24hChart = document.getElementById('dsh-network24hChart');
|
2042
|
+
this._sysWorkloadChart = document.getElementById('dsh-systemWorkloadChart');
|
2043
|
+
this._outTcpMsgQueueChart = document.getElementById('dsh-outgoingTcpMessagesQueueChart');
|
2044
|
+
this._outUdpMsgQueueChart = document.getElementById('dsh-outgoingUdpMessagesQueueChart');
|
2045
|
+
this._sysQueueChart = document.getElementById('dsh-systemQueueChart');
|
2046
|
+
this._extQueueChart = document.getElementById('dsh-extensionQueueChart');
|
2047
|
+
|
2048
|
+
// Set colors in chart legends
|
2049
|
+
$('#dsh-systemLoadColor').css('color', this._cpuUsageChart.systemColor);
|
2050
|
+
$('#dsh-processLoadColor').css('color', this._cpuUsageChart.processColor);
|
2051
|
+
$('#dsh-allocMemColor').css('color', this._memoryChart.allocatedColor);
|
2052
|
+
$('#dsh-usedMemColor').css('color', this._memoryChart.usedColor);
|
2053
|
+
$('#dsh-incomingNetColor').css('color', this._networkRTChart.incomingColor);
|
2054
|
+
$('#dsh-outgoingNetColor').css('color', this._networkRTChart.outgoingColor);
|
2055
|
+
|
2056
|
+
// Reset time range on 24h network chart
|
2057
|
+
this._onTimeRangeChange();
|
2058
|
+
|
2059
|
+
// Add listener to redraw all charts on main tab change
|
2060
|
+
// (to work around an issue with the chart resizing to default width when pane is hidden)
|
2061
|
+
$('a[data-toggle="tab"]').on('shown.bs.tab', $.proxy(this._onWindowResize, this));
|
2062
|
+
|
2063
|
+
// Add listener to redraw network charts on network tab change
|
2064
|
+
// (to work around an issue with the chart resizing to default width when pane is hidden)
|
2065
|
+
$('#dsh-networkPills a[data-toggle="pill"]').on('shown.bs.tab', $.proxy(this._redrawNetworkCharts, this));
|
2066
|
+
|
2067
|
+
// Add listener to redraw outgoing messages queue charts on tab change
|
2068
|
+
// (to work around an issue with the chart resizing to default width when pane is hidden)
|
2069
|
+
$('#dsh-msgQueuePills a[data-toggle="pill"]').on('shown.bs.tab', $.proxy(this._redrawOutMsgCharts, this));
|
2070
|
+
|
2071
|
+
// Add listener to redraw all charts in case of window resize
|
2072
|
+
$(window).on('resize', $.proxy(this._onWindowResize, this));
|
2073
|
+
this._onWindowResize(); // Also do it immediately
|
2074
|
+
|
2075
|
+
// Add listener to show help tooltips in queues status tab
|
2076
|
+
$('#dsh-queues').kendoTooltip({
|
2077
|
+
filter: 'i[title].help',
|
2078
|
+
position: 'right',
|
2079
|
+
width: '250px',
|
2080
|
+
content: function(e) {
|
2081
|
+
return `<div class="help-tooltip">${e.target.data('title')}</div>`;
|
2082
|
+
}
|
2083
|
+
});
|
2084
|
+
|
2085
|
+
// Add listener to regenerate link to open web server external manager console
|
2086
|
+
$('#dsh-useHttpsCheck').on('change', $.proxy(this._onUseHttpsForWsManagerChange, this));
|
2087
|
+
|
2088
|
+
// Send initialization request
|
2089
|
+
this.sendExtensionRequest(this.REQ_INIT);
|
2090
|
+
}
|
2091
|
+
|
2092
|
+
destroy()
|
2093
|
+
{
|
2094
|
+
// Call super method
|
2095
|
+
super.destroy();
|
2096
|
+
|
2097
|
+
// Destroy scrolling tabs
|
2098
|
+
$('#dsh-tabNavigator #tabs').scrollingTabs('destroy');
|
2099
|
+
|
2100
|
+
// Remove other listeners
|
2101
|
+
$('#dsh-resetBt').off('click');
|
2102
|
+
$('#dsh-pauseBt').off('click');
|
2103
|
+
$('#dsh-playBt').off('click');
|
2104
|
+
$('#dsh-dumpThreadsBt').off('click');
|
2105
|
+
$('a[data-toggle="tab"]').off('shown.bs.tab');
|
2106
|
+
$('a[data-toggle="pill"]').off('shown.bs.tab');
|
2107
|
+
$(window).off('resize');
|
2108
|
+
$('#dsh-useHttpsCheck').off('change');
|
2109
|
+
|
2110
|
+
// Remove thread dump panel listener
|
2111
|
+
$('#dsh-threadDumpModal').off('hidden.bs.modal');
|
2112
|
+
|
2113
|
+
// Clear request scheduling
|
2114
|
+
clearTimeout(this._requestTimer);
|
2115
|
+
}
|
2116
|
+
|
2117
|
+
onExtensionCommand(command, data)
|
2118
|
+
{
|
2119
|
+
// Initialization data received
|
2120
|
+
if (command == this.RESP_INIT)
|
2121
|
+
{
|
2122
|
+
// Server sends flags indicating if web server's internal manager is accessible and how
|
2123
|
+
this._wsManagerConfig = {
|
2124
|
+
hasAccess: data.getBool('hasWsManager'),
|
2125
|
+
httpEnabled: data.getBool('httpEnabled'),
|
2126
|
+
httpsEnabled: data.getBool('httpsEnabled'),
|
2127
|
+
httpPort: data.getInt('httpPort'),
|
2128
|
+
httpsPort: data.getInt('httpsPort'),
|
2129
|
+
}
|
2130
|
+
|
2131
|
+
// Enable access to web server manager console
|
2132
|
+
this._enableWebServerManagerAccess();
|
2133
|
+
|
2134
|
+
// Request data to server
|
2135
|
+
this._requestData(true);
|
2136
|
+
}
|
2137
|
+
|
2138
|
+
// Data received
|
2139
|
+
else if (command == this.RESP_DATA)
|
2140
|
+
{
|
2141
|
+
// CPU LOAD CHART
|
2142
|
+
|
2143
|
+
this._cpuUsageChart.addEntry(data.getDouble('pCpu'), data.getDouble('sCpu'));
|
2144
|
+
$('#dsh-systemLoadLabel').text(data.getDouble('sCpu'));
|
2145
|
+
$('#dsh-processLoadLabel').text(data.getDouble('pCpu'));
|
2146
|
+
|
2147
|
+
// As system cpu load is not always available (for example on MacOS X), let's hide it in case it isn't
|
2148
|
+
if (data.getDouble('sCpu') < 0)
|
2149
|
+
$('#dsh-systemLoadLegend').hide();
|
2150
|
+
|
2151
|
+
// THREADS COUNT CHART
|
2152
|
+
|
2153
|
+
const threadCount = data.getSFSArray('thList').size();
|
2154
|
+
this._threadCountChart.addEntry(threadCount);
|
2155
|
+
$('#dsh-threadsCountLabel').text(threadCount);
|
2156
|
+
|
2157
|
+
// MEMORY USAGE CHART
|
2158
|
+
// NOTE: memory data is sent as Bytes by the server
|
2159
|
+
|
2160
|
+
const freeMem = data.getLong('freeMem');
|
2161
|
+
const maxMem = data.getLong('maxMem');
|
2162
|
+
const totalMem = data.getLong('totalMem');
|
2163
|
+
const usedMem = totalMem - freeMem;
|
2164
|
+
|
2165
|
+
this._memoryChart.addEntry(totalMem, usedMem);
|
2166
|
+
$('#dsh-maxMemoryLabel').text(this._getMemObject(maxMem).label);
|
2167
|
+
$('#dsh-freeMemoryLabel').text(this._getMemObject(freeMem).label);
|
2168
|
+
|
2169
|
+
// THREADS LIST
|
2170
|
+
|
2171
|
+
const totalThreadCpuTime = data.getLong('thCpu');
|
2172
|
+
let threads = [];
|
2173
|
+
|
2174
|
+
for (let i = 0; i < data.getSFSArray('thList').size(); i++)
|
2175
|
+
{
|
2176
|
+
let threadData = data.getSFSArray('thList').getSFSObject(i);
|
2177
|
+
|
2178
|
+
threads.push({
|
2179
|
+
id: threadData.getLong('id'),
|
2180
|
+
name: threadData.getUtfString('name'),
|
2181
|
+
cpuTime: Math.round(threadData.getLong('cpu') / totalThreadCpuTime * 1000) / 10
|
2182
|
+
});
|
2183
|
+
}
|
2184
|
+
|
2185
|
+
// Substitute grid's data source, retaining current sorting
|
2186
|
+
let currSort = this._threadsGrid.dataSource.sort();
|
2187
|
+
this._threadsGrid.setDataSource(this._getThreadsGridDataSource(threads, currSort));
|
2188
|
+
|
2189
|
+
// NETWORK TRAFFIC
|
2190
|
+
// NOTE: network traffic data is sent as KBytes by the server
|
2191
|
+
|
2192
|
+
if (data.containsKey('ntOutHistory'))
|
2193
|
+
{
|
2194
|
+
const outgoingData = data.getLongArray('ntOutHistory');
|
2195
|
+
const incomingData = data.getLongArray('ntInHistory');
|
2196
|
+
const samplingRateMins = data.getInt('ntRate');
|
2197
|
+
const shiftSeconds = data.getInt('ntShift');
|
2198
|
+
|
2199
|
+
this._network24hChart.addHistoryEntries(outgoingData, incomingData, samplingRateMins * 60, shiftSeconds);
|
2200
|
+
}
|
2201
|
+
|
2202
|
+
// Add current values
|
2203
|
+
this._network24hChart.addEntry(data.getLong('ntOut'), data.getLong('ntIn'));
|
2204
|
+
this._networkRTChart.addEntry(data.getLong('ntOut'), data.getLong('ntIn'));
|
2205
|
+
|
2206
|
+
// TRAFFIC DETAILS
|
2207
|
+
|
2208
|
+
// Sessions
|
2209
|
+
$('#dsh-detSessionsCurrent').text('Current: ' + (data.getInt('sSocket') + data.getInt('sHttp')));
|
2210
|
+
$('#dsh-detSessionsMax').text('Max: ' + data.getInt('ccsMax'));
|
2211
|
+
$('#dsh-detSessionsSocket').text('Socket: ' + data.getInt('sSocket'));
|
2212
|
+
$('#dsh-detSessionsHttp').text('Http: ' + data.getInt('sHttp'));
|
2213
|
+
|
2214
|
+
// Users
|
2215
|
+
$('#dsh-detUsersCurrent').text('Current: ' + (data.getInt('uSocket') + data.getInt('uHttp') + data.getInt('uNpc')));
|
2216
|
+
$('#dsh-detUsersMax').text('Max: ' + data.getInt('ccuMax'));
|
2217
|
+
$('#dsh-detUsersSocket').text('Socket: ' + data.getInt('uSocket'));
|
2218
|
+
$('#dsh-detUsersHttp').text('Http: ' + data.getInt('uHttp'));
|
2219
|
+
$('#dsh-detUsersNpc').text('Npc: ' + data.getInt('uNpc'));
|
2220
|
+
|
2221
|
+
// Rooms
|
2222
|
+
$('#dsh-detRooms').text(data.getInt('rTotal'));
|
2223
|
+
$('#dsh-detRoomsRegular').text('Regular: ' + (data.getInt('rTotal') - data.getInt('rGame')));
|
2224
|
+
$('#dsh-detRoomsGame').text('Game: ' + data.getInt('rGame'));
|
2225
|
+
|
2226
|
+
// Total data transfer
|
2227
|
+
$('#dsh-detDataTransferOut').text('Out: ' + Object(_utils_utilities__WEBPACK_IMPORTED_MODULE_1__["kBytesToSize"])(data.getLong('ntOut')));
|
2228
|
+
$('#dsh-detDataTransferIn').text('In: ' + Object(_utils_utilities__WEBPACK_IMPORTED_MODULE_1__["kBytesToSize"])(data.getLong('ntIn')));
|
2229
|
+
|
2230
|
+
// Current data transfer rate
|
2231
|
+
let obj = this._networkRTChart.getLastEntry();
|
2232
|
+
|
2233
|
+
if (obj == null)
|
2234
|
+
obj = {outgoing: 0, incoming: 0};
|
2235
|
+
|
2236
|
+
$('#dsh-detTransferRateOut').text('Out: ' + Object(_utils_utilities__WEBPACK_IMPORTED_MODULE_1__["kBytesToSize"])(obj.outgoing, 2, 'KB', '/s'));
|
2237
|
+
$('#dsh-detTransferRateIn').text('In: ' + Object(_utils_utilities__WEBPACK_IMPORTED_MODULE_1__["kBytesToSize"])(obj.incoming, 2, 'KB', '/s'));
|
2238
|
+
|
2239
|
+
// Average data transfer rate over whole uptime
|
2240
|
+
if (this._uptimeSecs > 0)
|
2241
|
+
{
|
2242
|
+
const avgOut = Math.round(data.getLong('ntOut') / this._uptimeSecs * 100) / 100;
|
2243
|
+
const avgIn = Math.round(data.getLong('ntIn') / this._uptimeSecs * 100) / 100;
|
2244
|
+
|
2245
|
+
$('#dsh-detAvgTransferRateOut').text('Out: ' + Object(_utils_utilities__WEBPACK_IMPORTED_MODULE_1__["kBytesToSize"])(avgOut, 2, 'KB', '/s'));
|
2246
|
+
$('#dsh-detAvgTransferRateIn').text('In: ' + Object(_utils_utilities__WEBPACK_IMPORTED_MODULE_1__["kBytesToSize"])(avgIn, 2, 'KB', '/s'));
|
2247
|
+
}
|
2248
|
+
|
2249
|
+
// Dropped packets
|
2250
|
+
const totalPacketsOut = data.getLong('pktOut');
|
2251
|
+
|
2252
|
+
const totalDroppedTcpPacketsOut = data.getLong('pktOutDrop');
|
2253
|
+
$('#dsh-detDroppedTcpPacketsOut').text(`Out TCP: ${totalDroppedTcpPacketsOut} (${Math.round(totalDroppedTcpPacketsOut / totalPacketsOut * 100)}%)`);
|
2254
|
+
|
2255
|
+
const totalDroppedUdpPacketsOut = data.getLong('pktOutUdpDrop');
|
2256
|
+
$('#dsh-detDroppedUdpPacketsOut').text(`Out UDP: ${totalDroppedUdpPacketsOut} (${Math.round(totalDroppedUdpPacketsOut / totalPacketsOut * 100)}%)`);
|
2257
|
+
|
2258
|
+
const totalPacketsIn = data.getLong('pktIn');
|
2259
|
+
const totalDroppedPacketsIn = data.getLong('pktInDrop');
|
2260
|
+
$('#dsh-detDroppedPacketsIn').text(`In: ${totalDroppedPacketsIn} (${Math.round(totalDroppedPacketsIn / totalPacketsIn * 100)}%)`);
|
2261
|
+
|
2262
|
+
// SYSTEM STATUS
|
2263
|
+
|
2264
|
+
// Outgoing TCP messages queue
|
2265
|
+
const outMsgQueue = data.getInt('outMsgQueue');
|
2266
|
+
const outMsgQueueMax = data.getInt('outMsgQueueMax');
|
2267
|
+
this._outTcpMsgQueueChart.addEntry(outMsgQueue, outMsgQueueMax);
|
2268
|
+
this._tcpOutThreads = data.getInt('outMsgTh');
|
2269
|
+
this._tcpOutLoad = this._outTcpMsgQueueChart.load;
|
2270
|
+
|
2271
|
+
// Outgoing UDP messages queue
|
2272
|
+
const outUdpMsgQueue = data.getInt('outUdpMsgQueue');
|
2273
|
+
const outUdpMsgQueueMax = data.getInt('outUdpMsgQueueMax');
|
2274
|
+
this._outUdpMsgQueueChart.addEntry(outUdpMsgQueue, outUdpMsgQueueMax);
|
2275
|
+
this._udpOutThreads = data.getInt('outUdpMsgTh');
|
2276
|
+
this._udpOutLoad = this._outUdpMsgQueueChart.load;
|
2277
|
+
|
2278
|
+
this._updateOutMessagesQueueStatus();
|
2279
|
+
|
2280
|
+
// System Controller requests queue
|
2281
|
+
const sysCtrlQueue = data.getInt('sysCtrlQueue');
|
2282
|
+
const sysCtrlQueueMax = data.getInt('sysCtrlQueueMax');
|
2283
|
+
this._sysQueueChart.addEntry(sysCtrlQueue, sysCtrlQueueMax);
|
2284
|
+
$('#dsh-systemQueueThreads').text(this._getQueueThreadsLabel(data.getInt('sysCtrlTh')));
|
2285
|
+
$('#dsh-systemQueueLoad').text(this._getQueueLoadLabel(this._sysQueueChart.load));
|
2286
|
+
|
2287
|
+
// Extension Controller requests queue
|
2288
|
+
const extCtrlQueue = data.getInt('extCtrlQueue');
|
2289
|
+
const extCtrlQueueMax = data.getInt('extCtrlQueueMax');
|
2290
|
+
this._extQueueChart.addEntry(extCtrlQueue, extCtrlQueueMax);
|
2291
|
+
$('#dsh-extensionQueueThreads').text(this._getQueueThreadsLabel(data.getInt('extCtrlTh')));
|
2292
|
+
$('#dsh-extensionQueueLoad').text(this._getQueueLoadLabel(this._sysQueueChart.load));
|
2293
|
+
|
2294
|
+
// Evaluate overall system workload
|
2295
|
+
let sysWorkload = Math.round((outMsgQueue / outMsgQueueMax +
|
2296
|
+
outUdpMsgQueue / outUdpMsgQueueMax +
|
2297
|
+
sysCtrlQueue / sysCtrlQueueMax +
|
2298
|
+
extCtrlQueue / extCtrlQueueMax) * 100 / 4);
|
2299
|
+
if (sysWorkload > 100)
|
2300
|
+
sysWorkload = 100;
|
2301
|
+
|
2302
|
+
this._sysWorkloadChart.addEntry(sysWorkload);
|
2303
|
+
}
|
2304
|
+
|
2305
|
+
// Thread dump received
|
2306
|
+
else if (command == this.RESP_THREAD_DUMP)
|
2307
|
+
{
|
2308
|
+
// Enable button
|
2309
|
+
$('#dsh-dumpThreadsBt').attr('disabled', false);
|
2310
|
+
|
2311
|
+
// Set result
|
2312
|
+
$('#dsh-threadDumpResult').text(data.getText('dump'));
|
2313
|
+
|
2314
|
+
// Display modal
|
2315
|
+
$('#dsh-threadDumpModal').modal('show');
|
2316
|
+
}
|
2317
|
+
}
|
2318
|
+
|
2319
|
+
onUptimeUpdated(values)
|
2320
|
+
{
|
2321
|
+
this._uptimeSecs = values[3];
|
2322
|
+
this._uptimeSecs += (values[2] * 60);
|
2323
|
+
this._uptimeSecs += (values[1] * 60 * 60);
|
2324
|
+
this._uptimeSecs += (values[0] * 24 * 60 * 60);
|
2325
|
+
|
2326
|
+
$('#dsh-uptimeDays').text( (values[0] <= 9 ? '00' : (values[0] <= 99 ? '0' : '')) + values[0] );
|
2327
|
+
$('#dsh-uptimeHours').text( (values[1] <= 9 ? '0' : '') + values[1] );
|
2328
|
+
$('#dsh-uptimeMinutes').text( (values[2] <= 9 ? '0' : '') + values[2] );
|
2329
|
+
$('#dsh-uptimeSeconds').text( (values[3] <= 9 ? '0' : '') + values[3] );
|
2330
|
+
}
|
2331
|
+
|
2332
|
+
//---------------------------------
|
2333
|
+
// UI EVENT LISTENERS
|
2334
|
+
//---------------------------------
|
2335
|
+
|
2336
|
+
_onUpdateIntervalChange()
|
2337
|
+
{
|
2338
|
+
// Request data to server
|
2339
|
+
this._requestData();
|
2340
|
+
}
|
2341
|
+
|
2342
|
+
_onPauseUpdateClick()
|
2343
|
+
{
|
2344
|
+
this._setChartUpdatePaused(true);
|
2345
|
+
|
2346
|
+
// Hide pause button and show play button
|
2347
|
+
$('#dsh-pauseBt').addClass('hidden');
|
2348
|
+
$('#dsh-playBt').removeClass('hidden');
|
2349
|
+
}
|
2350
|
+
|
2351
|
+
_onPlayUpdateClick()
|
2352
|
+
{
|
2353
|
+
this._setChartUpdatePaused(false);
|
2354
|
+
|
2355
|
+
// Hide play button and show pause button
|
2356
|
+
$('#dsh-pauseBt').removeClass('hidden');
|
2357
|
+
$('#dsh-playBt').addClass('hidden');
|
2358
|
+
}
|
2359
|
+
|
2360
|
+
_onResetChartsClick()
|
2361
|
+
{
|
2362
|
+
// Reactivate realtime charts update
|
2363
|
+
this._onPlayUpdateClick();
|
2364
|
+
|
2365
|
+
// Reset realtime charts
|
2366
|
+
this._cpuUsageChart.reset();
|
2367
|
+
this._threadCountChart.reset();
|
2368
|
+
this._memoryChart.reset();
|
2369
|
+
this._networkRTChart.reset();
|
2370
|
+
this._sysWorkloadChart.reset();
|
2371
|
+
this._outTcpMsgQueueChart.reset();
|
2372
|
+
this._outUdpMsgQueueChart.reset();
|
2373
|
+
this._sysQueueChart.reset();
|
2374
|
+
this._extQueueChart.reset();
|
2375
|
+
}
|
2376
|
+
|
2377
|
+
_redrawNetworkCharts()
|
2378
|
+
{
|
2379
|
+
// Redraw charts
|
2380
|
+
this._networkRTChart.redraw();
|
2381
|
+
this._network24hChart.redraw();
|
2382
|
+
|
2383
|
+
// Redraw time range slider
|
2384
|
+
this._timeSlider.resize();
|
2385
|
+
}
|
2386
|
+
|
2387
|
+
_redrawOutMsgCharts()
|
2388
|
+
{
|
2389
|
+
// Redraw charts
|
2390
|
+
this._outTcpMsgQueueChart.redraw();
|
2391
|
+
this._outUdpMsgQueueChart.redraw();
|
2392
|
+
|
2393
|
+
this._updateOutMessagesQueueStatus();
|
2394
|
+
}
|
2395
|
+
|
2396
|
+
_onWindowResize()
|
2397
|
+
{
|
2398
|
+
// Redraw all global charts
|
2399
|
+
this._cpuUsageChart.redraw();
|
2400
|
+
this._threadCountChart.redraw();
|
2401
|
+
this._memoryChart.redraw();
|
2402
|
+
this._redrawNetworkCharts();
|
2403
|
+
|
2404
|
+
// Redraw all queue charts
|
2405
|
+
this._sysWorkloadChart.redraw();
|
2406
|
+
this._sysQueueChart.redraw();
|
2407
|
+
this._extQueueChart.redraw();
|
2408
|
+
this._redrawOutMsgCharts();
|
2409
|
+
}
|
2410
|
+
|
2411
|
+
_onTimeRangeChange()
|
2412
|
+
{
|
2413
|
+
let values = this._timeSlider.value();
|
2414
|
+
|
2415
|
+
if (values[0] == values[1])
|
2416
|
+
{
|
2417
|
+
if (values[1] == -24)
|
2418
|
+
values[1] = -23;
|
2419
|
+
|
2420
|
+
values[0] = values[1] - 1;
|
2421
|
+
|
2422
|
+
// Reset the time range slider value (we need to use setTimeout
|
2423
|
+
// bacause doing it in the change event listener doesn't redraw the slider)
|
2424
|
+
setTimeout($.proxy( function(values) { this._timeSlider.value(values); }, this), 10, values);
|
2425
|
+
}
|
2426
|
+
|
2427
|
+
this._network24hChart.range = values;
|
2428
|
+
}
|
2429
|
+
|
2430
|
+
_onUseHttpsForWsManagerChange()
|
2431
|
+
{
|
2432
|
+
const wsMan = this._wsManagerConfig;
|
2433
|
+
|
2434
|
+
let url = ($('#dsh-useHttpsCheck').prop('checked') ? 'https' : 'http') + '://';
|
2435
|
+
url += this.smartFox.config.host;
|
2436
|
+
url += ':' + ($('#dsh-useHttpsCheck').prop('checked') ? wsMan.httpsPort : wsMan.httpPort);
|
2437
|
+
url += '/manager/status';
|
2438
|
+
|
2439
|
+
$('#dsh-toWsManagerBt').attr('href', url);
|
2440
|
+
}
|
2441
|
+
|
2442
|
+
_onDumpThreadsClick()
|
2443
|
+
{
|
2444
|
+
// Disable button
|
2445
|
+
$('#dsh-dumpThreadsBt').attr('disabled', true);
|
2446
|
+
|
2447
|
+
// Send request to extension
|
2448
|
+
this.sendExtensionRequest(this.REQ_DUMP_THREADS);
|
2449
|
+
}
|
2450
|
+
|
2451
|
+
_onCopyThreadDumpClick()
|
2452
|
+
{
|
2453
|
+
$('#dsh-threadDumpResult').attr('contenteditable', true);
|
2454
|
+
$('#dsh-threadDumpResult').attr('spellcheck', false);
|
2455
|
+
$('#dsh-threadDumpResult').focus();
|
2456
|
+
document.execCommand('selectAll');
|
2457
|
+
document.execCommand('copy');
|
2458
|
+
window.getSelection().removeAllRanges();
|
2459
|
+
$('#dsh-threadDumpResult').blur();
|
2460
|
+
$('#dsh-threadDumpResult').attr('contenteditable', false);
|
2461
|
+
}
|
2462
|
+
|
2463
|
+
_onThreadDumpModalHidden()
|
2464
|
+
{
|
2465
|
+
// Clear modal content
|
2466
|
+
$('#dsh-threadDumpResult').text('');
|
2467
|
+
}
|
2468
|
+
|
2469
|
+
//------------------------------------
|
2470
|
+
// PRIVATE METHODS
|
2471
|
+
//------------------------------------
|
2472
|
+
|
2473
|
+
_enableWebServerManagerAccess()
|
2474
|
+
{
|
2475
|
+
const wsMan = this._wsManagerConfig;
|
2476
|
+
|
2477
|
+
if (wsMan.hasAccess && (wsMan.httpEnabled || wsMan.httpsEnabled))
|
2478
|
+
{
|
2479
|
+
// Hide alert
|
2480
|
+
$('#dsh-wsManagerAlert').hide();
|
2481
|
+
|
2482
|
+
// Enable button
|
2483
|
+
$('#dsh-toWsManagerBt').attr('disabled', false);
|
2484
|
+
|
2485
|
+
// Set checkbox
|
2486
|
+
$('#dsh-useHttpsCheck').prop('checked', wsMan.httpsEnabled);
|
2487
|
+
$('#dsh-useHttpsCheck').attr('disabled', !wsMan.httpEnabled || !wsMan.httpsEnabled);
|
2488
|
+
|
2489
|
+
// Generate link
|
2490
|
+
this._onUseHttpsForWsManagerChange();
|
2491
|
+
}
|
2492
|
+
else
|
2493
|
+
{
|
2494
|
+
// Show alert
|
2495
|
+
$('#dsh-wsManagerAlert').show();
|
2496
|
+
|
2497
|
+
if (!wsMan.hasAccess)
|
2498
|
+
$('#dsh-wsManagerAlert').html('Access to Tomcat Manager console requires at least one user to be defined in <em>Web Server</em> tab of <strong>Server Configurator</strong> module.');
|
2499
|
+
else
|
2500
|
+
$('#dsh-wsManagerAlert').html('Access to Tomcat Manager console requires either HTTP or HTTPS to be enabled in <em>Web Server</em> tab of <strong>Server Configurator</strong> module.');
|
2501
|
+
|
2502
|
+
// Disable button
|
2503
|
+
$('#dsh-toWsManagerBt').attr('disabled', true);
|
2504
|
+
|
2505
|
+
// Disable checkbox
|
2506
|
+
$('#dsh-useHttpsCheck').attr('checked', wsMan.httpsEnabled);
|
2507
|
+
$('#dsh-useHttpsCheck').attr('disabled', true);
|
2508
|
+
}
|
2509
|
+
}
|
2510
|
+
|
2511
|
+
/**
|
2512
|
+
* Build the polling request to be sent to the server.
|
2513
|
+
*/
|
2514
|
+
_requestData(getHistory = false)
|
2515
|
+
{
|
2516
|
+
// Clear previous request scheduling
|
2517
|
+
clearTimeout(this._requestTimer);
|
2518
|
+
|
2519
|
+
// Check if connection is still available
|
2520
|
+
if (this.smartFox.isConnected)
|
2521
|
+
{
|
2522
|
+
// Build request parameters
|
2523
|
+
let params = new SFS2X.SFSObject();
|
2524
|
+
|
2525
|
+
if (getHistory)
|
2526
|
+
params.putBool('history', true);
|
2527
|
+
|
2528
|
+
// Send request to extension
|
2529
|
+
this.sendExtensionRequest(this.REQ_GET_DATA, params);
|
2530
|
+
|
2531
|
+
// Schedule next request
|
2532
|
+
this._requestTimer = setTimeout($.proxy(this._requestData, this), Number(this._intervalDropDown.value()) * 1000);
|
2533
|
+
}
|
2534
|
+
}
|
2535
|
+
|
2536
|
+
_getMemObject(bytes)
|
2537
|
+
{
|
2538
|
+
return {
|
2539
|
+
data: bytes,
|
2540
|
+
label: Object(_utils_utilities__WEBPACK_IMPORTED_MODULE_1__["bytesToSize"])(bytes)
|
2541
|
+
};
|
2542
|
+
}
|
2543
|
+
|
2544
|
+
_setChartUpdatePaused(paused)
|
2545
|
+
{
|
2546
|
+
// Pause/reactivate realtime charts
|
2547
|
+
this._cpuUsageChart.paused = paused;
|
2548
|
+
this._threadCountChart.paused = paused;
|
2549
|
+
this._memoryChart.paused = paused;
|
2550
|
+
this._networkRTChart.paused = paused;
|
2551
|
+
this._sysWorkloadChart.paused = paused;
|
2552
|
+
this._outTcpMsgQueueChart.paused = paused;
|
2553
|
+
this._sysQueueChart.paused = paused;
|
2554
|
+
this._extQueueChart.paused = paused;
|
2555
|
+
}
|
2556
|
+
|
2557
|
+
_getThreadsGridDataSource(items, sort)
|
2558
|
+
{
|
2559
|
+
if (!items)
|
2560
|
+
items = '';
|
2561
|
+
|
2562
|
+
if (!sort)
|
2563
|
+
{
|
2564
|
+
sort = {
|
2565
|
+
field: 'cpuTime',
|
2566
|
+
dir: 'desc'
|
2567
|
+
};
|
2568
|
+
}
|
2569
|
+
|
2570
|
+
return new kendo.data.DataSource({
|
2571
|
+
schema: {
|
2572
|
+
model: {
|
2573
|
+
id: 'id'
|
2574
|
+
}
|
2575
|
+
},
|
2576
|
+
sort: sort,
|
2577
|
+
data: items
|
2578
|
+
});
|
2579
|
+
}
|
2580
|
+
|
2581
|
+
_getQueueThreadsLabel(threadsNum)
|
2582
|
+
{
|
2583
|
+
return `Threads: ${threadsNum}`;
|
2584
|
+
}
|
2585
|
+
|
2586
|
+
_getQueueLoadLabel(load)
|
2587
|
+
{
|
2588
|
+
return `Avg. messages: ${load}`;
|
2589
|
+
}
|
2590
|
+
|
2591
|
+
_updateOutMessagesQueueStatus()
|
2592
|
+
{
|
2593
|
+
let threadsStr = this._getQueueThreadsLabel('--');
|
2594
|
+
let loadStr = this._getQueueLoadLabel('--');
|
2595
|
+
|
2596
|
+
if ($('#dsh-tcpPill').hasClass('active'))
|
2597
|
+
{
|
2598
|
+
threadsStr = this._getQueueThreadsLabel(this._tcpOutThreads);
|
2599
|
+
loadStr = this._getQueueLoadLabel(this._tcpOutLoad);
|
2600
|
+
}
|
2601
|
+
|
2602
|
+
if ($('#dsh-udpPill').hasClass('active'))
|
2603
|
+
{
|
2604
|
+
threadsStr = this._getQueueThreadsLabel(this._udpOutThreads);
|
2605
|
+
loadStr = this._getQueueLoadLabel(this._udpOutLoad);
|
2606
|
+
}
|
2607
|
+
|
2608
|
+
$('#dsh-outgoingMessagesQueueThreads').text(threadsStr);
|
2609
|
+
$('#dsh-outgoingMessagesQueueLoad').text(loadStr);
|
2610
|
+
}
|
2611
|
+
|
2612
|
+
//---------------------------------
|
2613
|
+
// PRIVATE GETTERS
|
2614
|
+
//---------------------------------
|
2615
|
+
|
2616
|
+
|
2617
|
+
}
|
2618
|
+
|
2619
|
+
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! jquery */ "jquery")))
|
2620
|
+
|
2621
|
+
/***/ })
|
2622
|
+
|
2623
|
+
}]);
|
2624
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXNzZXRzL2pzL2NvcmUvbW9kdWxlcy9tb2R1bGUtNS5idW5kbGUuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9hcHBsaWNhdGlvbi8uL3NyYy9jb21wb25lbnRzL2NoYXJ0cy9iYXNlLWNoYXJ0LmpzIiwid2VicGFjazovL2FwcGxpY2F0aW9uLy4vc3JjL2NvbXBvbmVudHMvY2hhcnRzL2NoYXJ0LXV0aWxzLmpzIiwid2VicGFjazovL2FwcGxpY2F0aW9uLy4vc3JjL2NvbXBvbmVudHMvY2hhcnRzL2NwdS11c2FnZS1jaGFydC5q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blx0ICAgICAgICBzZXJpZXNEZWZhdWx0czoge1xuXHQgICAgICAgICAgICB0eXBlOiAnYXJlYScsXG5cdCAgICAgICAgICAgIGxhYmVsczoge1xuXHQgICAgICAgICAgICAgICAgdmlzaWJsZTogZmFsc2UsXG5cdCAgICAgICAgICAgICAgICBmb3JtYXQ6ICd7MH0nLFxuXHQgICAgICAgICAgICAgICAgYmFja2dyb3VuZDogJ3RyYW5zcGFyZW50J1xuXHQgICAgICAgICAgICB9XG5cdCAgICAgICAgfSxcblx0ICAgICAgICBzZXJpZXM6IFtcblx0XHRcdFx0e1xuXHRcdFx0XHRcdG5hbWU6ICdNZXNzYWdlcycsXG5cdFx0ICAgICAgICAgICAgZmllbGQ6ICdsb2FkJyxcblx0XHQgICAgICAgICAgICBjYXRlZ29yeUZpZWxkOiAndGltZScsXG5cdFx0XHRcdFx0Y29sb3I6ICcjMzM5OWZmJyxcblx0XHRcdFx0XHRsaW5lOiB7XG5cdFx0XHRcdFx0XHR3aWR0aDogMlxuXHRcdFx0XHRcdH1cblx0XHQgICAgICAgIH1cblx0XHRcdF0sXG5cdCAgICAgICAgdmFsdWVBeGlzOiB7XG5cdFx0XHRcdHRpdGxlOiB7XG5cdFx0XHRcdFx0dGV4dDogJ01lc3NhZ2VzJ1xuXHRcdFx0XHR9LFxuXHQgICAgICAgICAgICBsYWJlbHM6IHtcblx0ICAgICAgICAgICAgICAgIGZvcm1hdDogJ3swfSdcblx0ICAgICAgICAgICAgfSxcblx0ICAgICAgICAgICAgbGluZToge1xuXHQgICAgICAgICAgICAgICAgdmlzaWJsZTogZmFsc2Vcblx0ICAgICAgICAgICAgfSxcblx0XHRcdFx0bWluOiAwXG5cdCAgICAgICAgfSxcblx0ICAgICAgICBjYXRlZ29yeUF4aXM6IHtcblx0ICAgICAgICAgICAgbWFqb3JHcmlkTGluZXM6IHtcblx0ICAgICAgICAgICAgICAgIHZpc2libGU6IGZhbHNlXG5cdCAgICAgICAgICAgIH0sXG5cdFx0XHRcd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wLFxuXHQgICAgICAgICAgICAgICAgICAgIGNvbG9yOiAnIzAwY2MwMCcsXG5cdCAgICAgICAgICAgICAgICAgIFx0b3BhY2l0eTogLjVcblx0ICAgICAgICAgICAgICAgIH0sIHtcblx0ICAgICAgICAgICAgICAgICAgICBmcm9tOiA1MCxcblx0ICAgICAgICAgICAgICAgICAgICB0bzogNzUsXG5cdCAgICAgICAgICAgICAgICAgICAgY29sb3I6ICcjZmZlMTA2Jyxcblx0ICAgICAgICAgICAgICAgICAgXHRvcGFjaXR5OiAuNVxuXHQgICAgICAgICAgICAgICAgfSwge1xuXHQgICAgICAgICAgICAgICAgICAgIGZyb206IDc1LFxuXHQgICAgICAgICAgICAgICAgICAgIHRvOiAxMDAsXG5cdCAgICAgICAgICAgICAgICAgICAgY29sb3I6ICcjZWQxNjAxJyxcblx0ICAgICAgICAgICAgICAgICAgXHRvcGFjaXR5OiAuNVxuXHQgICAgICAgICAgICAgICAgfVxuXHQgICAgICAgICAgICBdLFxuXHQgICAgICAgICAgXHRtYWpvclRpY2tzOiB7XG5cdCAgICAgICAgICAgICAgdmlzaWJsZTogdHJ1ZSxcblx0ICAgICAgICAgICAgICBzaXplOiAxMFxuXHQgICAgICAgICAgICB9LFxuXHQgICAgICAgICAgXHRtaW5vclRpY2tzOiB7XG5cdCAgICAgICAgICAgICAgdmlzaWJsZTogZmFsc2Vcblx0ICAgICAgICAgICAgfSxcblx0ICAgICAgICAgIFx0bGFiZWxzOiB7XG5cdCAgICAgICAgICAgICAgdmlzaWJsZTogZmFsc2Vcblx0ICAgICAgICAgICAgfSxcblx0ICAgICAgICAgIFx0bGluZToge1xuXHQgICAgICAgICAgICAgIHZpc2libGU6IGZhbHNlXG5cdCAgICAgICAgICAgIH0sXG5cdCAgICAgICAgICBcdHJhbmdlU2l6ZTogMTBcblx0ICAgICAgICB9XG5cdCAgICB9KS5kYXRhKCdrZW5kb0xpbmVhckdhdWdlJyk7XG5cdH1cblxuXHRhZGRFbnRyeShsb2FkLC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TAsXG5cdFx0XHRcdGNvbG9yOiAnIzIxMjUyOSdcblx0ICAgICAgICB9LFxuXHRcdFx0Z2F1Z2VBcmVhOiB7XG5cdFx0XHRcdGhlaWdodDogaGVpZ2h0XG5cdFx0XHR9LFxuXHQgICAgICAgIHNjYWxlOiB7XG5cdCAgICAgICAgICAgIG1ham9yVW5pdDogMTAsXG5cdCAgICAgICAgICAgIG1pbm9yVW5pdDogMSxcblx0ICAgICAgICAgICAgbWF4OiAxMDAsXG5cdFx0XHRcdG1pbjogMCxcblx0ICAgICAgICAgICAgcmFuZ2VzOiBbXG5cdCAgICAgICAgICAgICAgICB7XG5cdCAgICAgICAgICAgICAgICAgICAgZnJvbTogMCxcblx0ICAgICAgICAgICAgICAgICAgICB0bzogNTAsXG5cdCAgICAgICAgICAgICAgICAgICAgY29sb3I6ICcjMDBjYzAwJyxcblx0ICAgICAgICAgICAgICAgICAgXHRvcGFjaXR5OiAuNVxuXHQgICAgICAgICAgICAgICAgfSwge1xuXHQgICAgICAgICAgICAgICAgICAgIGZyb206IDUwLFxuXHQgICAgICAgICAgICAgICAgICAgIHRvOiA3NSxcblx0ICAgICAgICAgICAgICAgICAgICBjb2xvcjogJyNmZmUxMDYnLFxuXHQgICAgICAgICAgICAgICAgICBcdG9wYWNpdHk6IC41XG5cdCAgICAgICAgICAgICAgICB9LCB7XG5cdCAgICAgICAgICAgICAgICAgICAgZnJvbTogNzUsXG5cdCAgICAgICAgICAgICAgICAgICAgdG86IDEwMCxcblx0ICAgICAgICAgICAgICAgICAgICBjb2xvcjogJyNlZDE2MDEnLFxuXHQgICAgICAgICAgICAgICAgICBcdG9wYWNpdHk6IC41XG5cdCAgICAgICAgICAgICAgICB9XG5cdCAgICAgICAgICAgIF0sXG5cdCAgICAgICAgICBcdG1ham9yVGlja3M6IHtcblx0ICAgICAgICAgICAgICB2aXNpYmxlOiB0cnVlLFxuXHQgICAgICAgICAgICAgIHNpemU6IDEwXG5cdCAgICAgICAgICAgIH0sXG5cdC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7XG5cdCAgICAgICAgICAgIHZpc2libGU6IGZhbHNlXG5cdCAgICAgICAgfSxcblx0ICAgICAgICBzZXJpZXNEZWZhdWx0czoge1xuXHQgICAgICAgICAgICB0eXBlOiAnYXJlYScsXG5cdCAgICAgICAgICAgIGxhYmVsczoge1xuXHQgICAgICAgICAgICAgICAgdmlzaWJsZTogZmFsc2UsXG5cdCAgICAgICAgICAgICAgICBmb3JtYXQ6ICd7MH0nLFxuXHQgICAgICAgICAgICAgICAgYmFja2dyb3VuZDogJ3RyYW5zcGFyZW50J1xuXHQgICAgICAgICAgICB9LFxuXHQgICAgICAgIH0sXG5cdCAgICAgICAgc2VyaWVzOiBbXG5cdFx0XHRcdHtcblx0XHRcdFx0XHRuYW1lOiAnVGhyZWFkcycsXG5cdFx0ICAgICAgICAgICAgZmllbGQ6ICd0aHJlYWRzJyxcblx0XHQgICAgICAgICAgICBjYXRlZ29yeUZpZWxkOiAndGltZScsXG5cdFx0XHRcdFx0Y29sb3I6IHRoaXMudGhyZWFkc0NvbG9yLFxuXHRcdFx0XHRcdGxpbmU6IHtcblx0XHRcdFx0XHRcdHdpZHRoOiAyXG5cdFx0XHRcdFx0fVxuXHRcdCAgICAgICAgfVxuXHRcdFx0XSxcblx0ICAgICAgICB2YWx1ZUF4aXM6IHtcblx0XHRcdFx0bWluOiAwLFxuXHQgICAgICAgICAgICBsYWJlbHM6IHtcblx0ICAgICAgICAgICAgICAgIGZvcm1hdDogJ3swfSdcblx0ICAgICAgICAgICAgfSxcblx0ICAgICAgICAgICAgbGluZToge1xuXHQgICAgICAgICAgICAgICAgdmlzaWJsZTogZmFsc2Vcblx0ICAgICAgICAgICAgfSxcblx0ICAgICAgICB9LFxuXHQgICAgICAgIGNhdGVnb3J5QXhpczoge1xuXHQgICAgICAgICAgICBtYWpvckdyaWRMaW5lczoge1xuXHQgICAgICAgICAgICAgICAgdmlzaWJsZTogZmFsc2Vcblx0ICAgICAgICAgICAgfSxcblx0XHRcdFx0bWFqb3JUa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