685 lines
35 KiB
XML
685 lines
35 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<creole>
|
|
<files>
|
|
<file filelist='ninegate' name='/etc/eole/eole-db.d/ninegate-db.yml' rm='True' mkdir='True'/>
|
|
<file filelist='ninegate' name='/usr/share/eole/posttemplate/90-ninegate' source="ninegate-posttemplate.sh" rm='True' mkdir='True' mode="700"/>
|
|
</files>
|
|
|
|
<containers>
|
|
<container name='web'>
|
|
<package>ninegate-apps</package>
|
|
|
|
<file filelist='ninegate' name='/etc/apache2/sites-available/ninegate' source='ninegate-apache.conf' rm="True"/>
|
|
<file filelist="ninegate" name="/var/www/html/ninegate/app/config/parameters.yml" source="ninegate-parameters.yml" rm="True"/>
|
|
<file filelist="ninegate" name="/var/www/html/ninegate/app/config/template.yml" source="ninegate-template.yml" rm="True"/>
|
|
<file filelist="ninegate" name="/var/www/html/ninegate/scripts/ninegate-postservice-00.sh" source="ninegate-postservice-00.sh" rm="True" mode="700" />
|
|
<file filelist="ninegate" name="/var/www/html/ninegate/src/Cadoles/CoreBundle/Command/data/core-init-01.sql" source="ninegate-init-01.sql" rm="True"/>
|
|
<file filelist='ninegate' name='/etc/cron.d/ninegate' source='ninegate.cron' rm='True'/>
|
|
|
|
<service method='apache' servicelist='ninegate'>ninegate</service>
|
|
|
|
<service_access service='ninegate_websocket'>
|
|
<port port_type="SymLinkOption">ninegate_websocket_portexterne</port>
|
|
</service_access>
|
|
|
|
</container>
|
|
</containers>
|
|
|
|
<variables>
|
|
<family name='Ninegate'>
|
|
<variable name="activer_eportail" type="oui/non" description="Activer ePortail" hidden='True' exists='False'><value>non</value></variable>
|
|
<variable name="activer_limesurvey" type="oui/non" description="Activer Limesurvey" hidden='True' exists='False'><value>non</value></variable>
|
|
<variable name="activer_moodle" type="oui/non" description="Activer Moodle" hidden='True' exists='False'><value>non</value></variable>
|
|
<variable name="activer_nextcloud" type="oui/non" description="Activer Nextcloud" hidden='True' exists='False'><value>non</value></variable>
|
|
<variable name="activer_opensondage" type="oui/non" description="Activer Opensondage" hidden='True' exists='False'><value>non</value></variable>
|
|
<variable name="activer_piwik" type="oui/non" description="Activer Piwik" hidden='True' exists='False'><value>non</value></variable>
|
|
<variable name="activer_sondepiwik_local" type="oui/non" description="Activer Sonde Piwik" hidden='True' exists='False'><value>non</value></variable>
|
|
<variable name="activer_wordpress" type="oui/non" description="Activer Wordpress" hidden='True' exists='False'><value>non</value></variable>
|
|
|
|
|
|
<variable name='moodle_apikey' type='string' description="API Key pour accéder au webservice Moodle" hidden='True' exists='False' />
|
|
|
|
|
|
<variable name='ninegate_test_sonde' type='oui/non' hidden='True'/>
|
|
<variable name='ninegate_test_conf_cadolesldap' type='oui/non' hidden='True'/>
|
|
<variable name='ninegate_test_conf_ldap' type='oui/non' hidden='True'/>
|
|
|
|
|
|
|
|
|
|
<variable type='oui/non' name='activer_ninegate' description='Activer Ninegate'><value>oui</value></variable>
|
|
|
|
<variable type='string' name='ninegate_masteridentity' description="Maître de l'Identité" mandatory='True'><value>LDAP</value></variable>
|
|
<variable type='string' name='ninegate_mode_auth' description="Mode Authentification" mandatory='True'><value>CAS</value></variable>
|
|
<variable type='string' name='ninegate_api_key' description="Clé d'accès API" mandatory='True'><value>APIKeyNinegate</value></variable>
|
|
|
|
<variable type='oui/non' name='ninegate_syncldap' description="Synchroniser Ninegate vers votre annuaire"><value>non</value></variable>
|
|
<variable type='oui/non' name='ninegate_synceportail' description="Synchroniser Ninegate vers ePortail"><value>non</value></variable>
|
|
<variable type='string' name='ninegate_ldaptemplate' description="Modèle d'annuaire"><value>scribe</value></variable>
|
|
|
|
<variable type='string' name='ninegate_pwdadmin' description="Mot de passe du compte admin durant l'instance (idem valeur Cadoles ldap)" mandatory='True'><value>cadoles</value></variable>
|
|
<variable type='string' name='ninegate_organization' description="Nom de l'organisation principale (idem valeur Cadoles ldap)" mandatory='True'><value>cadoles</value></variable>
|
|
<variable type='string' name='ninegate_niveau01branche' description="Nom de la branche de Niveau 01 (idem valeur Cadoles ldap)" mandatory='True'><value>niveau01</value></variable>
|
|
<variable type='string' name='ninegate_niveau02branche' description="Nom de la branche de Niveau 02 (idem valeur Cadoles ldap)" mandatory='True'><value>niveau02</value></variable>
|
|
<variable type='string' name='ninegate_niveau01name' description="Nom de la première orgranisation de Niveau 01 (idem valeur Cadoles ldap)" mandatory='True'><value>cadoles</value></variable>
|
|
<variable type='string' name='ninegate_niveau01siren' description="SIREN de la première orgranisation de Niveau 01 (idem valeur Cadoles ldap)" mandatory='True'><value>cadoles</value></variable>
|
|
|
|
<variable type='string' name='ninegate_niveau01label' description="Label singulier du niveau 01 d'organisation" mandatory='True'><value>Ecole</value></variable>
|
|
<variable type='string' name='ninegate_niveau01labels' description="Label pluriel du niveau 01 d'organisation" mandatory='True'><value>Ecoles</value></variable>
|
|
<variable type='string' name='ninegate_niveau01icon' description="Icon du niveau 01 d'organisation" mandatory='True'><value>fa-building</value></variable>
|
|
|
|
<variable type='oui/non' name='ninegate_niveau02view' description="Gérer un niveau 02 d'organisation"><value>non</value></variable>
|
|
<variable type='string' name='ninegate_niveau02label' description="Label pluriel du niveau 02 d'organisation" mandatory='True'><value>Service</value></variable>
|
|
<variable type='string' name='ninegate_niveau02labels' description="Label pluriel du niveau 02 d'organisation" mandatory='True'><value>Services</value></variable>
|
|
<variable type='string' name='ninegate_niveau02icon' description="Icon du niveau 02 d'organisation" mandatory='True'><value>fa-sitemap</value></variable>
|
|
|
|
<variable type='string' name='ninegate_colormain' description="Couleur principale" mandatory='True'><value>2c3e50</value></variable>
|
|
<variable type='string' name='ninegate_fontcolorhover' description="Couleur des polices sur fond de couleur principale" mandatory='True'><value>FFFFFF</value></variable>
|
|
|
|
<variable type='string' name='ninegate_moderegistration' description="Mode de registration : none / byuser / byadmin" mandatory='True'><value>none</value></variable>
|
|
<variable type='string' name='ninegate_keyterm' description="Taille minimun du password" mandatory='True'><value>8</value></variable>
|
|
|
|
|
|
|
|
<!-- MODULE PORTAL -->
|
|
<variable type="oui/non" name='ninegate_activate_portal' description='Activer le module portail' mandatory='True'>
|
|
<value>oui</value>
|
|
</variable>
|
|
<variable type="oui/non" name='ninegate_activate_page' description='Activer le module page' mandatory='True'>
|
|
<value>oui</value>
|
|
</variable>
|
|
<variable type="oui/non" name='ninegate_activate_item' description='Activer le module item' mandatory='True'>
|
|
<value>oui</value>
|
|
</variable>
|
|
<variable type="oui/non" name='ninegate_activate_alert' description='Activer le module annonce' mandatory='True'>
|
|
<value>oui</value>
|
|
</variable>
|
|
<variable type="oui/non" name='ninegate_activate_calendar' description='Activer le module calendrier' mandatory='True'>
|
|
<value>oui</value>
|
|
</variable>
|
|
<variable type="oui/non" name='ninegate_activate_blog' description='Activer le module blog' mandatory='True'>
|
|
<value>oui</value>
|
|
</variable>
|
|
<variable type="oui/non" name='ninegate_activate_flux' description='Activer le module flux' mandatory='True'>
|
|
<value>oui</value>
|
|
</variable>
|
|
<variable type="oui/non" name='ninegate_activate_notice' description='Activer le module charte' mandatory='True'>
|
|
<value>oui</value>
|
|
</variable>
|
|
|
|
|
|
|
|
<!-- MODULE SYNCENVOLE -->
|
|
<variable type="oui/non" name='ninegate_activate_syncenvole' description='Activer le module Synchronisation Envole' mandatory='True'>
|
|
<value>oui</value>
|
|
</variable>
|
|
|
|
|
|
|
|
<!-- MODULE CRON -->
|
|
<variable type="oui/non" name='ninegate_activate_cron' description='Activer le module CRON' mandatory='True'>
|
|
<value>oui</value>
|
|
</variable>
|
|
|
|
|
|
|
|
<!-- MODULE WEBSOCKET -->
|
|
<variable type="oui/non" name='ninegate_activate_websocket' description='Activer le module WEBSOCKET' mandatory='True'>
|
|
<value>oui</value>
|
|
</variable>
|
|
|
|
|
|
|
|
|
|
<!-- LIMESURVEY -->
|
|
<variable type="oui/non" name='ninegate_activate_widlimesurvey' description='Activer le widget Limesurvey' mandatory='True'>
|
|
<value>non</value>
|
|
</variable>
|
|
<variable type='string' name='ninegate_widlimesurvey_url' description='URL complète de votre Limesurvey' mandatory='True' />
|
|
<variable type='string' name='ninegate_widlimesurvey_apiuser' description='API User de votre Limesurvey' mandatory='True' />
|
|
<variable type='string' name='ninegate_widlimesurvey_apikey' description='API Key de votre Limesurvey' mandatory='True' />
|
|
<variable type='string' name='ninegate_widlimesurvey_syncenvole' description='URL Posh-Profil pour synchronisation Limesurvey' mandatory='True' />
|
|
|
|
<!-- MOODLE -->
|
|
<variable type="oui/non" name='ninegate_activate_widmoodle' description='Activer le widget Moodle' mandatory='True'>
|
|
<value>non</value>
|
|
</variable>
|
|
<variable type='string' name='ninegate_widmoodle_url' description='URL complète de votre Moodle' mandatory='True' />
|
|
<variable type='string' name='ninegate_widmoodle_apikey' description='API Key de votre Moodle' mandatory='True' />
|
|
<variable type='string' name='ninegate_widmoodle_syncenvole' description='URL Posh-Profil pour synchronisation Moodle' mandatory='True' />
|
|
|
|
<!-- NEXTCLOUD -->
|
|
<variable type="oui/non" name='ninegate_activate_widnextcloud' description='Activer le widget Nextcloud' mandatory='True'>
|
|
<value>non</value>
|
|
</variable>
|
|
<variable type='string' name='ninegate_widnextcloud_url' description='URL complète de votre Nextcloud' mandatory='True' />
|
|
|
|
<!-- OPENSONDAGE -->
|
|
<variable type="oui/non" name='ninegate_activate_widopensondage' description='Activer le widget Opensondage' mandatory='True'>
|
|
<value>non</value>
|
|
</variable>
|
|
<variable type='string' name='ninegate_widopensondage_url' description='URL complète de votre Opensondage' mandatory='True' />
|
|
|
|
<!-- PIWIK -->
|
|
<variable type="oui/non" name='ninegate_activate_widpiwik' description='Activer le widget Piwik' mandatory='True'>
|
|
<value>non</value>
|
|
</variable>
|
|
<variable type='string' name='ninegate_widpiwik_url' description='URL complète de votre Piwik' mandatory='True' />
|
|
<variable type='string' name='ninegate_widpiwik_syncenvole' description='URL Posh-Profil pour synchronisation Piwik' mandatory='True' />
|
|
|
|
<!-- WORDPRESS -->
|
|
<variable type="oui/non" name='ninegate_activate_widwordpress' description='Activer le widget Wordpress' mandatory='True'>
|
|
<value>non</value>
|
|
</variable>
|
|
<variable type='string' name='ninegate_widwordpress_url' description='URL complète de votre Wordpress' mandatory='True' />
|
|
<variable type='string' name='ninegate_widwordpress_syncenvole' description='URL Posh-Profil pour synchronisation Wordpress' mandatory='True' />
|
|
|
|
|
|
|
|
<!-- WEBSOCKET -->
|
|
<variable type='string' name='ninegate_websocket_url' description='Host du serveur Websocket' mandatory='True' />
|
|
<variable type='string' name='ninegate_websocket_portexterne' description='Port de commuinication externe du serveur Websocket' mandatory='True' >
|
|
<value>5555</value>
|
|
</variable>
|
|
<variable type='string' name='ninegate_websocket_portinterne' description='Port de commuinication interne du serveur Websocket' mandatory='True'>
|
|
<value>5556</value>
|
|
</variable>
|
|
|
|
|
|
|
|
<!-- EMAIL -->
|
|
<variable type='string' name='ninegate_noreply' description='Adresse mail utilisé pour le noreply' mandatory='True' />
|
|
<variable type='string' name='ninegate_smtphost' description='Host du serveur SMTP' />
|
|
<variable type='string' name='ninegate_smtpport' description='Port du serveur SMTP' />
|
|
<variable type='string' name='ninegate_smtpuser' description='Compte du serveur SMTP' />
|
|
<variable type='string' name='ninegate_smtppwd' description='Fichier contenant le mot de passe associé du compte SMTP' />
|
|
<variable type='string' name='ninegate_smtpencryption' description='Type Encryptage du serveur SMTP' />
|
|
<variable type='string' name='ninegate_smtpauthmode' description='Mode Authentification du serveur SMTP' />
|
|
|
|
|
|
|
|
<!-- EOLEDB -->
|
|
<variable type='string' name='ninegate_db_mode' description='Serveur de bases de données à utiliser' mode='expert'/>
|
|
<variable type='string' name='ninegate_dbserver' description='Adresse du serveur de base de données' mode='expert'/>
|
|
<variable type='number' name='ninegate_dbport' description="Port d'écoute du serveur de base de données" mode='expert'/>
|
|
<variable type='string' name='ninegate_allow_hosts' description="Hôtes autorisés à utiliser la base de données" multi='True' mode='expert'/>
|
|
<variable type='string' name='ninegate_dbuser' description='Utilisateur du serveur de base de données' mode='expert'/>
|
|
<variable type='string' name='ninegate_dbpass' description='Fichier de mot de passe du serveur' mode='expert'/>
|
|
</family>
|
|
|
|
<separators>
|
|
<separator name="ninegate_syncldap">Paramètres associés à l'Annuaire</separator>
|
|
<separator name="ninegate_niveau01label">Paramètres associés aux look de l'application</separator>
|
|
<separator name="ninegate_activate_portal">Paramètres associés aux modules à activer</separator>
|
|
<separator name="ninegate_activate_widlimesurvey">Paramètres associés au Portail</separator>
|
|
<separator name="ninegate_websocket_url">Paramètres associés au Serveur WEBSOCKET</separator>
|
|
<separator name="ninegate_noreply">Paramètres associés aux Mails</separator>
|
|
<separator name="ninegate_db_mode">Paramètres associés à la Base de Données</separator>
|
|
</separators>
|
|
</variables>
|
|
|
|
<constraints>
|
|
<condition name='hidden_if_in' source='activer_apache'>
|
|
<param>non</param>
|
|
<target type='variable'>activer_ninegate</target>
|
|
</condition>
|
|
|
|
<condition name='hidden_if_in' source='activer_eportail'>
|
|
<param>non</param>
|
|
<target type='variable'>ninegate_synceportail</target>
|
|
</condition>
|
|
|
|
<condition name='hidden_if_in' source='activer_ninegate'>
|
|
<param>non</param>
|
|
|
|
<target type='variable'>ninegate_masteridentity</target>
|
|
<target type='variable'>ninegate_mode_auth</target>
|
|
<target type='variable'>ninegate_api_key</target>
|
|
|
|
|
|
<target type='variable'>ninegate_syncldap</target>
|
|
<target type='variable'>ninegate_synceportail</target>
|
|
<target type='variable'>ninegate_ldaptemplate</target>
|
|
|
|
<target type='variable'>ninegate_pwdadmin</target>
|
|
<target type='variable'>ninegate_organization</target>
|
|
<target type='variable'>ninegate_niveau01branche</target>
|
|
<target type='variable'>ninegate_niveau02branche</target>
|
|
<target type='variable'>ninegate_niveau01name</target>
|
|
<target type='variable'>ninegate_niveau01siren</target>
|
|
|
|
<target type='variable'>ninegate_niveau01label</target>
|
|
<target type='variable'>ninegate_niveau01labels</target>
|
|
<target type='variable'>ninegate_niveau01icon</target>
|
|
<target type='variable'>ninegate_niveau02view</target>
|
|
<target type='variable'>ninegate_niveau02label</target>
|
|
<target type='variable'>ninegate_niveau02labels</target>
|
|
<target type='variable'>ninegate_niveau02icon</target>
|
|
<target type='variable'>ninegate_colormain</target>
|
|
<target type='variable'>ninegate_fontcolorhover</target>
|
|
<target type='variable'>ninegate_moderegistration</target>
|
|
<target type='variable'>ninegate_keyterm</target>
|
|
|
|
<target type='variable'>ninegate_activate_portal</target>
|
|
<target type='variable'>ninegate_activate_page</target>
|
|
<target type='variable'>ninegate_activate_item</target>
|
|
<target type='variable'>ninegate_activate_alert</target>
|
|
<target type='variable'>ninegate_activate_calendar</target>
|
|
<target type='variable'>ninegate_activate_blog</target>
|
|
<target type='variable'>ninegate_activate_flux</target>
|
|
<target type='variable'>ninegate_activate_notice</target>
|
|
<target type='variable'>ninegate_activate_syncenvole</target>
|
|
<target type='variable'>ninegate_activate_cron</target>
|
|
<target type='variable'>ninegate_activate_websocket</target>
|
|
|
|
<target type='variable'>ninegate_noreply</target>
|
|
<target type='variable'>ninegate_smtphost</target>
|
|
<target type='variable'>ninegate_smtpport</target>
|
|
<target type='variable'>ninegate_smtpuser</target>
|
|
<target type='variable'>ninegate_smtppwd</target>
|
|
<target type='variable'>ninegate_smtpencryption</target>
|
|
<target type='variable'>ninegate_smtpauthmode</target>
|
|
|
|
<target type='variable'>ninegate_db_mode</target>
|
|
<target type='variable'>ninegate_dbserver</target>
|
|
<target type='variable'>ninegate_dbport</target>
|
|
<target type='variable'>ninegate_allow_hosts</target>
|
|
<target type='variable'>ninegate_dbuser</target>
|
|
<target type='variable'>ninegate_dbpass</target>
|
|
|
|
<target type='filelist'>ninegate</target>
|
|
<target type='servicelist'>ninegate</target>
|
|
</condition>
|
|
|
|
<condition name='hidden_if_in' source='ninegate_masteridentity'>
|
|
<param>LDAP</param>
|
|
<param>SSO</param>
|
|
|
|
<target type='variable'>ninegate_syncldap</target>
|
|
<target type='variable'>ninegate_synceportail</target>
|
|
<target type='variable'>ninegate_moderegistration</target>
|
|
<target type='variable'>ninegate_keyterm</target>
|
|
</condition>
|
|
|
|
<condition name='hidden_if_in' source='ninegate_masteridentity'>
|
|
<param>SQL</param>
|
|
<param>SSO</param>
|
|
|
|
<target type='variable'>ninegate_ldaptemplate</target>
|
|
<target type='variable'>ninegate_test_conf_cadolesldap</target>
|
|
</condition>
|
|
|
|
<condition name='hidden_if_in' source='ninegate_syncldap'>
|
|
<param>non</param>
|
|
|
|
<target type='variable'>ninegate_pwdadmin</target>
|
|
<target type='variable'>ninegate_niveau01name</target>
|
|
<target type='variable'>ninegate_niveau01siren</target>
|
|
</condition>
|
|
|
|
<auto name='calc_multi_condition' target='ninegate_test_conf_cadolesldap'>
|
|
<param>CadolesLDAP</param>
|
|
<param type='eole' name='condition_1' hidden='False'>ninegate_ldaptemplate</param>
|
|
<param name='match'>oui</param>
|
|
<param name='mismatch'>non</param>
|
|
<param name='default_mismatch'>non</param>
|
|
</auto>
|
|
|
|
<auto name='calc_multi_condition' target='ninegate_test_conf_ldap'>
|
|
<param>oui</param>
|
|
<param name="operator">OR</param>
|
|
<param type='eole' name='condition_1' hidden='False'>ninegate_syncldap</param>
|
|
<param type='eole' name='condition_2' hidden='False'>ninegate_test_conf_cadolesldap</param>
|
|
<param name='match'>oui</param>
|
|
<param name='mismatch'>non</param>
|
|
</auto>
|
|
|
|
<condition name='hidden_if_in' source='ninegate_test_conf_ldap'>
|
|
<param>non</param>
|
|
|
|
<target type='variable'>ninegate_organization</target>
|
|
<target type='variable'>ninegate_niveau01branche</target>
|
|
<target type='variable'>ninegate_niveau02branche</target>
|
|
</condition>
|
|
|
|
<condition name='hidden_if_in' source='ninegate_niveau02view'>
|
|
<param>non</param>
|
|
|
|
<target type='variable'>ninegate_niveau02label</target>
|
|
<target type='variable'>ninegate_niveau02labels</target>
|
|
<target type='variable'>ninegate_niveau02icon</target>
|
|
</condition>
|
|
|
|
|
|
|
|
|
|
<!-- AFFICHAGE EN FONCTION DU MODULE PORTAL -->
|
|
<condition name='hidden_if_in' source='ninegate_activate_portal'>
|
|
<param>non</param>
|
|
|
|
<target type='variable'>ninegate_activate_widlimesurvey</target>
|
|
<target type='variable'>ninegate_activate_widmoodle</target>
|
|
<target type='variable'>ninegate_activate_widnextcloud</target>
|
|
<target type='variable'>ninegate_activate_widopensondage</target>
|
|
<target type='variable'>ninegate_activate_widpiwik</target>
|
|
<target type='variable'>ninegate_activate_widwordpress</target>
|
|
</condition>
|
|
|
|
<condition name='hidden_if_in' source='ninegate_activate_portal'>
|
|
<param>oui</param>
|
|
|
|
<target type='variable'>ninegate_activate_page</target>
|
|
<target type='variable'>ninegate_activate_item</target>
|
|
<target type='variable'>ninegate_activate_alert</target>
|
|
<target type='variable'>ninegate_activate_calendar</target>
|
|
<target type='variable'>ninegate_activate_blog</target>
|
|
<target type='variable'>ninegate_activate_flux</target>
|
|
<target type='variable'>ninegate_activate_notice</target>
|
|
</condition>
|
|
|
|
|
|
|
|
<!-- AFFICHAGE EN FONCTION DU MODULE SYNCENVOLE -->
|
|
<condition name='hidden_if_in' source='ninegate_activate_syncenvole'>
|
|
<param>non</param>
|
|
|
|
<target type='variable'>ninegate_widlimesurvey_syncenvole</target>
|
|
<target type='variable'>ninegate_widmoodle_syncenvole</target>
|
|
<target type='variable'>ninegate_widpiwik_syncenvole</target>
|
|
<target type='variable'>ninegate_widwordpress_syncenvole</target>
|
|
</condition>
|
|
|
|
|
|
|
|
<!-- AFFICHAGE EN FONCTION DU MODULE WEBSOCKET -->
|
|
<condition name='hidden_if_in' source='ninegate_activate_websocket'>
|
|
<param>non</param>
|
|
|
|
<target type='variable'>ninegate_websocket_url</target>
|
|
<target type='variable'>ninegate_websocket_portinterne</target>
|
|
<target type='variable'>ninegate_websocket_portexterne</target>
|
|
<target type='servicelist'>ninegate_websocket</target>
|
|
</condition>
|
|
|
|
<fill name='calc_multi_condition' target='ninegate_websocket_url'>
|
|
<param>oui</param>
|
|
<param type='eole' name='condition_1' hidden='False'>activer_apache</param>
|
|
<param type='eole' name='match' hidden='False'>web_url</param>
|
|
<param name='default_mismatch'>None</param>
|
|
</fill>
|
|
|
|
|
|
|
|
<!-- AFFICHAGE EN FONCTION DU WIDGET LIMESURVEY -->
|
|
<fill name='calc_multi_condition' target='ninegate_activate_widlimesurvey'>
|
|
<param>oui</param>
|
|
<param type='eole' name='condition_1' hidden='False'>activer_limesurvey</param>
|
|
<param name='match'>oui</param>
|
|
<param name='mismatch'>non</param>
|
|
<param name='default_mismatch'>non</param>
|
|
</fill>
|
|
|
|
<condition name='hidden_if_in' source='ninegate_activate_widlimesurvey'>
|
|
<param>non</param>
|
|
|
|
<target type='variable'>ninegate_widlimesurvey_url</target>
|
|
<target type='variable'>ninegate_widlimesurvey_apiuser</target>
|
|
<target type='variable'>ninegate_widlimesurvey_apikey</target>
|
|
<target type='variable'>ninegate_widlimesurvey_syncenvole</target>
|
|
</condition>
|
|
|
|
<fill name='calc_multi_condition' target='ninegate_widlimesurvey_url'>
|
|
<param>oui</param>
|
|
<param type='eole' name='condition_1' hidden='False'>activer_limesurvey</param>
|
|
<param name='match'>/limesurvey</param>
|
|
<param name='default_mismatch'>None</param>
|
|
</fill>
|
|
|
|
<fill name='calc_multi_condition' target='ninegate_widlimesurvey_apiuser'>
|
|
<param>oui</param>
|
|
<param type='eole' name='condition_1' hidden='False'>activer_limesurvey</param>
|
|
<param name='match'>restuser</param>
|
|
<param name='default_mismatch'>None</param>
|
|
</fill>
|
|
|
|
<fill name='calc_multi_condition' target='ninegate_widlimesurvey_apikey'>
|
|
<param>oui</param>
|
|
<param type='eole' name='condition_1' hidden='False'>activer_limesurvey</param>
|
|
<param name='match'>apikeyenvole</param>
|
|
<param name='default_mismatch'>None</param>
|
|
</fill>
|
|
|
|
<fill name='calc_multi_condition' target='ninegate_widlimesurvey_syncenvole'>
|
|
<param>oui</param>
|
|
<param type='eole' name='condition_1' hidden='False'>activer_limesurvey</param>
|
|
<param name='match'>/posh-profil</param>
|
|
<param name='default_mismatch'>None</param>
|
|
</fill>
|
|
|
|
|
|
|
|
<!-- AFFICHAGE EN FONCTION DU WIDGET MOODLE -->
|
|
<fill name='calc_multi_condition' target='ninegate_activate_widmoodle'>
|
|
<param>oui</param>
|
|
<param type='eole' name='condition_1' hidden='False'>activer_moodle</param>
|
|
<param name='match'>oui</param>
|
|
<param name='mismatch'>non</param>
|
|
<param name='default_mismatch'>non</param>
|
|
</fill>
|
|
|
|
<condition name='hidden_if_in' source='ninegate_activate_widmoodle'>
|
|
<param>non</param>
|
|
|
|
<target type='variable'>ninegate_widmoodle_url</target>
|
|
<target type='variable'>ninegate_widmoodle_apikey</target>
|
|
<target type='variable'>ninegate_widmoodle_syncenvole</target>
|
|
</condition>
|
|
|
|
<fill name='calc_multi_condition' target='ninegate_widmoodle_url'>
|
|
<param>oui</param>
|
|
<param type='eole' name='condition_1' hidden='False'>activer_moodle</param>
|
|
<param name='match'>/moodle</param>
|
|
<param name='default_mismatch'>None</param>
|
|
</fill>
|
|
|
|
<fill name='calc_multi_condition' target='ninegate_widmoodle_apikey'>
|
|
<param>oui</param>
|
|
<param type='eole' name='condition_1' hidden='False'>activer_moodle</param>
|
|
<param type='eole' name='match' hidden='False'>moodle_apikey</param>
|
|
<param name='default_mismatch'>None</param>
|
|
</fill>
|
|
|
|
<fill name='calc_multi_condition' target='ninegate_widmoodle_syncenvole'>
|
|
<param>oui</param>
|
|
<param type='eole' name='condition_1' hidden='False'>activer_moodle</param>
|
|
<param name='match'>/posh-profil</param>
|
|
<param name='default_mismatch'>None</param>
|
|
</fill>
|
|
|
|
|
|
|
|
|
|
<!-- AFFICHAGE EN FONCTION DU WIDGET NEXTCLOUD -->
|
|
<fill name='calc_multi_condition' target='ninegate_activate_widnextcloud'>
|
|
<param>oui</param>
|
|
<param type='eole' name='condition_1' hidden='False'>activer_nextcloud</param>
|
|
<param name='match'>oui</param>
|
|
<param name='mismatch'>non</param>
|
|
<param name='default_mismatch'>non</param>
|
|
</fill>
|
|
|
|
<condition name='hidden_if_in' source='ninegate_activate_widnextcloud'>
|
|
<param>non</param>
|
|
|
|
<target type='variable'>ninegate_widnextcloud_url</target>
|
|
</condition>
|
|
|
|
<fill name='calc_multi_condition' target='ninegate_widnextcloud_url'>
|
|
<param>oui</param>
|
|
<param type='eole' name='condition_1' hidden='False'>activer_nextcloud</param>
|
|
<param name='match'>/nextcloud</param>
|
|
<param name='default_mismatch'>None</param>
|
|
</fill>
|
|
|
|
|
|
|
|
|
|
<!-- AFFICHAGE EN FONCTION DU WIDGET OPENSONDAGE -->
|
|
<fill name='calc_multi_condition' target='ninegate_activate_widopensondage'>
|
|
<param>oui</param>
|
|
<param type='eole' name='condition_1' hidden='False'>activer_opensondage</param>
|
|
<param name='match'>oui</param>
|
|
<param name='mismatch'>non</param>
|
|
<param name='default_mismatch'>non</param>
|
|
</fill>
|
|
|
|
<condition name='hidden_if_in' source='ninegate_activate_widopensondage'>
|
|
<param>non</param>
|
|
|
|
<target type='variable'>ninegate_widopensondage_url</target>
|
|
</condition>
|
|
|
|
<fill name='calc_multi_condition' target='ninegate_widopensondage_url'>
|
|
<param>oui</param>
|
|
<param type='eole' name='condition_1' hidden='False'>activer_opensondage</param>
|
|
<param name='match'>/opensondage</param>
|
|
<param name='default_mismatch'>None</param>
|
|
</fill>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- AFFICHAGE EN FONCTION DU WIDGET PIWIK -->
|
|
<fill name='calc_multi_condition' target='ninegate_activate_widpiwik'>
|
|
<param>oui</param>
|
|
<param type='eole' name='condition_1' hidden='False'>activer_piwik</param>
|
|
<param name='match'>oui</param>
|
|
<param name='mismatch'>non</param>
|
|
<param name='default_mismatch'>non</param>
|
|
</fill>
|
|
|
|
<condition name='hidden_if_in' source='ninegate_activate_widpiwik'>
|
|
<param>non</param>
|
|
|
|
<target type='variable'>ninegate_widpiwik_url</target>
|
|
<target type='variable'>ninegate_widpiwik_syncenvole</target>
|
|
</condition>
|
|
|
|
<fill name='calc_multi_condition' target='ninegate_widpiwik_url'>
|
|
<param>oui</param>
|
|
<param type='eole' name='condition_1' hidden='False'>activer_piwik</param>
|
|
<param name='match'>/piwik</param>
|
|
<param name='default_mismatch'>None</param>
|
|
</fill>
|
|
|
|
<fill name='calc_multi_condition' target='ninegate_widpiwik_syncenvole'>
|
|
<param>oui</param>
|
|
<param type='eole' name='condition_1' hidden='False'>activer_piwik</param>
|
|
<param name='match'>/posh-profil</param>
|
|
<param name='default_mismatch'>None</param>
|
|
</fill>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- AFFICHAGE EN FONCTION DU WIDGET SONDE -->
|
|
<auto name='calc_multi_condition' target='ninegate_test_sonde'>
|
|
<param>oui</param>
|
|
<param name="operator">OR</param>
|
|
<param type='eole' name='condition_1' hidden='False'>activer_sondepiwik_local</param>
|
|
<param type='eole' name='condition_2' hidden='False'>activer_piwik</param>
|
|
<param name='match'>oui</param>
|
|
<param name='mismatch'>non</param>
|
|
</auto>
|
|
|
|
|
|
|
|
|
|
<!-- AFFICHAGE EN FONCTION DU WIDGET WORDPRESS -->
|
|
<fill name='calc_multi_condition' target='ninegate_activate_widwordpress'>
|
|
<param>oui</param>
|
|
<param type='eole' name='condition_1' hidden='False'>activer_wordpress</param>
|
|
<param name='match'>oui</param>
|
|
<param name='mismatch'>non</param>
|
|
<param name='default_mismatch'>non</param>
|
|
</fill>
|
|
|
|
<condition name='hidden_if_in' source='ninegate_activate_widwordpress'>
|
|
<param>non</param>
|
|
|
|
<target type='variable'>ninegate_widwordpress_url</target>
|
|
<target type='variable'>ninegate_widwordpress_syncenvole</target>
|
|
</condition>
|
|
|
|
<fill name='calc_multi_condition' target='ninegate_widwordpress_url'>
|
|
<param>oui</param>
|
|
<param type='eole' name='condition_1' hidden='False'>activer_wordpress</param>
|
|
<param name='match'>/wordpress</param>
|
|
<param name='default_mismatch'>None</param>
|
|
</fill>
|
|
|
|
<fill name='calc_multi_condition' target='ninegate_widwordpress_syncenvole'>
|
|
<param>oui</param>
|
|
<param type='eole' name='condition_1' hidden='False'>activer_wordpress</param>
|
|
<param name='match'>/posh-profil</param>
|
|
<param name='default_mismatch'>None</param>
|
|
</fill>
|
|
|
|
|
|
|
|
|
|
<!-- AFFICHAGE EN FONCTION DU MODE DE BDD -->
|
|
<condition name='hidden_if_in' source='ninegate_db_mode'>
|
|
<param>local</param>
|
|
<target type='variable'>ninegate_dbserver</target>
|
|
<target type='variable'>ninegate_dbuser</target>
|
|
<target type='variable'>ninegate_dbport</target>
|
|
<target type='variable'>ninegate_dbpass</target>
|
|
</condition>
|
|
<condition name='hidden_if_in' source='ninegate_db_mode'>
|
|
<param>default</param>
|
|
<target type='variable'>ninegate_dbserver</target>
|
|
<target type='variable'>ninegate_dbuser</target>
|
|
<target type='variable'>ninegate_dbport</target>
|
|
<target type='variable'>ninegate_dbpass</target>
|
|
<target type='variable'>ninegate_allow_hosts</target>
|
|
</condition>
|
|
|
|
|
|
|
|
<!-- VALID EMUN DES DIFFRENTES COMBO -->
|
|
<check name='valid_enum' target='ninegate_masteridentity'>
|
|
<param>['LDAP', 'SQL', 'SSO']</param>
|
|
</check>
|
|
|
|
<check name='valid_enum' target='ninegate_mode_auth'>
|
|
<param>['CAS', 'SAML', 'SQL', 'LDAP']</param>
|
|
</check>
|
|
|
|
<check name='valid_enum' target='ninegate_moderegistration'>
|
|
<param>['none', 'byuser', 'byadmin']</param>
|
|
</check>
|
|
|
|
<check name='valid_enum' target='ninegate_ldaptemplate'>
|
|
<param>['scribe', 'open', 'CadolesLDAP']</param>
|
|
</check>
|
|
|
|
<check name='valid_enum' target='ninegate_smtpencryption'>
|
|
<param>['tls', 'ssl', 'null']</param>
|
|
</check>
|
|
<check name='valid_enum' target='ninegate_smtpauthmode'>
|
|
<param>['plain', 'login', 'cram-md5', 'null']</param>
|
|
</check>
|
|
|
|
<check name='valid_enum' target='ninegate_db_mode'>
|
|
<param>['default', 'externe', 'local']</param>
|
|
</check>
|
|
|
|
|
|
</constraints>
|
|
<help>
|
|
</help>
|
|
</creole>
|