01/08/2024 - 17h30

master
cherif 2024-08-01 18:17:41 +02:00
parent 14d36514ef
commit d69fce6a88
5 changed files with 639 additions and 31 deletions

View File

@ -1,15 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="c6d0259a-16e1-410d-91a1-830590ee2a08" name="Changes" comment="30/07/2024 - 12h">
<list default="true" id="c6d0259a-16e1-410d-91a1-830590ee2a08" name="Changes" comment="31/07/2024 - 17h30">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Dashbord_queries/factures_tbd_qries.py" beforeDir="false" afterPath="$PROJECT_DIR$/Dashbord_queries/factures_tbd_qries.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Dashbord_queries/inscription_tdb_qries.py" beforeDir="false" afterPath="$PROJECT_DIR$/Dashbord_queries/inscription_tdb_qries.py" 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$/class_mgt.py" beforeDir="false" afterPath="$PROJECT_DIR$/class_mgt.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" />
<change beforePath="$PROJECT_DIR$/email_mgt.py" beforeDir="false" afterPath="$PROJECT_DIR$/email_mgt.py" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -79,13 +76,6 @@
<option name="presentableId" value="Default" />
<updated>1680804787304</updated>
</task>
<task id="LOCAL-00314" summary="26/05/2024 - 20h30">
<created>1716748087881</created>
<option name="number" value="00314" />
<option name="presentableId" value="LOCAL-00314" />
<option name="project" value="LOCAL" />
<updated>1716748087883</updated>
</task>
<task id="LOCAL-00315" summary="qsdsq">
<created>1716822032749</created>
<option name="number" value="00315" />
@ -422,7 +412,14 @@
<option name="project" value="LOCAL" />
<updated>1722338918392</updated>
</task>
<option name="localTasksCounter" value="363" />
<task id="LOCAL-00363" summary="31/07/2024 - 17h30">
<created>1722440625816</created>
<option name="number" value="00363" />
<option name="presentableId" value="LOCAL-00363" />
<option name="project" value="LOCAL" />
<updated>1722440625832</updated>
</task>
<option name="localTasksCounter" value="364" />
<servers />
</component>
<component name="Vcs.Log.Tabs.Properties">
@ -464,7 +461,6 @@
</option>
</component>
<component name="VcsManagerConfiguration">
<MESSAGE value="18/06/2024 - 21h30" />
<MESSAGE value="ss" />
<MESSAGE value="21/06/24 - 22h30" />
<MESSAGE value="22/06/24 - 17h30" />
@ -489,6 +485,7 @@
<MESSAGE value="29/07/2024 - 12h" />
<MESSAGE value="29/07/2024 - 21h" />
<MESSAGE value="30/07/2024 - 12h" />
<option name="LAST_COMMIT_MESSAGE" value="30/07/2024 - 12h" />
<MESSAGE value="31/07/2024 - 17h30" />
<option name="LAST_COMMIT_MESSAGE" value="31/07/2024 - 17h30" />
</component>
</project>

View File

@ -57,6 +57,7 @@ Voici les valeurs possibles du statut d'un stagiaire
/!\ : Cette foncton est utilisé aussi bien en mode non-connecté qu'en mode connecté
il ne faut donc controler le token que s'il est fourni avec une valeur donnée
Si il n'est pas fourni, on prend le 'partner_owner_recid' de la formation
/!\ 2 : le 'partner_owner_recid' doit etre celui de la session de formation, EN AUCUN CAS CELUI DE LA PERSONNE CONNECTEE
@ -111,27 +112,49 @@ def AddStagiairetoClass(diction):
connected_user_id = my_partner['recid']
print(" #### my_partner = ", my_partner)
"""
Verifier que la formation est valide
"""
is_myclass_valide_count = MYSY_GV.dbname['myclass'].count_documents({'internal_url':str(diction['class_internal_url']),
'valide':'1',
'locked':'0',
'partner_owner_recid':str(my_partner['recid'])})
})
if( is_myclass_valide_count != 1 ):
if( is_myclass_valide_count <= 0 ):
mycommon.myprint(str(inspect.stack()[0][
3]) + " L'identifiant de la formation est invalide ")
return False, " L'identifiant de la formation est invalide "
if (is_myclass_valide_count > 1):
mycommon.myprint(str(inspect.stack()[0][
3]) + str(is_myclass_valide_count)+" formations ont le même internal_url. Or un 'internal_url' correspond à une et une seule formation. internal_url est "+str(diction['class_internal_url']))
return False, str(is_myclass_valide_count)+" formations ont le même internal_url."
is_myclass_valide_data = MYSY_GV.dbname['myclass'].find_one({'internal_url':str(diction['class_internal_url']),
'valide':'1',
'locked':'0',
'partner_owner_recid':str(my_partner['recid'])})
})
"""
/!\ : 01/08/2024
Si 'my_partner' est NONE, on va recuperer les données coorespondant au compte admin du partnenaire .
On ajoute aussi le token au dictionnaire
"""
if(my_partner is None ):
local_status, my_partner = mycommon.Get_Connected_User_Partner_Data_From_RecID(
str(is_myclass_valide_data['partner_owner_recid']))
if (local_status is not True):
return local_status, my_partner
diction['token'] = my_partner['token']
print(" #### my_partner V2 = ", my_partner)
mydata = {}
# Initialisation des champs non envoyés à vide

