This commit is contained in:
afornerot 2020-01-08 15:28:50 +01:00
parent ec17681560
commit 8be086fe70
3 changed files with 10 additions and 2 deletions

View File

@ -581,7 +581,7 @@
<!-- AFFICHAGE EN FONCTION DU WIDGET BALDAO --> <!-- AFFICHAGE EN FONCTION DU WIDGET BALADAO -->
<fill name='calc_multi_condition' target='ninegate_activate_widbalado'> <fill name='calc_multi_condition' target='ninegate_activate_widbalado'>
<param>oui</param> <param>oui</param>
<param type='eole' name='condition_1' hidden='False'>activer_balado</param> <param type='eole' name='condition_1' hidden='False'>activer_balado</param>
@ -594,6 +594,7 @@
<param>non</param> <param>non</param>
<target type='variable'>ninegate_widbalado_url</target> <target type='variable'>ninegate_widbalado_url</target>
<target type='variable'>ninegate_widbalado_syncenvole</target>
</condition> </condition>
<fill name='calc_multi_condition' target='ninegate_widbalado_url'> <fill name='calc_multi_condition' target='ninegate_widbalado_url'>
@ -720,6 +721,7 @@
<param>non</param> <param>non</param>
<target type='variable'>ninegate_widgepi_url</target> <target type='variable'>ninegate_widgepi_url</target>
<target type='variable'>ninegate_widgepi_syncenvole</target>
</condition> </condition>
<fill name='calc_multi_condition' target='ninegate_widgepi_url'> <fill name='calc_multi_condition' target='ninegate_widgepi_url'>
@ -912,6 +914,7 @@
<param>non</param> <param>non</param>
<target type='variable'>ninegate_widnextcloud_url</target> <target type='variable'>ninegate_widnextcloud_url</target>
<target type='variable'>ninegate_widnextcloud_syncenvole</target>
</condition> </condition>
<fill name='calc_multi_condition' target='ninegate_widnextcloud_url'> <fill name='calc_multi_condition' target='ninegate_widnextcloud_url'>
@ -1070,6 +1073,7 @@
<param>non</param> <param>non</param>
<target type='variable'>ninegate_widsacoche_url</target> <target type='variable'>ninegate_widsacoche_url</target>
<target type='variable'>ninegate_widsacoche_syncenvole</target>
</condition> </condition>
<fill name='calc_multi_condition' target='ninegate_widsacoche_url'> <fill name='calc_multi_condition' target='ninegate_widsacoche_url'>

View File

@ -131,7 +131,7 @@ class OnlyCommand extends Command
$this->writeln('== AUTHENTIFICATION ================================='); $this->writeln('== AUTHENTIFICATION =================================');
\Unirest\Request::verifyPeer(false); \Unirest\Request::verifyPeer(false);
\Unirest\Request::verifyHost(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']; $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); $query = array('userName' => $this->only_user, 'password' => $this->only_password);
$body = \Unirest\Request\Body::json($query); $body = \Unirest\Request\Body::json($query);

View File

@ -47,6 +47,9 @@ class onlyService
//================================================================================================================================================================== //==================================================================================================================================================================
public function syncUser(User $user) { 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=========================================================="); $this->mydebug("==SYNC ONLY USER==========================================================");
// Authentification à Only // Authentification à Only
@ -94,6 +97,7 @@ class onlyService
// Sinon création // Sinon création
// Ratacchement utilisateur group // Ratacchement utilisateur group
*/
return true; return true;
} }