From f41d719e1878f9cbf22972f2a5fc1ac636c4d71e Mon Sep 17 00:00:00 2001 From: cherif Date: Sun, 27 Aug 2023 22:42:11 +0200 Subject: [PATCH] 27/08/23 - 22h --- .idea/workspace.xml | 27 +-- Inscription_mgt.py | 2 +- Log/log_file.log | 457 +++++++++++++++++++++++++++++++++++++++++ Session_Formation.py | 2 +- class_mgt.py | 5 +- prj_common.py | 4 +- ressources_humaines.py | 18 +- 7 files changed, 489 insertions(+), 26 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index c0a35aa..5635b0d 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,10 +1,13 @@ - + + - + + + @@ -427,7 +430,6 @@ - @@ -452,6 +454,7 @@ - \ No newline at end of file diff --git a/Inscription_mgt.py b/Inscription_mgt.py index a868c97..cdec982 100644 --- a/Inscription_mgt.py +++ b/Inscription_mgt.py @@ -4546,7 +4546,7 @@ def GetAttendeeDetail_perSession_from_line_id(diction): for local_Insc_retval in MYSY_GV.dbname['inscription'].aggregate(pipe_qry) : - print(" ### local_Insc_retval laa== ", local_Insc_retval) + #print(" ### local_Insc_retval laa== ", local_Insc_retval) if( local_Insc_retval is None): mycommon.myprint(str(inspect.stack()[0][3]) + " - Impossible de recuperer le recid du partenaire (2)") diff --git a/Log/log_file.log b/Log/log_file.log index 6ae5e0b..b109ce2 100644 --- a/Log/log_file.log +++ b/Log/log_file.log @@ -1782827,3 +1782827,460 @@ INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 13:33:45] "POST /myclass/api/Get_Given_ INFO:root:2023-08-27 13:34:07.978211 : Security check : IP adresse '127.0.0.1' connected INFO:root:2023-08-27 13:34:09.578373 : Update_Affectation_Ressource_Humaine_Poste Le champ 'p_affect_comment' n'est pas autorisé INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 13:34:09] "POST /myclass/api/Update_Affectation_Ressource_Humaine_Poste/ HTTP/1.1" 200 - +INFO:root:2023-08-27 20:07:18.097012 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-27 20:07:18.097012 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-27 20:07:18.098012 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-27 20:07:18.098012 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-27 20:07:18.098012 : ++ 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:2023-08-27 20:07:39.433925 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-27 20:07:39.434946 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-27 20:07:39.434946 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-27 20:07:39.434946 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-27 20:07:39.434946 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 118-789-309 +INFO:root:2023-08-27 20:07:52.937534 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:07:52.939539 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:07:52.941805 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:07:52] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:07:53] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:07:53] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2023-08-27 20:07:53.770630 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:07:53.772996 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:07:54] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2023-08-27 20:07:54.415108 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:07:54.418372 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:07:54.422587 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:07:54.426772 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:07:54.430740 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:07:54.434734 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:07:54] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:07:54] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:07:54] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-08-27 20:07:54.444449 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:07:54.446466 : La session de connexion n'est pas valide +INFO:root:2023-08-27 20:07:54.447467 : La session de connexion n'est pas valide +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:07:54] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:07:54] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-08-27 20:07:54.448463 : La session de connexion n'est pas valide +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:07:54] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-08-27 20:07:54.451102 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:07:54.453254 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:07:54] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-08-27 20:07:54.457732 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:07:54.461004 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:07:54] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-08-27 20:07:54.466681 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:07:54.466681 : La session de connexion n'est pas valide +INFO:root:2023-08-27 20:07:54.469094 : La session de connexion n'est pas valide +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:07:54] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:07:54] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-08-27 20:07:54.476104 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:07:54.477101 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:07:54.478104 : La session de connexion n'est pas valide +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:07:54] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:07:54] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:07:54] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-08-27 20:07:54.485650 : La session de connexion n'est pas valide +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:07:54] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-08-27 20:07:54.496692 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:07:54.498739 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:07:54.502809 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:07:54] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-08-27 20:07:54.503816 : La session de connexion n'est pas valide +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:07:54] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-08-27 20:07:54.508316 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:07:54.509810 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:07:54] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-08-27 20:07:54.514296 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:07:54.517496 : La session de connexion n'est pas valide +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:07:54] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:07:54] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-08-27 20:07:54.519509 : La session de connexion n'est pas valide +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:07:54] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-08-27 20:09:25.124777 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:09:25] "POST /myclass/api/partner_login/ HTTP/1.1" 200 - +INFO:root:2023-08-27 20:09:25.315135 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:09:25.318130 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:09:25.322127 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:09:25.329695 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:09:25] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:09:25] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-08-27 20:09:25.344193 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:09:25] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:09:25] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-27 20:09:25.402881 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:09:25] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-08-27 20:09:33.965049 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:09:33.969475 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:09:33.972783 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:09:33.978156 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:09:33] "POST /myclass/api/Get_List_Ressource_Humaine_with_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:09:33] "POST /myclass/api/Get_List_Profil_Ressource_Humaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:09:34] "POST /myclass/api/Get_Related_Target_Collection_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:09:34] "POST /myclass/api/Get_List_Manager_Ressource_Humaine/ HTTP/1.1" 200 - +INFO:root:2023-08-27 20:09:37.927335 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:09:37.930721 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:09:37.932631 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:09:37] "POST /myclass/api/Get_Given_Ressource_Humaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:09:37] "POST /myclass/api/getRecoded_Employee_Image_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:09:37] "POST /myclass/api/Get_List_Ressource_Humaine_Affectation/ HTTP/1.1" 200 - +INFO:root:2023-08-27 20:09:44.562857 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:09:44] "POST /myclass/api/Get_Given_Affectation_Ressource_Humaine_Poste/ HTTP/1.1" 200 - +INFO:root:2023-08-27 20:10:13.879354 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:10:14.808812 : Update_Affectation_Ressource_Humaine_Poste Le champ 'p_affect_comment' n'est pas autorisé +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:10:14] "POST /myclass/api/Update_Affectation_Ressource_Humaine_Poste/ HTTP/1.1" 200 - +INFO:root:2023-08-27 20:10:55.339369 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:10:55.342381 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:10:55.346387 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:10:55.350381 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:10:55] "POST /myclass/api/Get_List_Profil_Ressource_Humaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:10:55] "POST /myclass/api/Get_List_Ressource_Humaine_with_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:10:55] "POST /myclass/api/Get_List_Manager_Ressource_Humaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:10:55] "POST /myclass/api/Get_Related_Target_Collection_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-27 20:11:25.038478 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:11:25.073981 : CheckisDate -time data 'Mon Jun 06' does not match format '%d/%m/%Y' - ERRORRRR AT Line : 644 +INFO:root:2023-08-27 20:11:25.076975 : Update_Affectation_Ressource_Humaine_Poste La date de debut d'affectation n'est pas au format 'j'j/mm/aaaa' +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:11:25] "POST /myclass/api/Update_Affectation_Ressource_Humaine_Poste/ HTTP/1.1" 200 - +INFO:root:2023-08-27 20:17:13.965192 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:17:13.969179 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:17:13.972313 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:17:13.981824 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:17:13] "POST /myclass/api/Get_List_Ressource_Humaine_with_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:17:13] "POST /myclass/api/Get_List_Profil_Ressource_Humaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:17:13] "POST /myclass/api/Get_List_Manager_Ressource_Humaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:17:14] "POST /myclass/api/Get_Related_Target_Collection_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-27 20:19:05.598405 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:19:05.601422 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:19:05.605904 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:19:05] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-08-27 20:19:05.613954 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:19:05] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:19:05] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-27 20:19:05.734257 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:19:05.737429 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:19:05.740442 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:19:05] "POST /myclass/api/Get_List_Ressource_Humaine_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-27 20:19:05.747700 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:19:05] "POST /myclass/api/Get_List_Manager_Ressource_Humaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:19:05] "POST /myclass/api/Get_List_Profil_Ressource_Humaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:19:05] "POST /myclass/api/Get_Related_Target_Collection_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-27 20:19:12.953173 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:19:12.956846 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:19:12.958918 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:19:12] "POST /myclass/api/Get_Given_Ressource_Humaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:19:12] "POST /myclass/api/getRecoded_Employee_Image_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:19:12] "POST /myclass/api/Get_List_Ressource_Humaine_Affectation/ HTTP/1.1" 200 - +INFO:root:2023-08-27 20:19:18.824242 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:19:18] "POST /myclass/api/Get_Given_Affectation_Ressource_Humaine_Poste/ HTTP/1.1" 200 - +INFO:root:2023-08-27 20:19:47.910867 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:19:47.931729 : Update_Affectation_Ressource_Humaine_Poste Les données related_target_collection_id et related_target_collection sont incohérentes +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:19:47] "POST /myclass/api/Update_Affectation_Ressource_Humaine_Poste/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\ressources_humaines.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-27 20:22:46.101548 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-27 20:22:46.101548 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-27 20:22:46.101548 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-27 20:22:46.101548 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-27 20:22:46.101548 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 118-789-309 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\ressources_humaines.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-27 20:47:32.116716 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-27 20:47:32.116716 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-27 20:47:32.117729 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-27 20:47:32.117729 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-27 20:47:32.117729 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 118-789-309 +INFO:root:2023-08-27 20:49:55.050568 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:49:55.053567 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:49:55.058567 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:49:55.063569 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:49:55] "POST /myclass/api/Get_List_Ressource_Humaine_with_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:49:55] "POST /myclass/api/Get_List_Profil_Ressource_Humaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:49:55] "POST /myclass/api/Get_List_Manager_Ressource_Humaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:49:55] "POST /myclass/api/Get_Related_Target_Collection_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-27 20:50:18.086120 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:50:18.717200 : Update_Affectation_Ressource_Humaine_Poste - Impossible de mettre à jour cette affectation. Données incohérentes +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:50:18] "POST /myclass/api/Update_Affectation_Ressource_Humaine_Poste/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\ressources_humaines.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-27 20:52:28.883667 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-27 20:52:28.883667 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-27 20:52:28.883667 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-27 20:52:28.883667 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-27 20:52:28.883667 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 118-789-309 +INFO:root:2023-08-27 20:52:33.575120 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:52:34.084917 : Update_Affectation_Ressource_Humaine_Poste - Impossible de mettre à jour cette affectation (3) +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:52:34] "POST /myclass/api/Update_Affectation_Ressource_Humaine_Poste/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\ressources_humaines.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-27 20:53:17.310928 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-27 20:53:17.310928 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-27 20:53:17.310928 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-27 20:53:17.310928 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-27 20:53:17.310928 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 118-789-309 +INFO:root:2023-08-27 20:53:22.314150 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:53:22] "POST /myclass/api/Update_Affectation_Ressource_Humaine_Poste/ HTTP/1.1" 200 - +INFO:root:2023-08-27 20:53:22.693407 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:53:22] "POST /myclass/api/Get_List_Ressource_Humaine_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-27 20:54:34.837351 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:54:34] "POST /myclass/api/Update_Affectation_Ressource_Humaine_Poste/ HTTP/1.1" 200 - +INFO:root:2023-08-27 20:54:35.319983 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:54:35] "POST /myclass/api/Get_List_Ressource_Humaine_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-27 20:55:18.117846 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:55:18.122206 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 20:55:18.127568 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:55:18] "POST /myclass/api/Get_List_Ressource_Humaine_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-27 20:55:18.131944 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:55:18] "POST /myclass/api/Get_List_Profil_Ressource_Humaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:55:18] "POST /myclass/api/Get_List_Manager_Ressource_Humaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:55:18] "POST /myclass/api/Get_Related_Target_Collection_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-27 20:55:28.632847 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:55:28] "POST /myclass/api/Update_Affectation_Ressource_Humaine_Poste/ HTTP/1.1" 200 - +INFO:root:2023-08-27 20:55:28.926614 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 20:55:28] "POST /myclass/api/Get_List_Ressource_Humaine_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-27 21:02:22.751750 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:02:22.758107 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:02:22] "POST /myclass/api/Get_List_Ressource_Humaine_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-27 21:02:22.764627 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:02:22.768684 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:02:22] "POST /myclass/api/Get_List_Profil_Ressource_Humaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:02:22] "POST /myclass/api/Get_List_Manager_Ressource_Humaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:02:22] "POST /myclass/api/Get_Related_Target_Collection_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-27 21:03:02.741944 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:03:02.745940 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:03:02.751022 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:03:02] "POST /myclass/api/Get_List_Ressource_Humaine_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-27 21:03:02.756047 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:03:02] "POST /myclass/api/Get_List_Profil_Ressource_Humaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:03:02] "POST /myclass/api/Get_List_Manager_Ressource_Humaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:03:02] "POST /myclass/api/Get_Related_Target_Collection_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-27 21:03:23.636407 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:03:23] "POST /myclass/api/Update_Affectation_Ressource_Humaine_Poste/ HTTP/1.1" 200 - +INFO:root:2023-08-27 21:03:24.039981 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:03:24] "POST /myclass/api/Get_Given_Affectation_Ressource_Humaine_Poste/ HTTP/1.1" 200 - +INFO:root:2023-08-27 21:03:42.683579 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:03:42.689577 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:03:42] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-08-27 21:03:42.694446 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:03:42] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-27 21:03:42.700943 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:03:42] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-08-27 21:03:42.859592 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:03:42.862894 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:03:42.867724 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:03:42] "POST /myclass/api/Get_List_Ressource_Humaine_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-27 21:03:42.874553 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:03:42] "POST /myclass/api/Get_List_Profil_Ressource_Humaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:03:42] "POST /myclass/api/Get_List_Manager_Ressource_Humaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:03:42] "POST /myclass/api/Get_Related_Target_Collection_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-27 21:03:51.167542 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:03:51.171530 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:03:51.176526 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:03:51] "POST /myclass/api/Get_Given_Ressource_Humaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:03:51] "POST /myclass/api/getRecoded_Employee_Image_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:03:51] "POST /myclass/api/Get_List_Ressource_Humaine_Affectation/ HTTP/1.1" 200 - +INFO:root:2023-08-27 21:04:01.110654 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:04:01] "POST /myclass/api/Get_Given_Affectation_Ressource_Humaine_Poste/ HTTP/1.1" 200 - +INFO:root:2023-08-27 21:04:04.763250 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:04:04] "POST /myclass/api/Get_Given_Affectation_Ressource_Humaine_Poste/ HTTP/1.1" 200 - +INFO:root:2023-08-27 21:05:43.966555 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:05:43.971901 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:05:43.975927 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:05:43] "POST /myclass/api/Get_List_Ressource_Humaine_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-27 21:05:43.981562 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:05:43] "POST /myclass/api/Get_List_Profil_Ressource_Humaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:05:43] "POST /myclass/api/Get_List_Manager_Ressource_Humaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:05:44] "POST /myclass/api/Get_Related_Target_Collection_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-27 21:09:51.857972 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:09:51] "POST /myclass/api/Get_Given_Affectation_Ressource_Humaine_Poste/ HTTP/1.1" 200 - +INFO:root:2023-08-27 21:09:53.877581 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:09:53.880106 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:09:53.884213 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:09:53.887381 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:09:53] "POST /myclass/api/Get_List_Ressource_Humaine_with_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:09:53] "POST /myclass/api/Get_List_Manager_Ressource_Humaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:09:53] "POST /myclass/api/Get_List_Profil_Ressource_Humaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:09:53] "POST /myclass/api/Get_Related_Target_Collection_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-27 21:11:34.023680 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:11:34.026682 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:11:34] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-08-27 21:11:34.030678 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:11:34.036011 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:11:34] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:11:34] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-27 21:11:34.159932 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:11:34.162756 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:11:34.166814 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:11:34.170810 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:11:34] "POST /myclass/api/Get_List_Ressource_Humaine_with_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:11:34] "POST /myclass/api/Get_List_Manager_Ressource_Humaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:11:34] "POST /myclass/api/Get_List_Profil_Ressource_Humaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:11:34] "POST /myclass/api/Get_Related_Target_Collection_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-27 21:11:38.539124 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:11:38.542135 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:11:38.545512 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:11:38] "POST /myclass/api/Get_Given_Ressource_Humaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:11:38] "POST /myclass/api/getRecoded_Employee_Image_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:11:38] "POST /myclass/api/Get_List_Ressource_Humaine_Affectation/ HTTP/1.1" 200 - +INFO:root:2023-08-27 21:18:14.283455 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:18:14.286663 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:18:14.288341 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:18:14.294481 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:18:14] "POST /myclass/api/Get_List_Profil_Ressource_Humaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:18:14] "POST /myclass/api/Get_List_Ressource_Humaine_with_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:18:14] "POST /myclass/api/Get_List_Manager_Ressource_Humaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:18:14] "POST /myclass/api/Get_Related_Target_Collection_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-27 21:18:22.242806 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:18:22.246334 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:18:22] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-08-27 21:18:22.250332 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:18:22] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-27 21:18:22.262268 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:18:22] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-08-27 21:18:22.377732 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:18:22.380734 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:18:22.385733 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:18:22.388733 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:18:22] "POST /myclass/api/Get_List_Ressource_Humaine_with_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:18:22] "POST /myclass/api/Get_List_Manager_Ressource_Humaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:18:22] "POST /myclass/api/Get_List_Profil_Ressource_Humaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:18:22] "POST /myclass/api/Get_Related_Target_Collection_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-27 21:18:28.819697 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:18:28.822711 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:18:28.826714 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:18:28] "POST /myclass/api/Get_Given_Ressource_Humaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:18:28] "POST /myclass/api/getRecoded_Employee_Image_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:18:28] "POST /myclass/api/Get_List_Ressource_Humaine_Affectation/ HTTP/1.1" 200 - +INFO:root:2023-08-27 21:21:51.503761 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:21:51.508175 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:21:51.511717 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:21:51.517327 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:21:51] "POST /myclass/api/Get_List_Ressource_Humaine_with_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:21:51] "POST /myclass/api/Get_List_Profil_Ressource_Humaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:21:51] "POST /myclass/api/Get_List_Manager_Ressource_Humaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:21:51] "POST /myclass/api/Get_Related_Target_Collection_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-27 21:21:56.542733 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:21:56.547449 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:21:56.549483 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:21:56] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-08-27 21:21:56.555937 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:21:56] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:21:56] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-27 21:21:56.678083 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:21:56.681799 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:21:56.684798 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:21:56.691797 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:21:56] "POST /myclass/api/Get_List_Ressource_Humaine_with_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:21:56] "POST /myclass/api/Get_List_Profil_Ressource_Humaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:21:56] "POST /myclass/api/Get_List_Manager_Ressource_Humaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:21:56] "POST /myclass/api/Get_Related_Target_Collection_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-27 21:38:58.236963 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:38:58.240312 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:38:58.243441 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:38:58.249456 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:38:58] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:38:58] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:38:58] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:38:58] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2023-08-27 21:42:21.917441 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:42:21] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-08-27 21:42:21.926033 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:42:21.932038 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:42:21.938076 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:42:21] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:42:21] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-27 21:42:22.109275 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:42:22.113976 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:42:22.121256 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 21:42:22.127753 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:42:22] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:42:22] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:42:22] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 21:42:22] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2023-08-27 22:19:31.134488 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 22:19:31.140025 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 22:19:31.149092 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 22:19:31] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-08-27 22:19:31.163075 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 22:19:31] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 22:19:31] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-27 22:19:31.268487 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 22:19:31.274740 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 22:19:31.282244 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 22:19:31.287787 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 22:19:31] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 22:19:31] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 22:19:31] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 22:19:31] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2023-08-27 22:19:40.863853 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 22:19:40.869855 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 22:19:40.876857 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 22:19:40] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 22:19:40] "POST /myclass/api/getRecodedParnterImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-08-27 22:19:43.237077 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-27 22:19:43.243361 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 22:19:43] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 22:19:43] "POST /myclass/api/get_List_metier_formation/ HTTP/1.1" 200 - +INFO:root:2023-08-27 22:19:45.205940 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 22:19:45] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-08-27 22:19:45.285839 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 22:19:45] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +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:2023-08-27 22:21:15.249461 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-27 22:21:15.249461 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-27 22:21:15.249461 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-27 22:21:15.249461 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-27 22:21:15.250473 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 118-789-309 +INFO:root:2023-08-27 22:27:50.427331 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [27/Aug/2023 22:27:50] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\prj_common.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-27 22:37:29.632944 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-27 22:37:29.632944 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-27 22:37:29.632944 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-27 22:37:29.632944 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-27 22:37:29.632944 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 118-789-309 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\prj_common.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-27 22:37:54.649280 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-27 22:37:54.649280 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-27 22:37:54.649280 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-27 22:37:54.649280 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-27 22:37:54.649280 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 118-789-309 +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:2023-08-27 22:38:46.624434 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-27 22:38:46.624434 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-27 22:38:46.624434 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-27 22:38:46.624434 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-27 22:38:46.624434 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 118-789-309 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Session_Formation.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-27 22:39:30.132233 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-27 22:39:30.132233 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-27 22:39:30.132233 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-27 22:39:30.132233 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-27 22:39:30.132233 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 118-789-309 diff --git a/Session_Formation.py b/Session_Formation.py index d4f11dc..922545e 100644 --- a/Session_Formation.py +++ b/Session_Formation.py @@ -451,7 +451,7 @@ def GetSessionFormation(diction): } ] - print(" ##### myquery GetSessionFormation = "+str(myquery)) + #print(" ##### myquery GetSessionFormation = "+str(myquery)) RetObject = [] nb_val = 0 diff --git a/class_mgt.py b/class_mgt.py index 850e3b7..17b4c14 100644 --- a/class_mgt.py +++ b/class_mgt.py @@ -2216,12 +2216,13 @@ def get_partner_class(diction): filt_internal_url = {'internal_url': {'$regex': str(diction['internal_url']), "$options": "i"}} #print(" filt_internal_url GRRRRRRRRRRRRRRRRRRRRrr "+str(filt_internal_url)) - + """ print(" ATTTTENNTION : GESTION DU CAS OU LA PERSONNE QUI CHERCHE LE COURS EST UN UTILISATEUR : PB avec : partner_owner_recid ") print(" #### avant requete get partner_owner_recid ="+str(user_recid)+ " filt_external_code = "+str(filt_external_code)+ " filt_internal_url = " + str(filt_internal_url) + " filt_title = "+str(filt_title)) + """ val_tmp = 1 for retVal in coll_name.find( {"$and":[ {'valide':'1'},{'locked':'0'}, @@ -2407,7 +2408,7 @@ def find_partner_class_like(diction): RetObject.append(JSONEncoder().encode(user)) val_tmp = val_tmp + 1 - print(" #### return find_partner_class_like = : ", str(RetObject)) + #print(" #### return find_partner_class_like = : ", str(RetObject)) return True, RetObject diff --git a/prj_common.py b/prj_common.py index 89aa210..7f4b703 100644 --- a/prj_common.py +++ b/prj_common.py @@ -256,7 +256,7 @@ donc la table partner_token def check_partner_token_validity(email="", token=""): try : - print(" check_partner_token_validity : Token = "+token) + #print(" check_partner_token_validity : Token = "+token) coll_token = MYSY_GV.dbname['partner_token'] tmp_count = coll_token.count_documents({ 'token': str(token), 'locked':'0', 'valide': '1'}) @@ -2926,7 +2926,7 @@ def GetAttendeeDetail_perSession(diction): for local_Insc_retval in MYSY_GV.dbname['inscription'].aggregate(pipe_qry) : - print(" ### local_Insc_retval laa== ", local_Insc_retval) + #print(" ### local_Insc_retval laa== ", local_Insc_retval) if( local_Insc_retval is None): myprint(str(inspect.stack()[0][3]) + " - Impossible de recuperer le recid du partenaire (2)") diff --git a/ressources_humaines.py b/ressources_humaines.py index 68d30ff..3ff47c8 100644 --- a/ressources_humaines.py +++ b/ressources_humaines.py @@ -2060,14 +2060,15 @@ def Add_Affectation_Ressource_Humaine_Poste(diction): related_target_collection_id = "" related_target_collection = "" if ("related_target_collection_id" in diction.keys() and "related_target_collection" in diction.keys()): - if( diction['related_target_collection_id'] and diction['related_target_collection']): + if( diction['related_target_collection_id'] and diction['related_target_collection'] ): related_target_collection_id = diction['related_target_collection_id'] related_target_collection = diction['related_target_collection'] else: - mycommon.myprint( - str(inspect.stack()[0][ - 3]) + " Les données related_target_collection_id et related_target_collection sont incohérentes") - return False, "Les données related_target_collection_id et related_target_collection sont incohérentes " + if( diction['related_target_collection_id'] != "" or diction['related_target_collection'] != ""): + mycommon.myprint( + str(inspect.stack()[0][ + 3]) + " Les données related_target_collection_id et related_target_collection sont incohérentes") + return False, "Les données related_target_collection_id et related_target_collection sont incohérentes " @@ -2250,8 +2251,9 @@ def Update_Affectation_Ressource_Humaine_Poste(diction): # Verifier l'existance de l'affectation - affectation_existe_count = MYSY_GV.dbname['ressource_humaine_affectation'].count_documents( {'_id': str(diction['_id']), 'valide': "1", - "locked":"0", 'partner_owner_recid':str(partner_recid)}) + affectation_existe_count_qry = {'_id': ObjectId(str(diction['_id'])), 'valide': "1", "locked":"0", 'partner_owner_recid':str(partner_recid)} + print(" ### affectation_existe_count_qry = ", affectation_existe_count_qry) + affectation_existe_count = MYSY_GV.dbname['ressource_humaine_affectation'].count_documents( affectation_existe_count_qry) if( affectation_existe_count != 1 ): mycommon.myprint(str(inspect.stack()[0][3]) + " - Impossible de mettre à jour cette affectation. Données incohérentes ") @@ -2259,7 +2261,7 @@ def Update_Affectation_Ressource_Humaine_Poste(diction): inserted_data = MYSY_GV.dbname['ressource_humaine_affectation'].find_one_and_update( - {'_id': str(diction['_id']), 'valide': "1", "locked":"0", 'partner_owner_recid':str(partner_recid)}, + {'_id': ObjectId(str(diction['_id'])), 'valide': "1", "locked":"0", 'partner_owner_recid':str(partner_recid)}, {"$set": update_data}, return_document=ReturnDocument.AFTER, upsert=False,