View File

@ -2631419,3 +2631419,528 @@ INFO:root:2024-07-31 17:33:47.735611 : Security check : IP adresse '127.0.0.1'
INFO:root:2024-07-31 17:33:47.742386 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [31/Jul/2024 17:33:47] "POST /myclass/api/Get_List_Partner_Document_with_filter/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [31/Jul/2024 17:33:47] "POST /myclass/api/Get_List_Partner_Document_with_filter/ HTTP/1.1" 200 -
INFO:root:2024-07-31 17:34:33.075072 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-07-31 17:34:33.087634 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [31/Jul/2024 17:34:33] "POST /myclass/api/Get_List_Partner_Document_with_filter/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [31/Jul/2024 17:34:33] "POST /myclass/api/Get_List_Partner_Document_with_filter/ HTTP/1.1" 200 -
INFO:root:2024-08-01 12:36:27.203348 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2024-08-01 12:36:27.204359 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2024-08-01 12:36:27.204359 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2024-08-01 12:36:27.204359 : ++ FLASK PORT 5001 ++
INFO:root:2024-08-01 12:36:27.204359 : ++ LMS_BAS_URL mysy-training.com/ ++
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
INFO:root:2024-08-01 12:36:38.949805 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2024-08-01 12:36:38.949805 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2024-08-01 12:36:38.949805 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2024-08-01 12:36:38.949805 : ++ FLASK PORT 5001 ++
INFO:root:2024-08-01 12:36:38.949805 : ++ LMS_BAS_URL mysy-training.com/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 877-541-979
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\class_mgt.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2024-08-01 12:45:09.641735 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2024-08-01 12:45:09.641735 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2024-08-01 12:45:09.641735 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2024-08-01 12:45:09.641735 : ++ FLASK PORT 5001 ++
INFO:root:2024-08-01 12:45:09.641735 : ++ LMS_BAS_URL mysy-training.com/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 877-541-979
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2024-08-01 12:47:37.962225 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2024-08-01 12:47:37.963201 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2024-08-01 12:47:37.963201 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2024-08-01 12:47:37.963201 : ++ FLASK PORT 5001 ++
INFO:root:2024-08-01 12:47:37.963201 : ++ LMS_BAS_URL mysy-training.com/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 877-541-979
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2024-08-01 12:55:29.809467 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2024-08-01 12:55:29.809467 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2024-08-01 12:55:29.809467 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2024-08-01 12:55:29.809467 : ++ FLASK PORT 5001 ++
INFO:root:2024-08-01 12:55:29.809467 : ++ LMS_BAS_URL mysy-training.com/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 877-541-979
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2024-08-01 12:56:39.776770 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2024-08-01 12:56:39.776770 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2024-08-01 12:56:39.777775 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2024-08-01 12:56:39.777775 : ++ FLASK PORT 5001 ++
INFO:root:2024-08-01 12:56:39.777775 : ++ LMS_BAS_URL mysy-training.com/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 877-541-979
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2024-08-01 12:59:39.840859 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2024-08-01 12:59:39.840859 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2024-08-01 12:59:39.840859 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2024-08-01 12:59:39.840859 : ++ FLASK PORT 5001 ++
INFO:root:2024-08-01 12:59:39.840859 : ++ LMS_BAS_URL mysy-training.com/ ++
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
INFO:root:2024-08-01 12:59:49.027065 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2024-08-01 12:59:49.027065 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2024-08-01 12:59:49.027065 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2024-08-01 12:59:49.027065 : ++ FLASK PORT 5001 ++
INFO:root:2024-08-01 12:59:49.027065 : ++ LMS_BAS_URL mysy-training.com/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 877-541-979
INFO:root:2024-08-01 16:12:06.414767 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2024-08-01 16:12:06.414767 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2024-08-01 16:12:06.414767 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2024-08-01 16:12:06.414767 : ++ FLASK PORT 5001 ++
INFO:root:2024-08-01 16:12:06.414767 : ++ LMS_BAS_URL mysy-training.com/ ++
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
INFO:root:2024-08-01 16:12:16.043520 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2024-08-01 16:12:16.043520 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2024-08-01 16:12:16.043520 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2024-08-01 16:12:16.043520 : ++ FLASK PORT 5001 ++
INFO:root:2024-08-01 16:12:16.043520 : ++ LMS_BAS_URL mysy-training.com/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 877-541-979
INFO:root:2024-08-01 16:12:16.193936 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:12:16] "POST /myclass/api/partner_login/ HTTP/1.1" 200 -
INFO:root:2024-08-01 16:12:16.427480 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:12:16.431476 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:12:16.435482 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:12:16.440481 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:12:16.445018 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:12:16.449035 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:12:16] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:12:16] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
INFO:root:2024-08-01 16:12:16.466200 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:12:16] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
INFO:root:2024-08-01 16:12:16.469457 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:12:16.473780 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:12:16] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
INFO:root:2024-08-01 16:12:16.484597 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:12:16] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:12:16] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:12:16] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:12:16] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:root:2024-08-01 16:12:16.653579 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:12:16.658533 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:12:16.663723 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:12:16.671960 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:12:16.677964 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:12:16.683550 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:12:16] "POST /myclass/api/Get_List_Class_domaine/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:12:16] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 -
INFO:root:2024-08-01 16:12:16.701183 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:12:16] "POST /myclass/api/Get_List_class_metier/ HTTP/1.1" 200 -
INFO:root:2024-08-01 16:12:16.709634 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:12:16] "POST /myclass/api/Get_List_Class_Categorie/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:12:16] "POST /myclass/api/Get_List_Class_domaine/ HTTP/1.1" 200 -
INFO:root:2024-08-01 16:12:16.720557 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:12:16.729669 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:12:16] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:12:16] "POST /myclass/api/Get_List_Class_Categorie/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:12:16] "POST /myclass/api/Get_List_class_metier/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:12:16] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:12:16] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
INFO:root:2024-08-01 16:12:26.267548 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:12:26] "POST /myclass/api/check_partner_token_validity_v2/ HTTP/1.1" 200 -
INFO:root:2024-08-01 16:12:29.260622 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:12:29.263701 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:12:29.267113 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:12:29.274629 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:12:29.278691 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:12:29.282971 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:12:29] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:12:29] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:12:29] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:12:29] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:12:29] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:12:29] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
INFO:root:2024-08-01 16:12:29.580416 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:12:29.584122 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:12:29] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:12:29] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 -
INFO:root:2024-08-01 16:12:30.918281 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:12:30.921368 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:12:30] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
INFO:root:2024-08-01 16:12:30.926432 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:12:30.931953 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:12:30] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:12:30] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
INFO:root:2024-08-01 16:12:30.940830 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:12:30] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
INFO:root:2024-08-01 16:12:30.948826 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:12:30] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
INFO:root:2024-08-01 16:12:30.953825 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:12:30.958106 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:12:30] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:12:30] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:12:30] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
INFO:root:2024-08-01 16:12:51.199300 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:12:53] "POST /myclass/api/RenseignementClass/ HTTP/1.1" 200 -
INFO:root:2024-08-01 16:13:59.545758 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:13:59.548984 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:13:59.551356 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:13:59.554818 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:13:59] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
INFO:root:2024-08-01 16:13:59.558900 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:13:59.564307 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:13:59] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
INFO:root:2024-08-01 16:13:59.569784 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:13:59] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:13:59] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
INFO:root:2024-08-01 16:13:59.577817 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:13:59] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:13:59] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
INFO:root:2024-08-01 16:13:59.766541 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:13:59.770083 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:13:59.774938 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:13:59.780229 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:13:59.784231 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:13:59] "POST /myclass/api/Get_List_Class_domaine/ HTTP/1.1" 200 -
INFO:root:2024-08-01 16:13:59.792880 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:13:59] "POST /myclass/api/Get_List_Class_Categorie/ HTTP/1.1" 200 -
INFO:root:2024-08-01 16:13:59.800018 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:13:59] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 -
INFO:root:2024-08-01 16:13:59.812635 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:13:59.819746 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:13:59] "POST /myclass/api/Get_List_Class_domaine/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:13:59] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:13:59] "POST /myclass/api/Get_List_class_metier/ HTTP/1.1" 200 -
INFO:root:2024-08-01 16:13:59.834743 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:13:59] "POST /myclass/api/Get_List_class_metier/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:13:59] "POST /myclass/api/Get_List_Class_Categorie/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:13:59] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:13:59] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
INFO:root:2024-08-01 16:14:02.803806 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:14:02] "POST /myclass/api/Get_Personnalisable_Collection/ HTTP/1.1" 200 -
INFO:root:2024-08-01 16:14:02.807138 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:14:02.821893 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:14:02] "POST /myclass/api/Get_Personnalisable_Collection/ HTTP/1.1" 200 -
INFO:root:2024-08-01 16:14:02.825332 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:14:02] "POST /myclass/api/Get_List_Partner_Document_no_filter/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:14:02] "POST /myclass/api/Get_List_Partner_Document_no_filter/ HTTP/1.1" 200 -
INFO:root:2024-08-01 16:14:15.786919 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:14:15] "POST /myclass/api/Get_List_Partner_Document_with_filter/ HTTP/1.1" 200 -
INFO:root:2024-08-01 16:14:20.520882 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:14:20.523913 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:14:20] "POST /myclass/api/Get_Given_Partner_Document/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:14:20] "POST /myclass/api/Get_List_object_owner_collection_Stored_Files/ HTTP/1.1" 200 -
INFO:root:2024-08-01 16:17:28.367593 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:17:28] "POST /myclass/api/Get_Given_Personnalisable_Fields_By_template_ref_interne/ HTTP/1.1" 200 -
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\email_mgt.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2024-08-01 16:20:01.893814 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2024-08-01 16:20:01.893814 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2024-08-01 16:20:01.893814 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2024-08-01 16:20:01.893814 : ++ FLASK PORT 5001 ++
INFO:root:2024-08-01 16:20:01.893814 : ++ LMS_BAS_URL mysy-training.com/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 877-541-979
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\email_mgt.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2024-08-01 16:24:31.453857 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2024-08-01 16:24:31.453857 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2024-08-01 16:24:31.453857 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2024-08-01 16:24:31.453857 : ++ FLASK PORT 5001 ++
INFO:root:2024-08-01 16:24:31.453857 : ++ LMS_BAS_URL mysy-training.com/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 877-541-979
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\email_mgt.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2024-08-01 16:25:16.408654 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2024-08-01 16:25:16.409655 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2024-08-01 16:25:16.409655 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2024-08-01 16:25:16.409655 : ++ FLASK PORT 5001 ++
INFO:root:2024-08-01 16:25:16.409655 : ++ LMS_BAS_URL mysy-training.com/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 877-541-979
INFO:root:2024-08-01 16:25:24.969966 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:25:24.973250 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:25:24] "POST /myclass/api/Get_Given_Partner_Document/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:25:24] "POST /myclass/api/Get_List_object_owner_collection_Stored_Files/ HTTP/1.1" 200 -
INFO:root:2024-08-01 16:33:05.642865 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:33:05.646856 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:33:05.649036 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:33:05.651605 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:33:05] "POST /myclass/api/get_Agenda_Event_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:33:05] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
INFO:root:2024-08-01 16:33:05.675248 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:33:05] "POST /myclass/api/Get_List_Ressource_Materielle_no_filter/ HTTP/1.1" 200 -
INFO:root:2024-08-01 16:33:05.678946 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:33:05] "POST /myclass/api/Get_Default_Debut_Fin_journee_Modele_Journee/ HTTP/1.1" 200 -
INFO:root:2024-08-01 16:33:05.683548 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:33:05.690368 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:33:05] "POST /myclass/api/get_Agenda_Event_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:33:05] "POST /myclass/api/Get_List_Ressource_Materielle_no_filter/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:33:05] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:33:05] "POST /myclass/api/Get_Default_Debut_Fin_journee_Modele_Journee/ HTTP/1.1" 200 -
INFO:root:2024-08-01 16:33:10.061074 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:33:10.064107 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:33:10.067680 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:33:10.073552 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:33:10.080608 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:33:10.087225 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:33:10] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
INFO:root:2024-08-01 16:33:10.095240 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:33:10.102525 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:33:10.104650 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:33:10.114217 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:33:10] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:33:10] "POST /myclass/api/Get_Partner_List_Partner_Client_with_filter_Like/ HTTP/1.1" 200 -
INFO:root:2024-08-01 16:33:10.135917 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:33:10] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
INFO:root:2024-08-01 16:33:10.146172 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:33:10] "POST /myclass/api/Get_Partner_List_Partner_Client_with_filter_Like/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:33:10] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:33:10] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:33:10] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:33:10] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:33:10] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:33:11] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:33:11] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 -
INFO:root:2024-08-01 16:33:20.016678 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 16:33:20.021857 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:33:20] "POST /myclass/api/Get_List_Partner_Document_with_filter/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 16:33:20] "POST /myclass/api/Get_List_Partner_Document_with_filter/ HTTP/1.1" 200 -
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\email_mgt.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2024-08-01 16:37:39.906324 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2024-08-01 16:37:39.906324 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2024-08-01 16:37:39.906324 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2024-08-01 16:37:39.906324 : ++ FLASK PORT 5001 ++
INFO:root:2024-08-01 16:37:39.906324 : ++ LMS_BAS_URL mysy-training.com/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 877-541-979
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\email_mgt.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2024-08-01 17:07:17.820799 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2024-08-01 17:07:17.821331 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2024-08-01 17:07:17.821331 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2024-08-01 17:07:17.821331 : ++ FLASK PORT 5001 ++
INFO:root:2024-08-01 17:07:17.821331 : ++ LMS_BAS_URL mysy-training.com/ ++
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
INFO:root:2024-08-01 17:07:26.905271 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2024-08-01 17:07:26.905806 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2024-08-01 17:07:26.905806 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2024-08-01 17:07:26.905806 : ++ FLASK PORT 5001 ++
INFO:root:2024-08-01 17:07:26.905806 : ++ LMS_BAS_URL mysy-training.com/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 877-541-979
INFO:root:2024-08-01 17:07:41.446351 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 17:07:41.449759 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 17:07:41.453332 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 17:07:41.454312 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 17:07:41.459307 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 17:07:41.463251 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:07:41] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:07:41] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
INFO:root:2024-08-01 17:07:41.476114 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:07:41] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
INFO:root:2024-08-01 17:07:41.481112 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:07:41] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:07:41] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:07:41] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
INFO:root:2024-08-01 17:07:41.674094 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 17:07:41.677838 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 17:07:41.680991 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 17:07:41.684454 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 17:07:41.688637 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 17:07:41.694103 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:07:41] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
INFO:root:2024-08-01 17:07:41.706507 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:07:41] "POST /myclass/api/Get_Partner_List_Partner_Client_with_filter_Like/ HTTP/1.1" 200 -
INFO:root:2024-08-01 17:07:41.721804 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:07:41] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 -
INFO:root:2024-08-01 17:07:41.728822 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:07:41] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
INFO:root:2024-08-01 17:07:41.746364 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:07:41] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:root:2024-08-01 17:07:41.782642 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:07:41] "POST /myclass/api/Get_Partner_List_Partner_Client_with_filter_Like/ HTTP/1.1" 200 -
INFO:root:2024-08-01 17:07:41.802906 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:07:41] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:07:41] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:07:42] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:07:42] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:07:42] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:07:42] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 -
INFO:root:2024-08-01 17:08:43.600103 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 17:08:43.604117 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:08:43] "POST /myclass/api/Get_List_Partner_Document_with_filter/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:08:43] "POST /myclass/api/Get_List_Partner_Document_with_filter/ HTTP/1.1" 200 -
INFO:root:2024-08-01 17:08:56.713752 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 17:08:57.959156 : send_invidual_email -name 'email' is not defined - Line : 3657
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:08:57] "POST /myclass/api/Prepare_and_Send_Email_From_Front/ HTTP/1.1" 200 -
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\email_mgt.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2024-08-01 17:25:51.302357 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2024-08-01 17:25:51.302357 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2024-08-01 17:25:51.302357 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2024-08-01 17:25:51.302357 : ++ FLASK PORT 5001 ++
INFO:root:2024-08-01 17:25:51.302357 : ++ LMS_BAS_URL mysy-training.com/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 877-541-979
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\email_mgt.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2024-08-01 17:26:59.649364 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2024-08-01 17:26:59.650369 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2024-08-01 17:26:59.650369 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2024-08-01 17:26:59.650369 : ++ FLASK PORT 5001 ++
INFO:root:2024-08-01 17:26:59.650369 : ++ LMS_BAS_URL mysy-training.com/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 877-541-979
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\email_mgt.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2024-08-01 17:28:55.771103 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2024-08-01 17:28:55.771621 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2024-08-01 17:28:55.771621 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2024-08-01 17:28:55.771621 : ++ FLASK PORT 5001 ++
INFO:root:2024-08-01 17:28:55.771621 : ++ LMS_BAS_URL mysy-training.com/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 877-541-979
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\email_mgt.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2024-08-01 17:29:56.946739 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2024-08-01 17:29:56.946739 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2024-08-01 17:29:56.946739 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2024-08-01 17:29:56.946739 : ++ FLASK PORT 5001 ++
INFO:root:2024-08-01 17:29:56.946739 : ++ LMS_BAS_URL mysy-training.com/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 877-541-979
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\email_mgt.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2024-08-01 17:30:47.666152 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2024-08-01 17:30:47.666152 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2024-08-01 17:30:47.666152 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2024-08-01 17:30:47.666152 : ++ FLASK PORT 5001 ++
INFO:root:2024-08-01 17:30:47.666152 : ++ LMS_BAS_URL mysy-training.com/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 877-541-979
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\email_mgt.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2024-08-01 17:53:00.974688 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2024-08-01 17:53:00.974688 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2024-08-01 17:53:00.974688 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2024-08-01 17:53:00.974688 : ++ FLASK PORT 5001 ++
INFO:root:2024-08-01 17:53:00.974688 : ++ LMS_BAS_URL mysy-training.com/ ++
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
INFO:root:2024-08-01 17:53:10.907384 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2024-08-01 17:53:10.907384 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2024-08-01 17:53:10.907384 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2024-08-01 17:53:10.907384 : ++ FLASK PORT 5001 ++
INFO:root:2024-08-01 17:53:10.907384 : ++ LMS_BAS_URL mysy-training.com/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 877-541-979
INFO:root:2024-08-01 17:53:17.559359 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 17:53:18.412336 : send_invidual_email -'retval' - Line : 3635
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:53:18] "POST /myclass/api/Prepare_and_Send_Email_From_Front/ HTTP/1.1" 200 -
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\email_mgt.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2024-08-01 17:53:53.412988 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2024-08-01 17:53:53.412988 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2024-08-01 17:53:53.414000 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2024-08-01 17:53:53.414000 : ++ FLASK PORT 5001 ++
INFO:root:2024-08-01 17:53:53.414000 : ++ LMS_BAS_URL mysy-training.com/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 877-541-979
INFO:root:2024-08-01 17:53:53.456804 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:53:55] "POST /myclass/api/Prepare_and_Send_Email_From_Front/ HTTP/1.1" 200 -
INFO:root:2024-08-01 17:55:27.551216 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 17:55:27.555432 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 17:55:27.558904 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:55:27] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
INFO:root:2024-08-01 17:55:27.562676 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 17:55:27.566657 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:55:27] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
INFO:root:2024-08-01 17:55:27.574233 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 17:55:27.577335 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:55:27] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
INFO:root:2024-08-01 17:55:27.584579 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:55:27] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:55:27] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:55:27] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
INFO:root:2024-08-01 17:55:27.784724 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 17:55:27.787782 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 17:55:27.791541 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 17:55:27.796709 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 17:55:27.801205 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:55:27] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
INFO:root:2024-08-01 17:55:27.810790 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 17:55:27.814017 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:55:27] "POST /myclass/api/Get_Partner_List_Partner_Client_with_filter_Like/ HTTP/1.1" 200 -
INFO:root:2024-08-01 17:55:27.828706 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:55:27] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 -
INFO:root:2024-08-01 17:55:27.844501 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:55:27] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
INFO:root:2024-08-01 17:55:27.860998 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:55:27] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:root:2024-08-01 17:55:27.893888 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:55:27] "POST /myclass/api/Get_Partner_List_Partner_Client_with_filter_Like/ HTTP/1.1" 200 -
INFO:root:2024-08-01 17:55:27.915636 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:55:27] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:55:27] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:55:28] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:55:28] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:55:28] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:55:29] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 -
INFO:root:2024-08-01 17:55:33.309591 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:55:33] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
INFO:root:2024-08-01 17:55:33.324616 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:55:33] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 -
INFO:root:2024-08-01 17:55:42.296847 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:55:42] "POST /myclass/api/Get_Partner_List_Partner_Client_with_filter_Like/ HTTP/1.1" 200 -
INFO:root:2024-08-01 17:55:45.821233 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 17:55:45.824561 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 17:55:45.828060 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 17:55:45.832799 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 17:55:45.838964 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 17:55:45.844377 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:55:45] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 -
INFO:root:2024-08-01 17:55:45.850824 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:55:45] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:55:45] "POST /myclass/api/Get_Given_Partner_Client_From_Id/ HTTP/1.1" 200 -
INFO:root:2024-08-01 17:55:45.860838 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:55:45] "POST /myclass/api/Get_List_Entity_Contact/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:55:45] "POST /myclass/api/Get_List_object_owner_collection_Stored_Files/ HTTP/1.1" 200 -
INFO:root:2024-08-01 17:55:45.868600 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:55:45] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 -
INFO:root:2024-08-01 17:55:45.877085 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:55:45] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:55:45] "POST /myclass/api/Get_List_object_owner_collection_Stored_Files/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:55:45] "POST /myclass/api/Get_Given_Partner_Client_From_Id/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:55:45] "POST /myclass/api/Get_List_Entity_Contact/ HTTP/1.1" 200 -
INFO:root:2024-08-01 17:56:15.340404 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 17:56:15.347388 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:56:15] "POST /myclass/api/Get_List_Partner_Document_with_filter/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:56:15] "POST /myclass/api/Get_List_Partner_Document_with_filter/ HTTP/1.1" 200 -
INFO:root:2024-08-01 17:56:22.083523 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:56:22] "POST /myclass/api/Prepare_and_Send_Email_From_Front/ HTTP/1.1" 200 -
INFO:root:2024-08-01 17:57:30.129481 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2024-08-01 17:57:30.137524 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:57:30] "POST /myclass/api/Get_List_Partner_Document_with_filter/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:57:30] "POST /myclass/api/Get_List_Partner_Document_with_filter/ HTTP/1.1" 200 -
INFO:root:2024-08-01 17:57:37.758608 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [01/Aug/2024 17:57:38] "POST /myclass/api/Prepare_and_Send_Email_From_Front/ HTTP/1.1" 200 -
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\email_mgt.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2024-08-01 17:59:30.981855 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2024-08-01 17:59:30.981855 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2024-08-01 17:59:30.981855 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2024-08-01 17:59:30.981855 : ++ FLASK PORT 5001 ++
INFO:root:2024-08-01 17:59:30.981855 : ++ LMS_BAS_URL mysy-training.com/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 877-541-979

