24/03/23 - 17h

master
cherif 2023-03-24 22:09:46 +01:00
parent ab53b25ed4
commit 2be60d1fdd
5 changed files with 727 additions and 18 deletions

View File

@ -1,14 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="1122d9e2-679f-46d6-8c4f-97e9ae4041b5" name="Changes" comment="21/03/23 - 22h">
<list default="true" id="1122d9e2-679f-46d6-8c4f-97e9ae4041b5" name="Changes" comment="24/03/23 - 17h">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Inscription_mgt.py" beforeDir="false" afterPath="$PROJECT_DIR$/Inscription_mgt.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Log/log_file.log" beforeDir="false" afterPath="$PROJECT_DIR$/Log/log_file.log" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Session_Formation.py" beforeDir="false" afterPath="$PROJECT_DIR$/Session_Formation.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/lms_chamilo/mysy_lms.py" beforeDir="false" afterPath="$PROJECT_DIR$/lms_chamilo/mysy_lms.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/main.py" beforeDir="false" afterPath="$PROJECT_DIR$/main.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/prj_common.py" beforeDir="false" afterPath="$PROJECT_DIR$/prj_common.py" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -375,7 +373,14 @@
<option name="project" value="LOCAL" />
<updated>1679433486555</updated>
</task>
<option name="localTasksCounter" value="44" />
<task id="LOCAL-00044" summary="24/03/23 - 17h">
<created>1679672559062</created>
<option name="number" value="00044" />
<option name="presentableId" value="LOCAL-00044" />
<option name="project" value="LOCAL" />
<updated>1679672559062</updated>
</task>
<option name="localTasksCounter" value="45" />
<servers />
</component>
<component name="Vcs.Log.Tabs.Properties">
@ -390,7 +395,6 @@
</option>
</component>
<component name="VcsManagerConfiguration">
<MESSAGE value="18/01/23 - 21h" />
<MESSAGE value="19/01/23 - 20h" />
<MESSAGE value="21/01/23 - 12h" />
<MESSAGE value="24/01/23 - 19h" />
@ -415,6 +419,7 @@
<MESSAGE value="18/03/23 - 21h45" />
<MESSAGE value="19/03/23 - 19h45" />
<MESSAGE value="21/03/23 - 22h" />
<option name="LAST_COMMIT_MESSAGE" value="21/03/23 - 22h" />
<MESSAGE value="24/03/23 - 17h" />
<option name="LAST_COMMIT_MESSAGE" value="24/03/23 - 17h" />
</component>
</project>

View File

