ninegate/dicos/90_ninegate.xml

683 lines
35 KiB
XML
Raw Normal View History

2019-04-17 17:27:19 +02:00
<?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'/>
2019-09-16 14:16:17 +02:00
<file filelist='ninegate' name='/usr/share/eole/posttemplate/90-ninegate' source="ninegate-posttemplate.sh" rm='True' mkdir='True' mode="700"/>
2019-04-17 17:27:19 +02:00
</files>
<containers>
<container name='web'>
2019-07-24 13:41:35 +02:00
<file filelist='ninegate' name='/etc/apache2/sites-available/ninegate' source='ninegate-apache.conf' rm="True"/>
2019-04-17 17:27:19 +02:00
<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'/>
2019-07-16 12:10:32 +02:00
2019-04-17 17:27:19 +02:00
<service method='apache' servicelist='ninegate'>ninegate</service>
2019-07-16 12:10:32 +02:00
2019-07-24 13:41:35 +02:00
<service_access service='ninegate_websocket'>
<port port_type="SymLinkOption">ninegate_websocket_portexterne</port>
2019-07-16 12:10:32 +02:00
</service_access>
2019-04-17 17:27:19 +02:00
</container>
</containers>
<variables>
<family name='Ninegate'>
2019-06-21 10:52:22 +02:00
<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>
2019-07-26 13:29:58 +02:00
<variable name="activer_nextcloud" type="oui/non" description="Activer Nextcloud" hidden='True' exists='False'><value>non</value></variable>
2019-06-21 10:52:22 +02:00
<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>
2019-06-17 17:09:00 +02:00
2019-06-06 16:37:34 +02:00
<variable name='moodle_apikey' type='string' description="API Key pour accéder au webservice Moodle" hidden='True' exists='False' />
2019-06-04 09:24:42 +02:00
2019-06-21 10:52:22 +02:00
<variable name='ninegate_test_sonde' type='oui/non' hidden='True'/>
2019-06-04 09:24:42 +02:00
<variable name='ninegate_test_conf_cadolesldap' type='oui/non' hidden='True'/>
<variable name='ninegate_test_conf_ldap' type='oui/non' hidden='True'/>
2019-04-17 17:27:19 +02:00
2019-06-21 10:52:22 +02:00
2019-04-17 17:27:19 +02:00
<variable type='oui/non' name='activer_ninegate' description='Activer Ninegate'><value>oui</value></variable>
2019-06-04 09:24:42 +02:00
<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>
2019-08-20 09:42:41 +02:00
<variable type='string' name='ninegate_api_key' description="Clé d'accès API" mandatory='True'><value>APIKeyNinegate</value></variable>
2019-04-17 17:27:19 +02:00
2019-06-04 09:24:42 +02:00
<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>
2019-04-17 17:27:19 +02:00
<variable type='string' name='ninegate_ldaptemplate' description="Modèle d'annuaire"><value>scribe</value></variable>
2019-06-14 13:05:35 +02:00
<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>
2019-04-17 17:27:19 +02:00
<variable type='string' name='ninegate_niveau01label' description="Label singulier du niveau 01 d'organisation" mandatory='True'><value>Département</value></variable>
<variable type='string' name='ninegate_niveau01labels' description="Label pluriel du niveau 01 d'organisation" mandatory='True'><value>Départements</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>
2019-06-13 13:15:55 +02:00
<!-- MODULE PORTAL -->
2019-06-04 09:24:42 +02:00
<variable type="oui/non" name='ninegate_activate_portal' description='Activer le module portail' mandatory='True'>
<value>oui</value>
</variable>
2019-06-13 13:15:55 +02:00
<variable type="oui/non" name='ninegate_activate_page' description='Activer le module page' mandatory='True'>
<value>oui</value>
</variable>
2019-06-04 09:24:42 +02:00
<variable type="oui/non" name='ninegate_activate_item' description='Activer le module item' mandatory='True'>
<value>oui</value>
</variable>
2019-06-13 13:15:55 +02:00
<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>
2019-07-23 15:32:35 +02:00
<!-- MODULE WEBSOCKET -->
<variable type="oui/non" name='ninegate_activate_websocket' description='Activer le module WEBSOCKET' mandatory='True'>
<value>oui</value>
</variable>
2019-06-04 09:24:42 +02:00
2019-06-21 10:52:22 +02:00
<!-- 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' />
2019-06-13 13:15:55 +02:00
<!-- MOODLE -->
2019-06-04 09:24:42 +02:00
<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' />
2019-06-13 13:15:55 +02:00
<variable type='string' name='ninegate_widmoodle_syncenvole' description='URL Posh-Profil pour synchronisation Moodle' mandatory='True' />
2019-07-26 13:29:58 +02:00
<!-- 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' />
2019-06-21 10:52:22 +02:00
<!-- OPENSONDAGE -->
<variable type="oui/non" name='ninegate_activate_widopensondage' description='Activer le widget Opensondage' mandatory='True'>
2019-06-04 09:24:42 +02:00
<value>non</value>
</variable>
2019-06-21 10:52:22 +02:00
<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' />
2019-06-21 14:40:21 +02:00
<variable type='string' name='ninegate_widpiwik_syncenvole' description='URL Posh-Profil pour synchronisation Piwik' mandatory='True' />
2019-06-13 13:15:55 +02:00
2019-06-17 17:09:00 +02:00
<!-- 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' />
2019-07-23 15:32:35 +02:00
<!-- WEBSOCKET -->
<variable type='string' name='ninegate_websocket_url' description='Host du serveur Websocket' mandatory='True' />
2019-07-24 13:41:35 +02:00
<variable type='string' name='ninegate_websocket_portexterne' description='Port de commuinication externe du serveur Websocket' mandatory='True' >
2019-07-23 15:32:35 +02:00
<value>5555</value>
</variable>
2019-08-20 09:42:41 +02:00
<variable type='string' name='ninegate_websocket_portinterne' description='Port de commuinication interne du serveur Websocket' mandatory='True'>
2019-07-23 15:32:35 +02:00
<value>5556</value>
</variable>
2019-06-13 13:15:55 +02:00
<!-- EMAIL -->
2019-04-17 17:27:19 +02:00
<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' />
2019-06-13 13:15:55 +02:00
<!-- EOLEDB -->
2019-04-17 17:27:19 +02:00
<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>
2019-06-04 09:24:42 +02:00
<separator name="ninegate_activate_portal">Paramètres associés aux modules à activer</separator>
2019-06-21 10:52:22 +02:00
<separator name="ninegate_activate_widlimesurvey">Paramètres associés au Portail</separator>
2019-07-23 15:32:35 +02:00
<separator name="ninegate_websocket_url">Paramètres associés au Serveur WEBSOCKET</separator>
2019-04-17 17:27:19 +02:00
<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>
2019-04-18 11:03:31 +02:00
<condition name='hidden_if_in' source='activer_apache'>
2019-04-17 17:27:19 +02:00
<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>
2019-08-20 09:42:41 +02:00
<target type='variable'>ninegate_api_key</target>
2019-04-17 17:27:19 +02:00
<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>
2019-06-04 09:24:42 +02:00
<target type='variable'>ninegate_activate_portal</target>
2019-06-13 13:15:55 +02:00
<target type='variable'>ninegate_activate_page</target>
2019-06-04 09:24:42 +02:00
<target type='variable'>ninegate_activate_item</target>
2019-06-13 13:15:55 +02:00
<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>
2019-07-23 15:32:35 +02:00
<target type='variable'>ninegate_activate_websocket</target>
2019-06-04 09:24:42 +02:00
2019-04-17 17:27:19 +02:00
<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>
2019-07-24 13:41:35 +02:00
<target type='filelist'>ninegate</target>
<target type='servicelist'>ninegate</target>
2019-04-17 17:27:19 +02:00
</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>
2019-05-07 17:18:54 +02:00
<target type='variable'>ninegate_moderegistration</target>
<target type='variable'>ninegate_keyterm</target>
2019-04-17 17:27:19 +02:00
</condition>
<condition name='hidden_if_in' source='ninegate_masteridentity'>
<param>SQL</param>
<param>SSO</param>
<target type='variable'>ninegate_ldaptemplate</target>
2019-06-04 09:24:42 +02:00
<target type='variable'>ninegate_test_conf_cadolesldap</target>
2019-04-17 17:27:19 +02:00
</condition>
<condition name='hidden_if_in' source='ninegate_syncldap'>
<param>non</param>
<target type='variable'>ninegate_pwdadmin</target>
2019-06-04 09:24:42 +02:00
<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>
2019-04-17 17:27:19 +02:00
<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>
2019-05-07 17:18:54 +02:00
2019-06-04 09:24:42 +02:00
2019-06-21 10:52:22 +02:00
<!-- AFFICHAGE EN FONCTION DU MODULE PORTAL -->
2019-06-04 09:24:42 +02:00
<condition name='hidden_if_in' source='ninegate_activate_portal'>
<param>non</param>
<target type='variable'>ninegate_activate_widlimesurvey</target>
2019-06-17 17:09:00 +02:00
<target type='variable'>ninegate_activate_widmoodle</target>
2019-07-26 13:29:58 +02:00
<target type='variable'>ninegate_activate_widnextcloud</target>
2019-06-21 10:52:22 +02:00
<target type='variable'>ninegate_activate_widopensondage</target>
<target type='variable'>ninegate_activate_widpiwik</target>
2019-06-17 17:09:00 +02:00
<target type='variable'>ninegate_activate_widwordpress</target>
2019-06-04 09:24:42 +02:00
</condition>
<condition name='hidden_if_in' source='ninegate_activate_portal'>
<param>oui</param>
2019-06-13 13:15:55 +02:00
<target type='variable'>ninegate_activate_page</target>
2019-06-04 09:24:42 +02:00
<target type='variable'>ninegate_activate_item</target>
2019-06-13 13:15:55 +02:00
<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>
2019-06-04 09:24:42 +02:00
</condition>
2019-06-21 10:52:22 +02:00
<!-- AFFICHAGE EN FONCTION DU MODULE SYNCENVOLE -->
2019-06-13 13:15:55 +02:00
<condition name='hidden_if_in' source='ninegate_activate_syncenvole'>
<param>non</param>
<target type='variable'>ninegate_widlimesurvey_syncenvole</target>
2019-06-17 17:09:00 +02:00
<target type='variable'>ninegate_widmoodle_syncenvole</target>
2019-06-21 14:40:21 +02:00
<target type='variable'>ninegate_widpiwik_syncenvole</target>
2019-06-17 17:09:00 +02:00
<target type='variable'>ninegate_widwordpress_syncenvole</target>
2019-06-13 13:15:55 +02:00
</condition>
2019-06-04 09:24:42 +02:00
2019-07-23 15:32:35 +02:00
<!-- 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>
2019-07-24 13:41:35 +02:00
<target type='servicelist'>ninegate_websocket</target>
2019-07-23 15:32:35 +02:00
</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>
2019-06-21 10:52:22 +02:00
<!-- 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>
2019-06-04 09:24:42 +02:00
<!-- 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>
2019-06-13 13:15:55 +02:00
<target type='variable'>ninegate_widmoodle_syncenvole</target>
2019-06-04 09:24:42 +02:00
</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>
2019-06-13 13:15:55 +02:00
<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>
2019-06-21 10:52:22 +02:00
2019-07-26 13:29:58 +02:00
<!-- 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>
2019-06-21 10:52:22 +02:00
<!-- AFFICHAGE EN FONCTION DU WIDGET OPENSONDAGE -->
<fill name='calc_multi_condition' target='ninegate_activate_widopensondage'>
2019-06-04 09:24:42 +02:00
<param>oui</param>
2019-06-21 10:52:22 +02:00
<param type='eole' name='condition_1' hidden='False'>activer_opensondage</param>
2019-06-04 09:24:42 +02:00
<param name='match'>oui</param>
<param name='mismatch'>non</param>
<param name='default_mismatch'>non</param>
</fill>
2019-06-21 10:52:22 +02:00
<condition name='hidden_if_in' source='ninegate_activate_widopensondage'>
2019-06-04 09:24:42 +02:00
<param>non</param>
2019-06-21 10:52:22 +02:00
<target type='variable'>ninegate_widopensondage_url</target>
2019-06-04 09:24:42 +02:00
</condition>
2019-06-21 10:52:22 +02:00
<fill name='calc_multi_condition' target='ninegate_widopensondage_url'>
2019-06-04 09:24:42 +02:00
<param>oui</param>
2019-06-21 10:52:22 +02:00
<param type='eole' name='condition_1' hidden='False'>activer_opensondage</param>
<param name='match'>/opensondage</param>
2019-06-04 09:24:42 +02:00
<param name='default_mismatch'>None</param>
</fill>
2019-06-21 10:52:22 +02:00
<!-- AFFICHAGE EN FONCTION DU WIDGET PIWIK -->
<fill name='calc_multi_condition' target='ninegate_activate_widpiwik'>
2019-06-04 09:24:42 +02:00
<param>oui</param>
2019-06-21 10:52:22 +02:00
<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>
2019-06-04 09:24:42 +02:00
</fill>
2019-06-21 10:52:22 +02:00
<condition name='hidden_if_in' source='ninegate_activate_widpiwik'>
<param>non</param>
<target type='variable'>ninegate_widpiwik_url</target>
2019-06-21 14:40:21 +02:00
<target type='variable'>ninegate_widpiwik_syncenvole</target>
2019-06-21 10:52:22 +02:00
</condition>
<fill name='calc_multi_condition' target='ninegate_widpiwik_url'>
2019-06-04 09:24:42 +02:00
<param>oui</param>
2019-06-21 10:52:22 +02:00
<param type='eole' name='condition_1' hidden='False'>activer_piwik</param>
<param name='match'>/piwik</param>
2019-06-04 09:24:42 +02:00
<param name='default_mismatch'>None</param>
</fill>
2019-06-21 14:40:21 +02:00
<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>
2019-06-21 10:52:22 +02:00
<!-- AFFICHAGE EN FONCTION DU WIDGET SONDE -->
<auto name='calc_multi_condition' target='ninegate_test_sonde'>
2019-06-13 13:15:55 +02:00
<param>oui</param>
2019-06-21 10:52:22 +02:00
<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>
2019-06-04 09:24:42 +02:00
2019-06-17 17:09:00 +02:00
<!-- 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>
2019-06-04 09:24:42 +02:00
<!-- 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 -->
2019-04-17 17:27:19 +02:00
<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'>
2019-06-04 09:24:42 +02:00
<param>['scribe', 'open', 'CadolesLDAP']</param>
2019-04-17 17:27:19 +02:00
</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>
2019-06-04 09:24:42 +02:00
2019-04-17 17:27:19 +02:00
</constraints>
<help>
</help>
</creole>