View File

@ -2062,7 +2062,7 @@ def get_class(diction):
tmp_partenaire_data = MYSY_GV.dbname['partnair_account'].find_one(qry)
#print(" ### qry = ", qry)
if (tmp_partenaire_data is None or tmp_partenaire_data["_id"] is None):
mycommon.myprint(str(inspect.stack()[0][3]) + " - impossible de récupérer les données du partenaire (2) ")

View File

@ -6,8 +6,8 @@ from email.mime.base import MIMEBase
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
from email import encoders
import Inscription_mgt as inscription
import partner_client
import locale
import datetime
import inspect
@ -1648,13 +1648,12 @@ def EmailDemandeInfoClass( diction):
return False, " Impossible de récupérer le modèle de courrier 'CLASS_INFO_REQUEST' (2) "
sujet_doc_Template = jinja2.Template(str(courrier_template_data['sujet']))
sujetHtml = sujet_doc_Template.render(params=body_company_data["params"])
contenu_doc_Template = jinja2.Template(str(courrier_template_data['contenu_doc']))
sourceHtml = contenu_doc_Template.render(params=body_company_data["params"])
sourceHtml = contenu_doc_Template.render(params=body_company_data['params'])
html_mime = MIMEText(sourceHtml, 'html')
# Creation de l'email à enoyer
@ -2087,7 +2086,7 @@ def SendEmargementMail( diction):
tab_my_emarge_ids = str(my_emarge_ids).split(",")
for my_emarge_id in tab_my_emarge_ids :
# Recuperation des infos de l'emargement
print("my_emarge_id = " + str(my_emarge_id))
#print("my_emarge_id = " + str(my_emarge_id))
val_emarge = MYSY_GV.dbname['emargement'].find_one({'_id':ObjectId(my_emarge_id), 'partner_owner_recid':str(partner_recid)})
@ -3031,7 +3030,7 @@ def Prepare_and_Send_Email_From_Front(tab_files, Folder, diction):
field_list = ['token', 'list_email_dest', 'list_email_cc', 'list_email_bcc', 'email_corps', 'related_collection',
'email_sujet']
'email_sujet', 'include_client', 'include_tuteur', 'list_inscription_id']
incom_keys = diction.keys()
for val in incom_keys:
@ -3059,6 +3058,14 @@ def Prepare_and_Send_Email_From_Front(tab_files, Folder, diction):
if (local_status is not True):
return local_status, my_partner
list_inscription_id = str(diction['list_inscription_id']).split(",")
list_inscription_id_Objectid = []
for tmp in list_inscription_id:
if( tmp ):
list_inscription_id_Objectid.append((ObjectId(str(tmp))))
#print(" #### list_inscription_id = ", list_inscription_id)
"""
Verifier la validité "related_collection"
"""
@ -3106,6 +3113,8 @@ def Prepare_and_Send_Email_From_Front(tab_files, Folder, diction):
mycommon.myprint("Vous ne pouvez pas envoyer plus de " + str(MYSY_GV.EMAIL_MAX_BCC) + " emails en copie.")
return False, "Vous ne pouvez pas envoyer plus de " + str(MYSY_GV.EMAIL_MAX_BCC) + " emails en copie."
"""
Verifier que le format list_email_bcc est valide
"""
@ -3154,10 +3163,12 @@ def Prepare_and_Send_Email_From_Front(tab_files, Folder, diction):
is_valide_email_in_related_collection = MYSY_GV.dbname[str(related_collection)].count_documents({"email":str(email_dest),
'valide':'1',
local_partner_owner_recid:str(my_partner['recid'])
local_partner_owner_recid:str(my_partner['recid']),
'_id': {
'$in': list_inscription_id_Objectid},
})
if( is_valide_email_in_related_collection < 1 ):
if( is_valide_email_in_related_collection != 1 ):
mycommon.myprint(
str(inspect.stack()[0][
3]) + " L'adresse email '" + str(email_dest) + "' existe pas dans le système ")
@ -3166,7 +3177,9 @@ def Prepare_and_Send_Email_From_Front(tab_files, Folder, diction):
is_valide_email_in_related_collection_data = MYSY_GV.dbname[str(related_collection)].find_one(
{"email": str(email_dest),
'valide': '1',
local_partner_owner_recid: str(my_partner['recid'])
local_partner_owner_recid: str(my_partner['recid']),
'_id': {
'$in': list_inscription_id_Objectid},
}, {'_id':1})
tab_related_collection_id.append(str(is_valide_email_in_related_collection_data['_id']))
@ -3287,7 +3300,20 @@ def Prepare_and_Send_Email_From_Front(tab_files, Folder, diction):
local_diction['email_sujet'] = email_sujet
local_diction['html_mime'] = html_mime
local_diction['email'] = email
local_diction['partner_owner_recid'] = str(my_partner['recid'])
if( "include_client" in diction.keys() ):
local_diction['include_client'] = diction['include_client']
else:
local_diction['include_client'] = "0"
if ("include_tuteur" in diction.keys()):
local_diction['include_tuteur'] = diction['include_tuteur']
else:
local_diction['include_tuteur'] = "0"
#print(" ### local_diction = ", local_diction)
local_status, local_retval = send_invidual_email (local_diction)
if( local_status is False ):
return local_status, local_retval
@ -3577,6 +3603,45 @@ def send_invidual_email(diction):
email_sujet = diction['email_sujet']
html_mime = diction['html_mime']
email = diction['email']
user_id = diction['user_id']
related_collection = diction['related_collection']
include_client = diction['include_client']
include_tuteur = diction['include_tuteur']
include_client = diction['include_client']
partner_owner_recid = diction['partner_owner_recid']
# Recuperer les données tuteurs
if(related_collection == "inscription" ):
inscription_data = MYSY_GV.dbname['inscription'].find_one({'_id':ObjectId(str(user_id)),
'partner_owner_recid':str(partner_owner_recid)},
)
if( include_client == "1" and inscription_data and "client_rattachement_id" in inscription_data.keys() ):
# Recuperation des contacts de communication du client
new_diction = {}
new_diction['related_collection'] = "partner_client"
new_diction['related_collection_recid'] = inscription_data['client_rattachement_id']
new_diction['partner_recid'] = partner_owner_recid
new_diction['valide'] = "1"
new_diction['locked'] = "0"
new_diction['include_com'] = "1"
for retval in MYSY_GV.dbname['contact'].find(new_diction):
if( "email" in retval ):
tab_email_cc.append(retval['email'])
if( include_tuteur == "1"):
if( "tuteur1_include_com" in inscription_data and inscription_data['tuteur1_include_com'] == "1"):
tab_email_cc.append(inscription_data['tuteur1_email'])
if ("tuteur2_include_com" in inscription_data and inscription_data['tuteur2_include_com'] == "1"):
tab_email_cc.append(inscription_data['tuteur2_email'])
@ -3594,8 +3659,6 @@ def send_invidual_email(diction):
Envoie proprement-dit des emails
"""
# Creation de l'email à enoyer
msg = MIMEMultipart("alternative")