13/06/23 - 21h21
parent
3d80369803
commit
0153cf73b7
|
@ -1,12 +1,10 @@
|
|||
<?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="08/06/23 - 21h">
|
||||
<list default="true" id="c6d0259a-16e1-410d-91a1-830590ee2a08" name="Changes" comment="13/06/23 - 16h">
|
||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/Ela_Spacy.py" beforeDir="false" afterPath="$PROJECT_DIR$/Ela_Spacy.py" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/Log/log_file.log" beforeDir="false" afterPath="$PROJECT_DIR$/Log/log_file.log" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/ela_index_bdd_classes.py" beforeDir="false" afterPath="$PROJECT_DIR$/ela_index_bdd_classes.py" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/prj_common.py" beforeDir="false" afterPath="$PROJECT_DIR$/prj_common.py" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/code_promo_mgt.py" beforeDir="false" afterPath="$PROJECT_DIR$/code_promo_mgt.py" afterDir="false" />
|
||||
</list>
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
|
@ -308,7 +306,14 @@
|
|||
<option name="project" value="LOCAL" />
|
||||
<updated>1686251029490</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="35" />
|
||||
<task id="LOCAL-00035" summary="13/06/23 - 16h">
|
||||
<created>1686667154704</created>
|
||||
<option name="number" value="00035" />
|
||||
<option name="presentableId" value="LOCAL-00035" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1686667154704</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="36" />
|
||||
<servers />
|
||||
</component>
|
||||
<component name="Vcs.Log.Tabs.Properties">
|
||||
|
@ -323,7 +328,6 @@
|
|||
</option>
|
||||
</component>
|
||||
<component name="VcsManagerConfiguration">
|
||||
<MESSAGE value="20/04/23 - 16h" />
|
||||
<MESSAGE value="20/04/23 - 20h" />
|
||||
<MESSAGE value="22/04/23 - 19h" />
|
||||
<MESSAGE value="23/04/23 - 19h" />
|
||||
|
@ -348,6 +352,7 @@
|
|||
<MESSAGE value="05/06/23 - 15h" />
|
||||
<MESSAGE value="06/06/23 - 19h" />
|
||||
<MESSAGE value="08/06/23 - 21h" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="08/06/23 - 21h" />
|
||||
<MESSAGE value="13/06/23 - 16h" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="13/06/23 - 16h" />
|
||||
</component>
|
||||
</project>
|
328
Log/log_file.log
328
Log/log_file.log
|
@ -1608925,3 +1608925,331 @@ INFO:root:2023-06-12 20:55:27.334713 : Security check : IP adresse '127.0.0.1'
|
|||
INFO:werkzeug:127.0.0.1 - - [12/Jun/2023 20:55:27] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [12/Jun/2023 20:55:27] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [12/Jun/2023 20:55:27] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:40:12.065016 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2023-06-13 20:40:12.065016 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2023-06-13 20:40:12.066019 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2023-06-13 20:40:12.066019 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2023-06-13 20:40:12.066019 : ++ 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:2023-06-13 20:40:29.599232 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2023-06-13 20:40:29.599232 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2023-06-13 20:40:29.600232 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2023-06-13 20:40:29.600232 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2023-06-13 20:40:29.600232 : ++ LMS_BAS_URL mysy-training.com/ ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 110-129-659
|
||||
INFO:root:2023-06-13 20:40:29.682874 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:40:29.684874 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:40:29.686874 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:40:29.688874 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:40:29.690874 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:40:29] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:40:29] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:40:29] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:40:29] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:40:30.531918 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:40:30.532930 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:40:30.533957 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:40:30.535946 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:40:30.542672 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:40:30] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:40:30] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:40:30.548685 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:40:30] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:40:30] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:40:30] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:40:30] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:40:30.857290 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:40:30.860289 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:40:30] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:40:30.865483 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:40:30.870483 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:40:30] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:40:30.875809 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:40:30] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:40:30] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:40:30.879410 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:40:30] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:40:30] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:40:31.182602 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:40:31.184861 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:40:31] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:40:31] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:40:31.198449 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:40:31.200579 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:40:31.202578 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:40:31.203687 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:40:31] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:40:31] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:40:31] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:40:31] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:40:31.511939 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:40:31.512954 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:40:31] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:40:31] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\code_promo_mgt.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2023-06-13 20:49:08.599277 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2023-06-13 20:49:08.600278 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2023-06-13 20:49:08.600278 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2023-06-13 20:49:08.600278 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2023-06-13 20:49:08.600278 : ++ LMS_BAS_URL mysy-training.com/ ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 110-129-659
|
||||
INFO:root:2023-06-13 20:50:18.890305 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:50:18.892449 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:50:18.894596 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:50:18] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:50:18] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:50:19] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:50:19.955794 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:50:19.957793 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:50:20] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:50:20.432182 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:50:20.436184 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:50:20] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:50:20.440182 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:50:20.445366 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:50:20] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:50:20] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:50:20.453049 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:50:20] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:50:20] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:50:20.462614 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:50:20.464996 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:50:20] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:50:20.471649 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:50:20] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:50:20.477890 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:50:20.482230 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:50:20] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:50:20.488578 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:50:20] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:50:20.494446 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:50:20.497786 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:50:20] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:50:20] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:50:20.504672 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:50:20] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:50:20.511917 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:50:20] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:50:20] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:50:20.519054 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:50:20.522117 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:50:20] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:50:20] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:50:20.528906 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:50:20.533261 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:50:20] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:50:20.538105 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:50:20] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:50:20] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:50:20] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:50:35.477347 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:50:36.878239 : partner_login Connexion partnair contact@mysy-training.com : OK, Date : 2023-06-13 20:50:35.480570 , _id = 641c21666cad03956ab28252
|
||||
INFO:root:2023-06-13 20:50:36.884236 : partner_login Connexion partener_token : OK , _id = 641c23520d5d7f136a823b3c
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:50:36] "POST /myclass/api/partner_login/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:50:37.136752 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:50:37.142204 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:50:37.148257 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:50:37.150914 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:50:37] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:50:37] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:50:37.167696 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:50:37] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:50:37] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:50:37.601387 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:50:37] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:50:40.594604 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:50:40.600155 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:50:40.607114 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:50:40] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
|
||||
INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_O1haqbA8yw3Frg/payment_methods?type=card
|
||||
DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
|
||||
INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_O1haqbA8yw3Frg/payment_methods?type=card response_code=200
|
||||
DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NFeDgAbmaEugrFTTExEMthW",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "Demo 0506",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1685974636,\n "customer": "cus_O1haqbA8yw3Frg",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_O1haqbA8yw3Frg/payment_methods"\n}' message='API response body'
|
||||
DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_SDIr6KcUhmGMsC message='Dashboard link for request'
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:50:41] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:50:42.700673 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:50:42.710650 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:50:42] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:51:03.084442 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:51:03.089014 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:51:03.094014 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:51:03] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
|
||||
INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_O1haqbA8yw3Frg/payment_methods?type=card
|
||||
DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
|
||||
INFO:root:2023-06-13 20:51:03.827788 : Get_Active_Ftions_Mysy_and_Lms -Can't connect to server on '88.170.110.220' (10060) - Line : 1416
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:51:03] "POST /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 -
|
||||
INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_O1haqbA8yw3Frg/payment_methods?type=card response_code=200
|
||||
DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NFeDgAbmaEugrFTTExEMthW",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "Demo 0506",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1685974636,\n "customer": "cus_O1haqbA8yw3Frg",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_O1haqbA8yw3Frg/payment_methods"\n}' message='API response body'
|
||||
DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_DJv9drFcuvLUPZ message='Dashboard link for request'
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:51:04] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:51:22.242253 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:51:22.246946 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:51:22.252986 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:51:22] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
|
||||
INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_O1haqbA8yw3Frg/payment_methods?type=card
|
||||
DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
|
||||
INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_O1haqbA8yw3Frg/payment_methods?type=card response_code=200
|
||||
DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NFeDgAbmaEugrFTTExEMthW",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "Demo 0506",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1685974636,\n "customer": "cus_O1haqbA8yw3Frg",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_O1haqbA8yw3Frg/payment_methods"\n}' message='API response body'
|
||||
DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_xQp4Z73HfwOGJH message='Dashboard link for request'
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:51:23] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:51:39.910840 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:51:39.925417 : Get_Given_Code_Promo - Le code promo '' n'existe pas
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:51:39] "POST /myclass/api/Get_Given_Code_Promo/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:52:13.410908 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:52:13.423598 : Get_Given_Code_Promo - Le code promo '' n'existe pas
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:52:13] "POST /myclass/api/Get_Given_Code_Promo/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:53:46.716450 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:53:46.719446 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:53:46.723451 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:53:46.727879 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:53:46] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:53:46.739144 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:53:46] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:53:46] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:53:46] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:53:47.335638 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:53:47] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:53:50.550714 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:53:50.555827 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:53:50.564512 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:53:50] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
|
||||
INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_O1haqbA8yw3Frg/payment_methods?type=card
|
||||
DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
|
||||
INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_O1haqbA8yw3Frg/payment_methods?type=card response_code=200
|
||||
DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NFeDgAbmaEugrFTTExEMthW",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "Demo 0506",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1685974636,\n "customer": "cus_O1haqbA8yw3Frg",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_O1haqbA8yw3Frg/payment_methods"\n}' message='API response body'
|
||||
DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_KChepwLiPg2NnA message='Dashboard link for request'
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:53:50] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:53:52.552669 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:53:52.557268 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:53:52] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:54:01.230700 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:54:01.241359 : Get_Given_Code_Promo - Le code promo 'sdqsd' n'existe pas
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:54:01] "POST /myclass/api/Get_Given_Code_Promo/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:54:13.622906 : Get_Active_Ftions_Mysy_and_Lms -Can't connect to server on '88.170.110.220' (10060) - Line : 1416
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:54:13] "POST /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:55:16.725491 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:55:16.730481 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:55:16] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:55:16.738275 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:55:16.744646 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:55:16.755925 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:55:16] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:55:16] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:55:16] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:55:17.405406 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:55:17] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:55:21.471493 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:55:21.475700 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:55:21.483701 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:55:21] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
|
||||
INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_O1haqbA8yw3Frg/payment_methods?type=card
|
||||
DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
|
||||
INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_O1haqbA8yw3Frg/payment_methods?type=card response_code=200
|
||||
DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NFeDgAbmaEugrFTTExEMthW",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "Demo 0506",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1685974636,\n "customer": "cus_O1haqbA8yw3Frg",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_O1haqbA8yw3Frg/payment_methods"\n}' message='API response body'
|
||||
DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_b3TwgClPY4O0TD message='Dashboard link for request'
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:55:21] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:55:23.103267 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:55:23.106949 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:55:23] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:55:24.690068 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:55:24.704178 : Get_Given_Code_Promo - Le code promo 'qsds' n'existe pas
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:55:24] "POST /myclass/api/Get_Given_Code_Promo/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:55:44.179205 : Get_Active_Ftions_Mysy_and_Lms -Can't connect to server on '88.170.110.220' (10060) - Line : 1416
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:55:44] "POST /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:56:17.357762 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:56:17.360920 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:56:17.367152 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:56:17] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
|
||||
INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_O1haqbA8yw3Frg/payment_methods?type=card
|
||||
DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
|
||||
INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_O1haqbA8yw3Frg/payment_methods?type=card response_code=200
|
||||
DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NFeDgAbmaEugrFTTExEMthW",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "Demo 0506",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1685974636,\n "customer": "cus_O1haqbA8yw3Frg",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_O1haqbA8yw3Frg/payment_methods"\n}' message='API response body'
|
||||
DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_dFJ7tCKXbpzjrl message='Dashboard link for request'
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:56:19] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\code_promo_mgt.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2023-06-13 20:56:54.164862 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2023-06-13 20:56:54.164862 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2023-06-13 20:56:54.164862 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2023-06-13 20:56:54.164862 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2023-06-13 20:56:54.164862 : ++ LMS_BAS_URL mysy-training.com/ ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 110-129-659
|
||||
INFO:root:2023-06-13 20:57:04.814591 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:57:04.819663 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:57:04.824763 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:57:04.828318 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:57:04] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:57:04] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:57:04.848369 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:57:04] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:57:04] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:57:06.128704 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:57:06] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:57:15.399895 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:57:15.404207 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:57:15.411744 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:57:15] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
|
||||
INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_O1haqbA8yw3Frg/payment_methods?type=card
|
||||
DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
|
||||
INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_O1haqbA8yw3Frg/payment_methods?type=card response_code=200
|
||||
DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NFeDgAbmaEugrFTTExEMthW",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "Demo 0506",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1685974636,\n "customer": "cus_O1haqbA8yw3Frg",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_O1haqbA8yw3Frg/payment_methods"\n}' message='API response body'
|
||||
DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_6DsxYQtBhBEfxx message='Dashboard link for request'
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:57:16] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:57:16.929430 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:57:16.936121 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:57:16] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:57:19.737194 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:57:21.008694 : Get_Given_Code_Promo - Le code promo 'QSQsQ' n'existe pas
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:57:21] "POST /myclass/api/Get_Given_Code_Promo/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:57:21.364191 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:57:21.372264 : Get_Given_Code_Promo - Le code promo 'QSQsQ' n'existe pas
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:57:21] "POST /myclass/api/Get_Given_Code_Promo/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:57:38.049712 : Get_Active_Ftions_Mysy_and_Lms -Can't connect to server on '88.170.110.220' (10060) - Line : 1416
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:57:38] "POST /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:57:54.814810 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:57:54.829813 : Get_Given_Code_Promo - Les dates du code promo 'code_percent_50' ne sont pas valides
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:57:54] "POST /myclass/api/Get_Given_Code_Promo/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 20:58:00.913061 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 20:58:00.927056 : Get_Given_Code_Promo - Les dates du code promo 'code_percent_50' ne sont pas valides
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 20:58:00] "POST /myclass/api/Get_Given_Code_Promo/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 21:00:37.461145 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 21:00:37.474390 : Get_Given_Code_Promo - Les dates du code promo 'code_percent_50' ne sont pas valides
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 21:00:37] "POST /myclass/api/Get_Given_Code_Promo/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 21:01:48.790354 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 21:01:48.803347 : Get_Given_Code_Promo - Le code promo 'code_percent_51' n'existe pas
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 21:01:48] "POST /myclass/api/Get_Given_Code_Promo/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 21:01:53.410474 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 21:01:53] "POST /myclass/api/Get_Given_Code_Promo/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 21:02:37.233734 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 21:02:37.242854 : Get_Given_Code_Promo - Le code promo 'code_percent_51' n'existe pas
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 21:02:37] "POST /myclass/api/Get_Given_Code_Promo/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 21:05:25.651417 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 21:05:25.658333 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 21:05:25.663320 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 21:05:25.676450 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 21:05:25] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 21:05:25] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
|
||||
INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_O1haqbA8yw3Frg/payment_methods?type=card
|
||||
DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
|
||||
INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_O1haqbA8yw3Frg/payment_methods?type=card response_code=200
|
||||
DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NFeDgAbmaEugrFTTExEMthW",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "Demo 0506",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 11,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1685974636,\n "customer": "cus_O1haqbA8yw3Frg",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_O1haqbA8yw3Frg/payment_methods"\n}' message='API response body'
|
||||
DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_so7cTgMLKPA3Di message='Dashboard link for request'
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 21:05:27] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 21:05:27.930789 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 21:05:27.942010 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 21:05:27] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 21:05:31.059056 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 21:05:31.069355 : Get_Given_Code_Promo - Le code promo 'sds' n'existe pas
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 21:05:31] "POST /myclass/api/Get_Given_Code_Promo/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 21:05:44.490310 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 21:05:44] "POST /myclass/api/Get_Given_Code_Promo/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-06-13 21:05:56.193603 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-06-13 21:05:56.204640 : Get_Given_Code_Promo - Les dates du code promo 'code_percent_50' ne sont pas valides
|
||||
INFO:werkzeug:127.0.0.1 - - [13/Jun/2023 21:05:56] "POST /myclass/api/Get_Given_Code_Promo/ HTTP/1.1" 200 -
|
||||
|
|
|
@ -506,6 +506,7 @@ def Get_Given_Code_Promo(diction):
|
|||
print(" ##### myquery = " + str(myquery))
|
||||
RetObject = []
|
||||
nb_val = 0
|
||||
is_code_promo_expired = "0"
|
||||
for retval in coll_session.find(myquery):
|
||||
print(" ##### retval = " + str(retval))
|
||||
debut_debut = datetime.strptime(str(retval['date_debut']).strip(), '%d/%m/%Y')
|
||||
|
@ -513,12 +514,24 @@ def Get_Given_Code_Promo(diction):
|
|||
if (debut_debut <= datetime.now() and date_fin >= datetime.now() and retval['type'] in ['fix', 'percent'] ):
|
||||
RetObject.append(mycommon.JSONEncoder().encode(retval))
|
||||
nb_val = nb_val + 1
|
||||
elif ( debut_debut > datetime.now() or date_fin < datetime.now() ):
|
||||
is_code_promo_expired = "1"
|
||||
nb_val = -1
|
||||
|
||||
|
||||
# Si aucun code valide trouvé, on retourne false aussi.
|
||||
if( nb_val == 0 ):
|
||||
if( is_code_promo_expired == "0" and nb_val == 0 ):
|
||||
mycommon.myprint(
|
||||
str(inspect.stack()[0][3]) + " - Le code promo '"+str(code_promo)+"' n'est pas valide ")
|
||||
return False, " - Le code promo '"+str(code_promo)+"' n'est pas valide "
|
||||
str(inspect.stack()[0][3]) + " - Le code promo '"+str(code_promo)+"' n'existe pas ")
|
||||
return False, "Le code promo n'existe pas "
|
||||
|
||||
|
||||
# Si le code promo existe mais que la date de validité est incorrecte
|
||||
if( is_code_promo_expired != "0" ):
|
||||
mycommon.myprint(
|
||||
str(inspect.stack()[0][3]) + " - Les dates du code promo '" + str(code_promo) + "' ne sont pas valides ")
|
||||
return False, " Les dates du code promo ne sont pas valides "
|
||||
|
||||
|
||||
return True, RetObject
|
||||
|
||||
|
|
Loading…
Reference in New Issue