dfg
parent
64e1fb5b93
commit
9f374361a0
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="c6d0259a-16e1-410d-91a1-830590ee2a08" name="Changes" comment="qsd">
|
||||
<list default="true" id="c6d0259a-16e1-410d-91a1-830590ee2a08" name="Changes" comment="22/11/2024 - 18h">
|
||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/Log/log_file.log" beforeDir="false" afterPath="$PROJECT_DIR$/Log/log_file.log" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/articles_avis.py" beforeDir="false" afterPath="$PROJECT_DIR$/articles_avis.py" afterDir="false" />
|
||||
|
@ -76,13 +76,6 @@
|
|||
<option name="presentableId" value="Default" />
|
||||
<updated>1680804787304</updated>
|
||||
</task>
|
||||
<task id="LOCAL-00365" summary="02/08/2024 - 17h">
|
||||
<created>1722623009656</created>
|
||||
<option name="number" value="00365" />
|
||||
<option name="presentableId" value="LOCAL-00365" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1722623009656</updated>
|
||||
</task>
|
||||
<task id="LOCAL-00366" summary="03/08/2024 - 18h30">
|
||||
<created>1722703608290</created>
|
||||
<option name="number" value="00366" />
|
||||
|
@ -419,7 +412,14 @@
|
|||
<option name="project" value="LOCAL" />
|
||||
<updated>1731268257057</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="414" />
|
||||
<task id="LOCAL-00414" summary="22/11/2024 - 18h">
|
||||
<created>1732295895692</created>
|
||||
<option name="number" value="00414" />
|
||||
<option name="presentableId" value="LOCAL-00414" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1732295895693</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="415" />
|
||||
<servers />
|
||||
</component>
|
||||
<component name="Vcs.Log.Tabs.Properties">
|
||||
|
@ -461,7 +461,6 @@
|
|||
</option>
|
||||
</component>
|
||||
<component name="VcsManagerConfiguration">
|
||||
<MESSAGE value="03/09/2024 - 20:00" />
|
||||
<MESSAGE value="04/09/2024 - 23h" />
|
||||
<MESSAGE value="qsh" />
|
||||
<MESSAGE value="06/09/2024 - 22h" />
|
||||
|
@ -486,6 +485,7 @@
|
|||
<MESSAGE value="qsdsqqs" />
|
||||
<MESSAGE value="29/10/2024 - 18h30" />
|
||||
<MESSAGE value="qsd" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="qsd" />
|
||||
<MESSAGE value="22/11/2024 - 18h" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="22/11/2024 - 18h" />
|
||||
</component>
|
||||
</project>
|
821
Log/log_file.log
821
Log/log_file.log
|
@ -2908506,3 +2908506,824 @@ INFO:root:2024-11-22 18:16:55.891769 : Security check : IP adresse '127.0.0.1'
|
|||
INFO:root:2024-11-22 18:16:55.894749 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [22/Nov/2024 18:16:55] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [22/Nov/2024 18:16:55] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-22 18:18:14.806096 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-22 18:18:14.831008 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [22/Nov/2024 18:18:14] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [22/Nov/2024 18:18:14] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 10:41:09.961032 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-11-23 10:41:09.961032 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-11-23 10:41:09.962393 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-11-23 10:41:09.962393 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-11-23 10:41:09.962393 : ++ LMS_BAS_URL mysy-training.com/ ++
|
||||
INFO:werkzeug:[31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
|
||||
* Running on http://localhost:5001
|
||||
INFO:werkzeug:[33mPress CTRL+C to quit[0m
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-11-23 10:41:23.471011 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-11-23 10:41:23.471011 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-11-23 10:41:23.472026 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-11-23 10:41:23.472026 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-11-23 10:41:23.472026 : ++ LMS_BAS_URL mysy-training.com/ ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 877-541-979
|
||||
INFO:root:2024-11-23 10:48:38.575844 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 10:48:38.579846 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 10:48:38] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 10:48:38] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 10:48:47.763557 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 10:48:47] "POST /myclass/api/partner_login/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 10:48:47.916129 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 10:48:47.919562 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 10:48:47.922588 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 10:48:47.925090 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 10:48:47.929101 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 10:48:47.934067 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 10:48:47] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 10:48:47] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 10:48:47.956330 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 10:48:47] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 10:48:47] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 10:48:47.960131 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 10:48:47.964363 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 10:48:47.982507 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 10:48:47] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 10:48:47] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 10:48:48] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 10:48:48] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 10:48:48.076483 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 10:48:48.077496 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 10:48:48.081932 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 10:48:48.085704 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 10:48:48.088962 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 10:48:48.094285 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 10:48:48] "POST /myclass/api/Get_List_Class_Categorie/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 10:48:48.108734 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 10:48:48] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 10:48:48] "POST /myclass/api/Get_List_Class_domaine/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 10:48:48] "POST /myclass/api/Get_List_Class_domaine/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 10:48:48.127324 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 10:48:48] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 10:48:48.134846 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 10:48:48.141561 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 10:48:48] "POST /myclass/api/Get_List_class_metier/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 10:48:48] "POST /myclass/api/Get_List_class_metier/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 10:48:48] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 10:48:48] "POST /myclass/api/Get_List_Class_Categorie/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 10:48:48] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 10:49:54.395408 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 10:49:54.399496 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 10:49:54] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 10:49:54] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 11:31:35.375636 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 11:31:35.369182 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 11:31:35] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 11:31:35] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 11:38:20.243847 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 11:38:20.245847 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 11:38:20] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 11:38:20] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 11:41:42.813944 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 11:41:42.834139 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 11:41:42] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 11:41:42] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 11:42:46.973685 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 11:42:46.981799 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 11:42:46] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 11:42:46] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 11:43:01.149820 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 11:43:01.150910 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 11:43:01] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 11:43:01] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 11:43:14.520366 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 11:43:14.526073 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 11:43:14] "POST /myclass/api/get_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 11:43:14.532519 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 11:43:14] "POST /myclass/api/get_last_3_articles/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 11:43:14] "POST /myclass/api/get_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 11:43:14.541811 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 11:43:14] "POST /myclass/api/get_last_3_articles/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 11:43:28.919030 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 11:43:28.923030 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 11:43:28] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 11:43:28] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\articles_avis.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-11-23 11:45:01.715326 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-11-23 11:45:01.715326 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-11-23 11:45:01.715326 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-11-23 11:45:01.715326 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-11-23 11:45:01.715326 : ++ 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\\articles_avis.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-11-23 11:48:16.447976 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-11-23 11:48:16.447976 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-11-23 11:48:16.447976 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-11-23 11:48:16.447976 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-11-23 11:48:16.447976 : ++ 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-11-23 11:49:01.726582 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-11-23 11:49:01.726582 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-11-23 11:49:01.726582 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-11-23 11:49:01.726582 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-11-23 11:49:01.727581 : ++ LMS_BAS_URL mysy-training.com/ ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 877-541-979
|
||||
INFO:root:2024-11-23 11:53:44.183614 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 11:53:44.187139 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 11:53:44.191149 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 11:53:44.196374 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 11:53:44] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 11:53:44] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 11:53:44] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 11:53:44] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 11:57:53.531562 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 11:57:53] "POST /myclass/api/delete_articles_avis_from_id/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 11:57:55.321813 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 11:57:55] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 11:59:49.335764 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 11:59:49] "POST /myclass/api/get_articles_avis_from_id/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 12:03:16.150627 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 12:03:16.157637 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 12:03:16] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 12:03:16] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 12:03:18.256691 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 12:03:18] "POST /myclass/api/get_articles_avis_from_id/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\articles_avis.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-11-23 12:14:46.506544 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-11-23 12:14:46.506544 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-11-23 12:14:46.506544 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-11-23 12:14:46.507554 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-11-23 12:14:46.507554 : ++ 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\\articles_avis.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-11-23 12:19:23.682841 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-11-23 12:19:23.682841 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-11-23 12:19:23.682841 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-11-23 12:19:23.682841 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-11-23 12:19:23.682841 : ++ 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\\articles_avis.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-11-23 12:19:58.475129 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-11-23 12:19:58.476132 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-11-23 12:19:58.476132 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-11-23 12:19:58.476132 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-11-23 12:19:58.476132 : ++ 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\\articles_avis.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-11-23 12:20:22.087949 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-11-23 12:20:22.087949 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-11-23 12:20:22.087949 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-11-23 12:20:22.087949 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-11-23 12:20:22.087949 : ++ 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\\articles_avis.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-11-23 12:21:22.210992 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-11-23 12:21:22.210992 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-11-23 12:21:22.210992 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-11-23 12:21:22.210992 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-11-23 12:21:22.210992 : ++ 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\\articles_avis.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-11-23 12:21:54.879867 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-11-23 12:21:54.879867 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-11-23 12:21:54.879867 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-11-23 12:21:54.879867 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-11-23 12:21:54.879867 : ++ 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\\articles_avis.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-11-23 12:22:19.588524 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-11-23 12:22:19.588524 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-11-23 12:22:19.588524 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-11-23 12:22:19.588524 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-11-23 12:22:19.588524 : ++ LMS_BAS_URL mysy-training.com/ ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 877-541-979
|
||||
INFO:root:2024-11-23 12:22:42.171383 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 12:22:42.175898 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 12:22:42] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 12:22:42] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\articles_avis.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-11-23 12:24:00.472733 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-11-23 12:24:00.473736 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-11-23 12:24:00.473736 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-11-23 12:24:00.473736 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-11-23 12:24:00.473736 : ++ 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\\articles_avis.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-11-23 12:24:47.578723 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-11-23 12:24:47.580148 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-11-23 12:24:47.580148 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-11-23 12:24:47.580148 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-11-23 12:24:47.580148 : ++ 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\\articles_avis.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-11-23 12:25:35.982413 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-11-23 12:25:35.982413 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-11-23 12:25:35.982413 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-11-23 12:25:35.982413 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-11-23 12:25:35.982413 : ++ LMS_BAS_URL mysy-training.com/ ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 877-541-979
|
||||
INFO:root:2024-11-23 12:26:06.687958 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 12:26:06.694090 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 12:26:07.519576 : get_all_articles_avis -'dict' object has no attribute 'title_formation' - ERRORRRR AT Line : 90
|
||||
INFO:root:2024-11-23 12:26:07.519576 : get_all_articles_avis -'dict' object has no attribute 'title_formation' - ERRORRRR AT Line : 90
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 12:26:07] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 12:26:07] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\articles_avis.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-11-23 12:26:45.665461 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-11-23 12:26:45.665977 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-11-23 12:26:45.665977 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-11-23 12:26:45.665977 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-11-23 12:26:45.665977 : ++ LMS_BAS_URL mysy-training.com/ ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 877-541-979
|
||||
INFO:root:2024-11-23 12:26:54.957043 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 12:26:54.960861 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 12:26:55.450876 : get_all_articles_avis -'dict' object has no attribute 'title_formation' - ERRORRRR AT Line : 91
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 12:26:55] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 12:26:55.451874 : get_all_articles_avis -'dict' object has no attribute 'title_formation' - ERRORRRR AT Line : 91
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 12:26:55] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\articles_avis.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-11-23 12:28:07.958480 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-11-23 12:28:07.958480 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-11-23 12:28:07.959480 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-11-23 12:28:07.959480 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-11-23 12:28:07.959480 : ++ 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\\articles_avis.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-11-23 12:28:35.712428 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-11-23 12:28:35.713840 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-11-23 12:28:35.713840 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-11-23 12:28:35.713840 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-11-23 12:28:35.713840 : ++ LMS_BAS_URL mysy-training.com/ ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 877-541-979
|
||||
INFO:root:2024-11-23 12:28:38.931173 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 12:28:38.935347 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 12:28:39] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 12:28:39] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\articles_avis.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-11-23 12:29:03.562744 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-11-23 12:29:03.563745 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-11-23 12:29:03.563745 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-11-23 12:29:03.563745 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-11-23 12:29:03.563745 : ++ LMS_BAS_URL mysy-training.com/ ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 877-541-979
|
||||
INFO:root:2024-11-23 12:29:03.604436 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 12:29:03] "POST /myclass/api/get_articles_avis_from_id/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 12:29:08.276664 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 12:29:08] "POST /myclass/api/update_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 12:29:09.682447 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 12:29:09] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 12:29:19.936673 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 12:29:19.940806 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 12:29:19] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 12:29:19] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 12:29:37.973976 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 12:29:37] "POST /myclass/api/get_articles_avis_from_id/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 12:29:52.180932 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 12:29:52] "POST /myclass/api/update_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 12:29:53.408306 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 12:29:53] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\articles_avis.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-11-23 12:32:21.575560 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-11-23 12:32:21.575560 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-11-23 12:32:21.575560 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-11-23 12:32:21.576559 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-11-23 12:32:21.576559 : ++ 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\\articles_avis.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-11-23 12:35:11.493773 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-11-23 12:35:11.493773 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-11-23 12:35:11.493773 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-11-23 12:35:11.493773 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-11-23 12:35:11.493773 : ++ 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\\articles_avis.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-11-23 12:35:35.241273 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-11-23 12:35:35.241273 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-11-23 12:35:35.241273 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-11-23 12:35:35.241273 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-11-23 12:35:35.241273 : ++ 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\\articles_avis.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-11-23 12:35:57.675328 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-11-23 12:35:57.675328 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-11-23 12:35:57.680329 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-11-23 12:35:57.682327 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-11-23 12:35:57.682327 : ++ LMS_BAS_URL mysy-training.com/ ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 877-541-979
|
||||
INFO:root:2024-11-23 12:35:58.171308 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 12:35:58] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 12:35:58.194788 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 12:35:58] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\articles_avis.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-11-23 12:36:59.026541 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-11-23 12:36:59.027831 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-11-23 12:36:59.027831 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-11-23 12:36:59.027831 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-11-23 12:36:59.027831 : ++ LMS_BAS_URL mysy-training.com/ ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 877-541-979
|
||||
INFO:root:2024-11-23 12:36:59.319564 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 12:36:59.324058 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 12:36:59] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 12:36:59] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\articles_avis.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-11-23 12:37:50.914861 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-11-23 12:37:50.914861 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-11-23 12:37:50.914861 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-11-23 12:37:50.914861 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-11-23 12:37:50.914861 : ++ LMS_BAS_URL mysy-training.com/ ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 877-541-979
|
||||
INFO:root:2024-11-23 12:38:11.388130 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 12:38:11.392201 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 12:38:11] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 12:38:11] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\articles_avis.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-11-23 12:38:47.608879 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-11-23 12:38:47.608879 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-11-23 12:38:47.609892 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-11-23 12:38:47.609892 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-11-23 12:38:47.609892 : ++ LMS_BAS_URL mysy-training.com/ ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 877-541-979
|
||||
INFO:root:2024-11-23 12:38:51.257568 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 12:38:51.264665 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 12:38:51] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 12:38:51] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\articles_avis.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-11-23 12:39:56.547610 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-11-23 12:39:56.547610 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-11-23 12:39:56.547610 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-11-23 12:39:56.547610 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-11-23 12:39:56.547610 : ++ LMS_BAS_URL mysy-training.com/ ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 877-541-979
|
||||
INFO:root:2024-11-23 12:40:23.212012 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 12:40:23.217029 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 12:40:23] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 12:40:23] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\articles_avis.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-11-23 12:40:58.961397 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-11-23 12:40:58.961397 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-11-23 12:40:58.961397 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-11-23 12:40:58.961397 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-11-23 12:40:58.961397 : ++ LMS_BAS_URL mysy-training.com/ ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 877-541-979
|
||||
INFO:root:2024-11-23 12:41:03.060108 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 12:41:03.064128 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 12:41:03] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 12:41:03] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\articles_avis.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-11-23 12:43:17.865126 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-11-23 12:43:17.865126 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-11-23 12:43:17.865126 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-11-23 12:43:17.865126 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-11-23 12:43:17.865126 : ++ LMS_BAS_URL mysy-training.com/ ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 877-541-979
|
||||
INFO:root:2024-11-23 12:43:19.427228 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 12:43:19.430234 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 12:43:19] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 12:43:19] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\articles_avis.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-11-23 12:45:17.307336 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-11-23 12:45:17.307336 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-11-23 12:45:17.308459 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-11-23 12:45:17.308459 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-11-23 12:45:17.308459 : ++ LMS_BAS_URL mysy-training.com/ ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 877-541-979
|
||||
INFO:root:2024-11-23 12:45:23.517399 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 12:45:23.522395 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 12:45:23] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 12:45:23] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\articles_avis.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-11-23 12:46:33.895615 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-11-23 12:46:33.895615 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-11-23 12:46:33.895615 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-11-23 12:46:33.895615 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-11-23 12:46:33.895615 : ++ 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\\articles_avis.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-11-23 12:54:38.635157 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-11-23 12:54:38.635157 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-11-23 12:54:38.635157 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-11-23 12:54:38.635157 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-11-23 12:54:38.635157 : ++ 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\\articles_avis.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-11-23 12:56:26.305617 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-11-23 12:56:26.305617 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-11-23 12:56:26.306619 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-11-23 12:56:26.306619 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-11-23 12:56:26.306619 : ++ 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\\articles_avis.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-11-23 13:08:27.824052 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-11-23 13:08:27.825057 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-11-23 13:08:27.825057 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-11-23 13:08:27.825057 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-11-23 13:08:27.825057 : ++ LMS_BAS_URL mysy-training.com/ ++
|
||||
INFO:werkzeug:[31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
|
||||
* Running on http://localhost:5001
|
||||
INFO:werkzeug:[33mPress CTRL+C to quit[0m
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-11-23 13:08:40.549166 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-11-23 13:08:40.549166 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-11-23 13:08:40.549166 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-11-23 13:08:40.549166 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-11-23 13:08:40.549166 : ++ LMS_BAS_URL mysy-training.com/ ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 877-541-979
|
||||
INFO:root:2024-11-23 13:08:40.651558 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 13:08:40.657308 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:08:40] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:08:40] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:14:47.850486 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 13:14:47.855513 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:14:47] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:14:47] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:14:47.877201 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 13:14:47.881329 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:14:47] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:14:47] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:20:36.790514 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 13:20:36.799694 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:20:36] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:20:36] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:20:36.839864 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 13:20:36.842876 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:20:36] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:20:36] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:25:41.325200 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 13:25:41.333939 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:25:41] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:25:41] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:25:45.579409 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 13:25:47.114403 : get_all_non_published_articles_avis -Object of type datetime is not JSON serializable - ERRORRRR AT Line : 316
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:25:47] "POST /myclass/api/get_all_non_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:27:06.132193 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 13:27:06.139078 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:27:06] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:27:06] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:27:33.433543 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 13:27:33.442513 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:27:33] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:27:33] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:27:54.708351 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 13:27:54.716835 : get_all_published_articles_avis -Object of type datetime is not JSON serializable - ERRORRRR AT Line : 214
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:27:54] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\articles_avis.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-11-23 13:29:46.983757 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-11-23 13:29:46.983757 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-11-23 13:29:46.983757 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-11-23 13:29:46.983757 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-11-23 13:29:46.983757 : ++ 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\\articles_avis.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-11-23 13:33:59.400203 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-11-23 13:33:59.401203 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-11-23 13:33:59.401203 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-11-23 13:33:59.401203 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-11-23 13:33:59.401203 : ++ LMS_BAS_URL mysy-training.com/ ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 877-541-979
|
||||
INFO:root:2024-11-23 13:34:08.547919 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 13:34:08.551994 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:34:08] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:34:08] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:34:18.276985 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:34:18] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:34:27.187836 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:34:27] "POST /myclass/api/get_all_non_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:34:31.698625 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:34:31] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:34:35.801968 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:34:35] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:34:56.514057 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:34:56] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:34:59.280083 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:34:59] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:35:02.023483 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:35:02] "POST /myclass/api/get_all_non_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:37:17.549784 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 13:37:17.552779 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:37:17] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:37:17] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:37:17.867471 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 13:37:17.871506 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:37:17] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:37:17] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:39:23.947653 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 13:39:23.952671 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:39:23] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:39:23] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:39:39.323042 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 13:39:39.329237 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:39:39] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:39:39] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:40:32.769146 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:40:32] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:40:33.715672 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:40:33] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:40:39.923279 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 13:40:39.925999 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:40:39] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:40:39] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:41:20.002923 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:41:20] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:41:25.628650 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 13:41:25.631657 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:41:25] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:41:25] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:41:31.903419 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:41:31] "POST /myclass/api/get_all_non_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:41:41.287581 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:41:41] "POST /myclass/api/get_articles_avis_from_id/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:41:50.380251 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:41:50] "POST /myclass/api/update_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:41:51.617433 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:41:51] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:42:00.206477 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 13:42:00.208889 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:42:00] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:42:00] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:42:04.459754 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:42:04] "POST /myclass/api/get_all_non_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:43:34.781301 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:43:34] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:43:34.918334 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:43:34] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:44:15.649722 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:44:15] "POST /myclass/api/get_articles_avis_from_id/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:44:22.266570 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:44:22] "POST /myclass/api/update_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:44:39.070658 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 13:44:39.074875 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:44:39] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:44:39] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:45:17.866343 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:45:17] "POST /myclass/api/get_all_non_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:45:19.443676 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:45:19] "POST /myclass/api/get_articles_avis_from_id/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:45:23.322677 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:45:23] "POST /myclass/api/update_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:45:31.498819 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 13:45:31.503835 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:45:31] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:45:31] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:46:44.827280 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:46:44] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:46:44.902456 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:46:44] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:46:49.693987 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 13:46:49.696043 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:46:49] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:46:49] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:46:58.936613 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:46:58] "POST /myclass/api/get_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:46:59.244027 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 13:46:59.244027 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 13:46:59.248419 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:46:59] "POST /myclass/api/get_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:46:59] "POST /myclass/api/get_last_3_articles/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:46:59] "POST /myclass/api/get_last_3_articles/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:47:11.280933 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:47:11] "POST /myclass/api/get_articles_avis_from_id/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:47:15.717829 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:47:15] "POST /myclass/api/update_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:47:20.017803 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 13:47:20.020817 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:47:20] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:47:20] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:47:23.617412 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:47:23] "POST /myclass/api/get_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:47:23.929310 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 13:47:23.934825 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:47:23] "POST /myclass/api/get_last_3_articles/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:47:23.941426 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:47:23] "POST /myclass/api/get_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:47:23] "POST /myclass/api/get_last_3_articles/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:47:24.450870 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 13:47:24.455224 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:47:24] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:47:24] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:47:35.982924 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 13:47:35.989445 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:47:35] "POST /myclass/api/get_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:47:35.995314 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:47:35] "POST /myclass/api/get_last_3_articles/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:47:36.002458 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:47:36] "POST /myclass/api/get_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:47:36] "POST /myclass/api/get_last_3_articles/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:47:49.269994 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 13:47:49.274988 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:47:49] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:47:49] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:48:35.605087 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:48:35] "POST /myclass/api/get_articles_avis_from_id/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:48:41.971178 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:48:41] "POST /myclass/api/get_articles_avis_from_id/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:50:04.189936 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:50:04] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:50:04.218634 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:50:04] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:50:51.417193 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:50:51] "POST /myclass/api/add_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:50:52.739483 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:50:52] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:50:57.530386 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:50:57] "POST /myclass/api/get_all_non_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:51:00.237078 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:51:00] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:51:21.282276 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 13:51:21.286412 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:51:21] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:51:21] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:51:24.283214 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:51:24] "POST /myclass/api/get_all_non_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:51:29.757554 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:51:29] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:51:37.164775 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:51:37] "POST /myclass/api/get_all_non_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:51:58.322205 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:51:59] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\articles_avis.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-11-23 13:53:56.712675 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-11-23 13:53:56.712675 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-11-23 13:53:56.713839 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-11-23 13:53:56.713839 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-11-23 13:53:56.713839 : ++ 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\\articles_avis.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-11-23 13:54:16.226660 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-11-23 13:54:16.226660 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-11-23 13:54:16.226660 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-11-23 13:54:16.226660 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-11-23 13:54:16.226660 : ++ 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\\articles_avis.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-11-23 13:54:29.837465 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-11-23 13:54:29.837465 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-11-23 13:54:29.837465 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-11-23 13:54:29.837465 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-11-23 13:54:29.837465 : ++ LMS_BAS_URL mysy-training.com/ ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 877-541-979
|
||||
INFO:root:2024-11-23 13:54:29.886577 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:54:29] "POST /myclass/api/get_articles_avis_from_id/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:54:35.180643 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:54:35] "POST /myclass/api/update_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 13:54:41.513491 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 13:54:41.516495 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:54:41] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 13:54:41] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\articles_avis.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2024-11-23 14:00:57.025662 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2024-11-23 14:00:57.026823 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2024-11-23 14:00:57.026823 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2024-11-23 14:00:57.026823 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2024-11-23 14:00:57.026823 : ++ LMS_BAS_URL mysy-training.com/ ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 877-541-979
|
||||
INFO:root:2024-11-23 14:01:35.893080 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 14:01:35.917644 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 14:01:35] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 14:01:35] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 14:04:19.563012 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 14:04:19] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 14:04:27.122983 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 14:04:27.127153 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 14:04:27] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 14:04:27] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 14:06:22.377044 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 14:06:22] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 14:06:22.526167 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 14:06:22] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 14:06:41.372001 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 14:06:41] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 14:06:42.273694 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 14:06:42] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 14:08:15.296590 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 14:08:15] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 14:08:23.209834 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 14:08:23.216852 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 14:08:23] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 14:08:23] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 14:09:24.333092 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 14:09:24] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 14:09:25.342146 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 14:09:25] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 14:09:59.060805 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 14:09:59] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 14:10:00.037069 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 14:10:00] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 14:11:58.795365 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 14:11:58] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 14:11:59.867207 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 14:11:59] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 14:12:42.606760 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 14:12:42] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 14:12:43.672572 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 14:12:43] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 14:13:25.692941 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 14:13:25] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 14:13:26.141695 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 14:13:26] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 14:13:48.729258 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 14:13:48] "POST /myclass/api/add_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 14:13:50.543394 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 14:13:50] "POST /myclass/api/get_all_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 14:14:00.771477 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 14:14:00.807052 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 14:14:00] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 14:14:00] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 14:15:21.066456 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 14:15:21] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 14:15:21.098730 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 14:15:21] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 14:16:49.412558 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 14:16:49] "POST /myclass/api/delete_articles_avis_from_id/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 14:16:58.422036 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 14:16:58.426442 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 14:16:58] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 14:16:58] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 14:17:03.295621 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 14:17:03] "POST /myclass/api/delete_articles_avis_from_id/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 14:17:08.343972 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 14:17:08.348484 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 14:17:08] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 14:17:08] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 14:17:20.428119 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 14:17:20] "POST /myclass/api/add_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 14:17:25.178983 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2024-11-23 14:17:25.187994 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 14:17:25] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 14:17:25] "POST /myclass/api/get_all_published_articles_avis/ HTTP/1.1" 200 -
|
||||
INFO:root:2024-11-23 14:17:29.161640 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [23/Nov/2024 14:17:29] "POST /myclass/api/get_all_non_published_articles_avis/ HTTP/1.1" 200 -
|
||||
|
|
377
articles_avis.py
377
articles_avis.py
|
@ -12,7 +12,7 @@ from unidecode import unidecode
|
|||
|
||||
import ela_index_bdd_classes as ela_index
|
||||
import logging
|
||||
from datetime import datetime
|
||||
from datetime import datetime, date
|
||||
import prj_common as mycommon
|
||||
import secrets
|
||||
from pymongo import ReturnDocument
|
||||
|
@ -34,7 +34,7 @@ class JSONEncoder(json.JSONEncoder):
|
|||
|
||||
|
||||
'''
|
||||
Recuperation des tous avis et commentaires
|
||||
Recuperation des tous avis et commentaires, quelque soit le statut (publié et non publié)
|
||||
'''
|
||||
def get_all_articles_avis(diction):
|
||||
try:
|
||||
|
@ -56,48 +56,270 @@ def get_all_articles_avis(diction):
|
|||
mycommon.myprint(str(inspect.stack()[0][3]) + " Le champ '" + val + "' n'est pas autorisé")
|
||||
return False, " Impossible de récupérer les articles et avis"
|
||||
|
||||
coll_name = MYSY_GV.dbname['articles_avis']
|
||||
val_tmp = 0
|
||||
insertObject = []
|
||||
|
||||
val_tmp = 1
|
||||
insertObject = []
|
||||
for x in coll_name.find({'valide': '1', 'locked': '0'},
|
||||
{ "indexed": 0, "indexed_desc": 0, "indexed_obj": 0, "indexed_title": 0,
|
||||
"valide": 0, "locked": 0, }).sort(
|
||||
[ ("date_avis",pymongo.DESCENDING), ("title_formation",pymongo.ASCENDING),]):
|
||||
# mycommon.myprint("AVANT ==> "+str(x['description']))
|
||||
if( "qualite" in x.keys() ):
|
||||
val = x['qualite']
|
||||
if (len(x['qualite']) > MYSY_GV.MAX_CARACT):
|
||||
x['qualite'] = val[:MYSY_GV.MAX_CARACT] + " ..."
|
||||
todays_date = str(date.today().strftime("%Y-%m-%d"))
|
||||
filt_date_today_ISODATE = datetime.strptime(str(todays_date), '%Y-%m-%d')
|
||||
|
||||
else:
|
||||
x['qualite'] = val[:MYSY_GV.MAX_CARACT]
|
||||
else :
|
||||
x['qualite'] = "--"
|
||||
coll_name = MYSY_GV.dbname['articles_avis']
|
||||
|
||||
val = x['avis']
|
||||
CLEANR = re.compile('<.*?>')
|
||||
|
||||
clean_avis = re.sub(CLEANR, '', str(val))
|
||||
clean_avis = str(clean_avis).replace(" ", " ");
|
||||
|
||||
#print(" ### CLEANRCLEANR = "+str(clean_avis))
|
||||
|
||||
if (len(clean_avis) > MYSY_GV.MAX_CARACT):
|
||||
x['avis'] = clean_avis[:MYSY_GV.MAX_CARACT] + " ..."
|
||||
val_tmp = 1
|
||||
insertObject = []
|
||||
for x in coll_name.find({'valide': '1', 'locked': '0'},
|
||||
{ "indexed": 0, "indexed_desc": 0, "indexed_obj": 0, "indexed_title": 0,
|
||||
"valide": 0, "locked": 0, }).sort(
|
||||
[ ("date_avis",pymongo.DESCENDING), ("title_formation",pymongo.ASCENDING),]):
|
||||
# mycommon.myprint("AVANT ==> "+str(x['description']))
|
||||
if( "qualite" in x.keys() ):
|
||||
val = x['qualite']
|
||||
if (len(x['qualite']) > MYSY_GV.MAX_CARACT):
|
||||
x['qualite'] = val[:MYSY_GV.MAX_CARACT] + " ..."
|
||||
|
||||
else:
|
||||
x['avis'] = str(clean_avis)
|
||||
x['qualite'] = val[:MYSY_GV.MAX_CARACT]
|
||||
else :
|
||||
x['qualite'] = "--"
|
||||
|
||||
# mycommon.myprint("APRES ==> " + str(x['description']))
|
||||
val = x['avis']
|
||||
CLEANR = re.compile('<.*?>')
|
||||
|
||||
user = x
|
||||
user['id'] = str(val_tmp)
|
||||
insertObject.append(JSONEncoder().encode(user))
|
||||
val_tmp = val_tmp + 1
|
||||
clean_avis = re.sub(CLEANR, '', str(val))
|
||||
clean_avis = str(clean_avis).replace(" ", " ");
|
||||
|
||||
#print(" getObject = ", str(insertObject))
|
||||
return True, insertObject
|
||||
#print(" ### CLEANRCLEANR = "+str(clean_avis))
|
||||
|
||||
if (len(clean_avis) > MYSY_GV.MAX_CARACT):
|
||||
x['avis'] = clean_avis[:MYSY_GV.MAX_CARACT] + " ..."
|
||||
|
||||
else:
|
||||
x['avis'] = str(clean_avis)
|
||||
|
||||
# mycommon.myprint("APRES ==> " + str(x['description']))
|
||||
|
||||
# gestion date publication
|
||||
is_published = "0"
|
||||
if( "date_publication" in x.keys() and x['date_publication']):
|
||||
if (datetime.strptime(str(x['date_publication']).strip()[0:10], '%Y-%m-%d') <= datetime.strptime(str(date.today().strftime("%Y-%m-%d")).strip(), '%Y-%m-%d')):
|
||||
is_published = "1"
|
||||
|
||||
x['is_published'] = str(is_published)
|
||||
|
||||
|
||||
|
||||
user = x
|
||||
user['id'] = str(val_tmp)
|
||||
insertObject.append(mycommon.JSONEncoder().encode(user))
|
||||
val_tmp = val_tmp + 1
|
||||
|
||||
#print(" getObject = ", str(insertObject))
|
||||
return True, insertObject
|
||||
|
||||
except Exception as e:
|
||||
exc_type, exc_obj, exc_tb = sys.exc_info()
|
||||
mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - ERRORRRR AT Line : " + str(exc_tb.tb_lineno))
|
||||
return False, " Impossible de récupérer les articles et avis"
|
||||
|
||||
|
||||
"""
|
||||
Recuperation des articles publiés, c'est à dire valide et dont la date de
|
||||
publication est arrivée ou passée
|
||||
"""
|
||||
def get_all_published_articles_avis(diction):
|
||||
try:
|
||||
|
||||
# Dictionnaire des champs utilisables
|
||||
field_list = ['token', 'user_ip', 'user_country_code', 'user_country_name', 'user_city',
|
||||
'user_postal', 'user_latitude', 'user_longitude', 'user_state', 'search_text']
|
||||
|
||||
incom_keys = diction.keys()
|
||||
|
||||
'''
|
||||
# Verification que les champs reçus dans l'API sont bien dans la liste des champs autorisés
|
||||
# Cela evite le cas ou une entité tierce ajouter les valeurs inconnu dans l'API
|
||||
# Ici on doit mettre tous les champs possible (obligatoire ou non) de la BDD dans la liste
|
||||
# field_list.
|
||||
'''
|
||||
for val in incom_keys:
|
||||
if str(val).lower() not in str(field_list).lower():
|
||||
mycommon.myprint(str(inspect.stack()[0][3]) + " Le champ '" + val + "' n'est pas autorisé")
|
||||
return False, " Impossible de récupérer les articles et avis"
|
||||
|
||||
|
||||
todays_date = str(date.today().strftime("%Y-%m-%d"))
|
||||
filt_date_today_ISODATE = datetime.strptime(str(todays_date), '%Y-%m-%d')
|
||||
|
||||
qery_match_published = {'$and': [
|
||||
{'valide': '1', 'locked': '0'},
|
||||
{
|
||||
'mysy_article_date_publication': {'$lte': filt_date_today_ISODATE}},
|
||||
]}
|
||||
|
||||
|
||||
query_pipe_published = ([
|
||||
{"$addFields": {
|
||||
"mysy_article_date_publication": {
|
||||
'$dateFromString': {
|
||||
'dateString': {"$substr": ["$date_publication", 0, 10]},
|
||||
"format": "%Y-%m-%d"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
{'$match': qery_match_published
|
||||
|
||||
},
|
||||
{
|
||||
'$sort': {'mysy_article_date_publication': -1}
|
||||
},
|
||||
|
||||
])
|
||||
|
||||
print(" ### query_pipe = ", query_pipe_published )
|
||||
|
||||
val_tmp = 1
|
||||
insertObject = []
|
||||
|
||||
for x in MYSY_GV.dbname['articles_avis'].aggregate(query_pipe_published):
|
||||
|
||||
if( "qualite" in x.keys() ):
|
||||
val = x['qualite']
|
||||
if (len(x['qualite']) > MYSY_GV.MAX_CARACT):
|
||||
x['qualite'] = val[:MYSY_GV.MAX_CARACT] + " ..."
|
||||
|
||||
else:
|
||||
x['qualite'] = val[:MYSY_GV.MAX_CARACT]
|
||||
else :
|
||||
x['qualite'] = "--"
|
||||
|
||||
val = x['avis']
|
||||
CLEANR = re.compile('<.*?>')
|
||||
|
||||
clean_avis = re.sub(CLEANR, '', str(val))
|
||||
clean_avis = str(clean_avis).replace(" ", " ");
|
||||
|
||||
#print(" ### CLEANRCLEANR = "+str(clean_avis))
|
||||
|
||||
if (len(clean_avis) > MYSY_GV.MAX_CARACT):
|
||||
x['avis'] = clean_avis[:MYSY_GV.MAX_CARACT] + " ..."
|
||||
|
||||
else:
|
||||
x['avis'] = str(clean_avis)
|
||||
|
||||
# mycommon.myprint("APRES ==> " + str(x['description']))
|
||||
|
||||
x['is_published'] = "1"
|
||||
|
||||
user = x
|
||||
user['id'] = str(val_tmp)
|
||||
insertObject.append(mycommon.JSONEncoder().encode(user))
|
||||
val_tmp = val_tmp + 1
|
||||
|
||||
#print(" getObject = ", str(insertObject))
|
||||
return True, insertObject
|
||||
|
||||
except Exception as e:
|
||||
exc_type, exc_obj, exc_tb = sys.exc_info()
|
||||
mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - ERRORRRR AT Line : " + str(exc_tb.tb_lineno))
|
||||
return False, " Impossible de récupérer les articles et avis"
|
||||
|
||||
|
||||
"""
|
||||
Recuperation des articles non publiés, c'est à dire valide et dont la date de
|
||||
publication N'EST PAS arrivée ou passée
|
||||
"""
|
||||
|
||||
|
||||
def get_all_non_published_articles_avis(diction):
|
||||
try:
|
||||
|
||||
# Dictionnaire des champs utilisables
|
||||
field_list = ['token', 'user_ip', 'user_country_code', 'user_country_name', 'user_city',
|
||||
'user_postal', 'user_latitude', 'user_longitude', 'user_state', 'search_text']
|
||||
|
||||
incom_keys = diction.keys()
|
||||
|
||||
'''
|
||||
# Verification que les champs reçus dans l'API sont bien dans la liste des champs autorisés
|
||||
# Cela evite le cas ou une entité tierce ajouter les valeurs inconnu dans l'API
|
||||
# Ici on doit mettre tous les champs possible (obligatoire ou non) de la BDD dans la liste
|
||||
# field_list.
|
||||
'''
|
||||
for val in incom_keys:
|
||||
if str(val).lower() not in str(field_list).lower():
|
||||
mycommon.myprint(str(inspect.stack()[0][3]) + " Le champ '" + val + "' n'est pas autorisé")
|
||||
return False, " Impossible de récupérer les articles et avis"
|
||||
|
||||
todays_date = str(date.today().strftime("%Y-%m-%d"))
|
||||
filt_date_today_ISODATE = datetime.strptime(str(todays_date), '%Y-%m-%d')
|
||||
|
||||
qery_match_non_published = {'$and': [
|
||||
{'valide': '1', 'locked': '0'},
|
||||
{
|
||||
'mysy_article_date_publication': {'$gt': filt_date_today_ISODATE}},
|
||||
]}
|
||||
|
||||
query_pipe_non_published = ([
|
||||
{"$addFields": {
|
||||
"mysy_article_date_publication": {
|
||||
'$dateFromString': {
|
||||
'dateString': {"$substr": ["$date_publication", 0, 10]},
|
||||
"format": "%Y-%m-%d"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
{'$match': qery_match_non_published
|
||||
|
||||
},
|
||||
{
|
||||
'$sort': {'mysy_article_date_publication': -1}
|
||||
},
|
||||
|
||||
])
|
||||
|
||||
print(" ### query_pipe_non_published = ", query_pipe_non_published)
|
||||
|
||||
val_tmp = 1
|
||||
insertObject = []
|
||||
for x in MYSY_GV.dbname['articles_avis'].aggregate(query_pipe_non_published):
|
||||
if ("qualite" in x.keys()):
|
||||
val = x['qualite']
|
||||
if (len(x['qualite']) > MYSY_GV.MAX_CARACT):
|
||||
x['qualite'] = val[:MYSY_GV.MAX_CARACT] + " ..."
|
||||
|
||||
else:
|
||||
x['qualite'] = val[:MYSY_GV.MAX_CARACT]
|
||||
else:
|
||||
x['qualite'] = "--"
|
||||
|
||||
val = x['avis']
|
||||
CLEANR = re.compile('<.*?>')
|
||||
|
||||
clean_avis = re.sub(CLEANR, '', str(val))
|
||||
clean_avis = str(clean_avis).replace(" ", " ");
|
||||
|
||||
# print(" ### CLEANRCLEANR = "+str(clean_avis))
|
||||
|
||||
if (len(clean_avis) > MYSY_GV.MAX_CARACT):
|
||||
x['avis'] = clean_avis[:MYSY_GV.MAX_CARACT] + " ..."
|
||||
|
||||
else:
|
||||
x['avis'] = str(clean_avis)
|
||||
|
||||
# mycommon.myprint("APRES ==> " + str(x['description']))
|
||||
|
||||
x['is_published'] = "0"
|
||||
|
||||
user = x
|
||||
user['id'] = str(val_tmp)
|
||||
insertObject.append(mycommon.JSONEncoder().encode(user))
|
||||
val_tmp = val_tmp + 1
|
||||
|
||||
# print(" getObject = ", str(insertObject))
|
||||
return True, insertObject
|
||||
|
||||
except Exception as e:
|
||||
exc_type, exc_obj, exc_tb = sys.exc_info()
|
||||
|
@ -179,7 +401,7 @@ def get_last_3_articles(diction):
|
|||
|
||||
user = x
|
||||
user['id'] = str(val_tmp)
|
||||
insertObject.append(JSONEncoder().encode(user))
|
||||
insertObject.append(mycommon.JSONEncoder().encode(user))
|
||||
val_tmp = val_tmp + 1
|
||||
|
||||
#print(" getObject = ", str(insertObject))
|
||||
|
@ -288,7 +510,7 @@ def get_articles_avis(diction):
|
|||
]) :
|
||||
|
||||
user = x
|
||||
insertObject.append(JSONEncoder().encode(user))
|
||||
insertObject.append(mycommon.JSONEncoder().encode(user))
|
||||
|
||||
|
||||
#print(" getObject = ", str(insertObject))
|
||||
|
@ -358,7 +580,7 @@ def get_articles_avis_from_id(diction):
|
|||
]) :
|
||||
cpt = cpt + 1
|
||||
user = x
|
||||
insertObject.append(JSONEncoder().encode(user))
|
||||
insertObject.append(mycommon.JSONEncoder().encode(user))
|
||||
|
||||
if( cpt == 0 ):
|
||||
return False, "Identifiant de l'article est invalide"
|
||||
|
@ -374,6 +596,79 @@ def get_articles_avis_from_id(diction):
|
|||
|
||||
|
||||
|
||||
"""
|
||||
Suppression d'un articles/avis
|
||||
"""
|
||||
def delete_articles_avis_from_id(diction):
|
||||
try:
|
||||
|
||||
# Dictionnaire des champs utilisables
|
||||
field_list = ['token', '_id']
|
||||
|
||||
incom_keys = diction.keys()
|
||||
|
||||
'''
|
||||
# Verification que les champs reçus dans l'API sont bien dans la liste des champs autorisés
|
||||
# Cela evite le cas ou une entité tierce ajouter les valeurs inconnu dans l'API
|
||||
# Ici on doit mettre tous les champs possible (obligatoire ou non) de la BDD dans la liste
|
||||
# field_list.
|
||||
'''
|
||||
for val in incom_keys:
|
||||
if str(val).lower() not in str(field_list).lower():
|
||||
mycommon.myprint(str(inspect.stack()[0][3]) + " Le champ '" + val + "' n'est pas autorisé")
|
||||
return False, " Impossible de récupérer l'articles/avis"
|
||||
|
||||
'''
|
||||
Une fois qu'on a controlé que toutes les clés mise dans l'API sont correcte. etape precedente,
|
||||
On controle que les champs obligatoires sont presents dans la liste
|
||||
'''
|
||||
field_list_obligatoire = ['_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, " Impossible de récupérer l'articles/avis"
|
||||
|
||||
"""
|
||||
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
|
||||
|
||||
|
||||
"""
|
||||
Verifier la validité de l'article à supprimer
|
||||
"""
|
||||
is_valide_article_avis_count = MYSY_GV.dbname['articles_avis'].count_documents(
|
||||
{'_id': ObjectId(str(diction['_id'])),
|
||||
'valide': '1'})
|
||||
|
||||
if (is_valide_article_avis_count != 1):
|
||||
mycommon.myprint(
|
||||
str(inspect.stack()[0][3]) + " L'identifiant de l'article n'est pas valide ")
|
||||
return False, " L'identifiant de l'article n'est pas valide "
|
||||
|
||||
delete = MYSY_GV.dbname['articles_avis'].delete_one({'_id': ObjectId(str(diction['_id']))})
|
||||
|
||||
|
||||
#print(" getObject = ", str(insertObject))
|
||||
return True, "L'article a été correctement supprimé"
|
||||
|
||||
|
||||
except Exception as e:
|
||||
exc_type, exc_obj, exc_tb = sys.exc_info()
|
||||
mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - ERRORRRR AT Line : " + str(exc_tb.tb_lineno))
|
||||
return False, " Impossible de supprimer l'article/avis"
|
||||
|
||||
|
||||
'''
|
||||
Cette fonction crée un articles avis, avec les element de traàabilité :
|
||||
- user_recid,
|
||||
|
@ -954,7 +1249,7 @@ def recherche_articles_avis(diction):
|
|||
x['avis'] = str(clean_avis)
|
||||
|
||||
print(user)
|
||||
insertObject.append(JSONEncoder().encode(user))
|
||||
insertObject.append(mycommon.JSONEncoder().encode(user))
|
||||
|
||||
return True, insertObject
|
||||
|
||||
|
@ -1147,7 +1442,7 @@ def get_article_avis_alaune(diction):
|
|||
x['avis'] = val[:MYSY_GV.MAX_CARACT_DEDUIT]
|
||||
|
||||
user = x
|
||||
insertObject.append(JSONEncoder().encode(user))
|
||||
insertObject.append(mycommon.JSONEncoder().encode(user))
|
||||
|
||||
#print(" getObject = ", str(insertObject))
|
||||
return True, insertObject
|
||||
|
|
52
main.py
52
main.py
|
@ -1240,7 +1240,42 @@ def partner_login():
|
|||
|
||||
|
||||
'''
|
||||
Cette API récupérer tous les articles et avis sur les formations
|
||||
Cette API récupérer tous les articles PUBLIE (c'est a dire que :
|
||||
- valide = 1,
|
||||
- locked = 0
|
||||
- date_publication est <= date du jour)
|
||||
|
||||
'''
|
||||
@app.route('/myclass/api/get_all_published_articles_avis/', methods=['POST','GET'])
|
||||
@crossdomain(origin='*')
|
||||
def get_all_published_articles_avis():
|
||||
# On recupere le corps (payload) de la requete
|
||||
payload = mycommon.strip_dictionary (request.form.to_dict())
|
||||
print(" ### payload get_all_published_articles_avis = ",payload)
|
||||
status, retval = aa.get_all_published_articles_avis(payload)
|
||||
return jsonify(status=status, message=retval)
|
||||
|
||||
|
||||
|
||||
'''
|
||||
Cette API récupérer tous les articles NON PUBLIE (c'est a dire que :
|
||||
- valide = 1,
|
||||
- locked = 0
|
||||
- date_publication est > date du jour)
|
||||
|
||||
'''
|
||||
@app.route('/myclass/api/get_all_non_published_articles_avis/', methods=['POST','GET'])
|
||||
@crossdomain(origin='*')
|
||||
def get_all_non_published_articles_avis():
|
||||
# On recupere le corps (payload) de la requete
|
||||
payload = mycommon.strip_dictionary (request.form.to_dict())
|
||||
print(" ### payload get_all_articles_avis = ",payload)
|
||||
status, retval = aa.get_all_non_published_articles_avis(payload)
|
||||
return jsonify(status=status, message=retval)
|
||||
|
||||
|
||||
'''
|
||||
Cette API récupérer tous les articles et avis sur les formations (les publiés et les non publiés)
|
||||
'''
|
||||
@app.route('/myclass/api/get_all_articles_avis/', methods=['POST','GET'])
|
||||
@crossdomain(origin='*')
|
||||
|
@ -1252,6 +1287,8 @@ def get_all_articles_avis():
|
|||
return jsonify(status=status, message=retval)
|
||||
|
||||
|
||||
|
||||
|
||||
'''
|
||||
Cette API de Recuperation des derniers avis tous avis et commentaires
|
||||
difference de celui en argument (les 3 derniers autre que celui en argument)
|
||||
|
@ -1294,6 +1331,19 @@ def get_articles_avis_from_id():
|
|||
return jsonify(status=status, message=retval)
|
||||
|
||||
|
||||
'''
|
||||
Cette API de suppression un article/avis donné en partant de l'_id
|
||||
'''
|
||||
@app.route('/myclass/api/delete_articles_avis_from_id/', methods=['POST','GET'])
|
||||
@crossdomain(origin='*')
|
||||
def delete_articles_avis_from_id():
|
||||
# On recupere le corps (payload) de la requete
|
||||
payload = mycommon.strip_dictionary (request.form.to_dict())
|
||||
print(" ### get_articles_avis_from_id : payload = ", payload)
|
||||
status, retval = aa.delete_articles_avis_from_id(payload)
|
||||
return jsonify(status=status, message=retval)
|
||||
|
||||
|
||||
|
||||
'''
|
||||
Cette API ajouter un article/avis
|
||||
|
|
Loading…
Reference in New Issue