diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 701dc4f..f78efea 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,90 +1,11 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -546,7 +467,6 @@ - @@ -571,6 +491,7 @@ - \ No newline at end of file diff --git a/Dashbord_queries/inscription_tdb_qries.py b/Dashbord_queries/inscription_tdb_qries.py index ab518fb..3d7cf7e 100644 --- a/Dashbord_queries/inscription_tdb_qries.py +++ b/Dashbord_queries/inscription_tdb_qries.py @@ -196,7 +196,7 @@ def Get_Qery_Inscription_By_Session_By_Periode_old(diction): }, - # -- + # --- {'$lookup': { 'from': 'apprenant', @@ -226,8 +226,6 @@ def Get_Qery_Inscription_By_Session_By_Periode_old(diction): 'as': 'apprenant_collection' } }, - - ]) """ diff --git a/Log/log_file.log b/Log/log_file.log index 3ee66f0..059523d 100644 --- a/Log/log_file.log +++ b/Log/log_file.log @@ -64975,3 +64975,634 @@ INFO:werkzeug:127.0.0.1 - - [13/May/2025 19:56:21] "POST /myclass/api/Get_Given_ INFO:werkzeug:127.0.0.1 - - [13/May/2025 19:56:21] "POST /myclass/api/Get_Given_SessionFormation_From_Id/ HTTP/1.1" 200 - INFO:root:2025-05-13 19:56:26.634942 : Security check : IP adresse '127.0.0.1' connected INFO:werkzeug:127.0.0.1 - - [13/May/2025 19:56:26] "POST /myclass/api/Get_Given_Jury_Soutenenace/ HTTP/1.1" 200 - +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2025-05-14 08:48:30.780774 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2025-05-14 08:48:30.781776 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2025-05-14 08:48:30.781776 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2025-05-14 08:48:30.781776 : ++ FLASK PORT 5001 ++ +INFO:root:2025-05-14 08:48:30.781776 : ++ LMS_BAS_URL mysy-hosting.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 +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2025-05-14 08:48:48.779103 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2025-05-14 08:48:48.779103 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2025-05-14 08:48:48.779103 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2025-05-14 08:48:48.780114 : ++ FLASK PORT 5001 ++ +INFO:root:2025-05-14 08:48:48.780114 : ++ LMS_BAS_URL mysy-hosting.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 106-697-313 +INFO:root:2025-05-14 08:50:57.680553 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 08:50:57] "POST /myclass/api/partner_login/ HTTP/1.1" 200 - +INFO:root:2025-05-14 08:50:58.075863 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 08:50:58.080179 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 08:50:58.095209 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 08:50:58.101414 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 08:50:58] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 08:50:58] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2025-05-14 08:50:58.159682 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise ŕ jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [14/May/2025 08:50:58] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2025-05-14 08:50:58.227891 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 08:50:58.236488 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 08:50:58.246014 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 08:50:58] "POST /myclass/api/Get_List_Class_domaine/ HTTP/1.1" 200 - +INFO:root:2025-05-14 08:50:58.263831 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 08:50:58.266168 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 08:50:58] "POST /myclass/api/Get_List_Class_Categorie/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 08:50:58] "POST /myclass/api/Get_List_class_metier/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 08:50:58] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 08:51:02] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 08:51:02] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2025-05-14 08:51:12.967848 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 08:51:12.973431 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 08:51:12.979312 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 08:51:12] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 08:51:13] "POST /myclass/api/Get_List_Jury/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 08:51:14] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2025-05-14 08:51:14.820803 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 08:51:14.825339 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 08:51:14.831338 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 08:51:14] "POST /myclass/api/Get_Given_Jury_With_Members/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 08:51:14] "POST /myclass/api/get_Agenda_Event_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 08:51:14] "POST /myclass/api/Get_List_Unite_Enseignement_Of_Given_Class_From_Session_Id/ HTTP/1.1" 200 - +INFO:root:2025-05-14 08:51:17.040216 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 08:51:18] "POST /myclass/api/Get_List_object_owner_collection_Stored_Files/ HTTP/1.1" 200 - +INFO:root:2025-05-14 08:51:19.181962 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 08:51:19.186141 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 08:51:19] "POST /myclass/api/Get_Given_Jury_Soutenenace/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 08:51:19] "POST /myclass/api/Get_Given_SessionFormation_From_Id/ HTTP/1.1" 200 - +INFO:root:2025-05-14 08:54:57.171838 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 08:54:57.175076 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 08:54:57.179223 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 08:54:57] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 08:54:57] "POST /myclass/api/Get_List_Jury/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 08:54:58] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2025-05-14 08:57:35.969272 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 08:57:35.973613 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 08:57:35.980610 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 08:57:35] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 08:57:36] "POST /myclass/api/Get_List_Jury/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 08:57:36] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2025-05-14 09:00:11.566692 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 09:00:11.571290 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 09:00:11.581801 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:00:11] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:00:11] "POST /myclass/api/Get_List_Jury/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:00:12] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2025-05-14 09:00:19.289506 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 09:00:19.296503 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 09:00:19.304510 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:00:19] "POST /myclass/api/get_Agenda_Event_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:00:19] "POST /myclass/api/Get_List_Unite_Enseignement_Of_Given_Class_From_Session_Id/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:00:19] "POST /myclass/api/Get_Given_Jury_With_Members/ HTTP/1.1" 200 - +INFO:root:2025-05-14 09:00:21.683139 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:00:21] "POST /myclass/api/Get_List_object_owner_collection_Stored_Files/ HTTP/1.1" 200 - +INFO:root:2025-05-14 09:00:23.262523 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 09:00:23.265566 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:00:23] "POST /myclass/api/Get_Given_Jury_Soutenenace/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:00:23] "POST /myclass/api/Get_Given_SessionFormation_From_Id/ HTTP/1.1" 200 - +INFO:root:2025-05-14 09:01:29.185385 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:01:29] "POST /myclass/api/Get_Given_Jury_Soutenenace/ HTTP/1.1" 200 - +INFO:root:2025-05-14 09:01:46.361701 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 09:01:46.366878 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 09:01:46.370711 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:01:46] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:01:46] "POST /myclass/api/Get_List_Jury/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:01:47] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2025-05-14 09:04:19.046227 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 09:04:19.050352 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 09:04:19.055390 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:04:19] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:04:19] "POST /myclass/api/Get_List_Jury/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:04:19] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2025-05-14 09:04:40.810956 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 09:04:40.817288 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 09:04:40.819297 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:04:40] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:04:40] "POST /myclass/api/Get_List_Jury/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:04:41] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2025-05-14 09:04:47.041940 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 09:04:47.046734 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 09:04:47.051737 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:04:47] "POST /myclass/api/Get_Given_Jury_With_Members/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:04:47] "POST /myclass/api/get_Agenda_Event_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:04:47] "POST /myclass/api/Get_List_Unite_Enseignement_Of_Given_Class_From_Session_Id/ HTTP/1.1" 200 - +INFO:root:2025-05-14 09:04:48.933110 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:04:48] "POST /myclass/api/Get_List_object_owner_collection_Stored_Files/ HTTP/1.1" 200 - +INFO:root:2025-05-14 09:04:50.110710 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 09:04:50.114451 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:04:50] "POST /myclass/api/Get_Given_Jury_Soutenenace/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:04:50] "POST /myclass/api/Get_Given_SessionFormation_From_Id/ HTTP/1.1" 200 - +INFO:root:2025-05-14 09:05:05.295903 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:05:05] "POST /myclass/api/Get_Given_Jury_Soutenenace/ HTTP/1.1" 200 - +INFO:root:2025-05-14 09:07:26.562751 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 09:07:26.568759 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 09:07:26.576754 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:07:26] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:07:26] "POST /myclass/api/Get_List_Jury/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:07:27] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2025-05-14 09:07:33.431400 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 09:07:33.435400 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 09:07:33.437721 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:07:33] "POST /myclass/api/get_Agenda_Event_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:07:33] "POST /myclass/api/Get_Given_Jury_With_Members/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:07:33] "POST /myclass/api/Get_List_Unite_Enseignement_Of_Given_Class_From_Session_Id/ HTTP/1.1" 200 - +INFO:root:2025-05-14 09:07:35.264205 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:07:35] "POST /myclass/api/Get_List_object_owner_collection_Stored_Files/ HTTP/1.1" 200 - +INFO:root:2025-05-14 09:07:36.655363 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 09:07:36.658654 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:07:36] "POST /myclass/api/Get_Given_Jury_Soutenenace/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:07:36] "POST /myclass/api/Get_Given_SessionFormation_From_Id/ HTTP/1.1" 200 - +INFO:root:2025-05-14 09:14:51.143884 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 09:14:51.149405 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 09:14:51.156360 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:14:51] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:14:51] "POST /myclass/api/Get_List_Jury/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:14:51] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2025-05-14 09:14:52.805490 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 09:14:52.811635 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 09:14:52.823715 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:14:52] "POST /myclass/api/get_Agenda_Event_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:14:52] "POST /myclass/api/Get_Given_Jury_With_Members/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:14:52] "POST /myclass/api/Get_List_Unite_Enseignement_Of_Given_Class_From_Session_Id/ HTTP/1.1" 200 - +INFO:root:2025-05-14 09:14:54.804305 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:14:54] "POST /myclass/api/Get_List_object_owner_collection_Stored_Files/ HTTP/1.1" 200 - +INFO:root:2025-05-14 09:14:56.265343 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 09:14:56.271444 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:14:56] "POST /myclass/api/Get_Given_Jury_Soutenenace/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:14:56] "POST /myclass/api/Get_Given_SessionFormation_From_Id/ HTTP/1.1" 200 - +INFO:root:2025-05-14 09:15:26.803514 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 09:15:26.813011 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 09:15:26.824068 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:15:26] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:15:26] "POST /myclass/api/Get_List_Jury/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:15:27] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2025-05-14 09:15:59.998424 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 09:16:00.009673 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 09:16:00.022664 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:16:00] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:16:00] "POST /myclass/api/Get_List_Jury/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:16:00] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2025-05-14 09:16:09.806799 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 09:16:09.812841 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 09:16:09.819664 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:16:09] "POST /myclass/api/Get_Given_Jury_With_Members/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:16:09] "POST /myclass/api/get_Agenda_Event_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:16:09] "POST /myclass/api/Get_List_Unite_Enseignement_Of_Given_Class_From_Session_Id/ HTTP/1.1" 200 - +INFO:root:2025-05-14 09:16:11.820035 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:16:11] "POST /myclass/api/Get_List_object_owner_collection_Stored_Files/ HTTP/1.1" 200 - +INFO:root:2025-05-14 09:16:13.210621 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 09:16:13.217383 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:16:13] "POST /myclass/api/Get_Given_SessionFormation_From_Id/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:16:13] "POST /myclass/api/Get_Given_Jury_Soutenenace/ HTTP/1.1" 200 - +INFO:root:2025-05-14 09:16:16.832603 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 09:16:16.840633 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 09:16:16.845653 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:16:16] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:16:16] "POST /myclass/api/Get_List_Jury/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:16:17] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2025-05-14 09:16:18.773361 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 09:16:18.781612 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 09:16:18.785605 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:16:18] "POST /myclass/api/get_Agenda_Event_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:16:18] "POST /myclass/api/Get_Given_Jury_With_Members/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:16:18] "POST /myclass/api/Get_List_Unite_Enseignement_Of_Given_Class_From_Session_Id/ HTTP/1.1" 200 - +INFO:root:2025-05-14 09:16:21.088057 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:16:21] "POST /myclass/api/Get_List_object_owner_collection_Stored_Files/ HTTP/1.1" 200 - +INFO:root:2025-05-14 09:16:22.755654 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 09:16:22.763979 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:16:22] "POST /myclass/api/Get_Given_Jury_Soutenenace/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:16:22] "POST /myclass/api/Get_Given_SessionFormation_From_Id/ HTTP/1.1" 200 - +INFO:root:2025-05-14 09:19:16.567917 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 09:19:16.576123 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 09:19:16.585966 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:19:16] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:19:16] "POST /myclass/api/Get_List_Jury/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:19:17] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2025-05-14 09:19:41.216083 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:19:41] "POST /myclass/api/Add_Update_Jury_Soutenance/ HTTP/1.1" 200 - +INFO:root:2025-05-14 09:21:24.774659 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 09:21:24.787270 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 09:21:24.800202 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:21:24] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:21:24] "POST /myclass/api/Get_List_Jury/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:21:25] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2025-05-14 09:22:02.326807 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 09:22:02.335526 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:22:02] "POST /myclass/api/Get_Given_Jury_Soutenenace/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 09:22:02] "POST /myclass/api/Get_Given_SessionFormation_From_Id/ HTTP/1.1" 200 - +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2025-05-14 10:13:52.786395 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2025-05-14 10:13:52.786395 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2025-05-14 10:13:52.787552 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2025-05-14 10:13:52.787552 : ++ FLASK PORT 5001 ++ +INFO:root:2025-05-14 10:13:52.787552 : ++ LMS_BAS_URL mysy-hosting.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 +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2025-05-14 10:14:03.093787 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2025-05-14 10:14:03.093787 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2025-05-14 10:14:03.093787 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2025-05-14 10:14:03.093787 : ++ FLASK PORT 5001 ++ +INFO:root:2025-05-14 10:14:03.093787 : ++ LMS_BAS_URL mysy-hosting.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 106-697-313 +INFO:root:2025-05-14 10:33:45.657628 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:33:45] "POST /myclass/api/partner_login/ HTTP/1.1" 200 - +INFO:root:2025-05-14 10:33:45.765179 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:33:45.768172 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:33:45.773455 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:33:45.776476 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:33:45] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2025-05-14 10:33:45.794881 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise ŕ jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:33:45] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:33:45] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2025-05-14 10:33:45.843497 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:33:45.845917 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:33:45.851189 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:33:45.855534 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:33:45] "POST /myclass/api/Get_List_Class_domaine/ HTTP/1.1" 200 - +INFO:root:2025-05-14 10:33:45.864097 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:33:45] "POST /myclass/api/Get_List_class_metier/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:33:45] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:33:45] "POST /myclass/api/Get_List_Class_Categorie/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:33:48] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:33:48] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2025-05-14 10:33:50.202931 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:33:50.205927 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:33:50.208945 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:33:50] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:33:50] "POST /myclass/api/Get_List_Jury/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:33:50] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2025-05-14 10:33:52.451067 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:33:52.455056 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:33:52.459059 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:33:52] "POST /myclass/api/get_Agenda_Event_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:33:52] "POST /myclass/api/Get_Given_Jury_With_Members/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:33:52] "POST /myclass/api/Get_List_Unite_Enseignement_Of_Given_Class_From_Session_Id/ HTTP/1.1" 200 - +INFO:root:2025-05-14 10:33:55.027565 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:33:55] "POST /myclass/api/Get_List_object_owner_collection_Stored_Files/ HTTP/1.1" 200 - +INFO:root:2025-05-14 10:33:57.338145 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:33:57.340824 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:33:57] "POST /myclass/api/Get_Given_Jury_Soutenenace/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:33:57] "POST /myclass/api/Get_Given_SessionFormation_From_Id/ HTTP/1.1" 200 - +INFO:root:2025-05-14 10:34:10.839239 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:34:10.841313 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:34:10] "POST /myclass/api/Get_Insription_From_Session_id_Reduice_Fields_With_Filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:34:10] "POST /myclass/api/Get_Given_Jury_Apprenant_With_Filter/ HTTP/1.1" 200 - +INFO:root:2025-05-14 10:34:28.379089 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:34:28.382608 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:34:28] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2025-05-14 10:34:28.389336 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:34:28] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2025-05-14 10:34:28.408998 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise ŕ jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:34:28] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2025-05-14 10:34:28.480795 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:34:28.483798 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:34:28.487799 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:34:28] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:34:28] "POST /myclass/api/Get_List_Jury/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:34:29] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2025-05-14 10:34:46.448206 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:34:46.451213 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:34:46.454203 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:34:46.458235 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:34:46] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:root:2025-05-14 10:34:46.465050 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:34:46] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:34:46] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2025-05-14 10:34:46.471586 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:34:46.475056 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:34:46] "POST /myclass/api/Get_Partner_List_Partner_Client_with_filter_Like/ HTTP/1.1" 200 - +INFO:root:2025-05-14 10:34:46.482045 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:34:46.488023 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:34:46] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:root:2025-05-14 10:34:46.493025 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:34:46] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:root:2025-05-14 10:34:46.498391 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:34:46] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2025-05-14 10:34:46.509575 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:34:46] "POST /myclass/api/Get_List_Site_Formation_with_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:34:46] "POST /myclass/api/Get_List_Ressource_Materielle_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:34:46] "POST /myclass/api/Get_List_Partner_Or_Default_session_step/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:34:47] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:34:49] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2025-05-14 10:34:52.541887 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:34:52.545138 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:34:52.549141 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:34:52.553640 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:34:52.559720 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:34:52.565943 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:34:52.576469 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:34:52] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:34:52] "POST /myclass/api/Get_Partner_All_Class_Few_Fields/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:34:52] "POST /myclass/api/Get_Partner_Session_Ftion_Reduice_Fields/ HTTP/1.1" 200 - +INFO:root:2025-05-14 10:34:52.594134 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:34:52] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:34:52] "POST /myclass/api/Get_List_Ressource_Materielle_no_filter/ HTTP/1.1" 200 - +INFO:root:2025-05-14 10:34:52.603289 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:34:52] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:34:52] "POST /myclass/api/Get_List_Partner_Apprenant/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:34:52] "POST /myclass/api/Get_List_Unite_Enseignement_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:34:53] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2025-05-14 10:34:56.550160 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:34:56] "POST /myclass/api/Get_Apprenant_Recorded_Image_from_front/ HTTP/1.1" 200 - +INFO:root:2025-05-14 10:34:57.781829 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:34:57.784310 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:34:57.788838 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:34:57.792049 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:34:57.798047 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:34:57] "POST /myclass/api/Get_Given_Apprenant_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:34:57] "POST /myclass/api/Get_Apprenant_Recorded_Image_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:34:57] "POST /myclass/api/Get_List_object_owner_collection_Stored_Files/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:34:57] "POST /myclass/api/Get_List_Suivi_Pedagogique_No_Filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:34:57] "POST /myclass/api/Get_Apprenant_List_Inscription/ HTTP/1.1" 200 - +INFO:root:2025-05-14 10:35:01.171917 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:35:01] "POST /myclass/api/Get_List_Suivi_Pedagogique_No_Filter/ HTTP/1.1" 200 - +INFO:root:2025-05-14 10:35:17.424574 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:35:17.428199 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:35:17.431199 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:35:17.436202 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:35:17.440205 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:35:17.445375 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:35:17] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:35:17] "POST /myclass/api/Get_Partner_List_Partner_Client_with_filter_Like/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:35:17] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:35:18] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:35:18] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:root:2025-05-14 10:35:20.378749 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:35:20.381841 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:35:20.385358 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:35:20.391390 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:35:20] "POST /myclass/api/Get_List_Unite_Enseignement_Of_Given_Class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:35:20] "POST /myclass/api/Get_List_Class_Evaluation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:35:20] "POST /myclass/api/Get_Inscrit_List_EU_Type_Evaluation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:35:20] "POST /myclass/api/Get_Inscrit_List_EU/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:35:20] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2025-05-14 10:35:22.097734 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:35:22.103385 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:35:22.107387 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:35:22] "POST /myclass/api/Get_Partner_List_Partner_Client_with_filter_Like/ HTTP/1.1" 200 - +INFO:root:2025-05-14 10:35:22.112140 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:35:22.113905 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:35:22.118919 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:35:22] "POST /myclass/api/getRecodedStagiaireImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:35:22] "POST /myclass/api/GetAttendeeDetail_perSession/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:35:22] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:35:22] "POST /myclass/api/Get_List_object_owner_collection_Stored_Files/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:35:22] "POST /myclass/api/Get_List_Participant_Notes/ HTTP/1.1" 200 - +INFO:root:2025-05-14 10:35:26.200665 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:35:26.203654 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:35:26] "POST /myclass/api/Get_Inscrit_List_EU_Type_Evaluation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:35:26] "POST /myclass/api/Get_Inscrit_List_EU/ HTTP/1.1" 200 - +INFO:root:2025-05-14 10:36:00.510949 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:36:00.513952 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:36:00.518437 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:36:00.520435 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:36:00.526582 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:36:00.534979 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:36:00.537394 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:36:00] "POST /myclass/api/Get_List_Type_Evaluation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:36:00] "POST /myclass/api/Get_Partner_Session_Ftion_Reduice_Fields/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:36:00] "POST /myclass/api/Get_Partner_All_Class_Few_Fields/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:36:00] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2025-05-14 10:36:00.562868 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:36:00] "POST /myclass/api/Get_List_Ressource_Materielle_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:36:00] "POST /myclass/api/Get_List_Evaluation_Planification_No_Filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:36:00] "POST /myclass/api/Get_List_Unite_Enseignement_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:36:00] "POST /myclass/api/Get_List_Partner_Document_with_filter/ HTTP/1.1" 200 - +INFO:root:2025-05-14 10:36:03.103722 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:36:03.106893 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:36:03.111400 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:36:03] "POST /myclass/api/Get_Given_Evaluation_Planification/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:36:03] "POST /myclass/api/Get_List_Unite_Enseignement_Of_Given_Class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:36:03] "POST /myclass/api/Get_List_Participant_To_Evaluation/ HTTP/1.1" 200 - +INFO:root:2025-05-14 10:36:06.422005 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:36:06] "POST /myclass/api/Get_List_Participant_To_Evaluation/ HTTP/1.1" 200 - +INFO:root:2025-05-14 10:36:16.478934 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2025-05-14 10:36:16.480924 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:36:16] "POST /myclass/api/Get_Inscrit_List_EU_Type_Evaluation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [14/May/2025 10:36:16] "POST /myclass/api/Get_Inscrit_List_EU/ HTTP/1.1" 200 - +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2025-05-14 15:28:11.979323 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2025-05-14 15:28:11.980326 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2025-05-14 15:28:11.980326 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2025-05-14 15:28:11.981325 : ++ FLASK PORT 5001 ++ +INFO:root:2025-05-14 15:28:11.981325 : ++ LMS_BAS_URL mysy-hosting.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 +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2025-05-14 15:28:33.262536 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2025-05-14 15:28:33.263588 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2025-05-14 15:28:33.263588 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2025-05-14 15:28:33.263588 : ++ FLASK PORT 5001 ++ +INFO:root:2025-05-14 15:28:33.263588 : ++ LMS_BAS_URL mysy-hosting.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 106-697-313 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\note_evaluation_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2025-05-14 15:30:45.370197 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2025-05-14 15:30:45.370197 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2025-05-14 15:30:45.370197 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2025-05-14 15:30:45.370197 : ++ FLASK PORT 5001 ++ +INFO:root:2025-05-14 15:30:45.370197 : ++ LMS_BAS_URL mysy-hosting.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 106-697-313 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\note_evaluation_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2025-05-14 15:32:46.765727 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2025-05-14 15:32:46.766874 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2025-05-14 15:32:46.766874 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2025-05-14 15:32:46.766874 : ++ FLASK PORT 5001 ++ +INFO:root:2025-05-14 15:32:46.766874 : ++ LMS_BAS_URL mysy-hosting.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 106-697-313 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\note_evaluation_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2025-05-14 15:33:30.587309 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2025-05-14 15:33:30.587309 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2025-05-14 15:33:30.587309 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2025-05-14 15:33:30.587309 : ++ FLASK PORT 5001 ++ +INFO:root:2025-05-14 15:33:30.587309 : ++ LMS_BAS_URL mysy-hosting.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 106-697-313 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\note_evaluation_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2025-05-14 15:36:10.707012 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2025-05-14 15:36:10.708012 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2025-05-14 15:36:10.708012 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2025-05-14 15:36:10.708012 : ++ FLASK PORT 5001 ++ +INFO:root:2025-05-14 15:36:10.708012 : ++ LMS_BAS_URL mysy-hosting.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 106-697-313 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\note_evaluation_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2025-05-14 15:39:15.176654 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2025-05-14 15:39:15.177692 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2025-05-14 15:39:15.177692 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2025-05-14 15:39:15.177692 : ++ FLASK PORT 5001 ++ +INFO:root:2025-05-14 15:39:15.177692 : ++ LMS_BAS_URL mysy-hosting.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 106-697-313 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\note_evaluation_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2025-05-14 15:39:50.774859 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2025-05-14 15:39:50.775861 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2025-05-14 15:39:50.775861 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2025-05-14 15:39:50.775861 : ++ FLASK PORT 5001 ++ +INFO:root:2025-05-14 15:39:50.775861 : ++ LMS_BAS_URL mysy-hosting.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 106-697-313 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\note_evaluation_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2025-05-14 15:41:01.884641 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2025-05-14 15:41:01.884641 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2025-05-14 15:41:01.884641 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2025-05-14 15:41:01.884641 : ++ FLASK PORT 5001 ++ +INFO:root:2025-05-14 15:41:01.884641 : ++ LMS_BAS_URL mysy-hosting.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 106-697-313 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\note_evaluation_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2025-05-14 15:41:23.581823 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2025-05-14 15:41:23.581823 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2025-05-14 15:41:23.581823 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2025-05-14 15:41:23.581823 : ++ FLASK PORT 5001 ++ +INFO:root:2025-05-14 15:41:23.581823 : ++ LMS_BAS_URL mysy-hosting.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 106-697-313 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\note_evaluation_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2025-05-14 15:45:11.345375 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2025-05-14 15:45:11.345375 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2025-05-14 15:45:11.345375 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2025-05-14 15:45:11.345375 : ++ FLASK PORT 5001 ++ +INFO:root:2025-05-14 15:45:11.345375 : ++ LMS_BAS_URL mysy-hosting.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 106-697-313 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\note_evaluation_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2025-05-14 15:46:56.672669 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2025-05-14 15:46:56.673671 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2025-05-14 15:46:56.673671 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2025-05-14 15:46:56.673671 : ++ FLASK PORT 5001 ++ +INFO:root:2025-05-14 15:46:56.673671 : ++ LMS_BAS_URL mysy-hosting.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 106-697-313 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Dashbord_queries\\inscription_tdb_qries.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2025-05-14 15:50:00.790444 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2025-05-14 15:50:00.790444 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2025-05-14 15:50:00.790444 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2025-05-14 15:50:00.790444 : ++ FLASK PORT 5001 ++ +INFO:root:2025-05-14 15:50:00.790444 : ++ LMS_BAS_URL mysy-hosting.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 106-697-313 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Dashbord_queries\\inscription_tdb_qries.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2025-05-14 15:50:32.848829 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2025-05-14 15:50:32.849832 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2025-05-14 15:50:32.849832 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2025-05-14 15:50:32.849832 : ++ FLASK PORT 5001 ++ +INFO:root:2025-05-14 15:50:32.849832 : ++ LMS_BAS_URL mysy-hosting.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 106-697-313 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\note_evaluation_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2025-05-14 16:15:56.688266 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2025-05-14 16:15:56.688266 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2025-05-14 16:15:56.688266 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2025-05-14 16:15:56.688266 : ++ FLASK PORT 5001 ++ +INFO:root:2025-05-14 16:15:56.688266 : ++ LMS_BAS_URL mysy-hosting.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 106-697-313 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\note_evaluation_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2025-05-14 21:12:26.032410 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2025-05-14 21:12:26.033874 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2025-05-14 21:12:26.033874 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2025-05-14 21:12:26.033874 : ++ FLASK PORT 5001 ++ +INFO:root:2025-05-14 21:12:26.033874 : ++ LMS_BAS_URL mysy-hosting.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 106-697-313 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\note_evaluation_mgt.py', reloading +INFO:werkzeug: * Restarting with stat diff --git a/note_evaluation_mgt.py b/note_evaluation_mgt.py index 94c7b44..d701d7b 100644 --- a/note_evaluation_mgt.py +++ b/note_evaluation_mgt.py @@ -2800,3 +2800,331 @@ def Export_To_Excel_List_Participant_To_Evaluation(diction): mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - Line : " + str(exc_tb.tb_lineno)) return False, " Impossible de gĂ©nĂ©rer l'export " + + +""" +Recuperer toutes les notes d'une list d'apprenant (APPRENANT, PAS INSCRIT) +avec des filtres possible sur les session et les ue +filtre : +- session (list) +- ue (list) +- appreant (list) + +Algorithme : +1 - recuperer toutes les 'inscription_id' appartenant a un 'apprenant_id' ==> tab_inscription +2 - recuperer les 'evaluation_id' concernĂ©e par la list_ue_id + +""" + +def Get_List_Apprenant_Notes_With_Filter(diction): + try: + diction = mycommon.strip_dictionary(diction) + + """ + Verification des input acceptĂ©s + """ + field_list = ['token', 'list_session_id', 'list_ue_id', 'list_apprenant_id' ] + + incom_keys = diction.keys() + for val in incom_keys: + if val not in field_list and val.startswith('my_') is False: + mycommon.myprint(str( + inspect.stack()[0][3]) + " Le champ '" + val + "' n'est pas autorisĂ©") + return False, " Les informations fournies sont incorrectes" + + """ + Verification des champs obligatoires + """ + field_list_obligatoire = ['token', 'list_session_id', 'list_ue_id', 'list_apprenant_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 la liste des arguments ") + return False, " Les informations fournies sont incorrectes" + + """ + Verification de l'identitĂ© et autorisation de l'entitĂ© qui + appelle cette API + """ + token = "" + if ("token" in diction.keys()): + if diction['token']: + token = diction['token'] + + local_status, my_partner = mycommon.Check_Connexion_And_Return_Partner_Data(diction) + if (local_status is not True): + return local_status, my_partner + + ### Les sessions de formation + my_session_ids = "" + if ("list_session_id" in diction.keys()): + if diction['list_session_id']: + my_session_ids = diction['list_session_id'] + + tab_my_session_ids = str(my_session_ids).split(",") + tab_my_session_ids_ObjectId = [] + for tmp in tab_my_session_ids: + tab_my_session_ids_ObjectId.append(ObjectId(str(tmp))) + + filt_session_ids = {} + if(len(tab_my_session_ids) > 0 ): + filt_session_ids = {'session_id':{'$in':tab_my_session_ids}} + + + ### Les ue + my_ue_ids = "" + if ("list_ue_id" in diction.keys()): + if diction['list_ue_id']: + my_ue_ids = diction['list_ue_id'] + + tab_my_ue_ids = str(my_ue_ids).split(",") + tab_my_ue_ids_ObjectId = [] + for tmp in tab_my_ue_ids: + tab_my_ue_ids_ObjectId.append(ObjectId(str(tmp))) + + filt_ue_ids = {} + if (len(tab_my_ue_ids) > 0): + filt_ue_ids = {'ue_id': {'$in': tab_my_ue_ids}} + + + + ### Les apprenants + my_apprenant_ids = "" + if ("list_apprenant_id" in diction.keys()): + if diction['list_apprenant_id']: + my_apprenant_ids = diction['list_apprenant_id'] + + tab_my_apprenant_ids = str(my_apprenant_ids).split(",") + tab_my_apprenant_ids_ObjectId = [] + for tmp in tab_my_apprenant_ids: + tab_my_apprenant_ids_ObjectId.append(ObjectId(str(tmp))) + + filt_apprenant_ids = {} + if (len(tab_my_apprenant_ids) > 0): + filt_apprenant_ids = {'apprenant_id': {'$in': tab_my_apprenant_ids}} + + """ + 1 - Recuperer les inscription_id + """ + filt_concerned_tab_inscription_id = {} + concerned_tab_inscription_id = [] + for val in MYSY_GV.dbname['inscription'].find({'apprenant_id':{'$in': tab_my_apprenant_ids } , + 'valide':'1', + 'locked':'0', + 'partner_owner_recid':str(my_partner['recid'])}): + concerned_tab_inscription_id.append((str(val['_id']))) + + if(len(concerned_tab_inscription_id) > 0 ): + filt_concerned_tab_inscription_id = {"inscription_id": {"$in": concerned_tab_inscription_id}} + + """ + 2 - Recuperer les evaluation_id + """ + filt_concerned_tab_evaluation_id = {} + concerned_tab_evaluation_id = [] + for val in MYSY_GV.dbname['note_evaluation'].find({'class_eu_id': {'$in': tab_my_ue_ids}, + 'valide': '1', + 'locked': '0', + 'partner_owner_recid': str(my_partner['recid'])}): + concerned_tab_evaluation_id.append((str(val['_id']))) + + if (len(concerned_tab_evaluation_id) > 0): + filt_concerned_tab_evaluation_id = {"evaluation_id": {"$in": concerned_tab_inscription_id}} + + qery_match = {'$and': [{"partner_owner_recid": str(my_partner['recid'])}, + {"valide": '1'}, + {"locked": '0'}, + filt_concerned_tab_inscription_id, + filt_concerned_tab_evaluation_id + + ]} + + pipe_qry = ([ + {'$match': qery_match}, + {'$lookup': { + 'from': 'note_evaluation', + "let": {'evaluation_id': "$evaluation_id", 'partner_owner_recid': '$partner_owner_recid'}, + 'pipeline': [ + {'$match': + {'$expr': + {'$and': + [ + + {'$eq': ["$_id", {'$convert': { + 'input': "$$evaluation_id", + 'to': "objectId", + 'onError': {'error': 'true'}, + 'onNull': {'isnull': 'true'} + }}]}, + + {'$eq': ["$valide", "1"]}, + {'$eq': ["$partner_owner_recid", '$$partner_owner_recid']}, + + ] + } + } + }, + {'$project': {'_id': 1, 'code': 1, 'titre': 1, 'class_id': 1, 'class_eu_id': 1, + 'type_eval_id': 1, 'session_id': 1, 'partner_owner_recid': 1}} + + ], + 'as': 'note_evaluation_collection' + }} + ]) + + print(" ### Get_List_Apprenant_Notes_With_Filter ici pipe_qry = ", pipe_qry) + cpt = 0 + tab_lines_inscription_data = [] + for retval in MYSY_GV.dbname['note_evaluation_participant'].aggregate(pipe_qry): + cpt = cpt + 1 + print(" ### retval = ", retval) + + """ + Verification de la validitĂ© de la liste des inscription + """ + + + #print("tab_my_session_ids = ", tab_my_session_ids) + + + for my_inscription_id in tab_my_inscription_ids: + # Verifier qui la formation n'a pas deja Ă©tĂ© evaluĂ©e + + + + tmp_count = MYSY_GV.dbname['inscription'].count_documents({'session_id': {'$in': tab_my_session_ids, }, + '_id': ObjectId(str(my_inscription_id)), + 'partner_owner_recid': str(my_partner['recid']), + } ) + + if (tmp_count != 1): + mycommon.myprint(str(inspect.stack()[0][3]) + " L'inscription "+str(my_inscription_id)+" est invalide ") + return False, " L'inscription "+str(my_inscription_id)+" est invalide " + + """ + Verification de la validitĂ© de la liste des sessions + """ + for my_session_ids in tab_my_session_ids: + # Verifier qui la formation n'a pas deja Ă©tĂ© evaluĂ©e + tmp_count = MYSY_GV.dbname['session_formation'].count_documents({'_id': ObjectId(str(my_session_ids)), + 'partner_owner_recid': str(my_partner['recid']), + 'valide':'1' + } ) + + if (tmp_count != 1): + mycommon.myprint(str(inspect.stack()[0][3]) + " La session "+str(my_session_ids)+" est invalide ") + return False, " L'inscription "+str(my_session_ids)+" est invalide " + + + RetObject = [] + nb_val = 0 + + query = [{'$match': {'inscription_id': {'$in':tab_my_inscription_ids}, 'partner_owner_recid': str(my_partner['recid']), + }}, + {'$sort': {'_id': -1}}, + {'$lookup': + { + 'from': 'note_evaluation', + "let": {'evaluation_id': "$evaluation_id", 'partner_owner_recid': '$partner_owner_recid'}, + 'pipeline': [{'$match': + {'$expr': {'$and': [ + {'$eq': ["$valide", "1"]}, + {'$eq': ["$_id", {'$convert': { + 'input': "$$evaluation_id", + 'to': "objectId", + 'onError': {'error': 'true'}, + 'onNull': {'isnull': 'true'} + }}]}, + + ]}}}, + ], 'as': 'note_evaluation_collection'} + } + + ] + #print("#### Get_List_Participant_Notes laa 01 : query = ", query) + for retval in MYSY_GV.dbname['note_evaluation_participant'].aggregate(query): + if( "note_evaluation_collection" in retval.keys() ): + user = {} + nom_apprenant = "" + prenom_apprenant = "" + email_apprenant = "" + groupe = "" + if( "inscription_id" in retval and retval['inscription_id']): + # Recuprer les donnĂ©es de l'inscrit + inscription_data = MYSY_GV.dbname['inscription'].find_one({'_id':ObjectId(str(retval['inscription_id']))}, + {'_id':1, 'apprenant_id':1}) + + apprenant_data = MYSY_GV.dbname['apprenant'].find_one({'_id':ObjectId(str(inscription_data['apprenant_id']))}, + {'_id':1, 'nom':1, 'prenom':1, 'email':1}) + + + nom_apprenant = apprenant_data['nom'] + prenom_apprenant = apprenant_data['prenom'] + email_apprenant = apprenant_data['email'] + + user['_id'] = str(retval['_id']) + user['evaluation_id'] = str(retval['evaluation_id']) + user['inscription_id'] = str(retval['inscription_id']) + user['note'] = str(retval['note']) + + user['note_evaluation_id'] = str(retval['note_evaluation_collection'][0]['_id']) + user['note_evaluation_code'] = str(retval['note_evaluation_collection'][0]['code']) + + user['note_evaluation_titre'] = str(retval['note_evaluation_collection'][0]['titre']) + user['session_id'] = str(retval['note_evaluation_collection'][0]['session_id']) + user['class_eu_id'] = str(retval['note_evaluation_collection'][0]['class_eu_id']) + + class_ue_code = "" + class_ue_titre = "" + ue_data = MYSY_GV.dbname['unite_enseignement'].find_one({'_id':ObjectId(str(user['class_eu_id'])), + 'valide':'1', + 'locked':'0', + 'partner_owner_recid':str(my_partner['recid'])}) + if( "code" in ue_data.keys() ): + class_ue_code = str(ue_data['code']) + if ("titre" in ue_data.keys()): + class_ue_titre = str(ue_data['titre']) + + user['class_ue_code'] = class_ue_code + user['class_ue_titre'] = class_ue_titre + + + user['type_eval_id'] = str(retval['note_evaluation_collection'][0]['type_eval_id']) + type_eval_data = MYSY_GV.dbname['type_eval_id'].find_one({'_id':ObjectId(str(user['type_eval_id'])), + 'valide':'1', + 'locked':'0', + 'partner_owner_recid':str(my_partner['recid'])}) + if( type_eval_data and 'code' in type_eval_data.keys() ): + user['type_eval_code'] = type_eval_data['code'] + else: + user['type_eval_code'] = "" + + + + + user['eval_date_heure_debut'] = str(retval['note_evaluation_collection'][0]['eval_date_heure_debut']) + user['eval_date_heure_fin'] = str(retval['note_evaluation_collection'][0]['eval_date_heure_fin']) + + + + + + user['nom'] = nom_apprenant + user['prenom'] = prenom_apprenant + user['email'] = email_apprenant + user['id'] = str(nb_val) + if( "note" not in retval.keys() ): + user['note'] = "-1" + + nb_val = nb_val + 1 + + RetObject.append(mycommon.JSONEncoder().encode(user)) + + return True, RetObject + + except Exception as e: + exc_type, exc_obj, exc_tb = sys.exc_info() + mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - ERRORRRR AT Line : " + str(exc_tb.tb_lineno)) + return False, "Impossible de rĂ©cupĂ©rer les notes de l'apprenant" +