<?xml version="1.0" encoding="UTF-8"?>
<ajxpcore id="core.ajaxplorer" label="CONF_MESSAGE[Pydio Main Options]"
          description="CONF_MESSAGE[Main container for core Pydio settings (application title, sharing, webdav server config, etc...)]"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:noNamespaceSchemaLocation="file:../core.ajaxplorer/ajxp_registry.xsd"
        >
    <plugin_info>
        <plugin_author>Charles du Jeu</plugin_author>
        <plugin_version>follow</plugin_version>
        <plugin_uri>http://pyd.io/plugins/core/ajaxplorer</plugin_uri>
        <core_relation packaged="true" tested_version="follow_core"/>
    </plugin_info>
    <client_settings>
        <resources>
            <i18n namespace="" path="plugins/core.ajaxplorer/i18n"/>
        </resources>
    </client_settings>
	<server_settings>
		<global_param name="APPLICATION_TITLE" group="CONF_MESSAGE[Main]" type="string" label="CONF_MESSAGE[App Title]" description="CONF_MESSAGE[Your application title]" mandatory="true" default="Pydio" expose="true"/>
		<global_param name="DEFAULT_LANGUAGE" group="CONF_MESSAGE[Main]" type="select" choices="AJXP_AVAILABLE_LANGUAGES" label="CONF_MESSAGE[Default Language]" description="CONF_MESSAGE[Default language when a user does not have set his/her own.]" mandatory="true" default="en"/>
		<global_param name="SERVER_URL" group="CONF_MESSAGE[Main]" type="string" label="CONF_MESSAGE[Server URL]" description="CONF_MESSAGE[Server URL used to build share links and notifications. It will be detected if empty.]" mandatory="false"/>
		<global_param name="ADMIN_URI" group="CONF_MESSAGE[Main]" type="string" label="CONF_MESSAGE[Administrative URI]" description="CONF_MESSAGE[If not empty, admin dashboard will be only accessible at this URI. Make sure that your router is properly configured before enabling]" mandatory="false"/>
		<global_param name="PUBLIC_BASEURI" group="CONF_MESSAGE[Sharing]" type="string" label="CONF_MESSAGE[Public Base URI]" description="CONF_MESSAGE[URI where to serve the public links]" mandatory="true" default="/public"/>
		<global_param name="PUBLIC_DOWNLOAD_FOLDER" group="CONF_MESSAGE[Sharing]" type="string" label="CONF_MESSAGE[Download Folder (Legacy)]" description="CONF_MESSAGE[Absolute path to the public folder where temporary download links will be created. This is used for legacy purpose, newly created links do not use it anymore, but use the Base URI instead.]" mandatory="false" default="AJXP_INSTALL_PATH/data/public"/>
        <!-- MAKE SURE NOT TO CHANGE ORDER OF name AND default ATTRIBUTES, CAN BE REPLACED BY INSTALLERS -->
		<global_param name="PUBLIC_DOWNLOAD_URL" default="" group="CONF_MESSAGE[Sharing]" type="string" label="CONF_MESSAGE[Download URL]" description="CONF_MESSAGE[If not inferred directly from the current pydio URL plus the public base URI, replace the public access URL here.]" mandatory="false"/>
		<global_param name="WEBDAV_ENABLE" group="CONF_MESSAGE[WebDAV Server]" type="boolean" label="CONF_MESSAGE[Enable WebDAV]" description="CONF_MESSAGE[Enable the webDAV support. Please READ THE DOC to safely use this feature.]" mandatory="false" default="false"/>
		<global_param name="WEBDAV_ACTIVE_ALL" group="CONF_MESSAGE[WebDAV Server]" type="boolean" label="CONF_MESSAGE[Enable for all users]" description="CONF_MESSAGE[Enable WebDAV for all users by default. If set to false, users will have to manually enable WebDAV via their preferences panel.]" mandatory="false" default="false"/>
		<global_param name="WEBDAV_BASEURI" group="CONF_MESSAGE[WebDAV Server]" type="string" label="CONF_MESSAGE[Shares URI]" description="CONF_MESSAGE[Common URI to access the shares. Please READ THE DOC to safely use this feature.]" mandatory="false" default="/shares"/>
		<global_param name="WEBDAV_BASEHOST" group="CONF_MESSAGE[WebDAV Server]" type="string" label="CONF_MESSAGE[Shares Host]" description="CONF_MESSAGE[Host used in webDAV protocol. Should be detected by default. Please READ THE DOC to safely use this feature.]" mandatory="false" default=""/>
		<global_param name="WEBDAV_DIGESTREALM" group="CONF_MESSAGE[WebDAV Server]" type="string" label="CONF_MESSAGE[Digest Realm]" description="CONF_MESSAGE[Default realm for authentication. Please READ THE DOC to safely use this feature.]" mandatory="false" default="ajxp_webdav_realm"/>
		<global_param name="WEBDAV_FORCE_BASIC" group="CONF_MESSAGE[WebDAV Server]" type="boolean" label="CONF_MESSAGE[Force Basic Auth]" description="CONF_MESSAGE[This authentication mechanism is less secure, but will avoid the users having to re-enter a password in some case.]" mandatory="false" default="false"/>
		<global_param name="WEBDAV_BROWSER_LISTING" group="CONF_MESSAGE[WebDAV Server]" type="boolean" label="CONF_MESSAGE[Browser Access]" description="CONF_MESSAGE[Display the list of files and folder when accessing through the browser]" mandatory="false" default="false"/>
		<global_param name="CMDLINE_ACTIVE" group="CONF_MESSAGE[Command Line]" type="boolean" label="CONF_MESSAGE[Command-line Active]" description="CONF_MESSAGE[Use Pydio framework via the command line, allowing CRONTAB jobs or background actions.]" mandatory="false" default="false"/>
		<global_param name="CLI_PHP" group="CONF_MESSAGE[Command Line]" type="legend" label="CONF_MESSAGE[Command-line PHP]" description="CONF_MESSAGE[CLI_PHP: on specific hosts, you may have to use a specific path to access the php command line. This is hardcoded in CONF_DIR/conf.core.ajaxplorer.inc file.]" mandatory="false" default="php"/>
		<global_param name="CLI_USE_COM" group="CONF_MESSAGE[Command Line]" type="boolean" label="CONF_MESSAGE[Use COM class]" description="CONF_MESSAGE[On Windows running IIS, set this option to true if the COM extension is loaded, this may enable the use of the php command line.]" mandatory="false" default="false"/>
        <global_param name="DISABLE_ZIP_BROWSING" group="CONF_MESSAGE[Compression Features]" type="boolean" label="CONF_MESSAGE[Disable Zip browsing]" description="CONF_MESSAGE[Disable Zip files inline browsing. This can be necessary if you always store huge zip archives: it can have some impact on performance.]" mandatory="false" default="false"/>
        <global_param name="ZIP_CREATION" expose="true" group="CONF_MESSAGE[Compression Features]" type="boolean" label="CONF_MESSAGE[Zip Creation]" description="CONF_MESSAGE[If you encounter problems with online zip creation or multiple files downloading, you can disable the feature.]" mandatory="false" default="true"/>
        <global_param name="ZIP_ENCODING" expose="false" group="CONF_MESSAGE[Compression Features]" type="string" label="CONF_MESSAGE[Zip Encoding]" description="CONF_MESSAGE[Set up a specific encoding (try IBM850 or CP437) for filenames to fix characters problems during Zip creation. This may create OS-incompatible archives (Win/Mac).]" mandatory="false"/>

        <!-- Downloads Group -->
        <global_param name="USE_DOWNLOAD_ACCELERATOR" group="CONF_MESSAGE[Downloads]" type="select" label="CONF_MESSAGE[Download Delegation]" description="CONF_MESSAGE[Delegates download operations to an alternative agent, either webserver or pydio agent. Warning, this requires external modules to be installed. When using XSendFile/XaccelRedirect, you have to manually add the folders where files will be downloaded in the module configuration]" choices="pydio|Pydio Agent (any server),xsendfile|X-SendFile (Apache/Lighttpd),xaccelredirect|X-Accel-Redirect (Nginx)"/>
        <global_param name="GZIP_COMPRESSION" group="CONF_MESSAGE[Downloads]" type="boolean" label="CONF_MESSAGE[Gzip Download]" description="CONF_MESSAGE[Gzip files on-the-fly before downloading. Disabled by default, as it's generally useful only on small files, and decreases performances on big files. This has nothing to see with the Zip Creation feature, it's just a on-the-fly compression applied on a unique file at download.]" mandatory="false" default="false"/>
        <global_param name="GZIP_LIMIT" group="CONF_MESSAGE[Downloads]" type="string" label="CONF_MESSAGE[Gzip Limit]" description="CONF_MESSAGE[If activated, a default limit should be set above when files are no more compressed.]" mandatory="false" default="1048576"/>

		<global_param name="NODENAME_MAX_LENGTH" expose="true" group="CONF_MESSAGE[Miscellaneous]" type="integer" label="CONF_MESSAGE[Filename length]" description="CONF_MESSAGE[Maximum characters length of new files or folders]" mandatory="false" default="255"/>
		<global_param name="AJXP_TMP_DIR" group="CONF_MESSAGE[Miscellaneous]" type="string" label="CONF_MESSAGE[Temporary Folder]" description="CONF_MESSAGE[This is necessary only if you have errors concerning the tmp dir access or writeability : most probably, they are due to PHP SAFE MODE (should disappear in php6) or various OPEN_BASEDIR restrictions. In that case, create and set writeable a tmp folder somewhere at the root of your hosting (but above the web/ or www/ or http/ if possible!!) and enter here the full path to this folder]" mandatory="false" default=""/>

        <global_param name="CORS_ORIGIN" group="CONF_MESSAGE[Cross-origin resource sharing (CORS)]" type="string" label="CONF_MESSAGE[Allowed Origin]" description="CONF_MESSAGE[Origin hosts allowed to perform CORS requests (comma separated regular expressions)]" mandatory="false" default="*" />
		<global_param name="CORS_METHODS" group="CONF_MESSAGE[Cross-origin resource sharing (CORS)]" type="string" label="CONF_MESSAGE[Allowed Methods]" description="CONF_MESSAGE[Methods allowed in CORS requests (comma separated)]" mandatory="false" default="GET, POST" />
        <global_param name="CORS_HEADERS_ALLOW" group="CONF_MESSAGE[Cross-origin resource sharing (CORS)]" type="string" label="CONF_MESSAGE[Allowed Headers]" description="CONF_MESSAGE[Headers allowed in CORS requests (comma separated)]" mandatory="false" default="Authorization, Content-Type, X-Requested-With" />
        <global_param name="CORS_HEADERS_EXPOSE" group="CONF_MESSAGE[Cross-origin resource sharing (CORS)]" type="string" label="CONF_MESSAGE[Exposed Headers]" description="CONF_MESSAGE[Headers exposed in CORS responses (comma separated)]" mandatory="false" default="" />

	</server_settings>
</ajxpcore>
