From b257a79c8648c8d115910576911d0777107eba7f Mon Sep 17 00:00:00 2001 From: cherif Date: Sat, 25 Mar 2023 12:10:55 +0100 Subject: [PATCH] 25/03/23 - 12h --- .idea/workspace.xml | 17 +- GlobalVariable.py | 6 +- Inscription_mgt.py | 129 +++++ Log/log_file.log | 1070 ++++++++++++++++++++++++++++++++++++++ email_inscription_mgt.py | 103 ++++ main.py | 13 + 6 files changed, 1332 insertions(+), 6 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 0afdd73..dc0c541 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,11 +1,13 @@ - + + + @@ -394,7 +403,6 @@ - @@ -419,6 +427,7 @@ - \ No newline at end of file diff --git a/GlobalVariable.py b/GlobalVariable.py index 2a90963..3d4eba4 100644 --- a/GlobalVariable.py +++ b/GlobalVariable.py @@ -309,6 +309,8 @@ if (MYSY_ENV == "PROD"): MYSY_MARIADB_HOST = "192.168.1.21" MYSY_MARIADB_PORT = 3306 MYSY_LMS_BDD = "mysy_db_chamilo_prod" + MYSY_LMS_URL = "" + elif (MYSY_ENV == "DEV"): @@ -317,6 +319,7 @@ elif (MYSY_ENV == "DEV"): MYSY_MARIADB_HOST = "192.168.1.21" MYSY_MARIADB_PORT = 3306 MYSY_LMS_BDD = "mysy_db_chamilo_dev" + MYSY_LMS_URL = "https://lms.mysy-training.com/" elif (MYSY_ENV == "REC"): @@ -325,8 +328,7 @@ elif (MYSY_ENV == "REC"): MYSY_MARIADB_HOST = "192.168.1.21" MYSY_MARIADB_PORT = 3306 MYSY_LMS_BDD = "mysy_db_chamilo_rec" - - + MYSY_LMS_URL = "https://reclms.mysy-training.com/" diff --git a/Inscription_mgt.py b/Inscription_mgt.py index 334a9ea..988048e 100644 --- a/Inscription_mgt.py +++ b/Inscription_mgt.py @@ -2638,3 +2638,132 @@ def CancelAttendeeInscription(diction): exc_type, exc_obj, exc_tb = sys.exc_info() print(str(inspect.stack()[0][3]) + " -" + str(e) + " - ERRORRRR AT Line : " + str(exc_tb.tb_lineno)) return False, " Impossible de recuperer la liste des evaluations" + + +""" +Cette fonction envoie l'email de connexion à la plateformation LMS +au participant +Cet email met en copie le responsable de la formation. ceci pour pouvoir renvoyer le mail au besoin +""" +def Send_LMS_Credentials_to_particpants(diction): + try: + """ + Verification de la liste des champs obligatoires + """ + field_list_obligatoire = ['token', 'email', 'class_internal_url', 'session_id'] + for val in field_list_obligatoire: + if val not in diction: + mycommon.myprint( + str(inspect.stack()[0][3]) + " - : La valeur '" + val + "' n'est pas presente dans liste ") + return False, " Les informations fournies ne sont pas correctes" + + mytoken = "" + if ("token" in diction.keys()): + if diction['token']: + mytoken = diction['token'] + + partner_recid = mycommon.get_parnter_recid_from_token(mytoken) + if (partner_recid is False): + mycommon.myprint(str(inspect.stack()[0][3]) + " - Impossible de recuperer le recid du partenaire") + return False, "Impossible de recuperer le recid du partenaire" + + # 0 -Recuperation des données du partenaire + local_status, my_partner = mycommon.get_partner_data_from_recid(partner_recid) + if (local_status is False): + mycommon.myprint(str(inspect.stack()[0][3]) + " - impossible de recuperer les données du partenaire") + return False, " - impossible de recuperer les données du partenaire" + + + data_mail = {} + # 1 - Recuperation des données de la formation + local_class = MYSY_GV.dbname['myclass'].find({'internal_url': str(diction['class_internal_url'])}) + data_mail['title'] = local_class[0]['title'] + class_title = local_class[0]['title'] + + # 2 - Recuperation des données de l'inscription + local_inscription = MYSY_GV.dbname['inscription'].find({'session_id': str(diction['session_id']), + 'email': str(diction['email'])}) + lms_class_code = "" + if ("lms_class_code" in local_inscription[0].keys()): + if local_inscription[0]['lms_class_code']: + lms_class_code = local_inscription[0]['lms_class_code'] + + lms_user_id = "" + if ("lms_user_id" in local_inscription[0].keys()): + if local_inscription[0]['lms_user_id']: + lms_user_id = local_inscription[0]['lms_user_id'] + + lms_pwd = "" + if ("lms_pwd" in local_inscription[0].keys()): + if local_inscription[0]['lms_pwd']: + lms_pwd = local_inscription[0]['lms_pwd'] + + nom = "" + if ("nom" in local_inscription[0].keys()): + if local_inscription[0]['nom']: + nom = local_inscription[0]['nom'] + + prenom = "" + if ("prenom" in local_inscription[0].keys()): + if local_inscription[0]['prenom']: + prenom = local_inscription[0]['prenom'] + + email = "" + if ("email" in local_inscription[0].keys()): + if local_inscription[0]['email']: + email = local_inscription[0]['email'] + + date_du = "" + if ("date_du" in local_inscription[0].keys()): + if local_inscription[0]['date_du']: + date_du = str(local_inscription[0]['date_du'])[0:10] + + date_au = "" + if ("date_au" in local_inscription[0].keys()): + if local_inscription[0]['date_au']: + date_au = str(local_inscription[0]['date_au'])[0:10] + + # Recuperation des données de la session + local_session = MYSY_GV.dbname['session_formation'].find_one( + {'formation_session_id': str(diction['session_id']), + 'class_internal_url': str(diction['class_internal_url'])}) + + if (local_session is None): + mycommon.myprint(str(inspect.stack()[0][3]) + " - Impossible de recuperer les données de la session ") + return False, " Impossible de recuperer les données de la session " + + + now = str(datetime.now().strftime("%d/%m/%Y %H:%M:%S")) + + return_message = "" + email_data = {} + email_data['nom'] = nom + email_data['prenom'] = prenom + email_data['email'] = email + email_data['date_du'] = date_du + email_data['date_au'] = date_au + email_data['title'] = class_title + + email_data['login'] = email + email_data['pwd'] = lms_pwd + email_data['lms_url'] = MYSY_GV.MYSY_LMS_URL + email_data['course_owner_email'] = my_partner['email'] + + local_status, local_message = email_session.LMS_Credential_Sending_mail(email_data) + if (local_status is False): + mycommon.myprint(str( + inspect.stack()[0][3]) + " - WARNING : Impossible d'envoyer le mail de notification pour " + str( + diction['email'])) + return_message = return_message + str( + " Impossible d'envoyer le mail de notification pour : " + str(diction['email'])) + + if (return_message.strip() != ""): + return True, return_message + + + return True, " Les informations de connexion ont été correctement envoyées" + + except Exception as e: + exc_type, exc_obj, exc_tb = sys.exc_info() + print(str(inspect.stack()[0][3]) + " -" + str(e) + " - ERRORRRR AT Line : " + str(exc_tb.tb_lineno)) + return False, " Impossible d'envoyer les informations de connexion à la plateforme LMS" diff --git a/Log/log_file.log b/Log/log_file.log index 5f7770b..fb252f6 100644 --- a/Log/log_file.log +++ b/Log/log_file.log @@ -1544713,3 +1544713,1073 @@ INFO:root:2023-03-25 00:00:32.228013 : Security check : IP adresse '127.0.0.1' INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 00:00:32] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 00:00:32] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 - INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 00:00:32] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +DEBUG:filelock:Attempting to acquire lock 1840269666000 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1840269666000 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1840269666000 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1840269666000 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 1840269722192 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1840269722192 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-25 09:52:55.066437 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-25 09:52:55.066437 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-25 09:52:55.066437 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-25 09:52:55.066437 : ++ FLASK PORT 5001 ++ +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 1840269722192 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1840269722192 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1839958882384 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1839958882384 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1839958882384 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1839958882384 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://localhost:5001 +INFO:werkzeug:Press CTRL+C to quit +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2814991329040 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2814991329040 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2814991329040 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2814991329040 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2814991330064 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2814991330064 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-25 09:53:09.260716 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-25 09:53:09.261712 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-25 09:53:09.261712 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-25 09:53:09.261712 : ++ FLASK PORT 5001 ++ +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 2814991330064 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2814991330064 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2814675631824 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2814675631824 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +WARNING:werkzeug: * Debugger is active! +DEBUG:filelock:Attempting to release lock 2814675631824 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2814675631824 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:werkzeug: * Debugger PIN: 127-713-359 +INFO:root:2023-03-25 09:53:12.976594 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 09:53:12.977603 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 09:53:12.979593 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 09:53:13] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 09:53:13] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 09:53:13] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2023-03-25 09:53:13.252209 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 09:53:13.254207 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 09:53:13] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2023-03-25 09:53:13.706160 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 09:53:13] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-03-25 09:53:14.011758 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 09:53:14.012757 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 09:53:14.013754 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 09:53:14.013754 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 09:53:14] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 09:53:14] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-03-25 09:53:14.022767 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 09:53:14] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-03-25 09:53:14.026758 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 09:53:14] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 09:53:14] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 09:53:14] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-03-25 09:53:14.339658 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 09:53:14.340661 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 09:53:14.340661 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 09:53:14.341670 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 09:53:14.342654 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 09:53:14] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-03-25 09:53:14.348653 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 09:53:14] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 09:53:14] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 09:53:14] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 09:53:14] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 09:53:14] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-03-25 09:53:14.667343 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 09:53:14.668352 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 09:53:14.668352 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 09:53:14.669353 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 09:53:14.671338 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 09:53:14] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-03-25 09:53:14.673346 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 09:53:14] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 09:53:14] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 09:53:14] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 09:53:14] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 09:53:14] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-03-25 09:53:14.992701 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 09:53:14] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +DEBUG:filelock:Attempting to acquire lock 2064137496400 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2064137496400 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2064137496400 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2064137496400 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2064137497488 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2064137497488 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-25 10:05:39.478692 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-25 10:05:39.478692 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-25 10:05:39.478692 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-25 10:05:39.478692 : ++ FLASK PORT 5001 ++ +INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://localhost:5001 +INFO:werkzeug:Press CTRL+C to quit +INFO:werkzeug: * Restarting with stat +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 2064137497488 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2064137497488 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2063840984848 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2063840984848 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2063840984848 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2063840984848 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2018609328080 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2018609328080 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2018609328080 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2018609328080 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2018609329040 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2018609329040 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-25 10:05:48.710396 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-25 10:05:48.710396 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-25 10:05:48.710396 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-25 10:05:48.710396 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 2018609329040 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2018609329040 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2018609329424 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2018609329424 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2018609329424 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2018609329424 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-25 10:09:47.261397 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:09:47.264403 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:09:47.265397 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:09:47] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:09:47] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:09:47] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:09:48.006759 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:09:48.009753 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:09:48] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:09:48.565332 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:09:48.567330 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:09:48.571333 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:09:48] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:09:48] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:09:48.574334 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:09:48.579329 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:09:48] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:09:48] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:09:48.584329 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:09:48] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:09:48.589340 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:09:48.592330 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:09:48] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:09:48] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:09:48.597329 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:09:48.601328 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:09:48] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:09:48.604338 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:09:48] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:09:48.608332 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:09:48] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:09:48] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:09:48.613334 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:09:48.615331 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:09:48] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:09:48.619331 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:09:48] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:09:48.623637 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:09:48] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:09:48.627331 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:09:48] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:09:48] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:09:48.632334 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:09:48] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:09:48.635330 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:09:48.638338 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:09:48] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:09:48] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:09:48] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:10:03.302673 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:10:03.975644 : partner_login Connexion partnair contact@mysy-training.com : OK, Date : 2023-03-25 10:10:03.303670 , _id = 641c21666cad03956ab28252 +INFO:root:2023-03-25 10:10:03.980199 : partner_login Connexion partener_token : OK , _id = 641c23520d5d7f136a823b3c +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:10:03] "POST /myclass/api/partner_login/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:10:04.175692 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:10:04.179204 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:10:04] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:10:04.182216 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:10:04.190217 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:10:04] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:10:04] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:10:04.419608 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:10:04] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:10:08.174058 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:10:08.177056 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:10:08.181053 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:10:08] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_NZuiEjjPZ6CP06/payment_methods?type=card +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_NZuiEjjPZ6CP06/payment_methods?type=card response_code=200 +DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1Mol8jAbmaEugrFTZg2P5ePQ",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "mysy demo",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1679566381,\n "customer": "cus_NZuiEjjPZ6CP06",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_NZuiEjjPZ6CP06/payment_methods"\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_al1AESEY9QpaKg message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:10:08] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:10:09.937387 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:10:09.939383 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:10:09] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:10:09] "POST /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:10:14.742421 : Security check : IP adresse '127.0.0.1' connected +DEBUG:xhtml2pdf:pisaDocument options: + src = '\n\n\n\n\t
\n\t\tMysy Training Logo \n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\tMySy Demo 2303
\n\t\t\t\t\t2 place du test
\n\t\t\t\t\t75001 Paris
\n\t\t\t\t\tFrane
\n\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\tFacture n° FACT_233000215\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t
Date de facture: 25/03/2023 Date échéance : 25/03/2023
\n\n\t\t\t\t\n\t\t\t\t\tOrigine : MySy_00rtqA\n\t\t\t\t\n\n\t\t\t\t
 
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
DescriptionQuantitéPrix unitaireMontant
Gold690540.0
\n\t\t\t\t\n\n\t\t\t\t
 
