=== removed directory 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager' === removed file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/pom.xml' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/pom.xml 2015-10-20 22:50:17 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/pom.xml 1970-01-01 00:00:00 +0000 @@ -1,61 +0,0 @@ - - 4.0.0 - - - org.hisp.dhis - dhis-web-maintenance - 2.22-SNAPSHOT - - - dhis-web-maintenance-appmanager - war - DHIS App Manager - - - dhis-web-maintenance-appmanager - - - - - - javax.servlet - javax.servlet-api - - - org.apache.ant - ant-compress - - - - - - org.hisp.dhis - dhis-api - - - org.hisp.dhis - dhis-web-commons - - - org.hisp.dhis - dhis-web-commons-resources - war - true - - - org.hisp.dhis - dhis-web-api - true - - - org.hisp.dhis - dhis-service-core - - - - - - ../../ - - === removed directory 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src' === removed directory 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main' === removed directory 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/java' === removed directory 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/java/org' === removed directory 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/java/org/hisp' === removed directory 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/java/org/hisp/dhis' === removed directory 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/java/org/hisp/dhis/appmanager' === removed directory 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/java/org/hisp/dhis/appmanager/action' === removed file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/java/org/hisp/dhis/appmanager/action/AddAppAction.java' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/java/org/hisp/dhis/appmanager/action/AddAppAction.java 2016-01-04 02:27:49 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/java/org/hisp/dhis/appmanager/action/AddAppAction.java 1970-01-01 00:00:00 +0000 @@ -1,166 +0,0 @@ -package org.hisp.dhis.appmanager.action; - -/* - * Copyright (c) 2004-2016, University of Oslo - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * Neither the name of the HISP project nor the names of its contributors may - * be used to endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR - * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON - * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -import java.io.BufferedInputStream; -import java.io.File; -import java.io.FileInputStream; -import java.io.IOException; -import java.util.zip.ZipEntry; -import java.util.zip.ZipFile; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; -import org.hisp.dhis.appmanager.AppManager; -import org.hisp.dhis.i18n.I18n; -import org.hisp.dhis.commons.util.StreamUtils; -import org.springframework.beans.factory.annotation.Autowired; - -import com.opensymphony.xwork2.Action; - -/** - * @author Saptarshi Purkayastha - */ -public class AddAppAction - implements Action -{ - private static final Log log = LogFactory.getLog( AddAppAction.class ); - - private static final String FAILURE = "failure"; - - // ------------------------------------------------------------------------- - // Dependencies - // ------------------------------------------------------------------------- - - @Autowired - private AppManager appManager; - - // ------------------------------------------------------------------------- - // Input & Output - // ------------------------------------------------------------------------- - - private File file; - - public void setUpload( File file ) - { - this.file = file; - } - - private String fileName; - - public void setUploadFileName( String fileName ) - { - this.fileName = fileName; - } - - private I18n i18n; - - public void setI18n( I18n i18n ) - { - this.i18n = i18n; - } - - private String message; - - public String getMessage() - { - return message; - } - - // ------------------------------------------------------------------------- - // Action implementation - // ------------------------------------------------------------------------- - - @Override - public String execute() - throws Exception - { - if ( file == null ) - { - message = i18n.getString( "appmanager_no_file_specified" ); - log.warn( "No file specified" ); - return FAILURE; - } - - if ( !StreamUtils.isZip( new BufferedInputStream( new FileInputStream( file ) ) ) ) - { - message = i18n.getString( "appmanager_not_zip" ); - log.warn( "App is not a zip archive" ); - return FAILURE; - } - - try ( ZipFile zip = new ZipFile( file ) ) - { - ZipEntry entry = zip.getEntry( "manifest.webapp" ); - - if ( entry == null ) - { - zip.close(); - message = i18n.getString( "appmanager_manifest_not_found" ); - log.warn( "Manifest file could not be found in app" ); - return FAILURE; - } - - switch ( appManager.installApp( file, fileName ) ) - { - case OK: - break; - - case NAMESPACE_TAKEN: - message = i18n.getString( "appmanager_namespace_taken" ); - log.warn( "Namespace in the app's manifest is already protected." ); - return FAILURE; - - case INVALID_ZIP_FORMAT: - message = i18n.getString( "appmanager_zip_unreadable" ); - log.warn( "The zip uploaded could not be read." ); - return FAILURE; - - case INVALID_MANIFEST_JSON: - message = i18n.getString( "appmanager_invalid_json" ); - log.error( "Error parsing JSON in manifest"); - return FAILURE; - - case INSTALLATION_FAILED: - message = i18n.getString( "appmanager_could_not_read_file_check_server_permissions" ); - log.error( "App could not be read, check server permissions" ); - return FAILURE; - } - - message = i18n.getString( "appmanager_install_success" ); - return SUCCESS; - } - catch ( IOException e ) - { - message = i18n.getString( "appmanager_could_not_read_file_check_server_permissions" ); - log.error( "App could not be read, check server permissions" ); - return FAILURE; - } - } -} === removed file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/java/org/hisp/dhis/appmanager/action/AppListAction.java' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/java/org/hisp/dhis/appmanager/action/AppListAction.java 2016-01-04 02:27:49 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/java/org/hisp/dhis/appmanager/action/AppListAction.java 1970-01-01 00:00:00 +0000 @@ -1,103 +0,0 @@ -package org.hisp.dhis.appmanager.action; - -/* - * Copyright (c) 2004-2016, University of Oslo - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * Neither the name of the HISP project nor the names of its contributors may - * be used to endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR - * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON - * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -import java.util.ArrayList; -import java.util.List; - -import org.hisp.dhis.appmanager.App; -import org.hisp.dhis.appmanager.AppManager; -import org.springframework.beans.factory.annotation.Autowired; - -import com.opensymphony.xwork2.Action; - -/** - * @author Saptarshi Purkayastha - */ -public class AppListAction - implements Action -{ - // ------------------------------------------------------------------------- - // Dependencies - // ------------------------------------------------------------------------- - - @Autowired - private AppManager appManager; - - // ------------------------------------------------------------------------- - // Input & Output - // ------------------------------------------------------------------------- - - private List appList = new ArrayList<>(); - - public List getAppList() - { - return appList; - } - - private String appBaseUrl; - - public String getAppBaseUrl() - { - return appBaseUrl; - } - - private String appStoreUrl; - - public String getAppStoreUrl() - { - return appStoreUrl; - } - - private boolean settingsValid; - - public boolean isSettingsValid() - { - return settingsValid; - } - - // ------------------------------------------------------------------------- - // Action implementation - // ------------------------------------------------------------------------- - - @Override - public String execute() - throws Exception - { - appList = appManager.getApps(); - - appBaseUrl = appManager.getAppBaseUrl(); - - appStoreUrl = appManager.getAppStoreUrl(); - - settingsValid = appManager.getAppFolderPath() != null && appBaseUrl != null; - - return SUCCESS; - } -} === removed file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/java/org/hisp/dhis/appmanager/action/AppSettingsAction.java' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/java/org/hisp/dhis/appmanager/action/AppSettingsAction.java 2016-01-07 19:01:46 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/java/org/hisp/dhis/appmanager/action/AppSettingsAction.java 1970-01-01 00:00:00 +0000 @@ -1,113 +0,0 @@ -package org.hisp.dhis.appmanager.action; - -/* - * Copyright (c) 2004-2016, University of Oslo - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * Neither the name of the HISP project nor the names of its contributors may - * be used to endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR - * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON - * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -import java.util.List; - -import org.apache.struts2.ServletActionContext; -import org.hisp.dhis.appmanager.App; -import org.hisp.dhis.appmanager.AppManager; -import org.hisp.dhis.external.location.LocationManager; -import org.hisp.dhis.webapi.utils.ContextUtils; -import org.springframework.beans.factory.annotation.Autowired; - -import com.opensymphony.xwork2.Action; - -/** - * @author Saptarshi Purkayastha - */ -public class AppSettingsAction - implements Action -{ - // ------------------------------------------------------------------------- - // Dependencies - // ------------------------------------------------------------------------- - - @Autowired - private AppManager appManager; - - @Autowired - private LocationManager locationManager; - - // ------------------------------------------------------------------------- - // Input & Output - // ------------------------------------------------------------------------- - - private String appFolderPath; - - public String getAppFolderPath() - { - return appFolderPath; - } - - private String appBaseUrl; - - public String getAppBaseUrl() - { - return appBaseUrl; - } - - private List appList; - - public List getAppList() - { - return appList; - } - - // ------------------------------------------------------------------------- - // Action implementation - // ------------------------------------------------------------------------- - - @Override - public String execute() - { - appFolderPath = appManager.getAppFolderPath(); - - if ( appFolderPath == null || appFolderPath.isEmpty() ) - { - appFolderPath = locationManager.getExternalDirectoryPath() + AppManager.APPS_DIR; - //appManager.setAppFolderPath( appFolderPath ); - } - - appBaseUrl = appManager.getAppBaseUrl(); - - if ( appBaseUrl == null || appBaseUrl.isEmpty() ) - { - String contextPath = ContextUtils.getContextPath( ServletActionContext.getRequest() ); - appBaseUrl = contextPath + AppManager.APPS_API_PATH; - //appManager.setAppBaseUrl( appBaseUrl ); - } - - appManager.reloadApps(); - - appList = appManager.getApps(); - - return SUCCESS; - } -} === removed file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/java/org/hisp/dhis/appmanager/action/DeleteAppAction.java' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/java/org/hisp/dhis/appmanager/action/DeleteAppAction.java 2016-01-04 02:27:49 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/java/org/hisp/dhis/appmanager/action/DeleteAppAction.java 1970-01-01 00:00:00 +0000 @@ -1,86 +0,0 @@ -package org.hisp.dhis.appmanager.action; - -/* - * Copyright (c) 2004-2016, University of Oslo - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * Neither the name of the HISP project nor the names of its contributors may - * be used to endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR - * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON - * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -import org.hisp.dhis.appmanager.AppManager; -import org.hisp.dhis.i18n.I18n; -import org.springframework.beans.factory.annotation.Autowired; - -import com.opensymphony.xwork2.Action; - -/** - * @author Saptarshi Purkayastha - */ -public class DeleteAppAction - implements Action -{ - private I18n i18n; - - public void setI18n( I18n i18n ) - { - this.i18n = i18n; - } - - @Autowired - private AppManager appManager; - - // ------------------------------------------------------------------------- - // Input & Output - // ------------------------------------------------------------------------- - - private String appName; - - public void setAppName( String appName ) - { - this.appName = appName; - } - - private String message; - - public String getMessage() - { - return message; - } - - // ------------------------------------------------------------------------- - // Action implementation - // ------------------------------------------------------------------------- - - @Override - public String execute() - throws Exception - { - if ( appName != null && appManager.deleteApp( appName, false ) ) - { - message = i18n.getString( "appmanager_delete_success" ); - } - - return SUCCESS; - } -} === removed file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/java/org/hisp/dhis/appmanager/action/NoAction.java' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/java/org/hisp/dhis/appmanager/action/NoAction.java 2016-01-04 02:27:49 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/java/org/hisp/dhis/appmanager/action/NoAction.java 1970-01-01 00:00:00 +0000 @@ -1,44 +0,0 @@ -package org.hisp.dhis.appmanager.action; - -/* - * Copyright (c) 2004-2016, University of Oslo - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * Neither the name of the HISP project nor the names of its contributors may - * be used to endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR - * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON - * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -import com.opensymphony.xwork2.Action; - -/** - * @author Saptarshi Purkayastha - */ -public class NoAction - implements Action -{ - @Override - public String execute() - { - return SUCCESS; - } -} === removed directory 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources' === removed directory 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/META-INF' === removed directory 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/META-INF/dhis' === removed file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/META-INF/dhis/beans.xml' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/META-INF/dhis/beans.xml 2015-01-16 18:22:29 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/META-INF/dhis/beans.xml 1970-01-01 00:00:00 +0000 @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - === removed directory 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/org' === removed directory 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/org/hisp' === removed directory 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/org/hisp/dhis' === removed directory 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/org/hisp/dhis/appmanager' === removed file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/org/hisp/dhis/appmanager/i18n_module.properties' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/org/hisp/dhis/appmanager/i18n_module.properties 2015-10-12 08:55:04 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/org/hisp/dhis/appmanager/i18n_module.properties 1970-01-01 00:00:00 +0000 @@ -1,25 +0,0 @@ -appmanager_list_app=Installed Apps -appmanager_settings=Settings -appmanager_app_store=App Store -appmanager_saved_settings=Saved Settings -appmanager_installation_folder=App installation folder -appmanager_absolute_server_path=absolute path on server for uploaded apps -appmanager_baseurl=App base URL -appmanager_where_apps_can_be_found=location of where apps can be found on the Web -appmanager_store_url=App store URL -appmanager_upload_app_package=Upload App package (ZIP) -appmanager_install_success=App installed successfully -appmanager_manifest_not_found=Manifest file not found in app -appmanager_not_zip=App is not a valid ZIP archive -appmanager_confirm_delete=Are you sure you want to delete this app? -appmanager_invalid_json=Invalid JSON syntax in manifest file -appmanager_could_not_read_file_check_server_permissions=Could not read app files, check server permissions -appmanager_delete_success=App deleted successfully -appmanager_management=Manage Installed Apps -appmanager_appname=App name -appmanager_you_have_no_apps_installed=You have no apps installed at the moment -appmanager_author=Author -appmanager_version=Version -appmanager_set_to_default=Set to default -appmanager_namespace_taken=The namespace defined in manifest.webapp is already protected by another app -appmanager_zip_unreadable=The zip-archive uploaded could not be read === removed file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/org/hisp/dhis/appmanager/i18n_module_ar.properties' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/org/hisp/dhis/appmanager/i18n_module_ar.properties 2014-12-03 08:39:38 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/org/hisp/dhis/appmanager/i18n_module_ar.properties 1970-01-01 00:00:00 +0000 @@ -1,21 +0,0 @@ -appmanager_list_app=\u0627\u0644\u062a\u0637\u0628\u064a\u0642\u0627\u062a \u0627\u0644\u0645\u062b\u0628\u062a\u0629 -appmanager_upload_app_package=\u062a\u062d\u0645\u064a\u0644 \u0645\u062c\u0645\u0648\u0639\u0629 \u0627\u0644\u062a\u0637\u0628\u064a\u0642 (ZIP) -appmanager_install_success=\u062a\u0645 \u062a\u062b\u0628\u064a\u062a \u0627\u0644\u062a\u0637\u0628\u064a\u0642 \u0628\u0646\u062c\u0627\u062d -appmanager_manifest_not_found=\u0644\u0645 \u064a\u062a\u0645 \u0625\u064a\u062c\u0627\u062f \u0627\u0644\u0645\u0644\u0641 \u0627\u0644\u0645\u0648\u0636\u062d \u0641\u064a \u0627\u0644\u062a\u0637\u0628\u064a\u0642 -appmanager_not_zip=\u0627\u0644\u062a\u0637\u0628\u064a\u0642 \u0644\u064a\u0633 \u062a\u0627\u0631\u064a\u062e\u0627 ZIP\u0635\u0627\u0644\u062d -appmanager_confirm_delete=\u0647\u0644 \u062a\u0631\u064a\u062f \u062d\u0642\u0627 \u062d\u0630\u0641 \u0647\u0630\u0627 \u0627\u0644\u062a\u0637\u0628\u064a\u0642\u061f -appmanager_could_not_read_file_check_server_permissions=\u0644\u0645 \u062a\u062a\u0645 \u0642\u0631\u0627\u0621\u0629 \u0645\u0644\u0641\u0627\u062a \u0627\u0644\u062a\u0637\u0628\u064a\u0642 \u060c \u062a\u0641\u062d\u0635 \u0627\u0630\u0646 \u0627\u0644\u062e\u0627\u062f\u0645 -appmanager_delete_success=\u062a\u0645 \u062d\u0630\u0641 \u0627\u0644\u062a\u0637\u0628\u064a\u0642\u0627\u062a \u0628\u0646\u062c\u0627\u062d -appmanager_management=\u0625\u062f\u0627\u0631\u0629 \u0627\u0644\u062a\u0637\u0628\u064a\u0642\u0627\u062a \u0627\u0644\u0645\u0646\u0635\u0628\u0629 -appmanager_appname=\u0627\u0633\u0645 \u0627\u0644\u062a\u0637\u0628\u064a\u0642 -appmanager_settings=\u0627\u0644\u0625\u0639\u062f\u0627\u062f\u0627\u062a -appmanager_you_have_no_apps_installed=\u0644\u0627 \u064a\u0648\u062c\u062f \u062a\u0637\u0628\u064a\u0642\u0627\u062a \u0643\u062b\u0628\u062a\u0629 \u0641\u064a \u0630\u0647 \u0627\u0644\u0648\u0642\u062a -appmanager_author=\u0627\u0644\u0645\u0624\u0644\u0641 -appmanager_version=\u0627\u0644\u0646\u0633\u062e\u0629 -appmanager_app_store=\u0645\u062e\u0632\u0646 \u0627\u0644\u062a\u0637\u0628\u064a\u0642\u0627\u062a -appmanager_saved_settings=\u0627\u0644\u0625\u0639\u062f\u0627\u062f\u0627\u062a \u0627\u0644\u0645\u062d\u0641\u0648\u0638\u0629 -appmanager_installation_folder=\u0645\u062c\u0644\u062f \u062a\u062b\u0628\u064a\u062a \u0627\u0644\u062a\u0637\u0628\u064a\u0642 -appmanager_absolute_server_path=\u0627\u0644\u0645\u0633\u0627\u0631 \u0627\u0644\u0645\u0637\u0644\u0642 \u0639\u0644\u0649 \u0627\u0644\u062e\u0627\u062f\u0645 \u0644\u0644\u062a\u0637\u0628\u064a\u0642\u0627\u062a \u0627\u0644\u0645\u062d\u0645\u0644\u0629 -appmanager_baseurl=\u0642\u0627\u0639\u062f\u0629 \u0627\u0644\u062a\u0637\u0628\u064a\u0642 URL -appmanager_where_apps_can_be_found=\u0627\u0644\u0645\u0648\u0642\u0639 \u0627\u0644\u0630\u064a \u062a\u062c\u062f \u0641\u064a\u0647 \u0627\u0644\u062a\u0637\u0628\u064a\u0642\u0627\u062a \u0639\u0644\u0649 \u0627\u0644\u0634\u0628\u0643\u0629 -appmanager_store_url=\u0645\u062e\u0632\u0646 \u0627\u0644\u062a\u0637\u0628\u064a\u0642\u0627\u062a URL === removed file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/org/hisp/dhis/appmanager/i18n_module_es.properties' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/org/hisp/dhis/appmanager/i18n_module_es.properties 2015-12-04 05:49:41 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/org/hisp/dhis/appmanager/i18n_module_es.properties 1970-01-01 00:00:00 +0000 @@ -1,21 +0,0 @@ -appmanager_list_app=Apps instaladas -appmanager_settings=Configuracio\u0301n -appmanager_saved_settings=Configuraci\u00F3n guardada -appmanager_installation_folder=Carpeta de instalaci\u00F3n de apps -appmanager_absolute_server_path=ruta absoluta en el servidor para apps subidas -appmanager_baseurl=URL base para apps -appmanager_where_apps_can_be_found=ubicaci\u00F3n donde encontrar apps en la web -appmanager_store_url=URL app store -appmanager_upload_app_package=Subir paquete App (ZIP) -appmanager_install_success=App instalada con \u00E9xito -appmanager_manifest_not_found=Archivo manifest no encontrado en la app -appmanager_not_zip=La app no es un archivo ZIP v\u00E1lido -appmanager_confirm_delete=\u00BFEst\u00E1 seguro de eliminar la app? -appmanager_invalid_json=Sintaxis JSON inv\u00E1lidas en el archivo manifest -appmanager_delete_success=App eliminada con \u00E9xito -appmanager_management=Gestionar apps instaladas -appmanager_appname=Nombre de la aplicaci\u00F3n -appmanager_you_have_no_apps_installed=No hay ninguna app instaladas -appmanager_author=Autor -appmanager_namespace_taken=The namespace defined in manifest.webapp is already protected by another app -appmanager_zip_unreadable=The zip-archive uploaded could not be read === removed file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/org/hisp/dhis/appmanager/i18n_module_fr.properties' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/org/hisp/dhis/appmanager/i18n_module_fr.properties 2015-12-04 05:44:55 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/org/hisp/dhis/appmanager/i18n_module_fr.properties 1970-01-01 00:00:00 +0000 @@ -1,25 +0,0 @@ -appmanager_list_app=Applications install\u00E9es -appmanager_settings=Param\u00E8tres -appmanager_app_store=Magasin d'applications -appmanager_saved_settings=Enregistrer les param\u00E8tres -appmanager_installation_folder=R\u00E9pertoire d'installation de l'application -appmanager_absolute_server_path=chemin absolu sur le serveur pour les applications t\u00E9l\u00E9charg\u00E9es -appmanager_baseurl=URL de base de l'application -appmanager_where_apps_can_be_found=lieu o\u00F9 trouver des application sur le Web -appmanager_store_url=URL du magasin d'applications -appmanager_upload_app_package=Charger sur le serveur le paquet d'application (ZIP) -appmanager_install_success=Application correctement install\u00E9e -appmanager_manifest_not_found=Fichier manifeste non trouv\u00E9 dans l'application -appmanager_not_zip=L'application n'est pas une archive ZIP valide -appmanager_confirm_delete=Etes-vous s\u00FBr de vouloir supprimer cette application? -appmanager_invalid_json=Syntaxe JSON invalide dans le fichier manifeste -appmanager_could_not_read_file_check_server_permissions=Impossible de lire les fichiers d'application, veuillez v\u00E9rifier les autorisations serveur -appmanager_delete_success=Application correctement supprim\u00E9e -appmanager_management=G\u00E9rer les applications install\u00E9es -appmanager_appname=Nom de l'application -appmanager_you_have_no_apps_installed=Vous n'avez pas d'applications install\u00E9es en ce moment -appmanager_author=Auteur -appmanager_version=Version -appmanager_set_to_default=D\u00E9finir comme valeur par d\u00E9faut -appmanager_namespace_taken=The namespace defined in manifest.webapp is already protected by another app -appmanager_zip_unreadable=The zip-archive uploaded could not be read === removed file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/org/hisp/dhis/appmanager/i18n_module_id.properties' === removed file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/org/hisp/dhis/appmanager/i18n_module_km.properties' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/org/hisp/dhis/appmanager/i18n_module_km.properties 2015-06-01 06:36:35 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/org/hisp/dhis/appmanager/i18n_module_km.properties 1970-01-01 00:00:00 +0000 @@ -1,1 +0,0 @@ -= === removed file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/org/hisp/dhis/appmanager/i18n_module_my.properties' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/org/hisp/dhis/appmanager/i18n_module_my.properties 2014-06-02 07:10:13 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/org/hisp/dhis/appmanager/i18n_module_my.properties 1970-01-01 00:00:00 +0000 @@ -1,1 +0,0 @@ -= === removed file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/org/hisp/dhis/appmanager/i18n_module_pt.properties' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/org/hisp/dhis/appmanager/i18n_module_pt.properties 2013-12-01 20:40:15 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/org/hisp/dhis/appmanager/i18n_module_pt.properties 1970-01-01 00:00:00 +0000 @@ -1,22 +0,0 @@ -#Wed Oct 30 11:51:48 GMT 2013 -appmanager_installation_folder=Direct\u00F3rio de instala\u00E7\u00E3o da aplica\u00E7\u00E3o -appmanager_appname=Nome da aplica\u00E7\u00E3o -appmanager_author=Autor -appmanager_absolute_server_path=Localiza\u00E7\u00E3o absoluta no servidor para carregar aplica\u00E7\u00F5es -appmanager_baseurl=URL da aplica\u00E7\u00E3o -appmanager_settings=Configura\u00E7\u00F5es -appmanager_management=Gerir aplica\u00E7\u00F5es instaladas -appmanager_store_url=URL do centro de aplica\u00E7\u00F5es -appmanager_list_app=Aplica\u00E7\u00F5es instaladas -appmanager_delete_success=Aplica\u00E7\u00E3o removida com sucesso -appmanager_install_success=Aplica\u00E7\u00E3o instalada com sucesso -appmanager_you_have_no_apps_installed=N\u00E3o h\u00E1 aplica\u00E7\u00F5es instaladas de momento -appmanager_upload_app_package=Submeter uma aplica\u00E7\u00E3o (ZIP) -appmanager_saved_settings=Configura\u00E7\u00F5es guardadas -appmanager_manifest_not_found=Ficheiro manifest n\u00E3o encontrado na aplica\u00E7\u00E3o -appmanager_not_zip=A aplica\u00E7\u00E3o n\u00E3o \u00E9 um arquivo ZIP v\u00E1lido -appmanager_where_apps_can_be_found=Localiza\u00E7\u00E3o na Web onde as aplica\u00E7\u00F5es podem ser encontradas -appmanager_version=Vers\u00E3o -appmanager_confirm_delete=Tem a certeza que deseja remover esta aplica\u00E7\u00E3o? -appmanager_app_store=Loja de aplica\u00E7\u00F5es -appmanager_invalid_json=JSON inv\u00E1lido no ficheiro manifest === removed file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/org/hisp/dhis/appmanager/i18n_module_pt_BR.properties' === removed file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/org/hisp/dhis/appmanager/i18n_module_ru.properties' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/org/hisp/dhis/appmanager/i18n_module_ru.properties 2013-09-27 05:25:22 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/org/hisp/dhis/appmanager/i18n_module_ru.properties 1970-01-01 00:00:00 +0000 @@ -1,19 +0,0 @@ -appmanager_list_app = \u0423\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u044B\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F -appmanager_settings = \u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 -appmanager_app_store = \u041C\u0430\u0433\u0430\u0437\u0438\u043D \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0439 -appmanager_saved_settings = \u0421\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u043D\u044B\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 -appmanager_installation_folder = \u041F\u0430\u043F\u043A\u0430 \u043C\u0430\u0433\u0430\u0437\u0438\u043D\u0430 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0439 -appmanager_baseurl = \u0411\u0430\u0437\u043E\u0432\u0430\u044F URL \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F -appmanager_store_url = URL \u043C\u0430\u0433\u0430\u0437\u0438\u043D\u0430 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0439 -appmanager_upload_app_package = \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u043F\u0430\u043A\u0435\u0442 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0439 (ZIP) -appmanager_install_success = \u041F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0443\u0441\u043F\u0435\u0448\u043D\u043E \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E -appmanager_manifest_not_found = \u0424\u0430\u0439\u043B \u043C\u0430\u043D\u0438\u0444\u0435\u0441\u0442\u0430 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D \u0432 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F\u0445 -appmanager_not_zip = \u041F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u043D\u0435 \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u043C ZIP \u0430\u0440\u0445\u0438\u0432\u043E\u043C -appmanager_confirm_delete = \u0412\u044B \u0443\u0432\u0435\u0440\u0435\u043D\u044B, \u0447\u0442\u043E \u0445\u043E\u0442\u0438\u0442\u0435 \u0443\u0434\u0430\u043B\u0438\u0442\u044C \u043D\u0430\u0441\u0442\u043E\u044F\u0449\u0435\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435? -appmanager_invalid_json = \u041D\u0435\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u0441\u0438\u043D\u0442\u0430\u043A\u0441\u0438\u0441 JSON \u0432 \u0444\u0430\u0439\u043B\u0435 \u043C\u0430\u043D\u0438\u0444\u0435\u0441\u0442\u0430 -appmanager_delete_success = \u041F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0443\u0441\u043F\u0435\u0448\u043D\u043E \u0443\u0434\u0430\u043B\u0435\u043D\u043E -appmanager_management = \u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0442\u044C \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u044B\u043C\u0438 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F\u043C\u0438 -appmanager_appname = \u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F -appmanager_you_have_no_apps_installed = \u041D\u0430 \u0434\u0430\u043D\u043D\u044B\u0439 \u043C\u043E\u043C\u0435\u043D\u0442 \u0443 \u0432\u0430\u0441 \u043D\u0435\u0442 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u044B\u0445 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0439 -appmanager_author = \u0410\u0432\u0442\u043E\u0440 -appmanager_version = \u0412\u0435\u0440\u0441\u0438\u044F === removed file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/org/hisp/dhis/appmanager/i18n_module_tg.properties' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/org/hisp/dhis/appmanager/i18n_module_tg.properties 2013-09-27 05:25:22 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/org/hisp/dhis/appmanager/i18n_module_tg.properties 1970-01-01 00:00:00 +0000 @@ -1,19 +0,0 @@ -appmanager_list_app = \u0411\u0430\u0440\u043D\u043E\u043C\u0430\u04B3\u043E\u0438 \u043D\u0430\u0441\u0431\u0448\u0443\u0434\u0430 -appmanager_settings = \u0422\u0430\u043D\u0437\u0438\u043C\u043E\u0442 -appmanager_app_store = \u0414\u04EF\u043A\u043E\u043D\u0438 \u0431\u0430\u0440\u043D\u043E\u043C\u0430\u04B3\u043E -appmanager_saved_settings = \u0422\u0430\u043D\u0437\u0438\u043C\u043E\u0442\u0438 \u0437\u0430\u0445\u0438\u0440\u0430\u0448\u0443\u0434\u0430 -appmanager_installation_folder = \u04B6\u0443\u0437\u0432\u0434\u043E\u043D\u0438 \u043D\u0430\u0441\u0431\u0438 \u0431\u0430\u0440\u043D\u043E\u043C\u0430 -appmanager_baseurl = URL-\u0438 \u0437\u0430\u043C\u0438\u043D\u0430\u0432\u0438\u0438 \u0431\u0430\u0440\u043D\u043E\u043C\u0430 -appmanager_store_url = URL-\u0438 \u0434\u04EF\u043A\u043E\u043D\u0438 \u0431\u0430\u0440\u043D\u043E\u043C\u0430\u04B3\u043E -appmanager_upload_app_package = \u0411\u043E\u0440\u043A\u0443\u043D\u0438\u0438 \u0431\u0430\u0441\u0442\u0430\u0438 \u0431\u0430\u0440\u043D\u043E\u043C\u0430\u04B3\u043E (ZIP) -appmanager_install_success = \u0411\u0430\u0440\u043D\u043E\u043C\u0430 \u0431\u043E\u043C\u0443\u0432\u0430\u0444\u0444\u0430\u049B\u0438\u044F\u0442 \u043D\u0430\u0441\u0431 \u0448\u0443\u0434 -appmanager_manifest_not_found = \u0424\u0430\u0439\u043B\u0438 \u0430\u0451\u043D\u0438\u044F\u0442 \u0434\u0430\u0440 \u0431\u0430\u0440\u043D\u043E\u043C\u0430 \u0451\u0444\u0442 \u043D\u0430\u0448\u0443\u0434 -appmanager_not_zip = \u0411\u0430\u0440\u043D\u043E\u043C\u0430 \u0431\u043E\u0439\u0433\u043E\u043D\u0438\u0438 \u0434\u0443\u0440\u0443\u0441\u0442\u0438 ZIP \u043D\u0435\u0441\u0442 -appmanager_confirm_delete = \u041E\u0451 \u0431\u043E\u0432\u0430\u0440\u04E3 \u0434\u043E\u0440\u0435\u0434, \u043A\u0438 \u0438\u043D \u0431\u0430\u0440\u043D\u043E\u043C\u0430\u0440\u043E \u043D\u0435\u0441\u0442 \u043A\u0430\u0440\u0434\u0430\u043D \u043C\u0435\u0445\u043E\u04B3\u0435\u0434? -appmanager_invalid_json = \u0421\u0438\u043D\u0442\u0430\u043A\u0441\u0438\u0441\u0438 \u043D\u043E\u0434\u0443\u0440\u0443\u0441\u0442\u0438 JSON \u0434\u0430\u0440 \u0444\u0430\u0439\u043B\u0438 \u0430\u0451\u043D\u0438\u044F\u0442 -appmanager_delete_success = \u0411\u0430\u0440\u043D\u043E\u043C\u0430 \u0431\u043E\u043C\u0443\u0432\u0430\u0444\u0444\u0430\u049B\u0438\u044F\u0442 \u043D\u0435\u0441\u0442 \u043A\u0430\u0440\u0434\u0430 \u0448\u0443\u0434 -appmanager_management = \u0418\u0434\u043E\u0440\u0430\u043A\u0443\u043D\u0438\u0438 \u0431\u0430\u0440\u043D\u043E\u043C\u0430\u04B3\u043E\u0438 \u043D\u0430\u0441\u0431\u0448\u0443\u0434\u0430 -appmanager_appname = \u041D\u043E\u043C\u0438 \u0431\u0430\u0440\u043D\u043E\u043C\u0430 -appmanager_you_have_no_apps_installed = \u0414\u0430\u0440 \u0430\u0439\u043D\u0438 \u0437\u0430\u043C\u043E\u043D \u0448\u0443\u043C\u043E \u044F\u0433\u043E\u043D \u0431\u0430\u0440\u043D\u043E\u0430\u043C\u0438 \u043D\u0430\u0441\u0431\u0448\u0434\u0443\u0430 \u043D\u0430\u0434\u043E\u0440\u0435\u0434 -appmanager_author = \u041C\u0443\u0430\u043B\u043B\u0438\u0444 -appmanager_version = \u0412\u0435\u0440\u0441\u0438\u044F === removed file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/org/hisp/dhis/appmanager/i18n_module_vi.properties' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/org/hisp/dhis/appmanager/i18n_module_vi.properties 2015-12-04 06:05:53 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/org/hisp/dhis/appmanager/i18n_module_vi.properties 1970-01-01 00:00:00 +0000 @@ -1,7 +0,0 @@ -appmanager_list_app=\u1EE8ng d\u1EE5ng d\u00E3 c\u00E0i -appmanager_settings=Thi\u1EBFt l\u1EADp -appmanager_app_store=C\u1EEDa h\u00E0ng \u1EE9ng d\u1EE5ng -appmanager_saved_settings=L\u01B0u thi\u1EBFt l\u1EADp -appmanager_installation_folder=Th\u01B0 m\u1EE5c ch\u1EE9a \u1EE9ng d\u1EE5ng \u0111\u01B0\u1EE3c c\u00E0i -appmanager_absolute_server_path=\u0111\u01B0\u1EDDng d\u1EABn tuy\u1EC7t \u0111\u1ED1i tr\u00EAn m\u00E1y ch\u1EE7 \u0111\u1EC3 t\u1EA3i \u1EE9ng d\u1EE5ng l\u00EAn -appmanager_version=Phi\u00EAn b\u1EA3n === removed file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/org/hisp/dhis/appmanager/i18n_module_zh.properties' === removed file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/struts.xml' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/struts.xml 2015-01-16 19:07:36 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/resources/struts.xml 1970-01-01 00:00:00 +0000 @@ -1,49 +0,0 @@ - - - - - - - - - - - - appList.action - - - - /main.vm - /dhis-web-maintenance-appmanager/index.vm - /dhis-web-maintenance-appmanager/menu.vm - javascript/jquery.form.js,javascript/uploadApp.js - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - /dhis-web-commons/ajax/jsonResponseError.vm - /dhis-web-maintenance-appmanager/menu.vm - javascript/jquery.form.js - - - - - /dhis-web-commons/ajax/jsonResponseSuccess.vm - /dhis-web-maintenance-appmanager/index.vm - /dhis-web-maintenance-appmanager/menu.vm - javascript/jquery.form.js - - - - /main.vm - /dhis-web-maintenance-appmanager/appSettings.vm - /dhis-web-maintenance-appmanager/menu.vm - plainTextError - javascript/jquery.form.js,javascript/deleteApp.js - F_SYSTEM_SETTING - - - - === removed directory 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/webapp' === removed directory 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/webapp/WEB-INF' === removed directory 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/webapp/WEB-INF/classes' === removed file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/webapp/WEB-INF/classes/velocity.properties' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/webapp/WEB-INF/classes/velocity.properties 2013-09-29 20:10:45 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/webapp/WEB-INF/classes/velocity.properties 1970-01-01 00:00:00 +0000 @@ -1,3 +0,0 @@ -resource.loader = dev -dev.resource.loader.class = org.apache.velocity.runtime.resource.loader.FileResourceLoader -dev.resource.loader.path = src/main/webapp,../../dhis-web-commons-resources/src/main/webapp \ No newline at end of file === removed file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/webapp/WEB-INF/web.xml' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/webapp/WEB-INF/web.xml 2015-11-07 12:31:09 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/webapp/WEB-INF/web.xml 1970-01-01 00:00:00 +0000 @@ -1,131 +0,0 @@ - - - DHIS App Manager - - - contextConfigLocation - classpath*:/META-INF/dhis/beans.xml - - - automaticAccessType - ghostAdmin - - - - RedirectFilter - org.hisp.dhis.servlet.filter.HttpRedirectFilter - true - - redirectPath - dhis-web-maintenance-appmanager/appList.action - - - - OpenSessionInViewFilter - org.springframework.orm.hibernate4.support.OpenSessionInViewFilter - true - - - shallowEtagHeaderFilter - org.hisp.dhis.servlet.filter.ExcludableShallowEtagHeaderFilter - true - - excludeUriRegex - /api/dataValueSets|/api/dataValues|/api/dataValues/files|/api/fileResources - - - - springSecurityFilterChain - org.springframework.web.filter.DelegatingFilterProxy - true - - - Struts - org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter - true - - - encodingFilter - org.springframework.web.filter.CharacterEncodingFilter - true - - encoding - UTF-8 - - - forceEncoding - true - - - - appCacheFilter - org.springframework.web.filter.DelegatingFilterProxy - true - - - - encodingFilter - /* - - - RedirectFilter - / - - - OpenSessionInViewFilter - *.action - - - OpenSessionInViewFilter - /api/* - - - shallowEtagHeaderFilter - /api/* - - - springSecurityFilterChain - /* - - - Struts - *.action - - - appCacheFilter - *.appcache - - - - org.springframework.web.context.ContextLoaderListener - - - org.hisp.dhis.system.startup.StartupListener - - - - - - webapiServlet - org.springframework.web.servlet.DispatcherServlet - - contextConfigLocation - classpath*:/META-INF/dhis/servlet.xml - - 1 - true - - - - webapiServlet - /api - - - webapiServlet - /api/* - - - === removed directory 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/webapp/dhis-web-maintenance-appmanager' === removed file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/webapp/dhis-web-maintenance-appmanager/appSettings.vm' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/webapp/dhis-web-maintenance-appmanager/appSettings.vm 2015-08-18 20:08:20 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/webapp/dhis-web-maintenance-appmanager/appSettings.vm 1970-01-01 00:00:00 +0000 @@ -1,32 +0,0 @@ - - -

