diff --git a/docs/Services/Gestion des arrivées-départs/README.md b/docs/Services/Gestion des arrivées-départs/README.md
deleted file mode 100644
index 4952ca7..0000000
--- a/docs/Services/Gestion des arrivées-départs/README.md
+++ /dev/null
@@ -1,82 +0,0 @@
-# Gestion des arrivées/départs au GENES (hors ENSAI)
-
-## Elèves
-
-### Arrivées
-
-```mermaid
- flowchart TB
- start(" Admis ENSAE") --> Inscription("Inscription ENSAE")
-
- start-ipp("Admis Master Ip-Paris") --> Inscription-ipp(Inscription Ip-Paris)
-
-
- subgraph X
- Inscription-ipp --> Isiatis
- Isiatis --> Inscription
- end
- subgraph eleves
- Inscription --> Validation
- end
- subgraph DSIT
- Validation --> creation("Création du compte, profil mail")
- creation --> ajout-liste("Ajout dans les listes de diffusions élèves")
- creation --> publication("Affichage des informations du compte sur site d'inscription")
- Validation --> creation-pamplemousse("Création de l'étudiant dans pamplemousse")
- creation --> lien-compte("Lien compte pamplemousse avec compte AD")
- creation --> licence("Attribution Licence O365")
- end
- subgraph Scolarité
- creation-pamplemousse --> creation-badge("Création des badges élèves")
- end
-
-```
-
-!!! note
-
- le [script de création de compte ](./eleves/creation-compte.php) est appelé directement depuis le site d'inscription une fois celle ci validée. Le compte est créé directement dans la bonne OU (de l'année en cours) avec une date d'expiration au 01/09/N+3. Certains groupes sont ajoutés par défaut :
-
- * ClearPass-ETUDIANT
- * MesDossiers_Paradis
- * PromotionsENSAE
-
- l'ajout des listes de diffusion se fait à partir des informations pamplemousse (voie de l'étudiant)
-
-
-Création des badges ??
-
-#### Départ
-
-Compte Expire ...
-Suppression mail/ad/profil ???
-
-
-## Agent Genes Administratif (SG et/ou ENSAE)
-
-### Arrivées
-
-```mermaid
-graph LR
-
-subgraph SRH
-signature("Recrutement d'un agent") --> Init-fa("Initialisation Fiche Arrivée")
-Finalisation-fa-->creation-ticket("Création Ticket pour support DSIT")
-Finalisation-fa --> creation-badge("Création badge d'acces")
-end
-subgraph Recruteur
-Init-fa-->Complement-fa("Ajout Fiche Arrivée")
-Complement-fa --> Affectation-bureau("Décision sur le bureau")
-Complement-fa --> Ajout-role-service("Ajout des logiciels,services et équipements nécessaires")
-Ajout-role-service--> Finalisation-fa("Signature FA")
-Affectation-bureau --> Finalisation-fa
-end
-subgraph DSIT
-creation-ticket --> creation-compte("Création Compte Profil Mail")
-creation-ticket --> Installation-locale
-
-end
-subgraph LOG
-creation-ticket -.-> amenagement-bureau("Transfert Logistique pour aménagement bureau")
-end
-
-```
diff --git a/docs/Services/Gestion des arrivées-départs/eleves/creation-compte.php b/docs/Services/Gestion des arrivées-départs/eleves/creation-compte.php
deleted file mode 100644
index a530e65..0000000
--- a/docs/Services/Gestion des arrivées-départs/eleves/creation-compte.php
+++ /dev/null
@@ -1,750 +0,0 @@
-
-
-
-
-
-
-
-Attention,un champ est vide, nous ne pouvons poursuivre la demande. ';
- die();
- }
- } // on verifie le champ prénom
- elseif (preg_match('/[\^£$%&*()}{@#~?><>,|=_\\\\\;+¬]/', $prenom))
- {
- echo 'Le champ prénom contient un caractère spécial.';// one or more of the 'special characters' found in $string
- die();
- }
- elseif (preg_match('~[0-9]~', $prenom))
- {
- echo 'Le champ prénom contient un caractère spécial.';
- die();
- }
- // on vérifie le champ nom
- elseif (preg_match('/[\^£$%&*()}{@#~?><>,|=_\\\\\;+¬]/', $nom))
- {
- echo 'Le champ nom contient un caractère spécial.';
- die();
- }
- elseif (preg_match('~[0-9]~', $nom))
- {
- echo 'Le champ nom contient un caractère spécial.';
- die();
- }
- // sinon ...
- else
- {
-$unwanted_array = array( 'Š'=>'S', 'š'=>'s', 'Ž'=>'Z', 'ž'=>'z', 'À'=>'A', 'Á'=>'A', 'Â'=>'A', 'Ã'=>'A', 'Ä'=>'A', 'Å'=>'A', 'Æ'=>'A', 'Ç'=>'C', 'È'=>'E', 'É'=>'E',
- 'Ê'=>'E', 'Ë'=>'E', 'Ì'=>'I', 'Í'=>'I', 'Î'=>'I', 'Ï'=>'I', 'Ñ'=>'N', 'Ò'=>'O', 'Ó'=>'O', 'Ô'=>'O', 'Õ'=>'O', 'Ö'=>'O', 'Ø'=>'O', 'Ù'=>'U',
- 'Ú'=>'U', 'Û'=>'U', 'Ü'=>'U', 'Ý'=>'Y', 'Þ'=>'B', 'ß'=>'Ss', 'à'=>'a', 'á'=>'a', 'â'=>'a', 'ã'=>'a', 'ä'=>'a', 'å'=>'a', 'æ'=>'a', 'ç'=>'c',
- 'è'=>'e', 'é'=>'e', 'ê'=>'e', 'ë'=>'e', 'ì'=>'i', 'í'=>'i', 'î'=>'i', 'ï'=>'i', 'ð'=>'o', 'ñ'=>'n', 'ò'=>'o', 'ó'=>'o', 'ô'=>'o', 'õ'=>'o',
- 'ö'=>'o', 'ø'=>'o', 'ù'=>'u', 'ú'=>'u', 'û'=>'u', 'ý'=>'y', 'þ'=>'b', 'ÿ'=>'y' );
-
- // on supprime les espaces du prenom
- //$prenom = preg_replace('/\s+/', '', $prenom);
- // si le prenom contient un trait d'union
- if (strpos($prenom, '-') !== false) {
- // delimiteur trait d'union
- $prenom1 = explode("-", $prenom);
- $prenom1[0] = ucfirst(strtolower($prenom1[0]));
- $prenom1[1] = ucfirst(strtolower($prenom1[1]));
- $prenom = $prenom1[0].'-'.$prenom1[1];
- //echo 'dans la boucle';
- //echo $prenom;
- } else {
- $prenom = ucfirst(strtolower($prenom));
- }
-
- //$prenom = ucfirst(strtolower($prenom));
- // Tout en MAJUSCULE en gardant les accents
- $nom = mb_strtoupper($nom, 'UTF-8');
- // On supprime les accents
- $prenom2 = strtr( $prenom, $unwanted_array );
- // on ne garde que les lettres du prenom
- $prenom2 = preg_replace("/[^a-zA-Z]-/", "", $prenom2);
- // on recupere le premier caractere du prénom
- $FirstChar = $prenom2[0];
- // on supprime les espaces du nom
- $nom2 = preg_replace('/\s+/', '', $nom);
- $nom2 = strtr( $nom2, $unwanted_array );
- //$FirstChar = strtr( $FirstChar, $unwanted_array );
-
-
- // On concatene premiere lettre prenom avec le nom
- $login = $FirstChar.$nom2;
- // on met tout en minuscule
- $login = strtolower($login);
- // on prend les 20 premiers caracteres
- $login = substr($login,0,20);
- // on ne garde que les lettres
- $login = preg_replace("/[^a-zA-Z]/", "", $login);
- // on supprime les accents, apostrophe et trait d'union :
-
- $prenom_mail = preg_replace("/[^a-zA-Z]-/", "", $prenom2);
- $prenom_mail = preg_replace('/\s+/', '', $prenom_mail);
- $prenom_mail = str_replace("'", '', $prenom_mail);
- $nom2_mail = preg_replace("/[^a-zA-Z]-/", "", $nom2);
- $nom2_mail = str_replace("'", '', $nom2);
- //SMTP PINCIPAL
-
-
- $email = $prenom_mail.".".$nom2_mail;
- $email = substr($email,0,64);
- //$email = $email."@ensae-paristech.fr";
- $email = $email."@ensae.fr";
- $email = strtr( $email, $unwanted_array );
- $email = strtolower($email);
-
-
- // ALIAS
- $alias = $prenom_mail.".".$nom2_mail."@ensae.fr";
- $alias = strtr( $alias, $unwanted_array );
- $alias = strtolower($alias);
- // ON AFFICHE
- $password = generateStrongPassword();
- $N = count($voie);
-
- /* echo "Bonjour ".$prenom." ".$nom ;
- echo "";
- echo "Votre login est ".$login;
- echo "";
- $password = generateStrongPassword();
- echo "Votre mot de passe est : ".$password;
- echo "";
- echo "Votre adresse email est ".$email;
- echo "";
- $N = count($voie);
- echo("Selection de $N voie(s): ");
- echo "";
- for($i=0; $i < $N; $i++)
- {
- echo($voie[$i] . " ");
- }
- echo "";
- echo 'Imprimer';
-
-
- foreach($voie as $value)
- {
- echo '';
- } */
-
-
- }
-
-
-function generateStrongPassword($length = 12, $add_dashes = false, $available_sets = 'lud')
-{
- $sets = array();
- if(strpos($available_sets, 'l') !== false)
- $sets[] = 'abcdefghjkmnpqrstuvwxyz';
- if(strpos($available_sets, 'u') !== false)
- $sets[] = 'ABCDEFGHJKMNPQRSTUVWXYZ';
- if(strpos($available_sets, 'd') !== false)
- $sets[] = '23456789';
- if(strpos($available_sets, 's') !== false)
- $sets[] = '!@#$%&*?';
- $all = '';
- $password = '';
- foreach($sets as $set)
- {
- $password .= $set[array_rand(str_split($set))];
- $all .= $set;
- }
- $all = str_split($all);
- for($i = 0; $i < $length - count($sets); $i++)
- $password .= $all[array_rand($all)];
- $password = str_shuffle($password);
- if(!$add_dashes)
- return $password;
- $dash_len = floor(sqrt($length));
- $dash_str = '';
- while(strlen($password) > $dash_len)
- {
- $dash_str .= substr($password, 0, $dash_len) . '-';
- $password = substr($password, $dash_len);
- }
- $dash_str .= $password;
- return $dash_str;
-}
-
-
-
-$filter="(mail=$email)";
-
-$FilterEmailExist="(mail=$EtudiantMail)";
-
-
-$filter2="(samaccountname=$login)";
-
-
-// Connexion LDAPs
-
-$ldapconn = ldap_connect($ldapserver) or die("Could not connect to LDAP server.");
-ldap_set_option($ldapconn, LDAP_OPT_PROTOCOL_VERSION, 3);
-
-// ******************************************************
-
-if($ldapconn)
-{
- // binding to ldap server
-
-
- $ldapbind = ldap_bind($ldapconn, $ldapuser, $ldappass) or die ("Error trying to bind: ".ldap_error($ldapconn));
- // verify binding
- if ($ldapbind)
- {
- // echo "LDAP bind successful...
";
- //echo "".$login;
-//echo "".$email;
- // recherche par rapport a l email
- $result = ldap_search($ldapconn, $ldapdn, $filter) or die ("Error in search query: ".ldap_error($ldapconn));
- // recherche par rapport au login
- $result2 = ldap_search($ldapconn, $ldapdn, $filter2) or die ("Error in search query: ".ldap_error($ldapconn));
-
- $SearchMailExist = ldap_search($ldapconn, $ldapdn, $FilterEmailExist) or die ("Error in search query: ".ldap_error($ldapconn));
-
- $data = ldap_get_entries($ldapconn, $result);
- $data2 = ldap_get_entries($ldapconn, $result2);
- //echo "".$data2['count'];
- //echo "".$data['count'];
- $ResultMailExist = ldap_get_entries($ldapconn, $SearchMailExist);
-
- // SHOW ALL DATA
- // echo '
Dump all data
';
- //print_r($ResultMailExist);
- //echo '
';
- //echo $data[0]["mail"];
-
- // iterate over array and print data for each entry
-
- for ($i=0; $i<$data["count"]; $i++)
- {
- //echo "dn is: ". $data[$i]["dn"] ." ";
- //echo "User: ". $data[$i]["cn"][0] ." ";
- if(isset($data[$i]["mail"][0]))
- {
- $mail = $data[$i]["mail"][0];
- //echo '