536 lines
17 KiB
YAML
536 lines
17 KiB
YAML
# This file is auto-generated during the composer install
|
|
parameters:
|
|
# Determine qui est le maitre de l'identitité = SQL / LDAP / SSO
|
|
# Si SQL cela veut dire que c'est l'applicatif qui gère les utilisateurs
|
|
# Sinon la source est externe soit via un annuaire soit via des attributs venant d'un SSO
|
|
# Si la source est externe de fait pas de module d'inscription ni de reset de password
|
|
# Et pas de synchronisation vers un annuaire
|
|
masteridentity: %%ninegate_masteridentity
|
|
|
|
# Mode d'authentification soit SQL / LDAP / CAS / SAML
|
|
# Attention si le masteridentity est différent de SQL le mode d'authentification est forcement différent de SQL
|
|
# Car aucune synchronisation des password n'est possible
|
|
mode_auth: %%ninegate_mode_auth
|
|
|
|
# API Key
|
|
apikeyninegate: %%ninegate_api_key
|
|
|
|
# Mode de registration : none / byuser / byadmin
|
|
# none = désactivation de l'inscription mais reset de password possible
|
|
# byuser = aucune validation par un administrateur, l'utilisateur valide son inscription par lui-même
|
|
# byadmin = validation de l'inscription par un administrateur, sauf si domaine de messagerie dans la liste blanche
|
|
%if %%getVar("ninegate_masteridentity", 'SQL') == "SQL"
|
|
moderegistration: %%ninegate_moderegistration
|
|
keyterm: %%ninegate_keyterm # Durée de validité du jeton d'inscription
|
|
minpassword: %%ninegate_minpassword # Taille mini du password
|
|
%else
|
|
moderegistration: none
|
|
keyterm: 8 # Durée de validité du jeton d'inscription
|
|
minpassword: 8 # Taille mini du password
|
|
%end if
|
|
|
|
# Activation module
|
|
%if %%getVar("ninegate_activate_cron", 'non') == "oui"
|
|
cron_activate: true
|
|
%else
|
|
cron_activate: false
|
|
%end if
|
|
%if %%getVar("ninegate_activate_syncenvole", 'non') == "oui"
|
|
syncenvole_activate: true
|
|
%else
|
|
syncenvole_activate: false
|
|
%end if
|
|
%if %%getVar("ninegate_activate_websocket", 'non') == "oui"
|
|
websocket_activate: true
|
|
websocket_host: %%ninegate_websocket_url
|
|
websocket_port: %%ninegate_websocket_portexterne
|
|
websocket_portinterne: %%ninegate_websocket_portinterne
|
|
%else
|
|
websocket_activate: false
|
|
websocket_host: %%web_url
|
|
websocket_port: 80
|
|
websocket_portinterne: 80
|
|
%end if
|
|
%if %%getVar("ninegate_activate_portal", 'non') == "oui"
|
|
portal_activate: true
|
|
module_activate: false
|
|
page_activate: false
|
|
item_activate: false
|
|
alert_activate: false
|
|
calendar_activate: false
|
|
blog_activate: false
|
|
project_activate: false
|
|
flux_activate: false
|
|
notice_activate: false
|
|
%else
|
|
portal_activate: false
|
|
%if %%getVar("ninegate_activate_page", 'non') == "oui"
|
|
module_activate: true
|
|
page_activate: true
|
|
%else
|
|
page_activate: false
|
|
%end if
|
|
%if %%getVar("ninegate_activate_item", 'non') == "oui"
|
|
module_activate: true
|
|
item_activate: true
|
|
%else
|
|
item_activate: false
|
|
%end if
|
|
%if %%getVar("ninegate_activate_alert", 'non') == "oui"
|
|
module_activate: true
|
|
alert_activate: true
|
|
%else
|
|
alert_activate: false
|
|
%end if
|
|
%if %%getVar("ninegate_activate_calendar", 'non') == "oui"
|
|
module_activate: true
|
|
calendar_activate: true
|
|
%else
|
|
calendar_activate: false
|
|
%end if
|
|
%if %%getVar("ninegate_activate_blog", 'non') == "oui"
|
|
module_activate: true
|
|
blog_activate: true
|
|
%else
|
|
blog_activate: false
|
|
%end if
|
|
%if %%getVar("ninegate_activate_project", 'non') == "oui"
|
|
module_activate: true
|
|
project_activate: true
|
|
%else
|
|
project_activate: false
|
|
%end if
|
|
%if %%getVar("ninegate_activate_flux", 'non') == "oui"
|
|
module_activate: true
|
|
flux_activate: true
|
|
%else
|
|
flux_activate: false
|
|
%end if
|
|
%if %%getVar("ninegate_activate_notice", 'non') == "oui"
|
|
module_activate: true
|
|
notice_activate: true
|
|
%else
|
|
notice_activate: false
|
|
%end if
|
|
%end if
|
|
|
|
# Information de base de l'annuaire
|
|
ldap_host: %%adresse_ip_ldap
|
|
ldap_port: %%ldap_port
|
|
%if %%getVar("activer_admin_passfile", 'non') == "oui"
|
|
ldap_user: cn=admin,o=gouv,c=fr
|
|
ldap_password: %%pwdreader("",%%ldap_admin_passfile)
|
|
%else
|
|
ldap_user: %%ldap_reader
|
|
ldap_password: %%pwdreader("",%%ldap_reader_passfile)
|
|
%end if
|
|
ldap_basedn: o=gouv,c=fr
|
|
|
|
# Mise en page
|
|
weburl: %%web_url
|
|
alias: ninegate
|
|
libelle_etab: %%libelle_etab
|
|
numero_etab: %%numero_etab
|
|
colormain: %%ninegate_colormain # Couleur principale
|
|
fontcolorhover: %%ninegate_fontcolorhover # Couleur des polices sur fond de couleur principale
|
|
labelniveau01: %%ninegate_niveau01label # Label singulier du niveau 01 d'organisation
|
|
labelsniveau01: %%ninegate_niveau01labels # Label pluriel du niveau 01 d'organisation
|
|
iconniveau01: %%ninegate_niveau01icon # Icon du niveau 01 d'organisation
|
|
labelsirenniveau01: SIREN # Label SIREN
|
|
%if %%getVar("ninegate_niveau02view", 'non') == "oui"
|
|
viewniveau02: true # Gérer un niveau 02 d'organisation
|
|
labelniveau02: %%ninegate_niveau02label # Label singulier du niveau 02 d'organisation
|
|
labelsniveau02: %%ninegate_niveau02labels # Label pluriel du niveau 02 d'organisation
|
|
iconniveau02: %%ninegate_niveau02icon # Icon du niveau 02 d'organisation
|
|
labelsiretniveau02: SIRET # Label SIRET
|
|
%else
|
|
viewniveau02: false # Gérer un niveau 02 d'organisation
|
|
labelniveau02: niveau02 # Label singulier du niveau 02 d'organisation
|
|
labelsniveau02: niveaus02 # Label pluriel du niveau 02 d'organisation
|
|
iconniveau02: fa-sitemap # Icon du niveau 02 d'organisation
|
|
labelsiretniveau02: SIRET # Label SIRET
|
|
%end if
|
|
|
|
# Si masteridentity est à SQL = où sont synchronisées les datas dans l'annuaire
|
|
%if %%getVar("ninegate_syncldap", 'non') == "oui"
|
|
ldap_sync: true
|
|
%else
|
|
ldap_sync: false
|
|
%end if
|
|
|
|
%if %%getVar("ninegate_test_conf_ldap", 'non') == "oui"
|
|
ldap_baseuser: ou=users,ou=%%ninegate_organization,o=gouv,c=fr
|
|
ldap_baseniveau01: ou=%%ninegate_niveau01branche,ou=%%ninegate_organization,o=gouv,c=fr
|
|
ldap_baseniveau02: ou=%%ninegate_niveau02branche,ou=%%ninegate_organization,o=gouv,c=fr
|
|
ldap_basegroup: ou=groups,ou=%%ninegate_organization,o=gouv,c=fr
|
|
%else
|
|
ldap_baseuser:
|
|
ldap_baseniveau01:
|
|
ldap_baseniveau02:
|
|
ldap_basegroup:
|
|
%end if
|
|
|
|
# Si masteridentity est à LDAP = quel est le modele d'organisation
|
|
# Si open = rien de particulier
|
|
# Si scribe = on génére des groupes correspondant au profil / classe / niveau / option
|
|
%if %%getVar("ninegate_masteridentity", 'non') == "LDAP"
|
|
ldap_template: %%ninegate_ldaptemplate
|
|
%else
|
|
ldap_template: open
|
|
%end if
|
|
|
|
# Si masteridentity est à LDAP = quel champs sont à récupérer = faudrait templetiser dans genconfig
|
|
ldap_username: uid
|
|
ldap_firstname: givenname
|
|
ldap_lastname: sn
|
|
ldap_email: mail
|
|
%if %%getVar("activer_addadmin", 'non') == "oui"
|
|
ldap_usersadmin: [admin,%%uid_addadmin]
|
|
%else
|
|
ldap_usersadmin: [admin]
|
|
%end if
|
|
|
|
# Template scribe
|
|
%if %%getVar("ninegate_scribegroup", 'non') == "oui"
|
|
scribe_group: true
|
|
%else
|
|
scribe_group: false
|
|
%end if
|
|
|
|
%if %%getVar("ninegate_scribemaster", 'non') == "oui"
|
|
scribe_master: true
|
|
%else
|
|
scribe_master: false
|
|
%end if
|
|
|
|
%if %%getVar("ninegate_ldaptemplate", 'non') == "open"
|
|
openldapreqniveau01: %%ninegate_openldapreqniveau01
|
|
|
|
%if %%getVar("ninegate_openldapsynchrogroup", 'non') == "oui"
|
|
openldapsynchrogroup: true
|
|
openldapreqgroup: %%ninegate_openldapreqgroup
|
|
%else
|
|
openldapsynchrogroup: false
|
|
openldapreqgroup:
|
|
%end if
|
|
%else
|
|
openldapreqniveau01:
|
|
openldapsynchrogroup: false
|
|
openldapreqgroup:
|
|
%end if
|
|
|
|
|
|
|
|
# Activation Widget
|
|
%if %%getVar("ninegate_activate_widadminer", 'non') == "oui"
|
|
activate_widadminer: true
|
|
widadminer_url: %%ninegate_widadminer_url
|
|
%else
|
|
activate_widadminer: false
|
|
%end if
|
|
|
|
%if %%getVar("ninegate_activate_widbalado", 'non') == "oui"
|
|
activate_widbalado: true
|
|
widbalado_url: %%ninegate_widbalado_url
|
|
%if %%getVar("poshprofil_typesynchro", "") == "ENT"
|
|
widbalado_activate_syncenvole: true
|
|
widbalado_syncenvole: %%ninegate_widbalado_syncenvole
|
|
%else
|
|
widbalado_activate_syncenvole: false
|
|
%end if
|
|
%else
|
|
activate_widbalado: false
|
|
widbalado_activate_syncenvole: false
|
|
%end if
|
|
|
|
%if %%getVar("ninegate_activate_widdokuwiki", 'non') == "oui"
|
|
activate_widdokuwiki: true
|
|
widdokuwiki_url: %%ninegate_widdokuwiki_url
|
|
%else
|
|
activate_widdokuwiki: false
|
|
%end if
|
|
|
|
%if %%getVar("ninegate_activate_wideconnect", 'non') == "oui"
|
|
activate_wideconnect: true
|
|
wideconnect_url: %%ninegate_wideconnect_url
|
|
%else
|
|
activate_wideconnect: false
|
|
%end if
|
|
|
|
%if %%getVar("ninegate_activate_widead", 'non') == "oui"
|
|
activate_widead: true
|
|
widead_url: %%ninegate_widead_url
|
|
%else
|
|
activate_widead: false
|
|
%end if
|
|
|
|
%if %%getVar("ninegate_activate_wideoe", 'non') == "oui"
|
|
activate_wideoe: true
|
|
wideoe_url: %%ninegate_wideoe_url
|
|
%else
|
|
activate_wideoe: false
|
|
%end if
|
|
|
|
%if %%getVar("ninegate_activate_wideop", 'non') == "oui"
|
|
activate_wideop: true
|
|
wideop_url: %%ninegate_wideop_url
|
|
%else
|
|
activate_wideop: false
|
|
%end if
|
|
|
|
%if %%getVar("ninegate_activate_widetherhome", 'non') == "oui"
|
|
activate_widetherhome: true
|
|
widetherhome_url: %%ninegate_widetherhome_url
|
|
%else
|
|
activate_widetherhome: false
|
|
%end if
|
|
|
|
%if %%getVar("ninegate_activate_widfluxbb", 'non') == "oui"
|
|
activate_widfluxbb: true
|
|
widfluxbb_url: %%ninegate_widfluxbb_url
|
|
%else
|
|
activate_widfluxbb: false
|
|
%end if
|
|
|
|
%if %%getVar("ninegate_activate_widgenconfig", 'non') == "oui"
|
|
activate_widgenconfig: true
|
|
widgenconfig_url: %%ninegate_widgenconfig_url
|
|
%else
|
|
activate_widgenconfig: false
|
|
%end if
|
|
|
|
%if %%getVar("ninegate_activate_widgepi", 'non') == "oui"
|
|
activate_widgepi: true
|
|
widgepi_url: %%ninegate_widgepi_url
|
|
%if %%getVar("poshprofil_typesynchro", "") == "ENT"
|
|
widgepi_activate_syncenvole: true
|
|
widgepi_syncenvole: %%ninegate_widgepi_syncenvole
|
|
%else
|
|
widgepi_activate_syncenvole: false
|
|
%end if
|
|
%else
|
|
activate_widgepi: false
|
|
widgepi_activate_syncenvole: false
|
|
%end if
|
|
|
|
%if %%getVar("ninegate_activate_widglpi", 'non') == "oui"
|
|
activate_widglpi: true
|
|
widglpi_url: %%ninegate_widglpi_url
|
|
%else
|
|
activate_widglpi: false
|
|
%end if
|
|
|
|
%if %%getVar("ninegate_activate_widgrr", 'non') == "oui"
|
|
activate_widgrr: true
|
|
widgrr_url: %%ninegate_widgrr_url
|
|
%else
|
|
activate_widgrr: false
|
|
%end if
|
|
|
|
%if %%getVar("ninegate_activate_widkanboard", 'non') == "oui"
|
|
activate_widkanboard: true
|
|
widkanboard_url: %%ninegate_widkanboard_url
|
|
%else
|
|
activate_widkanboard: false
|
|
%end if
|
|
|
|
%if %%getVar("ninegate_activate_widlimesurvey", 'non') == "oui"
|
|
activate_widlimesurvey: true
|
|
widlimesurvey_url: %%ninegate_widlimesurvey_url
|
|
widlimesurvey_apiuser: %%ninegate_widlimesurvey_apiuser
|
|
widlimesurvey_apikey: %%ninegate_widlimesurvey_apikey
|
|
widlimesurvey_syncenvole: %%ninegate_widlimesurvey_syncenvole
|
|
%else
|
|
activate_widlimesurvey: false
|
|
%end if
|
|
|
|
%if %%getVar("ninegate_activate_widmindmaps", 'non') == "oui"
|
|
activate_widmindmaps: true
|
|
widmindmaps_url: %%ninegate_widmindmaps_url
|
|
%else
|
|
activate_widmindmaps: false
|
|
%end if
|
|
|
|
%if %%getVar("ninegate_activate_widmoodle", 'non') == "oui"
|
|
activate_widmoodle: true
|
|
widmoodle_url: %%ninegate_widmoodle_url
|
|
widmoodle_apikey: %%ninegate_widmoodle_apikey
|
|
widmoodle_syncenvole: %%ninegate_widmoodle_syncenvole
|
|
%else
|
|
activate_widmoodle: false
|
|
%end if
|
|
|
|
%if %%getVar("ninegate_activate_widnextcloud", 'non') == "oui"
|
|
activate_widnextcloud: true
|
|
widnextcloud_url: %%ninegate_widnextcloud_url
|
|
%if %%getVar("poshprofil_typesynchro", "") == "ENT"
|
|
widnextcloud_activate_syncenvole: true
|
|
widnextcloud_syncenvole: %%ninegate_widnextcloud_syncenvole
|
|
%else
|
|
widnextcloud_activate_syncenvole: false
|
|
%end if
|
|
%else
|
|
activate_widnextcloud: false
|
|
widnextcloud_activate_syncenvole: false
|
|
%end if
|
|
|
|
%if %%getVar("ninegate_activate_widnineboard", 'non') == "oui"
|
|
activate_widnineboard: true
|
|
widnineboard_url: %%ninegate_widnineboard_url
|
|
%else
|
|
activate_widnineboard: false
|
|
%end if
|
|
|
|
%if %%getVar("ninegate_activate_widonlyoffice", 'non') == "oui"
|
|
activate_widonlyoffice: true
|
|
widonlyoffice_url: %%ninegate_widonlyoffice_url
|
|
%if %%getVar("ninegate_widonlyoffice_sync", 'non') == "oui"
|
|
widonlyoffice_sync: true
|
|
widonlyoffice_user: %%ninegate_widonlyoffice_user
|
|
widonlyoffice_password: %%ninegate_widonlyoffice_password
|
|
%else
|
|
widonlyoffice_sync: false
|
|
%end if
|
|
%else
|
|
activate_widonlyoffice: false
|
|
widonlyoffice_url:
|
|
widonlyoffice_user:
|
|
widonlyoffice_password:
|
|
widonlyoffice_sync: false
|
|
%end if
|
|
|
|
%if %%getVar("ninegate_activate_widopensondage", 'non') == "oui"
|
|
activate_widopensondage: true
|
|
widopensondage_url: %%ninegate_widopensondage_url
|
|
%else
|
|
activate_widopensondage: false
|
|
%end if
|
|
|
|
%if %%getVar("ninegate_activate_widphpldapadmin", 'non') == "oui"
|
|
activate_widphpldapadmin: true
|
|
widphpldapadmin_url: %%ninegate_widphpldapadmin_url
|
|
%else
|
|
activate_widphpldapadmin: false
|
|
%end if
|
|
|
|
%if %%getVar("ninegate_activate_widpiwik", 'non') == "oui"
|
|
activate_widpiwik: true
|
|
widpiwik_url: %%ninegate_widpiwik_url
|
|
%if %%getVar("poshprofil_typesynchro", "") == "Annuaire"
|
|
widpiwik_activate_syncenvole: true
|
|
widpiwik_syncenvole: %%ninegate_widpiwik_syncenvole
|
|
%else
|
|
widpiwik_activate_syncenvole: false
|
|
%end if
|
|
%else
|
|
activate_widpiwik: false
|
|
widpiwik_activate_syncenvole: false
|
|
%end if
|
|
|
|
%if %%getVar("ninegate_activate_widroundcube", 'non') == "oui"
|
|
activate_widroundcube: true
|
|
widroundcube_url: %%ninegate_widroundcube_url
|
|
%else
|
|
activate_widroundcube: false
|
|
%end if
|
|
|
|
%if %%getVar("ninegate_activate_widsacoche", 'non') == "oui"
|
|
activate_widsacoche: true
|
|
widsacoche_url: %%ninegate_widsacoche_url
|
|
%if %%getVar("poshprofil_typesynchro", "") == "ENT"
|
|
widsacoche_activate_syncenvole: true
|
|
widsacoche_syncenvole: %%ninegate_widsacoche_syncenvole
|
|
%else
|
|
widsacoche_activate_syncenvole: false
|
|
%end if
|
|
%else
|
|
activate_widsacoche: false
|
|
widsacoche_activate_syncenvole: false
|
|
%end if
|
|
|
|
%if %%getVar("ninegate_activate_widwordpress", 'non') == "oui"
|
|
activate_widwordpress: true
|
|
widwordpress_url: %%ninegate_widwordpress_url
|
|
widwordpress_syncenvole: %%ninegate_widwordpress_syncenvole
|
|
%else
|
|
activate_widwordpress: false
|
|
%end if
|
|
|
|
%if %%getVar("activer_sondepiwik_local", 'non') == "oui"
|
|
activate_widsonde: true
|
|
widsonde_url: /sondepiwik/envoleTrackeur.js.php
|
|
%else if %%getVar("activer_piwik", 'non') == "oui"
|
|
activate_widsonde: true
|
|
widsonde_url: /piwik/envoleTrackeur.js.php
|
|
%else
|
|
activate_widsonde: false
|
|
widsonde_url:
|
|
%end if
|
|
|
|
# Si mode_auth = CAS
|
|
cas_host: %%eolesso_adresse
|
|
cas_path: %%eolesso_cas_folder
|
|
cas_port: %%eolesso_port
|
|
|
|
# Si mode_aut = SAML
|
|
saml_entityid: 'http://dev.nuonet.cadoles'
|
|
saml_logout_url: 'http://172.27.7.67:8088/idp/profile/Logout'
|
|
saml_idps_list: ['http://172.27.7.67:8088/idp/shibboleth']
|
|
|
|
# Si mode_auth = CAS ou SAML les attributs permettant de matché avec les utilisateurs
|
|
user_attr_cas_username: username
|
|
user_attr_cas_mail: email
|
|
user_attr_cas_lastname: lastname
|
|
user_attr_cas_firstname: firstname
|
|
|
|
user_attr_saml_username: eduPersonPrincipalName
|
|
user_attr_saml_mail: mail
|
|
user_attr_saml_lastname: sn
|
|
user_attr_saml_firstname: givenName
|
|
|
|
%if %%getVar("ninegate_ssosynchrogroup", 'non') == "oui"
|
|
ssosynchrogroup: true
|
|
user_attr_cas_group: %%ninegate_ssoreqgroup
|
|
%else
|
|
ssosynchrogroup: fase
|
|
user_attr_cas_group:
|
|
%end if
|
|
|
|
%if %%is_defined("ninegate_smtpport")
|
|
mailer_port: '%%ninegate_smtpport'
|
|
mailer_encryption: %%ninegate_smtpencryption
|
|
mailer_authmode: %%ninegate_smtpauthmode
|
|
noreply: %%ninegate_noreply
|
|
%else
|
|
mailer_port: '2525'
|
|
mailer_encryption: null
|
|
mailer_authmode: null
|
|
noreply: %%ninegate_noreply
|
|
%end if
|
|
|
|
# Doctrine Configuration
|
|
doctrine:
|
|
dbal:
|
|
default_connection: default
|
|
connections:
|
|
default:
|
|
driver: pdo_mysql
|
|
host: '%database_host%'
|
|
port: '%database_port%'
|
|
dbname: '%database_name%'
|
|
user: '%database_user%'
|
|
password: '%database_password%'
|
|
charset: UTF8
|
|
orm:
|
|
default_entity_manager: default
|
|
entity_managers:
|
|
default:
|
|
connection: default
|
|
mappings:
|
|
CadolesCoreBundle: ~
|
|
CadolesCronBundle: ~
|
|
CadolesPortalBundle: ~
|
|
CadolesWebsocketBundle: ~
|
|
|
|
|
|
|