From 31d4ddb31282714668b75801638fd7838174a59b Mon Sep 17 00:00:00 2001 From: cherif Date: Tue, 6 Feb 2024 20:12:01 +0100 Subject: [PATCH] 06/02/2024 -20h --- .idea/workspace.xml | 28 +- Log/log_file.log | 953 ++++++++++++++++++++++++++++++++++++++++++++ crm_opportunite.py | 437 ++++++++++++++++++++ main.py | 73 ++++ module_editique.py | 126 +++++- partners.py | 54 ++- 6 files changed, 1648 insertions(+), 23 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 22b671a..5fc6596 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,13 +1,13 @@ - - + - + - + + @@ -435,7 +435,6 @@ - @@ -460,6 +459,7 @@ - \ No newline at end of file diff --git a/Log/log_file.log b/Log/log_file.log index 700025d..613fe4c 100644 --- a/Log/log_file.log +++ b/Log/log_file.log @@ -2081675,3 +2081675,956 @@ INFO:root:2024-02-05 23:37:17.051229 : Security check : IP adresse '127.0.0.1' INFO:werkzeug:127.0.0.1 - - [05/Feb/2024 23:37:17] "POST /myclass/api/Get_CRM_List_Opportunite_Etape/ HTTP/1.1" 200 - INFO:root:2024-02-05 23:40:22.045051 : Security check : IP adresse '127.0.0.1' connected INFO:werkzeug:127.0.0.1 - - [05/Feb/2024 23:40:22] "POST /myclass/api/Get_CRM_List_Opportunite_Etape/ HTTP/1.1" 200 - +INFO:root:2024-02-06 09:42:59.152601 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-02-06 09:42:59.152601 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-02-06 09:42:59.152601 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-02-06 09:42:59.152601 : ++ FLASK PORT 5001 ++ +INFO:root:2024-02-06 09:42:59.152601 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://localhost:5001 +INFO:werkzeug:Press CTRL+C to quit +INFO:werkzeug: * Restarting with stat +INFO:root:2024-02-06 09:43:08.950438 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-02-06 09:43:08.951462 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-02-06 09:43:08.951462 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-02-06 09:43:08.951462 : ++ FLASK PORT 5001 ++ +INFO:root:2024-02-06 09:43:08.951462 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partners.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-02-06 09:52:16.149834 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-02-06 09:52:16.149834 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-02-06 09:52:16.149834 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-02-06 09:52:16.149834 : ++ FLASK PORT 5001 ++ +INFO:root:2024-02-06 09:52:16.149834 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partners.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-02-06 10:08:03.824173 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-02-06 10:08:03.824173 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-02-06 10:08:03.824173 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-02-06 10:08:03.824173 : ++ FLASK PORT 5001 ++ +INFO:root:2024-02-06 10:08:03.824173 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://localhost:5001 +INFO:werkzeug:Press CTRL+C to quit +INFO:werkzeug: * Restarting with stat +INFO:root:2024-02-06 10:08:12.889274 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-02-06 10:08:12.889274 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-02-06 10:08:12.889274 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-02-06 10:08:12.889274 : ++ FLASK PORT 5001 ++ +INFO:root:2024-02-06 10:08:12.889274 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partners.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-02-06 10:11:11.294890 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-02-06 10:11:11.294890 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-02-06 10:11:11.294890 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-02-06 10:11:11.295891 : ++ FLASK PORT 5001 ++ +INFO:root:2024-02-06 10:11:11.295891 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partners.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-02-06 10:11:36.392186 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-02-06 10:11:36.392186 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-02-06 10:11:36.392186 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-02-06 10:11:36.392186 : ++ FLASK PORT 5001 ++ +INFO:root:2024-02-06 10:11:36.392186 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-02-06 10:11:36.470671 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:11:36.472845 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:11:36.473842 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:11:36.477988 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:11:36.479986 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:11:36] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:11:36] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:11:36] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:11:36] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:11:37.208883 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:11:37.210174 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:11:37.211189 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:11:37.214412 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:11:37.219403 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:11:37] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:11:37] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:11:37] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:11:37.227545 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:11:37] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:11:37] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:11:37] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:11:37.541572 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:11:37.543077 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:11:37.544333 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:11:37.549043 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:11:37] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:11:37.553061 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:11:37] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:11:37] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:11:37.559938 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:11:37] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:11:37] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:11:37] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:11:37.867496 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:11:37.870612 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:11:37] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:11:37.876166 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:11:37] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:11:37.881225 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:11:37.884981 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:11:37] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:11:37] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:11:37.888993 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:11:37] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:11:37] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:11:38.193470 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:11:38.195468 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:11:38.199116 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:11:38] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:11:38] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:11:38] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:11:38.205231 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:11:38.208854 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:11:38] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:11:38.211874 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:11:38] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:11:38] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:11:38.520638 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:11:38.521719 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:11:38.522236 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:11:38.525247 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:11:38] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:11:38.527513 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:11:38] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:11:38] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:11:38] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:11:38.536192 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:11:38] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:11:38] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partners.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-02-06 10:12:40.025422 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-02-06 10:12:40.026424 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-02-06 10:12:40.026424 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-02-06 10:12:40.026424 : ++ FLASK PORT 5001 ++ +INFO:root:2024-02-06 10:12:40.026424 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partners.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-02-06 10:13:33.821453 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-02-06 10:13:33.821453 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-02-06 10:13:33.821453 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-02-06 10:13:33.821453 : ++ FLASK PORT 5001 ++ +INFO:root:2024-02-06 10:13:33.821453 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partners.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-02-06 10:14:58.728917 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-02-06 10:14:58.728917 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-02-06 10:14:58.729912 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-02-06 10:14:58.729912 : ++ FLASK PORT 5001 ++ +INFO:root:2024-02-06 10:14:58.729912 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\module_editique.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-02-06 10:21:39.484131 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-02-06 10:21:39.484131 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-02-06 10:21:39.484131 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-02-06 10:21:39.484131 : ++ FLASK PORT 5001 ++ +INFO:root:2024-02-06 10:21:39.484131 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://localhost:5001 +INFO:werkzeug:Press CTRL+C to quit +INFO:werkzeug: * Restarting with stat +INFO:root:2024-02-06 10:21:48.760659 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-02-06 10:21:48.760659 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-02-06 10:21:48.760659 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-02-06 10:21:48.760659 : ++ FLASK PORT 5001 ++ +INFO:root:2024-02-06 10:21:48.760659 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\module_editique.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-02-06 10:22:17.702925 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-02-06 10:22:17.702925 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-02-06 10:22:17.702925 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-02-06 10:22:17.703967 : ++ FLASK PORT 5001 ++ +INFO:root:2024-02-06 10:22:17.703967 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-02-06 10:23:57.571817 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-02-06 10:23:57.571817 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-02-06 10:23:57.571817 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-02-06 10:23:57.571817 : ++ FLASK PORT 5001 ++ +INFO:root:2024-02-06 10:23:57.571817 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://localhost:5001 +INFO:werkzeug:Press CTRL+C to quit +INFO:werkzeug: * Restarting with stat +INFO:root:2024-02-06 10:24:07.184440 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-02-06 10:24:07.184958 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-02-06 10:24:07.184958 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-02-06 10:24:07.184958 : ++ FLASK PORT 5001 ++ +INFO:root:2024-02-06 10:24:07.184958 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-02-06 10:24:07.228475 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:24:07] "GET /myclass/api/Account_Migration_to_delete HTTP/1.1" 308 - +INFO:root:2024-02-06 10:24:07.238004 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:24:07.251414 : La session de connexion n'est pas valide +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:24:07] "GET /myclass/api/Account_Migration_to_delete/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partners.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-02-06 10:27:30.373866 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-02-06 10:27:30.373866 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-02-06 10:27:30.373866 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-02-06 10:27:30.374968 : ++ FLASK PORT 5001 ++ +INFO:root:2024-02-06 10:27:30.374968 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\module_editique.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-02-06 10:28:09.154437 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-02-06 10:28:09.154437 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-02-06 10:28:09.154437 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-02-06 10:28:09.155443 : ++ FLASK PORT 5001 ++ +INFO:root:2024-02-06 10:28:09.155443 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-02-06 10:28:31.038626 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:28:31] "GET /myclass/api/Account_Migration_to_delete HTTP/1.1" 308 - +INFO:root:2024-02-06 10:28:31.044661 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:28:31] "GET /myclass/api/Account_Migration_to_delete/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\module_editique.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-02-06 10:29:54.931899 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-02-06 10:29:54.931899 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-02-06 10:29:54.931899 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-02-06 10:29:54.931899 : ++ FLASK PORT 5001 ++ +INFO:root:2024-02-06 10:29:54.931899 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-02-06 10:29:57.581878 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:29:57] "GET /myclass/api/Account_Migration_to_delete HTTP/1.1" 308 - +INFO:root:2024-02-06 10:29:57.587177 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:29:58.335687 : Account_Migration_to_delete point de configuration technique tva ==> OK +INFO:root:2024-02-06 10:29:58.338690 : Account_Migration_to_delete point de configuration technique smtp_server ==> OK +INFO:root:2024-02-06 10:29:58.342688 : Account_Migration_to_delete point de configuration technique smtp_user ==> OK +INFO:root:2024-02-06 10:29:58.345691 : Account_Migration_to_delete point de configuration technique smtp_user_pwd ==> OK +INFO:root:2024-02-06 10:29:58.349496 : Account_Migration_to_delete point de configuration technique smtp_count_from_name ==> OK +INFO:root:2024-02-06 10:29:58.352533 : Account_Migration_to_delete point de configuration technique partner_jour_heure ==> OK +INFO:root:2024-02-06 10:29:58.355533 : Account_Migration_to_delete point de configuration technique partner_devise ==> OK +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:29:58] "GET /myclass/api/Account_Migration_to_delete/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:30:33.066322 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:30:33.067485 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:30:33.070503 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:33] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:33] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:33] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:30:33.765440 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:30:33.767440 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:33] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:30:34.284028 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:30:34.287026 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:34] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:30:34.291410 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:34] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:30:34.297857 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:34] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:30:34.302279 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:34] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:30:34.306544 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:30:34.310106 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:34] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:34] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:30:34.320256 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:34] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:30:34.322701 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:30:34.326719 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:34] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:30:34.333295 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:34] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:34] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:30:34.337963 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:30:34.343158 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:34] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:30:34.348761 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:34] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:30:34.351730 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:34] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:30:34.358678 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:34] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:34] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:34] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:30:34.366965 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:30:34.369117 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:30:34.374302 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:34] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:34] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:30:34.380685 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:34] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:30:34.384169 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:30:34.388168 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:34] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:34] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:30:34.391476 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:34] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:30:34.397178 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:30:34.399366 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:34] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:34] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:34] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:30:34.405835 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:30:34.409012 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:34] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:34] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:30:34.414209 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:30:34.416648 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:34] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:30:34.420667 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:34] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:34] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:30:44.630595 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:44] "POST /myclass/api/partner_login/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:30:44.777618 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:30:44.779851 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:30:44.784641 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:30:44.788708 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:30:44.797313 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:44] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:44] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:44] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:44] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:30:44.874466 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:30:44.876861 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:44] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:44] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:30:50.956147 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:30:50.959599 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:50] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:30:50] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:31:16.977210 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:31:16] "POST /myclass/api/Add_Update_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:31:17.878787 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:31:17] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:32:18.242815 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:32:18.246292 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:32:18.250741 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:32:18.255285 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:32:18.259031 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:32:18] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:32:18.267034 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:32:18] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:32:18.272979 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:32:18.282760 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:32:18] "POST /myclass/api/Get_List_Ressource_Materielle_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:32:18.289114 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:32:18] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:32:18] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:32:18] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:32:18] "POST /myclass/api/Get_List_Partner_Or_Default_session_step/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:32:18] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:32:18] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:32:22.375850 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:32:22.378685 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:32:22.381842 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:32:22.388043 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:32:22.394797 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:32:22] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:32:22] "POST /myclass/api/Get_Session_Sequence_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:32:22] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:32:22] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:32:22] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:32:35.523259 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:32:35.527039 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:32:35] "POST /myclass/api/Get_Given_SessionFormation_From_Id/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:32:35] "POST /myclass/api/Get_Editable_Document_By_Partner_By_Collection/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:32:47.862577 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:32:47.907977 : CreateTableauEmargement_From_Sequence - INFO : 25 Documents supprimés de la collection : emargement : session = 65bb581ff822f7e275bf4b7d +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:32:47] "POST /myclass/api/CreateTableauEmargement_From_Sequence/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:32:50.350757 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:32:50] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:32:54.396465 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:32:54.399487 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:32:54] "POST /myclass/api/Get_Given_SessionFormation_From_Id/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:32:54] "POST /myclass/api/Get_Editable_Document_By_Partner_By_Collection/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:33:05.542799 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:33:05.544980 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:33:05] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:33:09] "POST /myclass/api/EmargementMail/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:33:10.386497 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:33:10] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:33:14.865992 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:33:14.869430 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:33:14] "POST /myclass/api/Get_Given_SessionFormation_From_Id/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:33:14] "POST /myclass/api/Get_Editable_Document_By_Partner_By_Collection/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:45:26.118335 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:45:26.120335 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:45:26.122338 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:26] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:26] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:26] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:45:26.721614 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:45:26.723614 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:26] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:45:27.361912 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:45:27.365372 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:27] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:45:27.369601 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:45:27.375052 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:45:27.380507 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:45:27.387951 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:27] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:27] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:45:27.394486 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:45:27.403084 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:27] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:27] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:45:27.411448 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:27] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:45:27.420179 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:45:27.427769 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:45:27.433315 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:27] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:27] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:27] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:27] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:45:27.448211 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:45:27.453807 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:27] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:45:27.460653 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:27] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:45:27.467162 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:27] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:45:27.472409 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:27] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:45:27.478827 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:27] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:45:27.482204 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:27] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:45:27.489491 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:27] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:27] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:45:27.497520 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:45:27.499899 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:45:27.508149 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:27] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:45:27.518386 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:27] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:45:27.532888 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:45:27.538889 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:27] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:27] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:27] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:27] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:45:27.551637 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:27] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:45:27.557934 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:45:27.563028 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:45:27.564019 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:27] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:27] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:27] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:27] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:27] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:45:27.903792 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:45:27.908291 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:45:27.910293 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:27] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:45:27.917277 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:27] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:45:27.950715 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:27] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:27] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:45:28.020183 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:45:28.026528 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:28] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:28] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:45:33.375564 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:33] "POST /myclass/api/Get_Personnalisable_Collection/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:45:33.379047 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:33] "POST /myclass/api/Get_List_Partner_Document_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-02-06 10:45:38.859546 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 10:45:38.862148 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:38] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 10:45:38] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 14:52:22.971268 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-02-06 14:52:22.971268 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-02-06 14:52:22.972265 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-02-06 14:52:22.972265 : ++ FLASK PORT 5001 ++ +INFO:root:2024-02-06 14:52:22.972265 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://localhost:5001 +INFO:werkzeug:Press CTRL+C to quit +INFO:werkzeug: * Restarting with stat +INFO:root:2024-02-06 14:52:34.371424 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-02-06 14:52:34.371424 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-02-06 14:52:34.372428 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-02-06 14:52:34.372428 : ++ FLASK PORT 5001 ++ +INFO:root:2024-02-06 14:52:34.372428 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-02-06 14:52:45.728735 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 14:52:45] "POST /myclass/api/partner_login/ HTTP/1.1" 200 - +INFO:root:2024-02-06 14:52:46.120901 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 14:52:46.123186 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 14:52:46.127448 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 14:52:46.133509 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 14:52:46] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-02-06 14:52:46.354122 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 14:52:46.362528 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 14:52:46] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-02-06 14:52:46.375549 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 14:52:46] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 14:52:46] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 14:52:46] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 14:52:46] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2024-02-06 14:52:58.497416 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 14:52:58] "POST /myclass/api/Get_Collection_Eligible_Champ_Specific/ HTTP/1.1" 200 - +INFO:root:2024-02-06 14:52:58.500742 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 14:52:58] "POST /myclass/api/get_list_specific_field_partner_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-02-06 14:53:22.790442 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 14:53:22.792971 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 14:53:22] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 14:53:22] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 14:54:55.591268 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 14:54:55.598418 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 14:54:55] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-02-06 14:54:55.604483 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 14:54:55.614660 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 14:54:55] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 14:54:55] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-02-06 14:54:55.812981 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 14:54:55.818985 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 14:54:55] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 14:54:55] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 14:55:08.095717 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 14:55:08.100727 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 14:55:08] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-02-06 14:55:08.108669 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 14:55:08.117063 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 14:55:08] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 14:55:08] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-02-06 14:55:08.349209 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 14:55:08.357230 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 14:55:08] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 14:55:08] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:00:54.251095 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:00:54.254553 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:00:54] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:00:54.258657 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:00:54.265684 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:00:54] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:00:54] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:00:54.387742 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:00:54.390797 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:00:54] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:00:54] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:02:04.715001 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:02:04.719002 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:02:04] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:02:04] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:02:43.298770 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:02:43] "POST /myclass/api/Add_Update_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:02:44.188470 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:02:44] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:03:18.867804 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:03:18.873229 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:03:18] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:03:18.879418 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:03:18.889890 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:03:18] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:03:18] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:03:19.151435 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:03:19.155437 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:03:19] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:03:19] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:04:33.727378 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:04:33.730721 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:04:33] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:04:33] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:08:30.467728 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:08:30.471736 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:08:30.476741 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:08:30] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:08:30.490745 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:08:30] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:08:30] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:08:30.599656 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:08:30.603666 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:08:30] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:08:30] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:10:14.849858 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:10:14] "POST /myclass/api/Add_Update_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:10:16.005231 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:10:16] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:12:41.447803 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:12:41] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:12:41.458815 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:12:41.462809 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:12:41.471331 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:12:41] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:12:41] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:12:41.754292 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:12:41.758516 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:12:41] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:12:41] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:12:56.306193 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:12:56.309186 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:12:56] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:12:56.316233 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:12:56.322988 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:12:56] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:12:56] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:12:56.455326 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:12:56.458349 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:12:56] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:12:56] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:13:21.307065 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:13:21] "POST /myclass/api/Add_Update_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:13:22.530581 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:13:22] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:14:26.025354 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:14:26.036355 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:14:26] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:14:26.045731 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:14:26.055881 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:14:26] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:14:26] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:14:26.316997 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:14:26.324003 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:14:26] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:14:26] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:14:44.021972 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:14:44] "POST /myclass/api/Add_Update_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:14:45.456258 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:14:45] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:16:07.941494 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:16:07.948799 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:16:07.955220 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:16:07] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:16:07.963770 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:16:07] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:16:07] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:16:08.270441 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:16:08.275440 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:16:08] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:16:08] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:16:18.623255 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:16:18.628346 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:16:18.632314 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:16:18] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:16:18.643206 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:16:18] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:16:18] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:16:18.811373 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:16:18.816731 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:16:18] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:16:18] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:16:39.283701 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:16:39] "POST /myclass/api/Add_Update_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:16:40.499749 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:16:40] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:18:38.659377 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:18:38.666980 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:18:38] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:18:38.674805 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:18:38.684035 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:18:38] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:18:38] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:18:38.892174 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:18:38.898177 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:18:38] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:18:38] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:19:08.942127 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:19:08.951360 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:19:08.968529 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:19:09] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:19:09.155706 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:19:09.172376 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:19:09.223594 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:19:09] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:19:09] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:19:09] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:19:09] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:19:27.520186 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:19:27] "POST /myclass/api/Add_Update_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:19:28.776006 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:19:28] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:20:11.736439 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:20:11.743436 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:20:11.749450 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:20:11] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:20:11.759969 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:20:11] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:20:11] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:20:11.959519 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:20:11.965505 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:20:11] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:20:11] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:20:29.695507 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:20:29.702177 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:20:29.708184 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:20:29] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:20:29.719558 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:20:29] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:20:29] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:20:29.918702 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:20:29.928231 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:20:29] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:20:29] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:20:57.317915 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:20:57] "POST /myclass/api/Add_Update_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:20:58.392936 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:20:58] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:21:47.200950 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:21:47.207943 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:21:47] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:21:47] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:21:54.415811 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:21:54.424043 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:21:54.429052 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:21:54] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:21:54.441595 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:21:54] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:21:54] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:21:54.612897 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 15:21:54.620757 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:21:54] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:21:54] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:22:09.507085 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:22:09] "POST /myclass/api/Add_Update_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-02-06 15:22:10.785496 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 15:22:10] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\module_editique.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-02-06 15:29:35.840756 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-02-06 15:29:35.840756 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-02-06 15:29:35.841268 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-02-06 15:29:35.841268 : ++ FLASK PORT 5001 ++ +INFO:root:2024-02-06 15:29:35.841268 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-02-06 16:13:23.666949 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 16:13:23.667945 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 16:13:23.669368 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 16:13:23] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 16:13:23] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 16:13:23] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2024-02-06 16:13:24.354325 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 16:13:24.356320 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 16:13:24] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2024-02-06 16:13:24.981591 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 16:13:24.985705 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 16:13:24.987976 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 16:13:24] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2024-02-06 16:13:24.992180 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 16:13:24.998397 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 16:13:25] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2024-02-06 16:13:25.004005 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 16:13:25.011941 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 16:13:25] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 16:13:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 16:13:25.020218 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 16:13:25] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2024-02-06 16:13:25.027443 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 16:13:25] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 16:13:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 16:13:25.043734 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 16:13:25.046819 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 16:13:25.051757 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 16:13:25] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 16:13:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 16:13:25.061506 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 16:13:25.069203 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 16:13:25] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 16:13:25.075794 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 16:13:25] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 16:13:25] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 16:13:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 16:13:25.085673 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 16:13:25.090373 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 16:13:25.097662 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 16:13:25] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2024-02-06 16:13:25.101921 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 16:13:25] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 16:13:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 16:13:25.115766 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 16:13:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 16:13:25] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2024-02-06 16:13:25.125031 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 16:13:25.127498 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 16:13:25] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 16:13:25.134968 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 16:13:25] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2024-02-06 16:13:25.143508 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 16:13:25.151061 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 16:13:25.156079 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 16:13:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 16:13:25] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 16:13:25] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 16:13:25.169231 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-02-06 16:13:25.173727 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 16:13:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 16:13:25] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 16:13:25.181253 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 16:13:25] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 16:13:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 16:13:25.187979 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 16:13:25] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 16:13:25] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 16:13:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 16:14:04.865260 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 16:14:04] "POST /myclass/api/Get_CRM_List_Opportunite_Etape/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\crm_opportunite.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-02-06 16:24:39.313676 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-02-06 16:24:39.313676 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-02-06 16:24:39.313676 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-02-06 16:24:39.313676 : ++ FLASK PORT 5001 ++ +INFO:root:2024-02-06 16:24:39.313676 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\crm_opportunite.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-02-06 16:30:49.430227 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-02-06 16:30:49.430227 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-02-06 16:30:49.430227 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-02-06 16:30:49.430227 : ++ FLASK PORT 5001 ++ +INFO:root:2024-02-06 16:30:49.430227 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\crm_opportunite.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-02-06 16:31:02.245149 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-02-06 16:31:02.245149 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-02-06 16:31:02.245149 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-02-06 16:31:02.245149 : ++ FLASK PORT 5001 ++ +INFO:root:2024-02-06 16:31:02.245149 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\crm_opportunite.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-02-06 16:31:38.246990 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-02-06 16:31:38.246990 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-02-06 16:31:38.248008 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-02-06 16:31:38.248008 : ++ FLASK PORT 5001 ++ +INFO:root:2024-02-06 16:31:38.248008 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\crm_opportunite.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-02-06 16:31:51.607759 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-02-06 16:31:51.607759 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-02-06 16:31:51.607759 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-02-06 16:31:51.607759 : ++ FLASK PORT 5001 ++ +INFO:root:2024-02-06 16:31:51.607759 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\crm_opportunite.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-02-06 16:32:07.688067 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-02-06 16:32:07.689068 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-02-06 16:32:07.689068 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-02-06 16:32:07.689068 : ++ FLASK PORT 5001 ++ +INFO:root:2024-02-06 16:32:07.689068 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\crm_opportunite.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-02-06 16:32:28.575631 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-02-06 16:32:28.575631 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-02-06 16:32:28.575631 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-02-06 16:32:28.575631 : ++ FLASK PORT 5001 ++ +INFO:root:2024-02-06 16:32:28.575631 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\crm_opportunite.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-02-06 16:33:03.690356 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-02-06 16:33:03.690356 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-02-06 16:33:03.691355 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-02-06 16:33:03.691355 : ++ FLASK PORT 5001 ++ +INFO:root:2024-02-06 16:33:03.691355 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\crm_opportunite.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-02-06 16:33:19.093100 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-02-06 16:33:19.093100 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-02-06 16:33:19.093100 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-02-06 16:33:19.093100 : ++ FLASK PORT 5001 ++ +INFO:root:2024-02-06 16:33:19.093100 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\crm_opportunite.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-02-06 16:33:28.823341 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-02-06 16:33:28.823341 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-02-06 16:33:28.823341 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-02-06 16:33:28.823341 : ++ FLASK PORT 5001 ++ +INFO:root:2024-02-06 16:33:28.823341 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\crm_opportunite.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-02-06 16:33:40.510871 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-02-06 16:33:40.511875 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-02-06 16:33:40.511875 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-02-06 16:33:40.511875 : ++ FLASK PORT 5001 ++ +INFO:root:2024-02-06 16:33:40.511875 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\crm_opportunite.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-02-06 16:34:28.035995 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-02-06 16:34:28.035995 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-02-06 16:34:28.035995 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-02-06 16:34:28.035995 : ++ FLASK PORT 5001 ++ +INFO:root:2024-02-06 16:34:28.035995 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\crm_opportunite.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-02-06 16:36:22.943004 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-02-06 16:36:22.944032 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-02-06 16:36:22.944032 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-02-06 16:36:22.944032 : ++ FLASK PORT 5001 ++ +INFO:root:2024-02-06 16:36:22.944032 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-02-06 19:03:45.758557 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-02-06 19:03:45.760714 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-02-06 19:03:45.760714 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-02-06 19:03:45.760714 : ++ FLASK PORT 5001 ++ +INFO:root:2024-02-06 19:03:45.760714 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://localhost:5001 +INFO:werkzeug:Press CTRL+C to quit +INFO:werkzeug: * Restarting with stat +INFO:root:2024-02-06 19:03:56.931767 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-02-06 19:03:56.932780 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-02-06 19:03:56.932780 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-02-06 19:03:56.932780 : ++ FLASK PORT 5001 ++ +INFO:root:2024-02-06 19:03:56.932780 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-02-06 20:09:24.355449 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 20:09:24] "POST /myclass/api/Get_Partner_Group_Purchase_Price_List/ HTTP/1.1" 200 - +INFO:root:2024-02-06 20:10:23.804951 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 20:10:23] "GET /myclass/api/Get_List_CRM_Opportunite_with_filter HTTP/1.1" 308 - +INFO:root:2024-02-06 20:10:23.815142 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 20:10:23] "GET /myclass/api/Get_List_CRM_Opportunite_with_filter/ HTTP/1.1" 200 - +INFO:root:2024-02-06 20:11:20.036376 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 20:11:20] "GET /myclass/api/Get_List_CRM_Opportunite_with_filter HTTP/1.1" 308 - +INFO:root:2024-02-06 20:11:20.047373 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [06/Feb/2024 20:11:20] "GET /myclass/api/Get_List_CRM_Opportunite_with_filter/ HTTP/1.1" 200 - diff --git a/crm_opportunite.py b/crm_opportunite.py index e20ad52..0abbf32 100644 --- a/crm_opportunite.py +++ b/crm_opportunite.py @@ -1,6 +1,28 @@ """ Ce fichier permet de gerer les opportunités CRM +Une opportunité est definie par : +partner_client_id (pas obligatoire) +contact : + civilite + Nom + email + telephone +titre +description +target_revenu +probailite +statut +priorite +commentaire +vendeur +date_fermeture + +regle : +Si le client est connu, on remplie le contact avec les données venant du client. +On ne modifie pas les champs contact. + +Si le partner_client_id est vide, alors l'utilisateur peut remplir les champs contact. """ import bson import pymongo @@ -34,6 +56,421 @@ from email.mime.base import MIMEBase from email import encoders + +""" +Ajout d'une opportunite +""" + +""" +Fonction d'ajout d'une étape (configuration) d'opportunité +""" +def Add_CRM_Opportunite(diction): + try: + diction = mycommon.strip_dictionary(diction) + + """ + Verification des input acceptés + """ + field_list = ['token', 'partner_client_id', 'contact_civilite', 'contact_nom', 'contact_email', 'contact_telephone', + 'titre', 'description', 'revenu_cible', 'probabilite_gain', 'statut', 'priorite', 'commentaire', + 'vendeur_id', 'date_fermeture'] + + 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', 'contact_civilite', 'contact_nom', 'contact_email', 'contact_telephone', + 'titre', ] + + for val in field_list_obligatoire: + if val not in diction: + mycommon.myprint( + str(inspect.stack()[0][3]) + " - La valeur '" + val + "' n'est pas presente dans liste ") + return False, " Les informations fournies 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 + + mydata = {} + + mydata = diction + del mydata['token'] + + # Initialisation des champs non envoyés à vide + for val in field_list: + if val not in diction.keys(): + mydata[str(val)] = "" + + partner_client_id = "" + if( "partner_client_id" in diction['partner_client_id'] and diction['partner_client_id']): + partner_client_id = diction['partner_client_id'] + + # Verifier la valididé du client id + is_client_id_valide = MYSY_GV.dbname["partner_client"].count_documents({'_id':ObjectId(str(partner_client_id)), + 'valide':'1', + 'locked':'0', + 'partner_recid':str(my_partner['recid'])}) + + if( is_client_id_valide != 1): + mycommon.myprint( + str(inspect.stack()[0][3]) + " L'identifiant du client_id est invalide ") + return False, " L'identifiant du client_id est invalide " + + + # Verifier la validié de l'adress contact_email + if (mycommon.isEmailValide(str(diction['contact_email'])) is False ): + mycommon.myprint(str(inspect.stack()[0][3]) + " L'adresse email " + str(diction['contact_email']) + " n'est pas valide") + return False, " L'adresse email " + str(diction['contact_email']) + " n'est pas valide " + + + # Verifier la valide du vendeur_id + if( "vendeur_id" in diction.keys() and diction['vendeur_id']): + is_vendeur_id_valide = MYSY_GV.dbname['ressource_humaine'].count_documents({'_id':ObjectId(str(diction['vendeur_id'])), + 'partner_recid':str(my_partner['recid']), + 'valide':'1', + 'locked':'0'}) + + if( is_vendeur_id_valide != 1 ): + mycommon.myprint( + str(inspect.stack()[0][3]) + " L'identifiant du vendeur_id est invalide ") + return False, " L'identifiant du vendeur_id est invalide " + + mydata['date_update'] = str(datetime.now()) + mydata['update_by'] = str(my_partner['_id']) + mydata['partner_owner_recid'] = str(my_partner['recid']) + mydata['valide'] = "1" + mydata['locked'] = "0" + + print(" #### mydata , ", mydata) + + inserted_id = MYSY_GV.dbname['crm_opportunite'].insert_one(mydata).inserted_id + + if (not inserted_id): + mycommon.myprint(" Impossible de créer l'opportunité (2) ") + return False, " Impossible de créer l'opportunité (2) " + + return True, " L'opportunité a été correctement ajoutée " + + + except Exception as e: + exc_type, exc_obj, exc_tb = sys.exc_info() + mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - Line : " + str(exc_tb.tb_lineno)) + return False, " Impossible de créer l'étape " + + + +""" +Fonction de mise à jour d'une opportunité +""" +def Update_CRM_Opportunite(diction): + try: + diction = mycommon.strip_dictionary(diction) + + """ + Verification des input acceptés + """ + field_list = ['token', 'partner_client_id', 'contact_civilite', 'contact_nom', 'contact_email', 'contact_telephone', + 'titre', 'description', 'revenu_cible', 'probabilite_gain', 'statut', 'priorite', 'commentaire', + 'vendeur_id', 'date_fermeture', 'opport_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', 'contact_civilite', 'contact_nom', 'contact_email', 'contact_telephone', + 'titre', 'opport_id'] + + for val in field_list_obligatoire: + if val not in diction: + mycommon.myprint( + str(inspect.stack()[0][3]) + " - La valeur '" + val + "' n'est pas presente dans liste ") + return False, " Les informations fournies 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'] + + opport_id = "" + if ("opport_id" in diction.keys()): + if diction['opport_id']: + opport_id = diction['opport_id'] + + local_status, my_partner = mycommon.Check_Connexion_And_Return_Partner_Data(diction) + if (local_status is not True): + return local_status, my_partner + + + # Verifier que l'opportunité existe et est valide + is_valide_opport = MYSY_GV.dbname['crm_opportunite'].count_documents({'_id':ObjectId(str(opport_id)), + 'valide':'1', + 'locked':'0', + 'partner_owner_recid':str(my_partner['recid'])}) + + + if( is_valide_opport != 1): + mycommon.myprint( + str(inspect.stack()[0][3]) + " L'identifiant de l'opportunité est invalide ") + return False, " L'identifiant de l'opportunité client_id est invalide " + + + mydata = {} + mydata = diction + del mydata['token'] + del mydata['opport_id'] + + partner_client_id = "" + if( "partner_client_id" in diction['partner_client_id'] and diction['partner_client_id']): + partner_client_id = diction['partner_client_id'] + + # Verifier la valididé du client id + is_client_id_valide = MYSY_GV.dbname["partner_client"].count_documents({'_id':ObjectId(str(partner_client_id)), + 'valide':'1', + 'locked':'0', + 'partner_recid':str(my_partner['recid'])}) + + if( is_client_id_valide != 1): + mycommon.myprint( + str(inspect.stack()[0][3]) + " L'identifiant du client_id est invalide ") + return False, " L'identifiant du client_id est invalide " + + + # Verifier la validié de l'adress contact_email + if (mycommon.isEmailValide(str(diction['contact_email'])) is False ): + mycommon.myprint(str(inspect.stack()[0][3]) + " L'adresse email " + str(diction['contact_email']) + " n'est pas valide") + return False, " L'adresse email " + str(diction['contact_email']) + " n'est pas valide " + + + # Verifier la valide du vendeur_id + if( "vendeur_id" in diction.keys() and diction['vendeur_id']): + is_vendeur_id_valide = MYSY_GV.dbname['ressource_humaine'].count_documents({'_id':ObjectId(str(diction['vendeur_id'])), + 'partner_recid':str(my_partner['recid']), + 'valide':'1', + 'locked':'0'}) + + if( is_vendeur_id_valide != 1 ): + mycommon.myprint( + str(inspect.stack()[0][3]) + " L'identifiant du vendeur_id est invalide ") + return False, " L'identifiant du vendeur_id est invalide " + + mydata['date_update'] = str(datetime.now()) + mydata['update_by'] = str(my_partner['_id']) + + result = MYSY_GV.dbname['crm_opportunite'].find_one_and_update( + {'_id':ObjectId(str(opport_id)), + 'partner_owner_recid':str(my_partner['recid'])}, + {"$set": mydata}, + upsert=False, + return_document=ReturnDocument.AFTER + ) + if ("_id" not in result.keys()): + mycommon.myprint( + " Impossible de mettre à jour l'opportunité (2) ") + return False, " Impossible de mettre à jour l'opportunité (2) " + + + + return True, " L'opportunité a été correctement mise à jour " + + + except Exception as e: + exc_type, exc_obj, exc_tb = sys.exc_info() + mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - Line : " + str(exc_tb.tb_lineno)) + return False, " Impossible de mettre à jour l'opportunité " + + +""" +Recuperer la liste des opportunités d'un partenaire +""" +def Get_List_CRM_Opportunite_with_filter(diction): + try: + diction = mycommon.strip_dictionary(diction) + + """ + Verification des input acceptés + """ + field_list = ['token', 'vendeur_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',] + + for val in field_list_obligatoire: + if val not in diction: + mycommon.myprint( + str(inspect.stack()[0][3]) + " - La valeur '" + val + "' n'est pas presente dans liste ") + return False, " Les informations fournies 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 + + filt_vendeur_id = {} + if ("vendeur_id" in diction.keys()): + filt_vendeur_id = {'vendeur_id': str(diction['vendeur_id'])} + + + RetObject = [] + val_tmp = 0 + + qry = {"partner_owner_recid":str(my_partner['recid']), 'valide':'1', 'locked':'0'} + query_with_filter = {'$and': [qry, filt_vendeur_id ]} + + for New_retVal in MYSY_GV.dbname['crm_opportunite'].find(query_with_filter): + user = New_retVal + user['id'] = str(val_tmp) + val_tmp = val_tmp + 1 + + vendeur_nom = "" + vendeur_prenom = "" + if( "vendeur_id" in New_retVal.keys() and New_retVal['vendeur_id']): + Employee_data = MYSY_GV.dbname['ressource_humaine'].find_one( + {'_id': ObjectId(str(New_retVal['vendeur_id'])), 'valide': '1', 'locked': '0', + 'partner_recid': str(my_partner['recid'])}) + + if( "nom" in Employee_data.keys()): + vendeur_nom = Employee_data['nom'] + + if ("prenom" in Employee_data.keys()): + vendeur_prenom = Employee_data['prenom'] + + user['vendeur_nom_prenom'] = vendeur_nom+" "+vendeur_prenom + + 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) + " - Line : " + str(exc_tb.tb_lineno)) + return False, " Impossible de récupérer la liste des opportunités " + + +""" +Recuperer données d'une opportunité données +""" +def Get_Given_CRM_Opportunite(diction): + try: + diction = mycommon.strip_dictionary(diction) + + """ + Verification des input acceptés + """ + field_list = ['token', 'opport_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', 'opport_id', ] + + for val in field_list_obligatoire: + if val not in diction: + mycommon.myprint( + str(inspect.stack()[0][3]) + " - La valeur '" + val + "' n'est pas presente dans liste ") + return False, " Les informations fournies 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 + + + RetObject = [] + val_tmp = 0 + + qry = {"partner_owner_recid":str(my_partner['recid']), 'valide':'1', 'locked':'0', 'vendeur_id':str(diction['opport_id'])} + + for New_retVal in MYSY_GV.dbname['crm_opportunite'].find(qry): + user = New_retVal + user['id'] = str(val_tmp) + val_tmp = val_tmp + 1 + + vendeur_nom = "" + vendeur_prenom = "" + if( "vendeur_id" in New_retVal.keys() and New_retVal['vendeur_id']): + Employee_data = MYSY_GV.dbname['ressource_humaine'].find_one( + {'_id': ObjectId(str(New_retVal['vendeur_id'])), 'valide': '1', 'locked': '0', + 'partner_recid': str(my_partner['recid'])}) + + if( "nom" in Employee_data.keys()): + vendeur_nom = Employee_data['nom'] + + if ("prenom" in Employee_data.keys()): + vendeur_prenom = Employee_data['prenom'] + + user['vendeur_nom_prenom'] = vendeur_nom+" "+vendeur_prenom + + 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) + " - Line : " + str(exc_tb.tb_lineno)) + return False, " Impossible de récupérer les données de opportunité " + + + """ Fonction d'ajout d'une étape (configuration) d'opportunité """ diff --git a/main.py b/main.py index a0d0cee..60ec229 100644 --- a/main.py +++ b/main.py @@ -7525,6 +7525,79 @@ def Get_CRM_List_Opportunite_Etape(): +""" +API de creation d'une opportinité +""" +@app.route('/myclass/api/Add_CRM_Opportunite/', methods=['POST','GET']) +@crossdomain(origin='*') +def Add_CRM_Opportunite(): + # On recupere le corps (payload) de la requete + payload = mycommon.strip_dictionary (request.form.to_dict()) + print(" ### Add_CRM_Opportunite payload = ",payload) + print(request.files) + status, retval = crm_opportunite.Add_CRM_Opportunite(payload) + return jsonify(status=status, message=retval) + + +""" +API de mise à jour d'une opportinité +""" +@app.route('/myclass/api/Update_CRM_Opportunite/', methods=['POST','GET']) +@crossdomain(origin='*') +def Update_CRM_Opportunite(): + # On recupere le corps (payload) de la requete + payload = mycommon.strip_dictionary (request.form.to_dict()) + print(" ### Update_CRM_Opportunite payload = ",payload) + print(request.files) + status, retval = crm_opportunite.Update_CRM_Opportunite(payload) + return jsonify(status=status, message=retval) + + +""" +API de recuperation de la liste des opportunité avec filtre +""" +@app.route('/myclass/api/Get_List_CRM_Opportunite_with_filter/', methods=['POST','GET']) +@crossdomain(origin='*') +def Get_List_CRM_Opportunite_with_filter(): + # On recupere le corps (payload) de la requete + payload = mycommon.strip_dictionary (request.form.to_dict()) + print(" ### Get_List_CRM_Opportunite_with_filter payload = ",payload) + print(request.files) + status, retval = crm_opportunite.Get_List_CRM_Opportunite_with_filter(payload) + return jsonify(status=status, message=retval) + + + +""" +API de recuperation des data d'une opportunité données +""" +@app.route('/myclass/api/Get_Given_CRM_Opportunite/', methods=['POST','GET']) +@crossdomain(origin='*') +def Get_Given_CRM_Opportunite(): + # On recupere le corps (payload) de la requete + payload = mycommon.strip_dictionary (request.form.to_dict()) + print(" ### Get_Given_CRM_Opportunite payload = ",payload) + print(request.files) + status, retval = crm_opportunite.Get_Given_CRM_Opportunite(payload) + return jsonify(status=status, message=retval) + + + + + + +""" +EDITIQUE : API de migration des compte partnaire (admin). A supprimer +""" +@app.route('/myclass/api/Account_Migration_to_delete/', methods=['POST','GET']) +@crossdomain(origin='*') +def Account_Migration_to_delete(): + # On recupere le corps (payload) de la requete + payload = mycommon.strip_dictionary (request.form.to_dict()) + print(" ### Account_Migration_to_delete payload = ",payload) + print(request.files) + status, retval = module_editique.Account_Migration_to_delete(payload) + return jsonify(status=status, message=retval) if __name__ == '__main__': diff --git a/module_editique.py b/module_editique.py index e6c8337..b07efe9 100644 --- a/module_editique.py +++ b/module_editique.py @@ -131,7 +131,6 @@ def Get_Editable_Document_By_Partner(diction): RetObject.append(mycommon.JSONEncoder().encode(user)) - return True, RetObject except Exception as e: @@ -710,6 +709,75 @@ def Init_And_Update_courrier_template_tracking(diction): +def Init_And_Update_courrier_template_tracking_With_Partner_Data(my_partner): + try: + + warning_message = "" + cpt = 0 + for retval in MYSY_GV.dbname['courrier_template_type_document'].find({'tracked':'0', 'valide':'1', 'locked':'0', + 'partner_owner_recid':'default'}): + + + tab_tacking_collection = [] + if( "tacking_collection" in retval.keys() ): + tab_tacking_collection = retval['tacking_collection'] + + for collection in tab_tacking_collection: + new_data = {} + new_data['courrier_template_type_document_id'] = str(retval['_id']) + new_data['partner_owner_recid'] = str(my_partner['recid']) + new_data['related_collection'] = str(collection) + new_data['courrier_template_type_document_ref_interne'] = str(retval['ref_interne']) + new_data['rang'] = str(retval['rang']) + new_data['server_action_name'] = "a préciser" + new_data['valide'] = "1" + new_data['locked'] = "0" + + key_data = {} + key_data['courrier_template_type_document_id'] = str(retval['_id']) + key_data['partner_owner_recid'] = str(my_partner['recid']) + key_data['related_collection'] = str(collection) + key_data['valide'] = "1" + + + new_retval_data = MYSY_GV.dbname['courrier_template_tracking'].find_one_and_update(key_data, + {"$set": new_data}, + upsert=True, + return_document=ReturnDocument.AFTER + ) + + if new_retval_data is None or "_id" not in new_retval_data.keys(): + mycommon.myprint( + str(inspect.stack()[0][3]) + " Impossible d'initialiser la traçabilité du document "+str(retval['ref_interne'])+". ") + warning_message = warning_message + " Impossible d'initialiser la traçabilité du document "+str(retval['ref_interne'])+". " + + + cpt = cpt + 1 + + """ + # Mise à jour du courrier_template pour mettre 'tracked':'1' + update_data = {} + update_data['date_update'] = datetime.now().strftime("%d/%m/%Y, %H:%M:%S") + update_data['update_by'] = str(my_partner['_id']) + update_data['tracked'] = "1" + + MYSY_GV.dbname['courrier_template_type_document'].update_one({'_id':ObjectId(str(retval['_id']))}, {'$set':update_data}) + """ + + if( warning_message == "" ): + return True, "Initialisation de la traçabilité de "+str(cpt)+" document(s) Ok " + else: + return True, warning_message + + except Exception as e: + exc_type, exc_obj, exc_tb = sys.exc_info() + mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - Line : " + str(exc_tb.tb_lineno)) + return False, " Impossible de récupérer la liste des modèles de fiche" + + + + + """ Cette fonction log un historique d'envoie email ou de telechargement d'un document @@ -849,3 +917,59 @@ def Editic_Log_History_Action_From_courrier_template_type_document_ref_interne(m +""" +Data migration du delete +""" +def Account_Migration_to_delete(diction): + try: + + for val in MYSY_GV.dbname['partnair_account'].find({'is_partner_admin_account':'1', 'active':'1', 'locked':'0'}): + + print(" #### TRAITEMENT DU COUNT : ", val['email']) + local_status, local_retval = Init_And_Update_courrier_template_tracking_With_Partner_Data(val) + if (local_status is False): + mycommon.myprint( + " WARNING : Impossible d'initialiser le 'courrier_template_type_document' pour le partner_account_id =" + str( + val['_id'])) + + print(" #### Init_And_Update_courrier_template_tracking_With_Partner_Data ==> ", local_status) + + for val_tmp in MYSY_GV.dbname['base_partner_setup'].find( + {'partner_owner_recid': 'default', 'valide': '1', 'locked': '0'}): + + new_data = val_tmp + del new_data['_id'] + new_data['config_value'] = "" + new_data['date_update'] = "" + new_data['partner_owner_recid'] = str(val['recid']) + + key_data = {} + key_data['config_name'] = val_tmp['config_name'] + key_data['partner_owner_recid'] = str(val['recid']) + + new_retval_data = MYSY_GV.dbname['base_partner_setup'].find_one_and_update(key_data, + {"$set": new_data}, + upsert=True, + return_document=ReturnDocument.AFTER + ) + + if new_retval_data is None or "_id" not in new_retval_data.keys(): + mycommon.myprint( + str(inspect.stack()[0][ + 3]) + " Impossible d'initialiser le point de configuration technique " + str( + val_tmp['config_name']) + ". ") + + else: + mycommon.myprint( + str(inspect.stack()[0][ + 3]) + " point de configuration technique " + str(val_tmp['config_name']) + " ==> OK ") + + + return True, " Le compte a été correctement migré " + + except Exception as e: + exc_type, exc_obj, exc_tb = sys.exc_info() + mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - Line : " + str(exc_tb.tb_lineno)) + return False, " Impossible de migrer le compte" + + diff --git a/partners.py b/partners.py index e5dea51..fa4cff4 100644 --- a/partners.py +++ b/partners.py @@ -32,6 +32,7 @@ import GlobalVariable as MYSY_GV import strype_payement as Stripe import lms_chamilo.mysy_lms as mysy_lms import ressources_humaines as ressources_humaines +import module_editique as module_editique class JSONEncoder(json.JSONEncoder): def default(self, o): @@ -931,8 +932,7 @@ def valide_partnair_account(value): tmp = coll_name.find({'_id': ObjectId(str(value)), 'active': '0'}) partner_email = tmp[0]['email'] - print(" ########## Email = "+str(tmp[0]['email'])) - print(" ########## recid = " + str(tmp[0]['recid'])) + # A ce niveau le login et passe sont ok. # il faut donc créer le token et renvoyer le token. @@ -980,17 +980,55 @@ def valide_partnair_account(value): return_document=ReturnDocument.AFTER ) - if( ret_val and ret_val['_id']): - mycommon.myprint("La modif a bien ete faite Ajout secret_key OK, ="+str(ret_val['_id'])) - # Envoie du mail de notification - mail.Pro_Account_Token_Pass(partner_email, my_token) - return 'True', my_token - else: + + if( ret_val is None or "_id" not in ret_val.keys()): mycommon.myprint(str(inspect.stack()[0][3]) + " - Aucune modif n'a été faite") return False, "Impossible de valider le compte" + """ + # Ap présent que le compte est activé, il faut aller : + 1 -Init_And_Update_courrier_template_tracking pour le tracking des documents + 2 - Initialiser les points de configuration technique, mais sans les activer + + """ + + local_status, local_retval = module_editique.Init_And_Update_courrier_template_tracking_With_Partner_Data(ret_val) + if( local_status is False ): + mycommon.myprint(" WARNING : Impossible d'initialiser le 'courrier_template_type_document' pour le partner_account_id =" + str(ret_val['_id'])) + + + for val_tmp in MYSY_GV.dbname['base_partner_setup'].find({'partner_owner_recid':'default', 'valide':'1', 'locked':'0'}): + new_data = val_tmp + del new_data['_id'] + new_data['config_value'] = "" + new_data['date_update'] = "" + new_data['partner_owner_recid'] = str(ret_val['recid']) + + key_data = {} + key_data['config_name'] = val_tmp['config_name'] + key_data['partner_owner_recid'] = str(ret_val['recid']) + + new_retval_data = MYSY_GV.dbname['base_partner_setup'].find_one_and_update(key_data, + {"$set": new_data}, + upsert=True, + return_document=ReturnDocument.AFTER + ) + + if new_retval_data is None or "_id" not in new_retval_data.keys(): + mycommon.myprint( + str(inspect.stack()[0][3]) + " Impossible d'initialiser le point de configuration technique " + str(val_tmp['config_name']) + ". ") + + + + + mycommon.myprint("La modif a bien ete faite Ajout secret_key OK, =" + str(ret_val['_id'])) + # Envoie du mail de notification + mail.Pro_Account_Token_Pass(partner_email, my_token) + return 'True', my_token + + 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))