rubyfox-server 2.13.6.1 → 2.16.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -1
- data/README.md +19 -0
- data/lib/rubyfox/server/cli.rb +39 -5
- data/lib/rubyfox/server/data/config/UploadsLock.txt +1 -1
- data/lib/rubyfox/server/data/config/admin/admintool.xml +1 -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.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 +174 -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 +386 -0
- data/lib/rubyfox/server/data/lib/apache-tomcat/bin/catalina.sh +689 -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 +293 -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 +206 -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 +4733 -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-ssi.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.15.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 +256 -299
- data/lib/rubyfox/server/data/config/ExtensionManagerLock.txt +0 -2
- data/lib/rubyfox/server/data/lib/Lib/reindex$py.class +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.11h.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 -201
- 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/ServletManager.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,847 @@
|
|
1
|
+
/*! (c) gotoAndPlay | All rights reserved */
|
2
|
+
(window["webpackJsonpapplication"] = window["webpackJsonpapplication"] || []).push([["module-9"],{
|
3
|
+
|
4
|
+
/***/ "./src/components/module-specific/ssl-certificate-manager.js":
|
5
|
+
/*!*******************************************************************!*\
|
6
|
+
!*** ./src/components/module-specific/ssl-certificate-manager.js ***!
|
7
|
+
\*******************************************************************/
|
8
|
+
/*! exports provided: SslCertificateManager */
|
9
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
10
|
+
|
11
|
+
"use strict";
|
12
|
+
__webpack_require__.r(__webpack_exports__);
|
13
|
+
/* WEBPACK VAR INJECTION */(function($) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SslCertificateManager", function() { return SslCertificateManager; });
|
14
|
+
/* harmony import */ var _utils_utilities__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/utilities */ "./src/utils/utilities.js");
|
15
|
+
/* harmony import */ var aes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! aes-js */ "./node_modules/aes-js/index.js");
|
16
|
+
/* harmony import */ var aes_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(aes_js__WEBPACK_IMPORTED_MODULE_1__);
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
class SslCertificateManager extends HTMLElement
|
21
|
+
{
|
22
|
+
constructor()
|
23
|
+
{
|
24
|
+
super();
|
25
|
+
|
26
|
+
this._modalHtml = `
|
27
|
+
<div class="modal" id="uploadModal" tabindex="-1" role="dialog" aria-labelledby="uploadModalTitle" aria-hidden="true">
|
28
|
+
<div class="modal-dialog modal-dialog-centered" role="document">
|
29
|
+
<div class="modal-content">
|
30
|
+
<div class="modal-header">
|
31
|
+
<h5 class="modal-title text-primary" id="uploadModalTitle">SSL Certificate Manager</h5>
|
32
|
+
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
33
|
+
<span aria-hidden="true">×</span>
|
34
|
+
</button>
|
35
|
+
</div>
|
36
|
+
<div class="modal-body in-flow-invalid-msg">
|
37
|
+
<fieldset id="uploadFieldset">
|
38
|
+
<div id="uploaderSubform">
|
39
|
+
<div class="form-group">
|
40
|
+
<div class="col-form-label form-label-container">
|
41
|
+
<label for="uploader" class="form-label">Certificate keystore (jks) <i class="fas fa-question-circle text-muted help" title="SSL certificate's protected keystore file to be uploaded to the server, in jks format"></i></label>
|
42
|
+
</div>
|
43
|
+
<div class="inner-widget">
|
44
|
+
<input type="file" id="uploader" name="uploader" accept=".jks" data-upload-msg="Select a file">
|
45
|
+
<span class="k-invalid-msg position-static" data-for="uploader"></span>
|
46
|
+
</div>
|
47
|
+
</div>
|
48
|
+
</div>
|
49
|
+
<div id="passwordsSubform">
|
50
|
+
<div class="form-row">
|
51
|
+
<div class="form-group col">
|
52
|
+
<div class="col-form-label form-label-container">
|
53
|
+
<label for="ksPassword" class="form-label">Keystore password <i class="fas fa-question-circle text-muted help" title="Password used to protect the certificate keystore"></i></label>
|
54
|
+
</div>
|
55
|
+
<div class="inner-widget">
|
56
|
+
<input type="password" id="ksPassword" name="ksPassword" class="form-control k-textbox" autocomplete="off" required data-required-msg="Required" />
|
57
|
+
<span class="k-invalid-msg position-static" data-for="ksPassword"></span>
|
58
|
+
</div>
|
59
|
+
</div>
|
60
|
+
|
61
|
+
<div class="form-group col">
|
62
|
+
<div class="col-form-label form-label-container">
|
63
|
+
<label for="confirmKsPassword" class="form-label">Confirm password <i class="fas fa-question-circle text-muted help" title="Keystore password confirmation"></i></label>
|
64
|
+
</div>
|
65
|
+
<div class="inner-widget">
|
66
|
+
<input type="password" id="confirmKsPassword" name="confirmKsPassword" class="form-control k-textbox" autocomplete="off" required data-required-msg="Required" />
|
67
|
+
<span class="k-invalid-msg position-static" data-for="confirmKsPassword"></span>
|
68
|
+
</div>
|
69
|
+
</div>
|
70
|
+
</div>
|
71
|
+
|
72
|
+
<p><em>For additional security, enter again and confirm your SFS2X administration password.</em></p>
|
73
|
+
|
74
|
+
<div class="form-row">
|
75
|
+
<div class="form-group col">
|
76
|
+
<div class="col-form-label form-label-container">
|
77
|
+
<label for="adminPassword" class="form-label">Admin password <i class="fas fa-question-circle text-muted help" title="SmartFoxServer 2X remote administration password"></i></label>
|
78
|
+
</div>
|
79
|
+
<div class="inner-widget">
|
80
|
+
<input type="password" id="adminPassword" name="adminPassword" class="form-control k-textbox" autocomplete="off" required data-required-msg="Required" />
|
81
|
+
<span class="k-invalid-msg position-static" data-for="adminPassword"></span>
|
82
|
+
</div>
|
83
|
+
</div>
|
84
|
+
|
85
|
+
<div class="form-group col">
|
86
|
+
<div class="col-form-label form-label-container">
|
87
|
+
<label for="confirmAdminPassword" class="form-label">Confirm password <i class="fas fa-question-circle text-muted help" title="SmartFoxServer 2X remote administration password confirmation"></i></label>
|
88
|
+
</div>
|
89
|
+
<div class="inner-widget">
|
90
|
+
<input type="password" id="confirmAdminPassword" name="confirmAdminPassword" class="form-control k-textbox" autocomplete="off" required data-required-msg="Required" />
|
91
|
+
<span class="k-invalid-msg position-static" data-for="confirmAdminPassword"></span>
|
92
|
+
</div>
|
93
|
+
</div>
|
94
|
+
</div>
|
95
|
+
</div>
|
96
|
+
</fieldset>
|
97
|
+
</div>
|
98
|
+
<div class="modal-footer flex-column">
|
99
|
+
<div class="d-flex w-100">
|
100
|
+
<div class="flex-grow-1 text-left">
|
101
|
+
<button id="uploadSslButton" type="button" class="k-button k-primary"><i class="fas fa-upload mr-1"></i>Upload certificate</button>
|
102
|
+
<i id="uploadSpinner" class="fas fa-circle-notch fa-spin text-primary align-middle ml-1"></i>
|
103
|
+
</div>
|
104
|
+
<div class="flex-grow-1 text-right">
|
105
|
+
<button type="button" class="k-button k-secondary" data-dismiss="modal">Cancel</button>
|
106
|
+
</div>
|
107
|
+
</div>
|
108
|
+
<div id="uploadErrorMsg" class="text-danger mt-3"></div>
|
109
|
+
</div>
|
110
|
+
</div>
|
111
|
+
</div>
|
112
|
+
</div>
|
113
|
+
`;
|
114
|
+
|
115
|
+
//-------------------------------------------
|
116
|
+
|
117
|
+
$(this).append(`
|
118
|
+
<div class="col-sm-5 col-lg-4 col-form-label form-label-container">
|
119
|
+
<label class="form-label">Upload certificate <i class="fas fa-question-circle text-muted help" title="Upload an SSL certificate's protected keystore to the server"></i></label>
|
120
|
+
</div>
|
121
|
+
<div class="inner-widget align-self-center align-self-sm-start col-auto">
|
122
|
+
<button id="manageSslButton" type="button" class="k-button k-primary" disabled><i class="fas fa-cog mr-1"></i>Manage</button>
|
123
|
+
</div>
|
124
|
+
`);
|
125
|
+
|
126
|
+
// Add listeners to Manage button click
|
127
|
+
$('#manageSslButton', $(this)).on('click', $.proxy(this._onManageSslClick, this));
|
128
|
+
}
|
129
|
+
|
130
|
+
destroy()
|
131
|
+
{
|
132
|
+
// Remove event listener
|
133
|
+
$('#manageSslButton', $(this)).off('click');
|
134
|
+
|
135
|
+
// Hide modal (which in turn destroys it)
|
136
|
+
let modalElement = $('#uploadModal', $(this));
|
137
|
+
|
138
|
+
if (modalElement)
|
139
|
+
modalElement.modal('hide');
|
140
|
+
}
|
141
|
+
|
142
|
+
get enabled()
|
143
|
+
{
|
144
|
+
return this._isEnabled;
|
145
|
+
}
|
146
|
+
|
147
|
+
set enabled(value)
|
148
|
+
{
|
149
|
+
this._isEnabled = value;
|
150
|
+
|
151
|
+
// Enable/disable Manage button
|
152
|
+
$('#manageSslButton', $(this)).attr('disabled', !value);
|
153
|
+
|
154
|
+
// Enable/disable modal
|
155
|
+
let modalElement = $('#uploadModal', $(this));
|
156
|
+
|
157
|
+
if (modalElement)
|
158
|
+
{
|
159
|
+
// Disable modal close buttons
|
160
|
+
$('button[data-dismiss="modal"]', modalElement).attr('disabled', !value);
|
161
|
+
|
162
|
+
// Disable upload button
|
163
|
+
$('#uploadSslButton', modalElement).attr('disabled', !value);
|
164
|
+
|
165
|
+
// Disable fieldset
|
166
|
+
$('#uploadFieldset', modalElement).attr('disabled', !value);
|
167
|
+
}
|
168
|
+
}
|
169
|
+
|
170
|
+
get uploadTargetConfig()
|
171
|
+
{
|
172
|
+
return this._uploadTargetConfig;
|
173
|
+
}
|
174
|
+
|
175
|
+
set uploadTargetConfig(data)
|
176
|
+
{
|
177
|
+
this._uploadTargetConfig = data;
|
178
|
+
}
|
179
|
+
|
180
|
+
_onManageSslClick()
|
181
|
+
{
|
182
|
+
// Initialize and show modal
|
183
|
+
this._showModal();
|
184
|
+
}
|
185
|
+
|
186
|
+
_onUploadSslClick()
|
187
|
+
{
|
188
|
+
if (this._validate())
|
189
|
+
this._startSslCertUpload();
|
190
|
+
}
|
191
|
+
|
192
|
+
_showModal()
|
193
|
+
{
|
194
|
+
// Append modal html
|
195
|
+
$(this).append(this._modalHtml);
|
196
|
+
|
197
|
+
let modalElement = $('#uploadModal', $(this));
|
198
|
+
|
199
|
+
// Hide SSL certificate upload spinner and error message container
|
200
|
+
$('#uploadSpinner', modalElement).hide();
|
201
|
+
$('#uploadErrorMsg', modalElement).hide();
|
202
|
+
$('#uploadErrorMsg', modalElement).text('');
|
203
|
+
|
204
|
+
// Add listener to Upload button click
|
205
|
+
$('#uploadSslButton', modalElement).on('click', $.proxy(this._onUploadSslClick, this));
|
206
|
+
|
207
|
+
// Add listener to modal hide event
|
208
|
+
modalElement.on('hidden.bs.modal', $.proxy(this._destroyModal, this));
|
209
|
+
|
210
|
+
// Initialize kendo uploader
|
211
|
+
this._uploadWidget = modalElement.find('#uploader').kendoUpload({
|
212
|
+
allowedExtensions: ['.jks'],
|
213
|
+
multiple: false,
|
214
|
+
template: function(dataItem) {
|
215
|
+
dataItem.bytesToSize = _utils_utilities__WEBPACK_IMPORTED_MODULE_0__["bytesToSize"]; // Pass bytesToSize utility function to template
|
216
|
+
return kendo.template(`
|
217
|
+
<span class='k-progress w-100'></span>
|
218
|
+
<span class="">
|
219
|
+
<span class="k-file-name" title="#=name#">#=name#</span>
|
220
|
+
<span class="k-file-size">Size: #=bytesToSize(size, 1, 'Bytes')#</span>
|
221
|
+
</span>
|
222
|
+
`)(dataItem);
|
223
|
+
},
|
224
|
+
localization: {
|
225
|
+
select: 'Select file...'
|
226
|
+
}
|
227
|
+
}).data('kendoUpload');
|
228
|
+
|
229
|
+
// Initialize kendo validation on uploader subform
|
230
|
+
// NOTE: we use separate validators to be able to disable 'validateOnBlur' on the uploader,
|
231
|
+
// because it causes the error message to appear as soon as the "Select file" button is clicked
|
232
|
+
this._validator1 = modalElement.find('#uploaderSubform').kendoValidator({
|
233
|
+
validateOnBlur: false,
|
234
|
+
rules: {
|
235
|
+
upload: function(input) {
|
236
|
+
let valid = false;
|
237
|
+
if (input.is('[type=file]'))
|
238
|
+
valid = input.closest('.k-upload').find('.k-file').length > 0;
|
239
|
+
|
240
|
+
return valid;
|
241
|
+
}
|
242
|
+
}
|
243
|
+
}).data('kendoValidator');
|
244
|
+
|
245
|
+
// Initialize kendo validation on passwords subform
|
246
|
+
this._validator2 = modalElement.find('#passwordsSubform').kendoValidator({
|
247
|
+
validateOnBlur: true,
|
248
|
+
rules: {
|
249
|
+
verifyKsPassword: $.proxy(function(input) {
|
250
|
+
let valid = true;
|
251
|
+
if (input.is('[name=confirmKsPassword]'))
|
252
|
+
valid = input.val() === $(this).find('#ksPassword').val();
|
253
|
+
return valid;
|
254
|
+
}, this),
|
255
|
+
verifyAdmPassword: $.proxy(function(input) {
|
256
|
+
let valid = true;
|
257
|
+
if (input.is('[name=confirmAdminPassword]'))
|
258
|
+
valid = input.val() === $(this).find('#adminPassword').val();
|
259
|
+
return valid;
|
260
|
+
}, this)
|
261
|
+
},
|
262
|
+
messages: {
|
263
|
+
verifyKsPassword: 'Password not matching',
|
264
|
+
verifyAdmPassword: 'Password not matching',
|
265
|
+
}
|
266
|
+
}).data('kendoValidator');
|
267
|
+
|
268
|
+
// Initialize bootstrap modal
|
269
|
+
modalElement.modal({
|
270
|
+
backdrop: 'static',
|
271
|
+
keyboard: false,
|
272
|
+
});
|
273
|
+
}
|
274
|
+
|
275
|
+
_destroyModal()
|
276
|
+
{
|
277
|
+
let modalElement = $('#uploadModal', $(this));
|
278
|
+
|
279
|
+
if (modalElement)
|
280
|
+
{
|
281
|
+
// Remove listeners
|
282
|
+
$('#uploadSslButton', modalElement).off('click');
|
283
|
+
modalElement.off('hidden.bs.modal');
|
284
|
+
|
285
|
+
// Destroy everything Kendo
|
286
|
+
kendo.destroy(modalElement);
|
287
|
+
|
288
|
+
// Dispose modal
|
289
|
+
modalElement.modal('dispose');
|
290
|
+
|
291
|
+
// Remove html
|
292
|
+
modalElement.remove();
|
293
|
+
modalElement = null;
|
294
|
+
}
|
295
|
+
}
|
296
|
+
|
297
|
+
_validate()
|
298
|
+
{
|
299
|
+
let val1 = this._validator1.validate();
|
300
|
+
let val2 = this._validator2.validate();
|
301
|
+
|
302
|
+
return val1 && val2;
|
303
|
+
}
|
304
|
+
|
305
|
+
_startSslCertUpload()
|
306
|
+
{
|
307
|
+
if (!this._uploadTargetConfig)
|
308
|
+
throw new Error('Upload target configuration not set');
|
309
|
+
|
310
|
+
let modalElement = $('#uploadModal', $(this));
|
311
|
+
|
312
|
+
if (modalElement)
|
313
|
+
{
|
314
|
+
let certData = {};
|
315
|
+
certData.file = this._uploadWidget.getFiles()[0];
|
316
|
+
certData.ksPassword = $('#ksPassword', modalElement).val();
|
317
|
+
certData.adminPassword = $('#adminPassword', modalElement).val();
|
318
|
+
|
319
|
+
// Disable modal
|
320
|
+
this.enabled = false;
|
321
|
+
|
322
|
+
// Hide previous error and show spinner
|
323
|
+
$('#uploadSpinner', modalElement).show();
|
324
|
+
$('#uploadErrorMsg', modalElement).hide();
|
325
|
+
$('#uploadErrorMsg', modalElement).text('');
|
326
|
+
|
327
|
+
//=================================================================
|
328
|
+
|
329
|
+
// Generate Init Vector
|
330
|
+
let rngValues = [];
|
331
|
+
for (let i = 0; i < 16; i++)
|
332
|
+
rngValues.push(Math.floor(Math.random() * 256));
|
333
|
+
|
334
|
+
let iv = new Uint8Array(rngValues);
|
335
|
+
|
336
|
+
// Generate secret key by MD5-encoding admin password + session token
|
337
|
+
let md5Pass = this._binaryMD5(certData.adminPassword + this._uploadTargetConfig.sessionToken);
|
338
|
+
|
339
|
+
// Encrypt keystore password via AES (128bit)
|
340
|
+
let encryptedPwd = this._aesEncrypt(certData.ksPassword, md5Pass, iv);
|
341
|
+
|
342
|
+
// Encode IV using Base64
|
343
|
+
let encodedIv = this._b64Encode(iv);
|
344
|
+
|
345
|
+
// Encode encrypted password using Base64
|
346
|
+
let encodedPwd = this._b64Encode(encryptedPwd);
|
347
|
+
|
348
|
+
//=================================================================
|
349
|
+
|
350
|
+
// Set parameters to be sent with the certificate keystore file
|
351
|
+
const params = new FormData();
|
352
|
+
params.append('files[]', certData.file.rawFile);
|
353
|
+
params.append('__iv', encodedIv);
|
354
|
+
params.append('__password', encodedPwd);
|
355
|
+
params.append('__module', this._uploadTargetConfig.moduleId);
|
356
|
+
|
357
|
+
// Set destination url
|
358
|
+
const url = 'http://' + this._uploadTargetConfig.host + ':' + this._uploadTargetConfig.httpPort + '/BlueBox/SFS2XFileUpload?sessHashId=' + this._uploadTargetConfig.sessionToken;
|
359
|
+
|
360
|
+
// Start upload
|
361
|
+
fetch(url, {
|
362
|
+
method: 'POST',
|
363
|
+
body: params,
|
364
|
+
mode: 'no-cors'
|
365
|
+
}).then($.proxy(this._onSslCertUploadEnd, this));
|
366
|
+
}
|
367
|
+
}
|
368
|
+
|
369
|
+
_onSslCertUploadEnd(response)
|
370
|
+
{
|
371
|
+
// Nothing to do: we have to wait the upload process completion to be signaled by the server through the dedicated Extension response
|
372
|
+
|
373
|
+
//=================================================================
|
374
|
+
|
375
|
+
// TODO Should we handle this response in some way? For some unknown reason we always get ok=false and status=0
|
376
|
+
//console.log(response)
|
377
|
+
//console.log(response.ok)
|
378
|
+
//console.log(response.status)
|
379
|
+
}
|
380
|
+
|
381
|
+
/**
|
382
|
+
* Method called by parent when upload failed.
|
383
|
+
*/
|
384
|
+
onSslCertUploadError(error)
|
385
|
+
{
|
386
|
+
let modalElement = $('#uploadModal', $(this));
|
387
|
+
|
388
|
+
if (modalElement)
|
389
|
+
{
|
390
|
+
// Enable modal
|
391
|
+
this.enabled = true;
|
392
|
+
|
393
|
+
// Show upload error
|
394
|
+
$('#uploadErrorMsg', modalElement).show();
|
395
|
+
$('#uploadErrorMsg', modalElement).text(error + '.');
|
396
|
+
|
397
|
+
// Hide spinner
|
398
|
+
$('#uploadSpinner', modalElement).hide();
|
399
|
+
}
|
400
|
+
}
|
401
|
+
|
402
|
+
/**
|
403
|
+
* Method called by parent when upload is completed successfully.
|
404
|
+
*/
|
405
|
+
onSslCertUploadSuccess()
|
406
|
+
{
|
407
|
+
let modalElement = $('#uploadModal', $(this));
|
408
|
+
|
409
|
+
if (modalElement)
|
410
|
+
{
|
411
|
+
// Enable modal
|
412
|
+
this.enabled = true;
|
413
|
+
|
414
|
+
// Hide spinner
|
415
|
+
$('#uploadSpinner', modalElement).hide();
|
416
|
+
|
417
|
+
// Hide modal
|
418
|
+
modalElement.modal('hide');
|
419
|
+
}
|
420
|
+
}
|
421
|
+
|
422
|
+
// *****************************************************************
|
423
|
+
|
424
|
+
/*
|
425
|
+
* Takes a string and returns the MD5 as Uint8Array
|
426
|
+
*/
|
427
|
+
_binaryMD5(str)
|
428
|
+
{
|
429
|
+
let MD5 = new SFS2X.MD5();
|
430
|
+
let hexStr = MD5.hex_md5(str);
|
431
|
+
|
432
|
+
return this._hexByteStringToByteArray(hexStr);
|
433
|
+
}
|
434
|
+
|
435
|
+
/*
|
436
|
+
* Hex bytes ---> Actual byte[] as Uint8Array
|
437
|
+
*/
|
438
|
+
_hexByteStringToByteArray(hexByteString)
|
439
|
+
{
|
440
|
+
let bytes = new Uint8Array(16); // MD5 fixed output size
|
441
|
+
|
442
|
+
for (let i = 0; i < hexByteString.length;)
|
443
|
+
{
|
444
|
+
let hexByte = hexByteString[i++] + hexByteString[i++];
|
445
|
+
let byte = parseInt(hexByte, 16);
|
446
|
+
|
447
|
+
bytes[i / 2 - 1] = byte;
|
448
|
+
}
|
449
|
+
|
450
|
+
return bytes;
|
451
|
+
}
|
452
|
+
|
453
|
+
/*
|
454
|
+
* Encrypt using AES, mode CBC, PKCS#7 padding
|
455
|
+
*
|
456
|
+
* text -> the text we want to encode
|
457
|
+
* key -> the AES key
|
458
|
+
* iv -> the AES/CBC init vector
|
459
|
+
*
|
460
|
+
* Returns -> Uint8Array
|
461
|
+
*/
|
462
|
+
_aesEncrypt(text, key, iv)
|
463
|
+
{
|
464
|
+
let textBytes = aes_js__WEBPACK_IMPORTED_MODULE_1___default.a.utils.utf8.toBytes(text); // Get UTF-8 bytes
|
465
|
+
let aesCBC = new aes_js__WEBPACK_IMPORTED_MODULE_1___default.a.ModeOfOperation.cbc(key, iv); // Init CBC mode
|
466
|
+
textBytes = aes_js__WEBPACK_IMPORTED_MODULE_1___default.a.padding.pkcs7.pad(textBytes); // PKCS#7 padding
|
467
|
+
|
468
|
+
// Encrypt
|
469
|
+
return aesCBC.encrypt(textBytes);
|
470
|
+
}
|
471
|
+
|
472
|
+
/*
|
473
|
+
* Encode passed byte array --> Base64 representation
|
474
|
+
* Returns --> string
|
475
|
+
*/
|
476
|
+
_b64Encode(barray)
|
477
|
+
{
|
478
|
+
return btoa(String.fromCharCode.apply(null, barray));
|
479
|
+
}
|
480
|
+
}
|
481
|
+
|
482
|
+
// DEFINE COMPONENT
|
483
|
+
if (!window.customElements.get('ssl-certificate-manager'))
|
484
|
+
window.customElements.define('ssl-certificate-manager', SslCertificateManager);
|
485
|
+
|
486
|
+
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! jquery */ "jquery")))
|
487
|
+
|
488
|
+
/***/ }),
|
489
|
+
|
490
|
+
/***/ "./src/modules/server-configurator.js":
|
491
|
+
/*!********************************************!*\
|
492
|
+
!*** ./src/modules/server-configurator.js ***!
|
493
|
+
\********************************************/
|
494
|
+
/*! exports provided: default */
|
495
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
496
|
+
|
497
|
+
"use strict";
|
498
|
+
__webpack_require__.r(__webpack_exports__);
|
499
|
+
/* WEBPACK VAR INJECTION */(function($) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return ServerConfigurator; });
|
500
|
+
/* harmony import */ var _base_module__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base-module */ "./src/modules/base-module.js");
|
501
|
+
/* harmony import */ var _utils_uibuilder_config_interface_builder__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/uibuilder/config-interface-builder */ "./src/utils/uibuilder/config-interface-builder.js");
|
502
|
+
/* harmony import */ var _components_module_specific_ssl_certificate_manager__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../components/module-specific/ssl-certificate-manager */ "./src/components/module-specific/ssl-certificate-manager.js");
|
503
|
+
|
504
|
+
|
505
|
+
|
506
|
+
|
507
|
+
class ServerConfigurator extends _base_module__WEBPACK_IMPORTED_MODULE_0__["BaseModule"]
|
508
|
+
{
|
509
|
+
constructor()
|
510
|
+
{
|
511
|
+
super('serverConfig');
|
512
|
+
|
513
|
+
// Outgoing requests
|
514
|
+
this.REQ_INIT = 'init';
|
515
|
+
this.REQ_GET_CONFIG = 'getConfig';
|
516
|
+
this.REQ_UPDATE_CONFIG = 'updConfig';
|
517
|
+
this.REQ_UPDATE_GEO_DB = 'updGeoDb';
|
518
|
+
|
519
|
+
// Incoming responses
|
520
|
+
this.RESP_INIT = 'init';
|
521
|
+
this.RESP_CONFIG = 'config';
|
522
|
+
this.RESP_CONFIG_UPDATE_CONFIRM = 'configUpdate';
|
523
|
+
this.RESP_CONFIG_CHANGED_ALERT = 'configAlert';
|
524
|
+
this.RESP_SSL_UPLOAD_ERROR = 'sslUploadError';
|
525
|
+
this.RESP_SSL_UPLOAD_CONFIRM = 'sslUpload';
|
526
|
+
this.RESP_UPDATE_GEO_DB = 'geoDbUpdate';
|
527
|
+
}
|
528
|
+
|
529
|
+
//------------------------------------
|
530
|
+
// COMMON MODULE INTERFACE METHODS
|
531
|
+
// This members are used by the main controller
|
532
|
+
// to communicate with the module's controller.
|
533
|
+
// This methods override those in BaseModule class.
|
534
|
+
//------------------------------------
|
535
|
+
|
536
|
+
initialize(idData, shellController)
|
537
|
+
{
|
538
|
+
// Call super method
|
539
|
+
super.initialize(idData, shellController);
|
540
|
+
|
541
|
+
// Initialize progress bar
|
542
|
+
$('#src-progressBar').kendoProgressBar({
|
543
|
+
min: 0,
|
544
|
+
max: 100,
|
545
|
+
value: false,
|
546
|
+
type: 'value',
|
547
|
+
animation: {
|
548
|
+
duration: 400
|
549
|
+
}
|
550
|
+
});
|
551
|
+
|
552
|
+
// Create interface builder instance
|
553
|
+
this._interfaceBuilder = new _utils_uibuilder_config_interface_builder__WEBPACK_IMPORTED_MODULE_1__["ConfigInterfaceBuilder"]();
|
554
|
+
|
555
|
+
// Add listener to GeoLite2 database update button
|
556
|
+
$('#src-updateGeolocDbButton').on('click', $.proxy(this._onUpdateGeolocDbClick, this));
|
557
|
+
|
558
|
+
// Add listener to interface buttons
|
559
|
+
$('#src-reloadButton').on('click', $.proxy(this._onReloadClick, this));
|
560
|
+
$('#src-submitButton').on('click', $.proxy(this._onSubmitClick, this));
|
561
|
+
|
562
|
+
// Save ref to SSL Manager
|
563
|
+
this._sslCertManager = document.getElementById('src-sslCertManager');
|
564
|
+
|
565
|
+
//-----------------------------------*/
|
566
|
+
|
567
|
+
// Send initialization request
|
568
|
+
this.sendExtensionRequest(this.REQ_INIT);
|
569
|
+
}
|
570
|
+
|
571
|
+
destroy()
|
572
|
+
{
|
573
|
+
// Call super method
|
574
|
+
super.destroy();
|
575
|
+
|
576
|
+
// Destroy SSL Certificate Manager
|
577
|
+
this._sslCertManager.destroy();
|
578
|
+
|
579
|
+
// Remove interface buttons click listeners
|
580
|
+
$('#src-updateGeolocDbButton').off('click');
|
581
|
+
$('#src-reloadButton').off('click');
|
582
|
+
$('#src-submitButton').off('click');
|
583
|
+
|
584
|
+
// Clear tabs container
|
585
|
+
this._clearTabs();
|
586
|
+
}
|
587
|
+
|
588
|
+
onExtensionCommand(command, data)
|
589
|
+
{
|
590
|
+
// Initialization data received
|
591
|
+
if (command == this.RESP_INIT)
|
592
|
+
{
|
593
|
+
// Retrieve HTTP port to be used for SSL certificate file uploading
|
594
|
+
const uploadHttpPort = data.getInt('httpPort');
|
595
|
+
|
596
|
+
// Retrieve module id sent by the server (required because multiple modules use file uploading service)
|
597
|
+
const uploadModuleId = data.getUtfString('modId');
|
598
|
+
|
599
|
+
// Set SSL upload manager target configuration
|
600
|
+
this._sslCertManager.uploadTargetConfig = {
|
601
|
+
sessionToken: this.smartFox.sessionToken,
|
602
|
+
host: this.smartFox.config.host,
|
603
|
+
httpPort: uploadHttpPort,
|
604
|
+
moduleId: uploadModuleId,
|
605
|
+
};
|
606
|
+
|
607
|
+
// Server sends a flag indicating if file uploads are locked
|
608
|
+
// We use it to enable the "Manage SSL certificate" button
|
609
|
+
this._sslLocked = data.getBool('lock');
|
610
|
+
|
611
|
+
if (!this._sslLocked)
|
612
|
+
$('#src-manageSslWarn').hide();
|
613
|
+
|
614
|
+
// Request configuration data to server instance
|
615
|
+
this.sendExtensionRequest(this.REQ_GET_CONFIG);
|
616
|
+
}
|
617
|
+
|
618
|
+
// Server configuration data received
|
619
|
+
else if (command == this.RESP_CONFIG)
|
620
|
+
{
|
621
|
+
// Build user interface based on received data
|
622
|
+
this._interfaceBuilder.buildInterface(data.getSFSArray('settings'), 'src-tabNavigator', false);
|
623
|
+
|
624
|
+
// Enable buttons
|
625
|
+
this._enableButtons(true);
|
626
|
+
|
627
|
+
// Initialize TabNavigator-ralated widgets
|
628
|
+
if (!this._tabNavInitialized)
|
629
|
+
{
|
630
|
+
// Enable scrolling tabs
|
631
|
+
$('#src-tabNavigator > #tabs').scrollingTabs({
|
632
|
+
bootstrapVersion: 4,
|
633
|
+
scrollToTabEdge: true,
|
634
|
+
enableSwiping: true,
|
635
|
+
disableScrollArrowsOnFullyScrolled: true,
|
636
|
+
cssClassLeftArrow: 'fa fa-chevron-left',
|
637
|
+
cssClassRightArrow: 'fa fa-chevron-right'
|
638
|
+
});
|
639
|
+
|
640
|
+
this._tabNavInitialized = true;
|
641
|
+
}
|
642
|
+
|
643
|
+
// Run validation (to remove validation messages if data was reloaded)
|
644
|
+
this._interfaceBuilder.checkIsValid();
|
645
|
+
|
646
|
+
this._switchView('src-main');
|
647
|
+
}
|
648
|
+
|
649
|
+
// Server configuration update confirmation
|
650
|
+
else if (command == this.RESP_CONFIG_UPDATE_CONFIRM)
|
651
|
+
{
|
652
|
+
// Enable buttons
|
653
|
+
this._enableButtons(true);
|
654
|
+
|
655
|
+
// Enable form items
|
656
|
+
this._interfaceBuilder.disableInterface(false);
|
657
|
+
|
658
|
+
// If the current user is the updater, show a notification
|
659
|
+
// Otherwise, show a dialog box suggesting to reload
|
660
|
+
let updater = data.getUtfString('user');
|
661
|
+
|
662
|
+
if (updater == this.smartFox.mySelf.name)
|
663
|
+
{
|
664
|
+
// Reset the 'modified' flag
|
665
|
+
this._interfaceBuilder.resetIsModified();
|
666
|
+
|
667
|
+
// Display notification
|
668
|
+
this.shellCtrl.showNotification('Server settings updated', 'Changes will be applied on next server restart');
|
669
|
+
}
|
670
|
+
else
|
671
|
+
{
|
672
|
+
// Show alert
|
673
|
+
this.shellCtrl.showSimpleAlert(`Administrator ${updater} has modified the server settings; please reload to update your view.`);
|
674
|
+
|
675
|
+
// Disable submit button
|
676
|
+
$('#src-submitButton').attr('disabled', true);
|
677
|
+
}
|
678
|
+
}
|
679
|
+
|
680
|
+
// Server configuration xml saved by an external process
|
681
|
+
else if (command == this.RESP_CONFIG_CHANGED_ALERT)
|
682
|
+
{
|
683
|
+
// Show alert
|
684
|
+
this.shellCtrl.showSimpleAlert(`The system has modified the server settings automatically; please reload to update your view.`);
|
685
|
+
|
686
|
+
// Disable submit button
|
687
|
+
$('#src-submitButton').attr('disabled', true);
|
688
|
+
}
|
689
|
+
|
690
|
+
// SSL certificate upload error
|
691
|
+
else if (command == this.RESP_SSL_UPLOAD_ERROR)
|
692
|
+
{
|
693
|
+
const error = data.getUtfString('error');
|
694
|
+
|
695
|
+
// Log warning
|
696
|
+
this.shellCtrl.logMessage(error, 'error');
|
697
|
+
|
698
|
+
// Show error in manager window
|
699
|
+
this._sslCertManager.onSslCertUploadError(error);
|
700
|
+
}
|
701
|
+
|
702
|
+
// SSL certificate upload confirmed
|
703
|
+
else if (command == this.RESP_SSL_UPLOAD_CONFIRM)
|
704
|
+
{
|
705
|
+
// Closw manager window
|
706
|
+
this._sslCertManager.onSslCertUploadSuccess();
|
707
|
+
|
708
|
+
let updater = data.getUtfString('user');
|
709
|
+
|
710
|
+
// Display notification
|
711
|
+
if (updater == this.smartFox.mySelf.name)
|
712
|
+
this.shellCtrl.showNotification('SSL certificate', 'SSL certificate keystore was uploaded successfully');
|
713
|
+
else
|
714
|
+
this.shellCtrl.showNotification('SSL certificate', `Administrator ${updater} has uploaded a new SSL certificate keystore`);
|
715
|
+
|
716
|
+
// When a certificate is uploaded, HTTPS is also enabled automatically:
|
717
|
+
// we have to update the interface accordingly
|
718
|
+
this._updateConfigFormItemDisplayedValue('webServer.enableHttps', true);
|
719
|
+
}
|
720
|
+
|
721
|
+
// Geolocation database update confirmation
|
722
|
+
else if (command == this.RESP_UPDATE_GEO_DB)
|
723
|
+
{
|
724
|
+
// Enable button
|
725
|
+
$('#src-updateGeolocDbButton').attr('disabled', false);
|
726
|
+
|
727
|
+
// Check success
|
728
|
+
if (data.getBool('success'))
|
729
|
+
{
|
730
|
+
// Update displayed date
|
731
|
+
this._updateConfigFormItemDisplayedValue('adminHelper.geoDbReleaseDate', data.getUtfString('newRelDate'));
|
732
|
+
|
733
|
+
// If the current user is the updater, also show a notification
|
734
|
+
let updater = data.getUtfString('user');
|
735
|
+
|
736
|
+
if (updater == this.smartFox.mySelf.name)
|
737
|
+
this.shellCtrl.showNotification('Geolocation database updated', 'Latest release of the GeoLite2 Country database has been installed successfully');
|
738
|
+
}
|
739
|
+
else
|
740
|
+
{
|
741
|
+
// Show alert
|
742
|
+
this.shellCtrl.showSimpleAlert(data.getUtfString('error'));
|
743
|
+
}
|
744
|
+
}
|
745
|
+
}
|
746
|
+
|
747
|
+
//------------------------------------
|
748
|
+
// PRIVATE METHODS
|
749
|
+
//------------------------------------
|
750
|
+
|
751
|
+
_enableButtons(enabled)
|
752
|
+
{
|
753
|
+
$('#src-reloadButton').attr('disabled', !enabled);
|
754
|
+
$('#src-submitButton').attr('disabled', !enabled);
|
755
|
+
$('#src-backupCheck').attr('disabled', !enabled);
|
756
|
+
|
757
|
+
$('#src-updateGeolocDbButton').attr('disabled', !enabled);
|
758
|
+
|
759
|
+
if (!this._sslLocked)
|
760
|
+
this._sslCertManager.enabled = enabled;
|
761
|
+
}
|
762
|
+
|
763
|
+
_switchView(viewId)
|
764
|
+
{
|
765
|
+
document.getElementById('src-viewstack').selectedElement = document.getElementById(viewId);
|
766
|
+
}
|
767
|
+
|
768
|
+
_clearTabs()
|
769
|
+
{
|
770
|
+
// Destroy scrolling tabs
|
771
|
+
$('#src-tabNavigator #tabs').scrollingTabs('destroy');
|
772
|
+
|
773
|
+
// Remove all tab navigator content
|
774
|
+
this._interfaceBuilder.destroyInterface();
|
775
|
+
}
|
776
|
+
|
777
|
+
_onUpdateGeolocDbClick()
|
778
|
+
{
|
779
|
+
// Disable button
|
780
|
+
$('#src-updateGeolocDbButton').attr('disabled', true);
|
781
|
+
|
782
|
+
// Send request to server
|
783
|
+
this.sendExtensionRequest(this.REQ_UPDATE_GEO_DB);
|
784
|
+
}
|
785
|
+
|
786
|
+
_onReloadClick()
|
787
|
+
{
|
788
|
+
// Disable buttons
|
789
|
+
this._enableButtons(false);
|
790
|
+
|
791
|
+
// Switch to loading view
|
792
|
+
this._switchView('src-loading');
|
793
|
+
|
794
|
+
// Hide validation messages
|
795
|
+
this._interfaceBuilder.resetValidation();
|
796
|
+
|
797
|
+
// Request configuration data to server instance
|
798
|
+
this.sendExtensionRequest(this.REQ_GET_CONFIG);
|
799
|
+
}
|
800
|
+
|
801
|
+
_onSubmitClick()
|
802
|
+
{
|
803
|
+
// Check validity
|
804
|
+
if (this._interfaceBuilder.checkIsValid())
|
805
|
+
{
|
806
|
+
let changes = this._interfaceBuilder.getChangedData();
|
807
|
+
|
808
|
+
if (changes.size() > 0)
|
809
|
+
{
|
810
|
+
// Disable buttons
|
811
|
+
this._enableButtons(false);
|
812
|
+
|
813
|
+
// Disable form items
|
814
|
+
this._interfaceBuilder.disableInterface(true);
|
815
|
+
|
816
|
+
// Send updated settings to server instance
|
817
|
+
let params = new SFS2X.SFSObject();
|
818
|
+
params.putSFSArray('settings', changes);
|
819
|
+
params.putBool('backup', $('#src-backupCheck').prop('checked'));
|
820
|
+
|
821
|
+
this.sendExtensionRequest(this.REQ_UPDATE_CONFIG, params);
|
822
|
+
}
|
823
|
+
}
|
824
|
+
else
|
825
|
+
this.shellCtrl.showSimpleAlert('Unable to submit configuration changes due to an invalid value; please verify the highlighted form fields in all tabs.', true);
|
826
|
+
}
|
827
|
+
|
828
|
+
_updateConfigFormItemDisplayedValue(configParamName, newValue)
|
829
|
+
{
|
830
|
+
// Get the relevant Configuration Form Item
|
831
|
+
const configFormItem = this._interfaceBuilder.getConfigFormItem(configParamName);
|
832
|
+
|
833
|
+
// Update Configuration Parameter associated with the Configuration Form Item
|
834
|
+
configFormItem.data.value = newValue;
|
835
|
+
configFormItem.data.resetIsModified(); // This is needed to avoid the Configuration Parameter to flagged as 'changed'
|
836
|
+
|
837
|
+
// Display the new value of the Configuration Form Item
|
838
|
+
configFormItem._setWidgetValue(); // Display the new value in the config form item
|
839
|
+
}
|
840
|
+
}
|
841
|
+
|
842
|
+
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! jquery */ "jquery")))
|
843
|
+
|
844
|
+
/***/ })
|
845
|
+
|
846
|
+
}]);
|
847
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXNzZXRzL2pzL2NvcmUvbW9kdWxlcy9tb2R1bGUtOS5idW5kbGUuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9hcHBsaWNhdGlvbi8uL3NyYy9jb21wb25lbnRzL21vZHVsZS1zcGVjaWZpYy9zc2wtY2VydGlmaWNhdGUtbWFuYWdlci5qcyIsIndlYnBhY2s6Ly9hcHBsaWNhdGlvbi8uL3NyYy9tb2R1bGVzL3NlcnZlci1jb25maWd1cmF0b3IuanMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtieXRlc1RvU2l6ZX0gZnJvbSAnLi4vLi4vdXRpbHMvdXRpbGl0aWVzJztcbmltcG9ydCBhZXNqcyBmcm9tICdhZXMtanMnO1xuXG5leHBvcnQgY2xhc3MgU3NsQ2VydGlmaWNhdGVNYW5hZ2VyIGV4dGVuZHMgSFRNTEVsZW1lbnRcbntcblx0Y29uc3RydWN0b3IoKVxuXHR7XG5cdCAgICBzdXBlcigpO1xuXG5cdFx0dGhpcy5fbW9kYWxIdG1sID0gYFxuXHRcdFx0PGRpdiBjbGFzcz1cIm1vZGFsXCIgaWQ9XCJ1cGxvYWRNb2Rh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