From 8be086fe703d1423936a383431d939401eea23dd Mon Sep 17 00:00:00 2001 From: afornerot Date: Wed, 8 Jan 2020 15:28:50 +0100 Subject: [PATCH] svg --- dicos/90_ninegate.xml | 6 +++++- .../src/Cadoles/CoreBundle/Command/OnlyCommand.php | 2 +- .../src/Cadoles/CoreBundle/Service/onlyService.php | 4 ++++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/dicos/90_ninegate.xml b/dicos/90_ninegate.xml index 7b235ac7..8fdb3c90 100644 --- a/dicos/90_ninegate.xml +++ b/dicos/90_ninegate.xml @@ -581,7 +581,7 @@ - + oui activer_balado @@ -594,6 +594,7 @@ non ninegate_widbalado_url + ninegate_widbalado_syncenvole @@ -720,6 +721,7 @@ non ninegate_widgepi_url + ninegate_widgepi_syncenvole @@ -912,6 +914,7 @@ non ninegate_widnextcloud_url + ninegate_widnextcloud_syncenvole @@ -1070,6 +1073,7 @@ non ninegate_widsacoche_url + ninegate_widsacoche_syncenvole diff --git a/src/ninegate-1.0/src/Cadoles/CoreBundle/Command/OnlyCommand.php b/src/ninegate-1.0/src/Cadoles/CoreBundle/Command/OnlyCommand.php index 4bf94b89..7bd7cc1d 100644 --- a/src/ninegate-1.0/src/Cadoles/CoreBundle/Command/OnlyCommand.php +++ b/src/ninegate-1.0/src/Cadoles/CoreBundle/Command/OnlyCommand.php @@ -131,7 +131,7 @@ class OnlyCommand extends Command $this->writeln('== AUTHENTIFICATION ================================='); \Unirest\Request::verifyPeer(false); \Unirest\Request::verifyHost(false); - \Unirest\Request::timeout(5); + \Unirest\Request::timeout(20); $headers = ['Host' => $this->only_host, 'Accept' => 'application/json','Content-Type'=>'application/json','Retry-After'=>'5']; $query = array('userName' => $this->only_user, 'password' => $this->only_password); $body = \Unirest\Request\Body::json($query); diff --git a/src/ninegate-1.0/src/Cadoles/CoreBundle/Service/onlyService.php b/src/ninegate-1.0/src/Cadoles/CoreBundle/Service/onlyService.php index 8446ed0f..b66a4b94 100644 --- a/src/ninegate-1.0/src/Cadoles/CoreBundle/Service/onlyService.php +++ b/src/ninegate-1.0/src/Cadoles/CoreBundle/Service/onlyService.php @@ -47,6 +47,9 @@ class onlyService //================================================================================================================================================================== public function syncUser(User $user) { + /* Pour l'instant ne sert plus en effet la synchro du côté only ne permet pas de modifier le mail d'une personne + Et une personne lié à une fiche ldap sur only on ne peut pas nom plus modifier nom et prénom + $this->mydebug("==SYNC ONLY USER=========================================================="); // Authentification à Only @@ -94,6 +97,7 @@ class onlyService // Sinon création // Ratacchement utilisateur group + */ return true; }