$i18n.getString( "appmanager_settings" )

- - - -
$i18n.getString( "appmanager_installation_folder" ) ($i18n.getString( "appmanager_absolute_server_path" ))
-
-
$i18n.getString( "appmanager_baseurl" ) ($i18n.getString( "appmanager_where_apps_can_be_found" ))
-
-
-   - $i18n.getString( "appmanager_set_to_default" ) -
=== removed file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/webapp/dhis-web-maintenance-appmanager/index.vm' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/webapp/dhis-web-maintenance-appmanager/index.vm 2015-08-18 20:08:20 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/webapp/dhis-web-maintenance-appmanager/index.vm 1970-01-01 00:00:00 +0000 @@ -1,108 +0,0 @@ - - - - -

$i18n.getString( "dhis-web-maintenance-appmanager" )

- -#if( $!appStoreUrl ) - -#end - -
-#if( ${settingsValid} == true ) -
-
- $i18n.getString( "appmanager_upload_app_package" ): -
-
-
-#else -
Please configure the app settings before installing apps
-#end -
- - - -#if( $appList.isEmpty() ) -
$i18n.getString( "appmanager_you_have_no_apps_installed" )
-#else - - - - -
- - - - - - - - - - - #foreach( $app in $appList ) - - - - - #end - -
$i18n.getString( "appmanager_appname" )$i18n.getString( "version" )
$encoder.jsEncode( $app.name )$app.version
-
-#end - === removed directory 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/webapp/dhis-web-maintenance-appmanager/javascript' === removed file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/webapp/dhis-web-maintenance-appmanager/javascript/deleteApp.js' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/webapp/dhis-web-maintenance-appmanager/javascript/deleteApp.js 2015-08-18 20:08:20 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/webapp/dhis-web-maintenance-appmanager/javascript/deleteApp.js 1970-01-01 00:00:00 +0000 @@ -1,29 +0,0 @@ - -function setAppConfig() { - - var config = { - appFolderPath: $( "#appFolderPath" ).val(), - appBaseUrl: $( "#appBaseUrl" ).val() - }; - - $.ajax( { - url: "../api/apps/config", - type: "post", - contentType: "application/json", - data: JSON.stringify( config ) - } ).done( function() { - setHeaderDelayMessage( "Settings updated" ); - } ).fail( function( xhr, text, error ) { - setHeaderDelayMessage( xhr.responseText ); - } ); -} - -function resetAppConfig() { - - $.ajax( { - url: "../api/apps/config", - type: "delete" - } ).done( function() { - window.location.href = "appSettings.action"; - } ); -} \ No newline at end of file === removed file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/webapp/dhis-web-maintenance-appmanager/javascript/jquery.form.js' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/webapp/dhis-web-maintenance-appmanager/javascript/jquery.form.js 2013-05-23 00:18:55 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-appmanager/src/main/webapp/dhis-web-maintenance-appmanager/javascript/jquery.form.js 1970-01-01 00:00:00 +0000 @@ -1,1175 +0,0 @@ -/*! - * jQuery Form Plugin - * version: 3.32.0-2013.04.03 - * @requires jQuery v1.5 or later - * - * Examples and documentation at: http://malsup.com/jquery/form/ - * Project repository: https://github.com/malsup/form - * Dual licensed under the MIT and GPL licenses: - * http://malsup.github.com/mit-license.txt - * http://malsup.github.com/gpl-license-v2.txt - */ -/*global ActiveXObject */ -;(function($) { -"use strict"; - -/* - Usage Note: - ----------- - Do not use both ajaxSubmit and ajaxForm on the same form. These - functions are mutually exclusive. Use ajaxSubmit if you want - to bind your own submit handler to the form. For example, - - $(document).ready(function() { - $('#myForm').on('submit', function(e) { - e.preventDefault(); // <-- important - $(this).ajaxSubmit({ - target: '#output' - }); - }); - }); - - Use ajaxForm when you want the plugin to manage all the event binding - for you. For example, - - $(document).ready(function() { - $('#myForm').ajaxForm({ - target: '#output' - }); - }); - - You can also use ajaxForm with delegation (requires jQuery v1.7+), so the - form does not have to exist when you invoke ajaxForm: - - $('#myForm').ajaxForm({ - delegation: true, - target: '#output' - }); - - When using ajaxForm, the ajaxSubmit function will be invoked for you - at the appropriate time. -*/ - -/** - * Feature detection - */ -var feature = {}; -feature.fileapi = $("").get(0).files !== undefined; -feature.formdata = window.FormData !== undefined; - -var hasProp = !!$.fn.prop; - -// attr2 uses prop when it can but checks the return type for -// an expected string. this accounts for the case where a form -// contains inputs with names like "action" or "method"; in those -// cases "prop" returns the element -$.fn.attr2 = function() { - if ( ! hasProp ) - return this.attr.apply(this, arguments); - var val = this.prop.apply(this, arguments); - if ( ( val && val.jquery ) || typeof val === 'string' ) - return val; - return this.attr.apply(this, arguments); -}; - -/** - * ajaxSubmit() provides a mechanism for immediately submitting - * an HTML form using AJAX. - */ -$.fn.ajaxSubmit = function(options) { - /*jshint scripturl:true */ - - // fast fail if nothing selected (http://dev.jquery.com/ticket/2752) - if (!this.length) { - log('ajaxSubmit: skipping submit process - no element selected'); - return this; - } - - var method, action, url, $form = this; - - if (typeof options == 'function') { - options = { success: options }; - } - - method = this.attr2('method'); - action = this.attr2('action'); - - url = (typeof action === 'string') ? $.trim(action) : ''; - url = url || window.location.href || ''; - if (url) { - // clean url (don't include hash vaue) - url = (url.match(/^([^#]+)/)||[])[1]; - } - - options = $.extend(true, { - url: url, - success: $.ajaxSettings.success, - type: method || 'GET', - iframeSrc: /^https/i.test(window.location.href || '') ? 'javascript:false' : 'about:blank' - }, options); - - // hook for manipulating the form data before it is extracted; - // convenient for use with rich editors like tinyMCE or FCKEditor - var veto = {}; - this.trigger('form-pre-serialize', [this, options, veto]); - if (veto.veto) { - log('ajaxSubmit: submit vetoed via form-pre-serialize trigger'); - return this; - } - - // provide opportunity to alter form data before it is serialized - if (options.beforeSerialize && options.beforeSerialize(this, options) === false) { - log('ajaxSubmit: submit aborted via beforeSerialize callback'); - return this; - } - - var traditional = options.traditional; - if ( traditional === undefined ) { - traditional = $.ajaxSettings.traditional; - } - - var elements = []; - var qx, a = this.formToArray(options.semantic, elements); - if (options.data) { - options.extraData = options.data; - qx = $.param(options.data, traditional); - } - - // give pre-submit callback an opportunity to abort the submit - if (options.beforeSubmit && options.beforeSubmit(a, this, options) === false) { - log('ajaxSubmit: submit aborted via beforeSubmit callback'); - return this; - } - - // fire vetoable 'validate' event - this.trigger('form-submit-validate', [a, this, options, veto]); - if (veto.veto) { - log('ajaxSubmit: submit vetoed via form-submit-validate trigger'); - return this; - } - - var q = $.param(a, traditional); - if (qx) { - q = ( q ? (q + '&' + qx) : qx ); - } - if (options.type.toUpperCase() == 'GET') { - options.url += (options.url.indexOf('?') >= 0 ? '&' : '?') + q; - options.data = null; // data is null for 'get' - } - else { - options.data = q; // data is the query string for 'post' - } - - var callbacks = []; - if (options.resetForm) { - callbacks.push(function() { $form.resetForm(); }); - } - if (options.clearForm) { - callbacks.push(function() { $form.clearForm(options.includeHidden); }); - } - - // perform a load on the target only if dataType is not provided - if (!options.dataType && options.target) { - var oldSuccess = options.success || function(){}; - callbacks.push(function(data) { - var fn = options.replaceTarget ? 'replaceWith' : 'html'; - $(options.target)[fn](data).each(oldSuccess, arguments); - }); - } - else if (options.success) { - callbacks.push(options.success); - } - - options.success = function(data, status, xhr) { // jQuery 1.4+ passes xhr as 3rd arg - var context = options.context || this ; // jQuery 1.4+ supports scope context - for (var i=0, max=callbacks.length; i < max; i++) { - callbacks[i].apply(context, [data, status, xhr || $form, $form]); - } - }; - - // are there files to upload? - - // [value] (issue #113), also see comment: - // https://github.com/malsup/form/commit/588306aedba1de01388032d5f42a60159eea9228#commitcomment-2180219 - var fileInputs = $('input[type=file]:enabled[value!=""]', this); - - var hasFileInputs = fileInputs.length > 0; - var mp = 'multipart/form-data'; - var multipart = ($form.attr('enctype') == mp || $form.attr('encoding') == mp); - - var fileAPI = feature.fileapi && feature.formdata; - log("fileAPI :" + fileAPI); - var shouldUseFrame = (hasFileInputs || multipart) && !fileAPI; - - var jqxhr; - - // options.iframe allows user to force iframe mode - // 06-NOV-09: now defaulting to iframe mode if file input is detected - if (options.iframe !== false && (options.iframe || shouldUseFrame)) { - // hack to fix Safari hang (thanks to Tim Molendijk for this) - // see: http://groups.google.com/group/jquery-dev/browse_thread/thread/36395b7ab510dd5d - if (options.closeKeepAlive) { - $.get(options.closeKeepAlive, function() { - jqxhr = fileUploadIframe(a); - }); - } - else { - jqxhr = fileUploadIframe(a); - } - } - else if ((hasFileInputs || multipart) && fileAPI) { - jqxhr = fileUploadXhr(a); - } - else { - jqxhr = $.ajax(options); - } - - $form.removeData('jqxhr').data('jqxhr', jqxhr); - - // clear element array - for (var k=0; k < elements.length; k++) - elements[k] = null; - - // fire 'notify' event - this.trigger('form-submit-notify', [this, options]); - return this; - - // utility fn for deep serialization - function deepSerialize(extraData){ - var serialized = $.param(extraData).split('&'); - var len = serialized.length; - var result = []; - var i, part; - for (i=0; i < len; i++) { - // #252; undo param space replacement - serialized[i] = serialized[i].replace(/\+/g,' '); - part = serialized[i].split('='); - // #278; use array instead of object storage, favoring array serializations - result.push([decodeURIComponent(part[0]), decodeURIComponent(part[1])]); - } - return result; - } - - // XMLHttpRequest Level 2 file uploads (big hat tip to francois2metz) - function fileUploadXhr(a) { - var formdata = new FormData(); - - for (var i=0; i < a.length; i++) { - formdata.append(a[i].name, a[i].value); - } - - if (options.extraData) { - var serializedData = deepSerialize(options.extraData); - for (i=0; i < serializedData.length; i++) - if (serializedData[i]) - formdata.append(serializedData[i][0], serializedData[i][1]); - } - - options.data = null; - - var s = $.extend(true, {}, $.ajaxSettings, options, { - contentType: false, - processData: false, - cache: false, - type: method || 'POST' - }); - - if (options.uploadProgress) { - // workaround because jqXHR does not expose upload property - s.xhr = function() { - var xhr = jQuery.ajaxSettings.xhr(); - if (xhr.upload) { - xhr.upload.addEventListener('progress', function(event) { - var percent = 0; - var position = event.loaded || event.position; /*event.position is deprecated*/ - var total = event.total; - if (event.lengthComputable) { - percent = Math.ceil(position / total * 100); - } - options.uploadProgress(event, position, total, percent); - }, false); - } - return xhr; - }; - } - - s.data = null; - var beforeSend = s.beforeSend; - s.beforeSend = function(xhr, o) { - o.data = formdata; - if(beforeSend) - beforeSend.call(this, xhr, o); - }; - return $.ajax(s); - } - - // private function for handling file uploads (hat tip to YAHOO!) - function fileUploadIframe(a) { - var form = $form[0], el, i, s, g, id, $io, io, xhr, sub, n, timedOut, timeoutHandle; - var deferred = $.Deferred(); - - if (a) { - // ensure that every serialized input is still enabled - for (i=0; i < elements.length; i++) { - el = $(elements[i]); - if ( hasProp ) - el.prop('disabled', false); - else - el.removeAttr('disabled'); - } - } - - s = $.extend(true, {}, $.ajaxSettings, options); - s.context = s.context || s; - id = 'jqFormIO' + (new Date().getTime()); - if (s.iframeTarget) { - $io = $(s.iframeTarget); - n = $io.attr2('name'); - if (!n) - $io.attr2('name', id); - else - id = n; - } - else { - $io = $('