<?xml version="1.0" encoding="UTF-8"?>
<ajxp_plugin label="CONF_MESSAGE[Open Cloud API]" description="CONF_MESSAGE[Open Cloud API Implementation]" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:noNamespaceSchemaLocation="file:../core.ajaxplorer/ajxp_registry.xsd">
    <class_definition classname="Pydio\OCS\OCSPlugin" filename="plugins/core.ocs/OCSPlugin.php"/>
    <client_settings>
        <resources>
            <i18n namespace="core.ocs" path="plugins/core.ocs/i18n"/>
        </resources>
    </client_settings>
    <server_settings>
        <global_param name="ENABLE_FEDERATED_SHARING" type="boolean" label="CONF_MESSAGE[Enable Federated Sharing]"
                      description="CONF_MESSAGE[Allow users to send / receive shares from other Pydio instances or from other Federated-Sharing-compatible systems]" default="false" mandatory="true" expose="true"/>
    </server_settings>
    <registry_contributions>
        <actions>
            <action name="accept_invitation">
                <processing>
                    <serverCallback methodName="applyActions" restParams="/remote_share_id" />
                </processing>
            </action>
            <action name="reject_invitation">
                <processing>
                    <serverCallback methodName="applyActions" restParams="/remote_share_id" />
                </processing>
            </action>
        </actions>
    </registry_contributions>
</ajxp_plugin>