\n\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    Montant HT: 540.0
    TVA 20% : 108.0
    Montant TTC : 648.0
\n\n\n\t\t\t
\n\t\t\t
 
\n\t\t\t
 
\n\t\t\t
 
\n\n\n\n\t\t\n\n\t\n\t
\n\t
\n\t\t\n\n\t\t\t

MySy Training
\n\n\t\t\t\tCour du Havre 1, 75008, Paris
\n\n\t\t\t\tMySy Training Technology (MTT), société par actions simplifiée au capital de 1000 euros, dont le siège\n\t\t\t\tsocial est\n\t\t\t\tsitué 2, place des magnolias, 77680, Roissy en Brie, immatriculée au Registre du Commerce et des\n\t\t\t\tSociétés sous le numéro 917 500 860 R.C.S. Melun\n\t\t\t

\n\t\t\n\t
\n\n\n' + dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_233000215.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.png', Basepath: 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__' +DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https') +DEBUG:xhtml2pdf:Parsing img tag, src: +DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None} +DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib +DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 0 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 1 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 2 has width 0.0 +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col 3 has width 0.0 +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13 +DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25 +DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645 +DEBUG:paramiko.transport:starting thread (client mode): 0xfe84d1d0 +DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.12.0 +DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 +INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1) +DEBUG:paramiko.transport:=== Key exchange possibilities === +DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256 +DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519 +DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com +DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1 +DEBUG:paramiko.transport:client compress: none, zlib@openssh.com +DEBUG:paramiko.transport:server compress: none, zlib@openssh.com +DEBUG:paramiko.transport:client lang: +DEBUG:paramiko.transport:server lang: +DEBUG:paramiko.transport:kex follows: False +DEBUG:paramiko.transport:=== Key exchange agreements === +DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org +DEBUG:paramiko.transport:HostKey: ssh-ed25519 +DEBUG:paramiko.transport:Cipher: aes128-ctr +DEBUG:paramiko.transport:MAC: hmac-sha2-256 +DEBUG:paramiko.transport:Compression: none +DEBUG:paramiko.transport:=== End of kex handshake === +DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo +DEBUG:paramiko.transport:Switch to new keys ... +DEBUG:paramiko.transport:Attempting password auth... +DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'} +DEBUG:paramiko.transport:userauth is OK +INFO:paramiko.transport:Authentication (password) successful! +DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes +DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com" +DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server. +DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes +DEBUG:paramiko.transport:Secsh channel 0 opened. +DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok +INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3) +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000215.pdf', 'wb') +DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000215.pdf', 'wb') -> 00000000 +DEBUG:paramiko.transport.sftp:[chan 0] close(00000000) +DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000215.pdf') +INFO:root:2023-03-25 10:10:29.830964 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_233000215.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_233000215.pdf EST OKKKK +INFO:paramiko.transport.sftp:[chan 0] sftp session closed. +DEBUG:paramiko.transport:[chan 0] EOF sent (0) +INFO:root:2023-03-25 10:10:29.851001 : Impression facture N° FACT_233000215 OK +DEBUG:paramiko.transport:EOF in transport thread +INFO:root:2023-03-25 10:10:29.956789 : UpdataPartnerRankingClass - Le RANKING de 3 ont été mise à jour avec la valeur {'display_rank': '30', 'date_update': '2023-03-25 10:10:29.865585'} +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:10:29] "POST /myclass/api/createOrder/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:10:30.513247 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:10:30.516240 : Security check : IP adresse '127.0.0.1' connected +INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/subscriptions/sub_1MolBgAbmaEugrFTOiroBxMJ +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data= +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1MolBgAbmaEugrFTOiroBxMJ response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1MolBgAbmaEugrFTOiroBxMJ",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679566564,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1679566564,\n "currency": "eur",\n "current_period_end": 1682244964,\n "current_period_start": 1679566564,\n "customer": "cus_NZuiEjjPZ6CP06",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NZv1jqWdZAlFeU",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679566564,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "quantity": 4,\n "subscription": "sub_1MolBgAbmaEugrFTOiroBxMJ",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MolBgAbmaEugrFTOiroBxMJ"\n },\n "latest_invoice": "in_1MolBgAbmaEugrFTDL0rDnV2",\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 4,\n "schedule": null,\n "start_date": 1679566564,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Or6PrIxmF4Qdlv message='Dashboard link for request' +INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1MolBgAbmaEugrFTOiroBxMJ +DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=proration_behavior=create_prorations&items[0][id]=si_NZv1jqWdZAlFeU&items[0][quantity]=6 +INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1MolBgAbmaEugrFTOiroBxMJ response_code=200 +DEBUG:stripe:body='{\n "id": "sub_1MolBgAbmaEugrFTOiroBxMJ",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1679566564,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1679566564,\n "currency": "eur",\n "current_period_end": 1682244964,\n "current_period_start": 1679566564,\n "customer": "cus_NZuiEjjPZ6CP06",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_NZv1jqWdZAlFeU",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1679566564,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "quantity": 6,\n "subscription": "sub_1MolBgAbmaEugrFTOiroBxMJ",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1MolBgAbmaEugrFTOiroBxMJ"\n },\n "latest_invoice": "in_1MolBgAbmaEugrFTDL0rDnV2",\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 6,\n "schedule": null,\n "start_date": 1679566564,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body' +DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_V3pKA5RonkFrCn message='Dashboard link for request' +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:10:31] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:10:32] "POST /myclass/api/strip_update_subscription_qty/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:17:06.381505 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:17:06] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:17:06.436085 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:17:06] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:17:12.775910 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:17:12.778908 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:17:12.781913 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:17:12] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:17:12] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:17:12] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:17:35.603274 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:17:35.606276 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:17:35.609267 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:17:35] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:17:35] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:17:35] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:17:46.269225 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:17:46.274233 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:17:46] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:18:11.179993 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:18:11] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:18:11.248324 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:18:11] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:18:18.233384 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:18:18.237390 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:18:18.240391 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:18:18] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:18:18] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:18:18] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:20:36.550191 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:20:36.552193 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:20:36.555186 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:20:36] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:20:36] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:20:36] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:20:44.339299 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:20:44] "POST /myclass/api/Add_Update_SessionFormation_mass/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:20:44.838467 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:20:44] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:20:49.623625 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:20:49.625625 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:20:49.628622 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:20:49] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:20:49.631641 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:20:49] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:20:49.634633 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:20:49] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:20:49] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:20:49] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:20:57.108111 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:20:58] "GET /myclass/api/DownloadParticipantsList/2mAi8fOnrT_U7elIX8uGuLpEQep2C7UzrA/AR40/praticien-en-aromatherapie-integrative-c1d HTTP/1.1" 200 - +INFO:root:2023-03-25 10:21:57.300334 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:21:57] "POST /myclass/api/GetSpecificPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:22:14.095834 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:22:14] "POST /myclass/api/Add_Update_SessionFormation/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:22:14.496721 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:22:14] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:22:24.362390 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:22:32] "POST /myclass/api/AddStagiairetoClass_mass/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:22:32.641817 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:22:32.644820 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:22:32.645813 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:22:32] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:22:32.649817 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:22:32] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:22:32] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:22:32] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:23:07.448400 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:23:08.423108 : UpdateStagiairetoClass Le compte LMS du participant a été correctement mis à jour : local_ret_val['_id'] = 641ebd5198d170c246cb6c96 +INFO:root:2023-03-25 10:23:08.547602 : UpdateStagiairetoClass TOP, l'inscription dans le LMS a ete correctement faite +INFO:root:2023-03-25 10:23:08.547602 : Les données du stagiaire ont été correctement mise à jour +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:23:08] "POST /myclass/api/UpdateStagiairetoClass/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:23:08.806117 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:23:08.808218 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:23:08] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:23:08] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:25:47.453345 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:25:47.781423 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:25:47.784929 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:25:47.786952 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:25:47] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:25:47.791939 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:25:47] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:25:47] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:25:47] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:25:48] "POST /myclass/api/CancelAttendeeInscription/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:25:49.300553 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:25:49.302648 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:25:49] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:25:49.305840 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:25:49] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:25:49.309856 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:25:49] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:25:49] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:30:36.032391 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:30:36.035392 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:30:36.038389 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:30:36] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:30:36] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:30:36] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:30:37.046667 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:30:37.048667 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:30:37.052685 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:30:37] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:30:37] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:30:37] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:30:42.134911 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:30:42.137906 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:30:42.140903 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:30:42] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:30:42] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:30:42] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:30:45.893590 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:30:45.896591 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:30:45.899587 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:30:45] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:30:45.901585 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:30:45] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:30:45.908032 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:30:45] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:30:45] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:30:45] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:30:46.935569 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:30:46] "POST /myclass/api/GetSpecificPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:31:00.286286 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:31:00.653467 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:31:00.656593 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:31:00.659608 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:31:00] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:31:00] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:31:00.664607 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:31:00] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:31:00] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:31:00] "POST /myclass/api/CancelAttendeeInscription/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:31:02.112624 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:31:02.115733 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:31:02] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:31:02.118829 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:31:02] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:31:02.122830 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:31:02] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:31:02] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:31:56.578372 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:31:56.581374 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:31:56.584374 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:31:56] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:31:56] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:31:56] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:31:57.614314 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:31:57.617836 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:31:57.620836 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:31:57] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:31:57] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:31:57] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:32:03.065128 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:32:03.166343 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:32:03.495139 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:32:03.497138 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:32:03] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:32:03.501136 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:32:03.505132 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:32:03] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:32:03] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:32:03] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:32:03] "POST /myclass/api/CancelAttendeeInscription/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:32:03] "POST /myclass/api/CancelAttendeeInscription/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:32:04.590313 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:32:04.592499 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:32:04.595622 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:32:04] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:32:04.601656 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:32:04] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:32:04] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:32:04.607656 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:32:04.609650 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:32:04.614660 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:32:04] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:32:04] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:32:04.620820 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:32:04] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:32:04] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:32:04] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:32:06.370629 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:32:06] "GET /myclass/api/DownloadParticipantsList/2mAi8fOnrT_U7elIX8uGuLpEQep2C7UzrA/AR40/praticien-en-aromatherapie-integrative-c1d HTTP/1.1" 200 - +INFO:root:2023-03-25 10:37:10.997573 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:37:10.999573 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:37:11.002569 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:37:11] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:37:11] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:37:11] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:37:11.722699 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:37:11.724687 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:37:11.727697 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:37:11] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:37:11] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:37:11] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:38:15.546926 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:38:15.549937 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:38:15.552936 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:38:15] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:38:15] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:38:15] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:38:18.511302 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:38:18.514302 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:38:18.517300 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:38:18] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:38:18.522304 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:38:18] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:38:18] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:38:18.526301 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:38:18] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:38:18] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:38:19.519008 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:38:19] "POST /myclass/api/GetSpecificPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:38:32.061682 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:38:32.077405 : Les données du stagiaire ont été correctement mise à jour +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:38:32] "POST /myclass/api/UpdateStagiairetoClass/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:38:32.445077 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:38:32.448187 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:38:32] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:38:32.452346 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:38:32.455351 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:38:32] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:38:32] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:38:32] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:38:45.213467 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:38:46.072994 : UpdateStagiairetoClass Le compte LMS du participant a été correctement mis à jour : local_ret_val['_id'] = 641ebd5098d170c246cb6c95 +INFO:root:2023-03-25 10:38:46.139105 : UpdateStagiairetoClass TOP, l'inscription dans le LMS a ete correctement faite +INFO:root:2023-03-25 10:38:46.140104 : Les données du stagiaire ont été correctement mise à jour +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:38:46] "POST /myclass/api/UpdateStagiairetoClass/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:38:46.146104 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:38:46.149104 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:38:46] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:38:46] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:root:2023-03-25 10:38:46.153672 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 10:38:46.156818 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:38:46] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 10:38:46] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2489332115600 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2489332115600 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2489332115600 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2489332115600 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2489332118224 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2489332118224 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-25 10:41:33.361855 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-25 10:41:33.361855 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-25 10:41:33.361855 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-25 10:41:33.361855 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 2489332118224 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2489332118224 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2489253860816 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2489253860816 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2489253860816 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2489253860816 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1908857218768 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1908857218768 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1908857218768 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1908857218768 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 1908857221584 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1908857221584 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-25 11:19:11.896771 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-25 11:19:11.897771 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-25 11:19:11.897771 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-25 11:19:11.897771 : ++ FLASK PORT 5001 ++ +INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://localhost:5001 +INFO:werkzeug:Press CTRL+C to quit +INFO:werkzeug: * Restarting with stat +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 1908857221584 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1908857221584 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1908854832976 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1908854832976 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1908854832976 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1908854832976 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1931165477200 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1931165477200 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1931165477200 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1931165477200 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 1931165477584 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1931165477584 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-25 11:19:20.879398 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-25 11:19:20.880424 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-25 11:19:20.880424 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-25 11:19:20.880424 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 1931165477584 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1931165477584 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1931165478544 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1931165478544 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1931165478544 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1931165478544 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-25 11:19:21.105334 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 11:19:21] "GET /myclass/api/Send_LMS_Credentials_to_particpants HTTP/1.1" 404 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1750291376272 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1750291376272 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1750291376272 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1750291376272 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 1750291377168 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1750291377168 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-25 11:23:50.221374 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-25 11:23:50.221374 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-25 11:23:50.221374 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-25 11:23:50.221374 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 1750291377168 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1750291377168 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1750193183056 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1750193183056 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1750193183056 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1750193183056 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2302804881808 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2302804881808 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2302804881808 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2302804881808 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2302804984464 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2302804984464 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-25 11:24:11.373788 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-25 11:24:11.373788 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-25 11:24:11.374721 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-25 11:24:11.374721 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 2302804984464 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2302804984464 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2302487706320 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2302487706320 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2302487706320 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2302487706320 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-25 11:24:56.862287 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 11:24:56] "GET /myclass/api/Send_LMS_Credentials_to_particpants HTTP/1.1" 404 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\email_inscription_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2069933237072 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2069933237072 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2069933237072 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2069933237072 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2069933237520 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2069933237520 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-25 11:25:16.634448 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-25 11:25:16.634448 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-25 11:25:16.634448 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-25 11:25:16.634448 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 2069933237520 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2069933237520 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2069835177616 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2069835177616 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2069835177616 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2069835177616 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-25 11:25:23.199249 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 11:25:23] "GET /myclass/api/Send_LMS_Credentials_to_particpants HTTP/1.1" 404 - +INFO:root:2023-03-25 11:25:35.992300 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 11:25:35] "GET /myclass/api/LMS_Credential_Sending_mail HTTP/1.1" 308 - +INFO:root:2023-03-25 11:25:35.998307 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 11:25:36] "GET /myclass/api/LMS_Credential_Sending_mail/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\email_inscription_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1595154818448 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1595154818448 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1595154818448 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1595154818448 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 1595154818832 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1595154818832 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-25 11:28:24.619255 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-25 11:28:24.620245 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-25 11:28:24.620245 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-25 11:28:24.620245 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 1595154818832 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1595154818832 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1594851226256 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1594851226256 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1594851226256 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1594851226256 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-25 11:28:24.805702 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 11:28:24] "GET /myclass/api/LMS_Credential_Sending_mail HTTP/1.1" 308 - +INFO:root:2023-03-25 11:28:24.812952 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 11:28:25] "GET /myclass/api/LMS_Credential_Sending_mail/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\email_inscription_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2414155572048 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2414155572048 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2414155572048 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2414155572048 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2414155645520 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2414155645520 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-25 11:29:35.137051 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-25 11:29:35.137051 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-25 11:29:35.137051 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-25 11:29:35.137051 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 2414155645520 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2414155645520 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2414155645904 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2414155645904 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2414155645904 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2414155645904 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\email_inscription_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2393129525456 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2393129525456 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2393129525456 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2393129525456 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2393129525776 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2393129525776 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-25 11:30:04.081665 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-25 11:30:04.081665 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-25 11:30:04.081665 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-25 11:30:04.082665 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 2393129525776 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2393129525776 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2393126781072 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2393126781072 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2393126781072 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2393126781072 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\email_inscription_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2948838106512 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2948838106512 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2948838106512 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2948838106512 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2948838162640 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2948838162640 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-25 11:30:41.015461 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-25 11:30:41.015461 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-25 11:30:41.015461 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-25 11:30:41.015461 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 2948838162640 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2948838162640 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2948838163280 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2948838163280 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2948838163280 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2948838163280 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-25 11:30:42.700795 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 11:30:42] "GET /myclass/api/LMS_Credential_Sending_mail HTTP/1.1" 308 - +INFO:root:2023-03-25 11:30:42.706792 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 11:30:43] "GET /myclass/api/LMS_Credential_Sending_mail/ HTTP/1.1" 200 - +INFO:root:2023-03-25 11:32:54.524840 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 11:32:54] "GET /myclass/api/LMS_Credential_Sending_mail HTTP/1.1" 308 - +INFO:root:2023-03-25 11:32:54.531835 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 11:32:55] "GET /myclass/api/LMS_Credential_Sending_mail/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\email_inscription_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1471003403984 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1471003403984 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1471003403984 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1471003403984 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 1471003405328 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1471003405328 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-25 11:35:01.849853 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-25 11:35:01.849853 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-25 11:35:01.849853 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-25 11:35:01.849853 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 1471003405328 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1471003405328 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1471003405136 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1471003405136 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1471003405136 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1471003405136 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\email_inscription_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1834010977872 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1834010977872 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1834010977872 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1834010977872 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 1834011034064 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1834011034064 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-25 11:36:06.997795 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-25 11:36:06.998790 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-25 11:36:06.998790 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-25 11:36:06.998790 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 1834011034064 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1834011034064 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1834011034128 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1834011034128 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1834011034128 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1834011034128 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-25 11:38:42.930829 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 11:38:42.933830 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 11:38:42.936832 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 11:38:42] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 11:38:42] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 11:38:42] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-25 11:38:45.925806 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 11:38:45.928819 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 11:38:45] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2023-03-25 11:38:45.933818 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 11:38:45.935817 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 11:38:45] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2023-03-25 11:38:45.939817 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 11:38:45] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 11:38:45] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 11:38:45] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 - +INFO:root:2023-03-25 11:38:46.970107 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 11:38:46] "POST /myclass/api/GetSpecificPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:root:2023-03-25 11:38:51.000885 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 11:38:51] "POST /myclass/api/GetAttendeeDetail_perSession/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\email_inscription_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1914457727504 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1914457727504 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1914457727504 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1914457727504 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 1914457801296 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1914457801296 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-25 11:42:29.531950 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-25 11:42:29.531950 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-25 11:42:29.531950 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-25 11:42:29.531950 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 1914457801296 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1914457801296 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1914457801616 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1914457801616 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1914457801616 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1914457801616 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 2442439795920 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2442439795920 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2442439795920 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2442439795920 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 2442439799120 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2442439799120 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-25 11:45:39.097732 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-25 11:45:39.097732 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-25 11:45:39.097732 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-25 11:45:39.097732 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 2442439799120 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2442439799120 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 2442439799376 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2442439799376 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 2442439799376 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 2442439799376 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:werkzeug: * Detected change in 'C:\\Users\\cheri\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:filelock:Attempting to acquire lock 1570575067152 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1570575067152 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1570575067152 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1570575067152 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Starting optional update of built-in blacklist. +DEBUG:filelock:Attempting to acquire lock 1570575106640 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1570575106640 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.updater:Checking https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/master/disposable_email_blocklist.conf +INFO:root:2023-03-25 11:45:57.292416 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-03-25 11:45:57.292416 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-03-25 11:45:57.292416 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-03-25 11:45:57.292416 : ++ FLASK PORT 5001 ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 127-713-359 +DEBUG:validate_email.updater:Local file is fresh enough (same ETag). +DEBUG:filelock:Attempting to release lock 1570575106640 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1570575106640 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Attempting to acquire lock 1570258602960 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1570258602960 acquired on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:validate_email.domainlist_check:(Re)loading blacklist from C:\Users\cheri\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\venv\Lib\site-packages\validate_email\data\blacklist.txt +DEBUG:filelock:Attempting to release lock 1570258602960 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +DEBUG:filelock:Lock 1570258602960 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock +INFO:root:2023-03-25 12:00:36.411615 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 12:00:36.415636 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 12:00:36.418616 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 12:00:36] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 12:00:36] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 12:00:36] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-25 12:00:37.787647 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 12:00:37.790645 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 12:00:37.794646 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 12:00:37] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 12:00:37] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 12:00:37] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-25 12:01:53.367731 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 12:01:53.370730 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 12:01:53.373728 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 12:01:53] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 12:01:53] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 12:01:53] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-25 12:01:56.743316 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 12:01:56.746435 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 12:01:56] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2023-03-25 12:01:56.750623 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 12:01:56] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2023-03-25 12:01:56.753634 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 12:01:56.756638 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 12:01:56] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 12:01:56] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 12:01:56] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 - +INFO:root:2023-03-25 12:01:57.806104 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 12:01:57] "POST /myclass/api/GetSpecificPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:root:2023-03-25 12:02:25.030667 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 12:02:25] "POST /myclass/api/GetAttendeeDetail_perSession/ HTTP/1.1" 200 - +INFO:root:2023-03-25 12:02:28.367792 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 12:02:28] "POST /myclass/api/GetAttendeeDetail_perSession/ HTTP/1.1" 200 - +INFO:root:2023-03-25 12:05:45.809201 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 12:05:45.811200 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 12:05:45.815205 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 12:05:45] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 12:05:45] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 12:05:45] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-25 12:05:46.236445 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 12:05:46.240442 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 12:05:46.242439 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 12:05:46] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 12:05:46] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 12:05:46] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-25 12:06:13.702852 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 12:06:13.705850 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 12:06:13.708873 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 12:06:13] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 12:06:13] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 12:06:13] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-25 12:06:14.041371 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 12:06:14.044373 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 12:06:14.047376 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 12:06:14] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 12:06:14] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 12:06:14] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-03-25 12:06:17.583898 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 12:06:17.588894 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 12:06:17.591893 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 12:06:17] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 12:06:17] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 12:06:17] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:root:2023-03-25 12:06:20.510548 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 12:06:20.513545 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 12:06:20] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2023-03-25 12:06:20.517555 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 12:06:20] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 - +INFO:root:2023-03-25 12:06:20.522544 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-03-25 12:06:20.525550 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 12:06:20] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 12:06:20] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 12:06:20] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:root:2023-03-25 12:06:21.609129 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 12:06:21] "POST /myclass/api/GetSpecificPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:root:2023-03-25 12:06:33.335106 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 12:06:33] "POST /myclass/api/GetAttendeeDetail_perSession/ HTTP/1.1" 200 - +INFO:root:2023-03-25 12:06:48.031894 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/Mar/2023 12:06:48] "POST /myclass/api/LMS_Credential_Sending_mail/ HTTP/1.1" 200 - diff --git a/email_inscription_mgt.py b/email_inscription_mgt.py index e24a3cc..9ec5333 100644 --- a/email_inscription_mgt.py +++ b/email_inscription_mgt.py @@ -1148,3 +1148,106 @@ def sendmailwith_attached(): exc_type, exc_obj, exc_tb = sys.exc_info() mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - ERRORRRR AT Line : " + str(exc_tb.tb_lineno)) return False, " Impossible d'envoyer l'attestation par email " + + +""" +Cette fonction envoie les informations d'identification de connexion à la plateforme +LMS +""" +def LMS_Credential_Sending_mail(diction): + try: + + """ + Verification de la liste des champs obligatoires + """ + field_list_obligatoire = ['nom', 'prenom', 'email', 'date_du', 'date_au', 'title', 'login', 'pwd', 'lms_url', 'course_owner_email' ] + for val in field_list_obligatoire: + if val not in diction: + mycommon.myprint( + str(inspect.stack()[0][3]) + " - : La valeur '" + val + "' n'est pas presente dans liste ") + return False, "Impossible d'envoyer les information de connexion à la plateforme LMS" + + + tomorrow = datetime.date.today() + datetime.timedelta(days=1) + tomorrow_day = tomorrow.strftime("%A") + + print("debut envoi mail de test ") + + """ + Verification si c'est une formation en ligne. + auquel cas, l'adresse est du type : enligne""" + + my_adress = "" + if ("adresse" in diction.keys()): + if diction['adresse']: + my_adress = diction['adresse'] + + presentiel = "" + if ("presentiel" in diction.keys()): + if diction['presentiel']: + presentiel = diction['presentiel'] + + distantiel = "" + if ("distantiel" in diction.keys()): + if diction['distantiel']: + distantiel = diction['distantiel'] + + + adresse_session = my_adress + + + # on rentre les renseignements pris sur le site du fournisseur + + # msg = MIMEMultipart("alternative") + smtpserver = smtplib.SMTP(MYSY_GV.O365_SMTP_COUNT_smtpsrv, MYSY_GV.O365_SMTP_COUNT_port) + msg = EmailMessage() + + # JINJA2 + templateLoader = jinja2.FileSystemLoader(searchpath="./") + templateEnv = jinja2.Environment(loader=templateLoader) + TEMPLATE_FILE = "Template/MySy_LMS_credential_sending_tpl.html" + template = templateEnv.get_template(TEMPLATE_FILE) + # This data can come from database query + body = {} + + body = { + + "params": {"nom": str(diction['nom']), + "prenom": str(diction['prenom']), + "date_du": str(diction['date_du']), + "date_fin": str(diction['date_au']), + "adresse": str(adresse_session), + "title": str(diction['title']), + "email": str(diction['email']), + "login": str(diction['login']), + "pwd": str(diction['pwd']), + "lms_url": str(diction['lms_url']), + "course_owner_email": str(diction['course_owner_email'])}, + } + + sourceHtml = template.render(params=body["params"]) + + msg.set_content(sourceHtml, subtype='html') + + + msg['From'] = MYSY_GV.O365_SMTP_COUNT_From_User + msg['Bcc'] = 'contact@mysy-training.com,'+str(str(diction['course_owner_email'])) + msg['Subject'] = '[MySy Training]: Vos identifications de connexion' + msg['To'] = str(diction['email']) + + + smtpserver.ehlo() + smtpserver.starttls() + smtpserver.login(MYSY_GV.O365_SMTP_COUNT_user, MYSY_GV.O365_SMTP_COUNT_password) + val = smtpserver.send_message(msg) + smtpserver.close() + print(" Email confirlation envoyé " + str(val)) + + + return True, " Email d'identification de connexion envoyé " + + except Exception as e: + exc_type, exc_obj, exc_tb = sys.exc_info() + mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - ERRORRRR AT Line : " + str(exc_tb.tb_lineno)) + return False, " Impossible d'envoyer l'email de notification " + diff --git a/main.py b/main.py index 5dff57c..6c08677 100644 --- a/main.py +++ b/main.py @@ -2771,6 +2771,19 @@ def CancelAttendeeInscription(): return jsonify(status=localStatus, message=message ) +""" +Cette API permet d'envoyer les identifiants de connexion à la plateforme de plateforme LMS +""" +@app.route('/myclass/api/LMS_Credential_Sending_mail/', methods=['POST','GET']) +@crossdomain(origin='*') +def LMS_Credential_Sending_mail(): + # On CancelAttendeeInscription le corps (payload) de la requete + payload = request.form.to_dict() + print(" ### LMS_Credential_Sending_mail : payload = ",payload) + localStatus, message= inscription.Send_LMS_Credentials_to_particpants(payload) + return jsonify(status=localStatus, message=message ) + + if __name__ == '__main__': print(" debut api") context = SSL.Context(SSL.SSLv23_METHOD)