@ -231,6 +231,8 @@ Donc l'inscription va generer :
"""
def UpdateStagiairetoClass(diction):
try:
return_message = ""
field_list = ['token', 'email', 'nom', 'prenom', 'telephone', 'modefinancement', 'opco',
'status', 'class_internal_url', 'session_id', 'price', 'employeur', 'comment']
incom_keys = diction.keys()
@ -482,13 +484,15 @@ def UpdateStagiairetoClass(diction):
if( local_status is False ):
mycommon.myprint(str(inspect.stack()[0][3]) +" WARNING : le compte LSM n'a pas été correctement crée")
return_message = return_message + " le compte LSM n'a pas été correctement crée. "
else:
# Mettre à jour la collection "inscription" en ajoutant local_participant_lms_id et et le mot de passe
print(" ### Mise à jour 'inscription' pour inscription_line_id = ", inscription_line_id,
" local_participant_lms_id = ", local_participant_lms_id, " str(new_diction['password'] ", str(new_diction['password']))
local_ret_val = MYSY_GV.dbname['inscription'].find_one_and_update({'_id':ObjectId(str(inscription_line_id))},
{"$set":{'lms_class_code':str(local_participant_lms_id),
'lms_pwd':str(new_diction['password'])}
{"$set":{'lms_user_id':str(local_participant_lms_id),
'lms_pwd':str(new_diction['password']),
'lms_class_code':str(lms_class_code)}
},
upsert=False,
return_document=ReturnDocument.AFTER
@ -508,11 +512,13 @@ def UpdateStagiairetoClass(diction):
local_status2, local_message2 = mys_lms.Add_User_To_LMS_Class(new_diction)
if (local_status2 is False):
mycommon.myprint(str(inspect.stack()[0][3]) + " WARNING : Impossbile de finaliser l'incription dans le LMS")
return_message = return_message + " Impossbile de finaliser l'incription dans le LMS. "
else:
mycommon.myprint(str(inspect.stack()[0][3]) + " TOP, l'inscription dans le LMS a ete correctement faite")
else:
mycommon.myprint(str(inspect.stack()[0][3]) + " - WARNING : Impossible de mettre à jour le compte LMS ")
return_message = return_message + " Impossible de mettre à jour le compte LMS."
@ -524,6 +530,9 @@ def UpdateStagiairetoClass(diction):
mycommon.myprint(" Les données du stagiaire ont été correctement mise à jour")
if( str(return_message) != " "):
return True, "Les données du stagiaire ont été correctement mise à jour. WARNING : "+return_message
return True, "Les données du stagiaire ont été correctement mise à jour"
@ -2447,6 +2456,8 @@ def GetListEvaluation_Session(diction):
RetObject = []
val_tmp = 1
# Recuperation des infos de la formation
for local_Insc_retval in MYSY_GV.dbname['inscription'].find({'session_id': str(diction['session_id'])}):
user = {}
@ -2458,8 +2469,6 @@ def GetListEvaluation_Session(diction):
user['prenom'] = local_Insc_retval['prenom']
if ("eval_date" in local_Insc_retval.keys()):
if local_Insc_retval['eval_date']:
user['eval_date'] = local_Insc_retval['eval_date']
@ -2490,4 +2499,103 @@ def GetListEvaluation_Session(diction):
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 de recuperer la liste des evaluations"
return False, " Impossible de recuperer la liste des evaluations"
"""
Cette fonction permet d'annuler l'inscription à une formation.
# status -1 ==> Inscription annulée
"""
def CancelAttendeeInscription(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"
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']
# 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']
# 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 "
# Annulation de l'inscription
now = str(datetime.now().strftime("%d/%m/%Y %H:%M:%S"))
ret_val2 = MYSY_GV.dbname['inscription'].find_one_and_update(
{'session_id': str(diction['session_id']), 'email': str(diction['email'])},
{"$set": {'status':'-1', 'inscription_refuse_date':now, 'date_update':now}},
return_document=ReturnDocument.AFTER,
upsert=False,
)
if( ret_val2 is None ):
mycommon.myprint(str(inspect.stack()[0][3]) + " - Impossible d'annuler l'inscription ")
return False, " Impossible d'annuler l'inscription "
"""
Verification s'il y a une inscription LMS, au quel cas, on l'annule aussi
"""
return_message = ""
if( lms_user_id.strip() != ""):
# Il a une inscription à une formation dans le LMS, il faut l'annuler
new_diction = {}
new_diction['token'] = str(diction['token'])
new_diction['user_lms_id'] = str(lms_user_id)
new_diction['course_code'] = str(lms_class_code)
local_status, local_message = mys_lms.Remove_User_From_LMS_Class(new_diction)
if (local_status is False):
mycommon.myprint(str(inspect.stack()[0][3]) + " - WARNING : Impossible de supprimer l'inscription dans le LMS pour "+str( diction['email']) )
return_message = "Impossible de supprimer l'inscription dans le LMS pour : "+str( diction['email'])
if( return_message.strip() != ""):
return True, return_message
return True, "L'inscription a été correctement supprimée"
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 de recuperer la liste des evaluations"

View File

@ -1543064,3 +1543064,586 @@ INFO:root:2023-03-24 16:41:35.087580 : Security check : IP adresse '127.0.0.1'
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 16:41:35] "POST /myclass/api/Add_Update_SessionFormation/ HTTP/1.1" 200 -
INFO:root:2023-03-24 16:41:35.652548 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 16:41:35] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
DEBUG:filelock:Attempting to acquire lock 3034438345808 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
DEBUG:filelock:Lock 3034438345808 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 3034438345808 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
DEBUG:filelock:Lock 3034438345808 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 3034438346960 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
DEBUG:filelock:Lock 3034438346960 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-24 20:28:07.054302 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-03-24 20:28:07.054302 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-03-24 20:28:07.054302 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-03-24 20:28:07.054302 : ++ 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 3034438346960 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
DEBUG:filelock:Lock 3034438346960 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
DEBUG:filelock:Attempting to acquire lock 3034436707024 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
DEBUG:filelock:Lock 3034436707024 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 3034436707024 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
DEBUG:filelock:Lock 3034436707024 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
DEBUG:filelock:Attempting to acquire lock 3019433223760 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
DEBUG:filelock:Lock 3019433223760 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 3019433223760 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
DEBUG:filelock:Lock 3019433223760 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 3019433224656 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
DEBUG:filelock:Lock 3019433224656 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-24 20:28:28.462901 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-03-24 20:28:28.462901 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-03-24 20:28:28.462901 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-03-24 20:28:28.462901 : ++ 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 3019433224656 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
DEBUG:filelock:Lock 3019433224656 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
DEBUG:filelock:Attempting to acquire lock 3021215620176 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
DEBUG:filelock:Lock 3021215620176 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 3021215620176 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
DEBUG:filelock:Lock 3021215620176 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
INFO:root:2023-03-24 20:28:28.932776 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:28:28.934774 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:28:28.936776 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:28:28.938782 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:28:28.941782 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:28:29] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:28:29] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:28:29] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:28:29] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 -
INFO:root:2023-03-24 20:28:29.900787 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:28:29.901544 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:28:29.902532 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:28:29.902532 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:28:29.905543 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:28:29.908523 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:28:29] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:28:29] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:28:29] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:28:29] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:28:29] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:28:29] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
INFO:root:2023-03-24 20:28:30.242165 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:28:30.243166 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:28:30.243166 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:28:30.244178 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:28:30.245172 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:28:30.248167 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:28:30] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:28:30] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:28:30] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:28:30] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:28:30] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:28:30] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
INFO:root:2023-03-24 20:28:30.570676 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:28:30.571668 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:28:30.572668 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:28:30.573674 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:28:30.575675 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:28:30] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
INFO:root:2023-03-24 20:28:30.581673 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:28:30] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:28:30] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:28:30] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:28:30] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:28:30] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
INFO:root:2023-03-24 20:28:30.896758 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:28:30] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
INFO:root:2023-03-24 20:28:30.902763 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:28:30] "POST /myclass/api/GetActiveSessionFormation_List/ 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 2055465987344 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
DEBUG:filelock:Lock 2055465987344 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 2055465987344 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
DEBUG:filelock:Lock 2055465987344 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 2055465988304 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
DEBUG:filelock:Lock 2055465988304 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-24 20:28:58.160247 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-03-24 20:28:58.160247 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-03-24 20:28:58.161263 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-03-24 20:28:58.161263 : ++ FLASK PORT 5001 ++
WARNING:werkzeug: * Debugger is active!
DEBUG:validate_email.updater:Local file is fresh enough (same ETag).
INFO:werkzeug: * Debugger PIN: 127-713-359
DEBUG:filelock:Attempting to release lock 2055465988304 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
DEBUG:filelock:Lock 2055465988304 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
DEBUG:filelock:Attempting to acquire lock 2055465988688 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
DEBUG:filelock:Lock 2055465988688 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 2055465988688 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
DEBUG:filelock:Lock 2055465988688 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 2488590773328 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
DEBUG:filelock:Lock 2488590773328 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 2488590773328 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
DEBUG:filelock:Lock 2488590773328 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 2488590773648 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
DEBUG:filelock:Lock 2488590773648 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-24 20:31:59.155806 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-03-24 20:31:59.155806 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-03-24 20:31:59.155806 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-03-24 20:31:59.155806 : ++ 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 2488590773648 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
DEBUG:filelock:Lock 2488590773648 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
DEBUG:filelock:Attempting to acquire lock 2488590774864 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
DEBUG:filelock:Lock 2488590774864 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 2488590774864 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
DEBUG:filelock:Lock 2488590774864 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
INFO:root:2023-03-24 20:32:24.172967 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:32:24.174970 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:32:24.176971 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:32:24] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:32:24] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:32:24] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 -
INFO:root:2023-03-24 20:32:25.601595 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:32:25.603592 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:32:25] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 -
INFO:root:2023-03-24 20:32:33.252514 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:32:34.029567 : partner_login Connexion partnair mysy1000formation@gmail.com : OK, Date : 2023-03-24 20:32:33.253514 , _id = 63d168b1da18f633b8053b6a
INFO:root:2023-03-24 20:32:34.047189 : partner_login Connexion partener_token : OK , _id = 63d169b8a18e0689a1336d32
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:32:34] "POST /myclass/api/partner_login/ HTTP/1.1" 200 -
INFO:root:2023-03-24 20:32:34.249108 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:32:34.254114 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:32:34.258126 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:32:34] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
INFO:root:2023-03-24 20:32:34.283777 : Connexion du partner recid = a97b61d78f194cd37d3e18ed634c3f623de92d3658f7803691 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:32:34] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:32:34] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:root:2023-03-24 20:32:34.652099 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:32:34] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
INFO:root:2023-03-24 20:32:42.128314 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:32:42.131325 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:32:42.134312 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:32:42] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:32:42] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:32:42] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
INFO:root:2023-03-24 20:32:48.429757 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:32:48.434792 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:32:48.438779 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:32:48.444786 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:32:48.450330 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:32:48] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:32:48] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:32:48] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:32:48] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:32:48] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 -
INFO:root:2023-03-24 20:32:49.904391 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:32:49] "POST /myclass/api/GetSpecificPartnerAttestation_Certificat/ HTTP/1.1" 200 -
INFO:root:2023-03-24 20:33:09.755330 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:33:09] "POST /myclass/api/GetAttendeeDetail_perSession/ HTTP/1.1" 200 -
INFO:root:2023-03-24 20:34:50.937055 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:34:50.940053 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:34:50.944061 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:34:50] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:34:50] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:34:50] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:root:2023-03-24 20:37:18.566503 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:37:18.569500 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:37:18] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
INFO:root:2023-03-24 20:37:18.573498 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:37:18] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:37:18] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:root:2023-03-24 20:40:07.759463 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:40:07.764464 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:40:07.770484 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:40:07] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:40:07] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:40:07] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
INFO:root:2023-03-24 20:41:52.961954 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:41:52.965963 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:41:52] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
INFO:root:2023-03-24 20:41:52.970955 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:41:52] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:41:52] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:root:2023-03-24 20:42:25.854496 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:42:25.857493 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:42:25.861495 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:42:25] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:42:25] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:42:25] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:root:2023-03-24 20:43:18.178373 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:43:18.181366 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:43:18.185370 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:43:18] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:43:18] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:43:18] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:root:2023-03-24 20:43:21.690915 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:43:21.694908 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:43:21.698910 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:43:21] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:43:21] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:43:21] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
INFO:root:2023-03-24 20:43:24.947880 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:43:24.950875 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:43:24.952882 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:43:24] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
INFO:root:2023-03-24 20:43:24.958607 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:43:24] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 -
INFO:root:2023-03-24 20:43:24.963628 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:43:24] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:43:24] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:43:24] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 -
INFO:root:2023-03-24 20:43:26.173404 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:43:26] "POST /myclass/api/GetSpecificPartnerAttestation_Certificat/ HTTP/1.1" 200 -
INFO:root:2023-03-24 20:43:30.303603 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:43:30] "POST /myclass/api/GetAttendeeDetail_perSession/ HTTP/1.1" 200 -
INFO:root:2023-03-24 20:46:35.402420 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:46:35.406428 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:46:35] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
INFO:root:2023-03-24 20:46:35.411420 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:46:35] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:46:35] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:root:2023-03-24 20:49:03.678729 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:49:03.681770 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:49:03.682781 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:49:03] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:49:03] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:49:03] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:root:2023-03-24 20:51:43.073380 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:51:43.078393 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 20:51:43.081392 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:51:43] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:51:43] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 20:51:43] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:00:45.026310 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 21:00:45.030308 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:00:45] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:00:45.037822 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:00:45] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:00:45] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:04:38.948030 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 21:04:38.951050 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 21:04:38.955042 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:04:38] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:04:38] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:04:38] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:04:44.728555 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:04:44] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:04:44.735806 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 21:04:44.740148 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 21:04:44.744241 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:04:44] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:04:44.752235 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:04:44] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:04:44] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:04:44] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:04:46.329973 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:04:46] "POST /myclass/api/GetSpecificPartnerAttestation_Certificat/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:04:49.846746 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:04:49] "POST /myclass/api/GetAttendeeDetail_perSession/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:07:50.650022 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 21:07:50.654098 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 21:07:50.658084 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:07:50] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:07:50] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:07:50] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:09:59.096822 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 21:09:59.100824 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 21:09:59.103819 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:09:59] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:09:59] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:09:59] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:10:04.347177 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 21:10:04.351688 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:10:04] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:10:04.359717 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 21:10:04.364272 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:10:04] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:10:04.370060 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:10:04] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:10:04] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:10:04] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:10:05.956208 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:10:05] "POST /myclass/api/GetSpecificPartnerAttestation_Certificat/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:10:09.439045 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:10:09] "POST /myclass/api/GetAttendeeDetail_perSession/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:10:36.018055 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 21:10:36.022050 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 21:10:36.024054 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:10:36] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:10:36] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:10:36] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:10:57.142638 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 21:10:57.144639 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:10:57] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:10:57] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:10:57.150660 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 21:10:57.154774 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 21:10:57.156916 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:10:57] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:10:57] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:10:57] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:10:58.707571 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 21:10:58.732467 : GetSpecificPartnerAttestation_Certificat Impossible de recuperer les données de ce template
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:10:58] "POST /myclass/api/GetSpecificPartnerAttestation_Certificat/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:11:07.021381 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:11:07] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:11:07.027590 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 21:11:07.031821 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 21:11:07.036822 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:11:07] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:11:07] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:11:07.045842 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:11:07] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:11:07] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:11:08.575216 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:11:08] "POST /myclass/api/GetSpecificPartnerAttestation_Certificat/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:11:15.420887 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:11:15] "POST /myclass/api/Add_Update_SessionFormation/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:11:16.353706 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:11:16] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:11:20.896912 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:11:20] "POST /myclass/api/GetAttendeeDetail_perSession/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:11:29.406692 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 21:11:29.415696 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:11:29] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:11:29] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:11:29.421696 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:11:29] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:11:33.488039 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 21:11:33.494090 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:11:33] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:11:33.499084 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 21:11:33.504092 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:11:33] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:11:33] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:11:33.512082 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:11:33] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:11:33] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:11:34.874997 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:11:34] "POST /myclass/api/GetSpecificPartnerAttestation_Certificat/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:11:38.079041 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:11:38] "POST /myclass/api/GetAttendeeDetail_perSession/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:11:54.003759 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:11:54] "POST /myclass/api/Add_Update_SessionFormation/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:11:54.812384 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:11:54] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:11:57.232822 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 21:11:57.236822 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 21:11:57.239823 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:11:57] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:11:57] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:11:57] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:12:01.648724 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 21:12:01.652723 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:12:01] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:12:01] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:12:01.662943 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 21:12:01.667945 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:12:01] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:12:01] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:12:01.693629 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:12:01] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:12:03.337539 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:12:03] "POST /myclass/api/GetSpecificPartnerAttestation_Certificat/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:12:07.159879 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:12:07] "POST /myclass/api/GetAttendeeDetail_perSession/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:14:24.988004 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 21:14:24.993996 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 21:14:24.996993 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:14:24] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:14:25] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:14:25] "POST /myclass/api/get_partner_class/ 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 2071359235024 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
DEBUG:filelock:Lock 2071359235024 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 2071359235024 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
DEBUG:filelock:Lock 2071359235024 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 2071359237904 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
DEBUG:filelock:Lock 2071359237904 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
DEBUG:filelock:Attempting to release lock 2071359237904 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
DEBUG:filelock:Lock 2071359237904 released on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
DEBUG:filelock:Attempting to acquire lock 2418949399504 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
DEBUG:filelock:Lock 2418949399504 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 2418949399504 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
DEBUG:filelock:Lock 2418949399504 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 2418949400592 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
DEBUG:filelock:Lock 2418949400592 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-24 21:50:36.103942 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-03-24 21:50:36.103942 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-03-24 21:50:36.103942 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-03-24 21:50:36.103942 : ++ FLASK PORT 5001 ++
DEBUG:filelock:Attempting to release lock 2418949400592 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
DEBUG:filelock:Lock 2418949400592 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 2438426652624 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
DEBUG:filelock:Lock 2438426652624 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 2438426652624 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
DEBUG:filelock:Lock 2438426652624 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 2438426653584 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
DEBUG:filelock:Lock 2438426653584 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-24 21:50:45.465460 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-03-24 21:50:45.466467 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-03-24 21:50:45.466467 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-03-24 21:50:45.466467 : ++ FLASK PORT 5001 ++
WARNING:werkzeug: * Debugger is active!
DEBUG:filelock:Attempting to release lock 2438426653584 on C:\Users\cheri\AppData\Local\Temp\tmp-py3-validate-email-1\blacklistupdater.lock
DEBUG:filelock:Lock 2438426653584 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-24 21:51:05.548072 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 21:51:05.551087 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 21:51:05.555073 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:51:05] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:51:05] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:51:05] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:51:27.960909 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 21:51:27.966915 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 21:51:27.970938 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:51:27] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:51:27] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:51:27] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:51:33.180069 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 21:51:33.184524 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 21:51:33.187803 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:51:33] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:51:33.197400 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:51:33] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:51:33] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:51:33] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:51:33.212398 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:51:33] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:51:34.941932 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:51:34] "POST /myclass/api/GetSpecificPartnerAttestation_Certificat/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:53:05.895030 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:53:05] "POST /myclass/api/CancelAttendeeInscription/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:53:46.937236 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:53:46] "POST /myclass/api/CancelAttendeeInscription/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:54:27.725989 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 21:54:27.729992 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 21:54:27.732997 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:54:27] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:54:27] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:54:27] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:54:31.795807 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 21:54:31.799804 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:54:31] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:54:31.803800 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 21:54:31.806796 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:54:31] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:54:31] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:54:31] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:54:31.812464 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:54:31] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:54:33.165729 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:54:33] "POST /myclass/api/GetSpecificPartnerAttestation_Certificat/ HTTP/1.1" 200 -
INFO:root:2023-03-24 21:59:05.070965 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 21:59:05.077964 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 21:59:05.082975 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:59:05] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:59:05] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 21:59:05] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:root:2023-03-24 22:03:37.062120 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 22:03:37.067119 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 22:03:37.071123 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 22:03:37] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 22:03:37] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 22:03:37] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
INFO:root:2023-03-24 22:03:41.295910 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 22:03:41.301912 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 22:03:41] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
INFO:root:2023-03-24 22:03:41.307912 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 22:03:41] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 22:03:41] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
INFO:root:2023-03-24 22:03:46.195117 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 22:03:46] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
INFO:root:2023-03-24 22:03:46.205973 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 22:03:46.209326 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 22:03:46] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
INFO:root:2023-03-24 22:03:46.214390 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 22:03:46.216404 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 22:03:46] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 22:03:46] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 22:03:46] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 -
INFO:root:2023-03-24 22:03:47.492742 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 22:03:47] "POST /myclass/api/GetSpecificPartnerAttestation_Certificat/ HTTP/1.1" 200 -
INFO:root:2023-03-24 22:03:57.636707 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 22:04:00.195888 : UpdateStagiairetoClass Le compte LMS du participant a été correctement mis à jour : local_ret_val['_id'] = 63ee826f2841f2fdb0a75ef9
INFO:root:2023-03-24 22:04:00.244172 : Add_User_To_LMS_Class - Cet utilisateur est déjà inscrit à cette formation
INFO:root:2023-03-24 22:04:00.248162 : UpdateStagiairetoClass WARNING : Impossbile de finaliser l'incription dans le LMS
INFO:root:2023-03-24 22:04:00.248162 : Les données du stagiaire ont été correctement mise à jour
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 22:04:00] "POST /myclass/api/UpdateStagiairetoClass/ HTTP/1.1" 200 -
INFO:root:2023-03-24 22:04:00.727992 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 22:04:00.731998 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 22:04:00] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 22:04:00] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
INFO:root:2023-03-24 22:04:43.379842 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 22:04:43] "POST /myclass/api/CancelAttendeeInscription/ HTTP/1.1" 200 -
INFO:root:2023-03-24 22:04:43.925503 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 22:04:43.930549 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 22:04:43] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
INFO:root:2023-03-24 22:04:43.936552 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 22:04:43.939551 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 22:04:43] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 22:04:43] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 22:04:43] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 -
INFO:root:2023-03-24 22:06:17.582330 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 22:06:17] "POST /myclass/api/CancelAttendeeInscription/ HTTP/1.1" 200 -
INFO:root:2023-03-24 22:06:17.614333 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 22:06:17] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
INFO:root:2023-03-24 22:06:17.619819 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 22:06:17.623020 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 22:06:17] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
INFO:root:2023-03-24 22:06:17.629063 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 22:06:17] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 22:06:17] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 -
INFO:root:2023-03-24 22:06:36.678847 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 22:06:36] "POST /myclass/api/CancelAttendeeInscription/ HTTP/1.1" 200 -
INFO:root:2023-03-24 22:06:36.708851 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 22:06:36.711842 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 22:06:36.715840 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 22:06:36.719840 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 22:06:36] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 22:06:36] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 22:06:36] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 22:06:36] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 -
INFO:root:2023-03-24 22:07:25.901174 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 22:07:25.905162 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 22:07:25.908169 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 22:07:25] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 22:07:25] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 22:07:25] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:root:2023-03-24 22:07:48.945989 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 22:07:48] "POST /myclass/api/CancelAttendeeInscription/ HTTP/1.1" 200 -
INFO:root:2023-03-24 22:07:48.980586 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 22:07:48.986607 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 22:07:48] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
INFO:root:2023-03-24 22:07:48.991622 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-03-24 22:07:48.996609 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 22:07:49] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 22:07:49] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [24/Mar/2023 22:07:49] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 -

View File

@ -1344,7 +1344,7 @@ def Remove_User_From_LMS_Class(diction):
if val not in field_list:
mycommon.myprint(str(inspect.stack()[0][
3]) + " Le champ '" + val + "' n'est pas autorisé")
return False, False, False, str(inspect.stack()[0][3]) + " Le champ '" + val + "' n'est pas autorisé"
return False, str(inspect.stack()[0][3]) + " Le champ '" + val + "' n'est pas autorisé"
'''
Une fois qu'on a controlé que toutes les clés mise dans l'API sont correcte. etape precedente,
@ -1356,7 +1356,7 @@ def Remove_User_From_LMS_Class(diction):
if val not in diction:
mycommon.myprint(
str(inspect.stack()[0][3]) + " - La valeur '" + val + "' n'est pas presente dans liste ")
return False, False, False, str(
return False, str(
inspect.stack()[0][3]) + " Toutes les informations obligatoire n'ont pas été fournies"
# recuperation des paramettre
@ -1382,24 +1382,24 @@ def Remove_User_From_LMS_Class(diction):
if retval is False:
mycommon.myprint(str(inspect.stack()[0][3]) + " - Le token n'est pas valide")
return False, False, False, str(inspect.stack()[0][3]) + " - Le token n'est pas valide"
return False, str(inspect.stack()[0][3]) + " - Le token n'est pas valide"
# Recuperation du recid de l'utilisateur
partner_recid = mycommon.get_parnter_recid_from_token(my_token)
if partner_recid is False:
mycommon.myprint(str(inspect.stack()[0][3]) + " - Impossible de recuperer le token du partenaire")
return False, False, False, str(
return False, str(
inspect.stack()[0][3]) + " - Impossible de recuperer le token du partenaire"
if (len(str(my_token)) <= 0):
mycommon.myprint(str(inspect.stack()[0][3]) + " - Le token est vide")
return False, False, False, str(inspect.stack()[0][3]) + " - Le token est vide"
return False, str(inspect.stack()[0][3]) + " - Le token est vide"
# 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, False, False, " - impossible de recuperer les données du partenaire"
return False, " - impossible de recuperer les données du partenaire"
# print(" ### my_partner = ", str(my_partner))
mysy_lms_user_id = ""
@ -1450,7 +1450,7 @@ def Remove_User_From_LMS_Class(diction):
conn.commit()
conn.close()
return True, " ok "
return True, " l'inscription a bien été annulée"
except Exception as e:
exc_type, exc_obj, exc_tb = sys.exc_info()

13
main.py
View File

@ -2758,6 +2758,19 @@ def Create_MySy_LMS_Apprenant():
return jsonify(status=localStatus, message=message, lms_user_id=lms_user_id)
""""
Cette API supprime / annule des inscription deja validée
"""
@app.route('/myclass/api/CancelAttendeeInscription/', methods=['POST','GET'])
@crossdomain(origin='*')
def CancelAttendeeInscription():
# On CancelAttendeeInscription le corps (payload) de la requete
payload = request.form.to_dict()
print(" ### CancelAttendeeInscription : payload = ",payload)
localStatus, message= inscription.CancelAttendeeInscription(payload)
return jsonify(status=localStatus, message=message )
if __name__ == '__main__':
print(" debut api")
context = SSL.Context(SSL.SSLv23_METHOD)