20/04/23 - 20h
parent
bb7a2b4e05
commit
7a940c88d3
|
@ -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="15/04/23 - 22h">
|
||||
<list default="true" id="c6d0259a-16e1-410d-91a1-830590ee2a08" name="Changes" comment="20/04/23 - 16h">
|
||||
<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$/lms_chamilo/mysy_lms.py" beforeDir="false" afterPath="$PROJECT_DIR$/lms_chamilo/mysy_lms.py" afterDir="false" />
|
||||
|
@ -111,7 +111,14 @@
|
|||
<option name="project" value="LOCAL" />
|
||||
<updated>1681588140722</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="8" />
|
||||
<task id="LOCAL-00008" summary="20/04/23 - 16h">
|
||||
<created>1681998167874</created>
|
||||
<option name="number" value="00008" />
|
||||
<option name="presentableId" value="LOCAL-00008" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1681998167874</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="9" />
|
||||
<servers />
|
||||
</component>
|
||||
<component name="Vcs.Log.Tabs.Properties">
|
||||
|
@ -132,6 +139,7 @@
|
|||
<MESSAGE value="14/04/23 - 23h" />
|
||||
<MESSAGE value="15/04/23 - 14h" />
|
||||
<MESSAGE value="15/04/23 - 22h" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="15/04/23 - 22h" />
|
||||
<MESSAGE value="20/04/23 - 16h" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="20/04/23 - 16h" />
|
||||
</component>
|
||||
</project>
|
357
Log/log_file.log
357
Log/log_file.log
|
@ -1567456,3 +1567456,360 @@ INFO:root:2023-04-20 15:42:00.561149 : Security check : IP adresse '127.0.0.1'
|
|||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 15:42:00] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 15:42:20.365203 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 15:42:20] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 15:44:27.984843 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-04-20 15:44:27.988345 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-04-20 15:44:27.990373 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 15:44:27] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 15:44:27.997386 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-04-20 15:44:28.001391 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 15:44:28] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 15:44:28] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 15:44:28] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 15:44:28.888512 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 15:44:28] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 15:44:30.737489 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 15:44:30] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 15:44:34.835538 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 15:44:34] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 15:44:50.598064 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 15:44:50] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 15:46:21.919844 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 15:46:21] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 15:48:04.692412 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 15:48:04] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 15:49:21.879111 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 15:49:21] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 15:49:38.044192 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-04-20 15:49:38.048823 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-04-20 15:49:38.052059 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 15:49:38] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 15:49:38.057464 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-04-20 15:49:38.063112 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 15:49:38] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 15:49:38] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 15:49:38] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 15:49:38.751836 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 15:49:38] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 15:49:41.369103 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 15:49:41] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 15:50:11.240799 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 15:50:11] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 15:50:42.975725 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 15:50:42] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 15:50:46.883180 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 15:50:46] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2023-04-20 15:52:22.952479 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2023-04-20 15:52:22.952479 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2023-04-20 15:52:22.952479 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2023-04-20 15:52:22.952479 : ++ FLASK PORT 5001 ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 229-221-900
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2023-04-20 15:54:33.303770 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2023-04-20 15:54:33.303770 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2023-04-20 15:54:33.303770 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2023-04-20 15:54:33.303770 : ++ FLASK PORT 5001 ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 229-221-900
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2023-04-20 15:56:54.795673 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2023-04-20 15:56:54.796673 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2023-04-20 15:56:54.796673 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2023-04-20 15:56:54.796673 : ++ FLASK PORT 5001 ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 229-221-900
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2023-04-20 16:03:50.965415 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2023-04-20 16:03:50.965415 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2023-04-20 16:03:50.966867 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2023-04-20 16:03:50.966867 : ++ FLASK PORT 5001 ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 229-221-900
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2023-04-20 16:04:12.039452 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2023-04-20 16:04:12.039452 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2023-04-20 16:04:12.039452 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2023-04-20 16:04:12.039452 : ++ FLASK PORT 5001 ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 229-221-900
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2023-04-20 16:05:40.148470 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2023-04-20 16:05:40.148470 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2023-04-20 16:05:40.148470 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2023-04-20 16:05:40.148470 : ++ FLASK PORT 5001 ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 229-221-900
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2023-04-20 16:10:57.970348 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2023-04-20 16:10:57.970348 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2023-04-20 16:10:57.970348 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2023-04-20 16:10:57.970348 : ++ FLASK PORT 5001 ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 229-221-900
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2023-04-20 16:11:12.964240 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2023-04-20 16:11:12.964240 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2023-04-20 16:11:12.965242 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2023-04-20 16:11:12.965242 : ++ FLASK PORT 5001 ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 229-221-900
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2023-04-20 16:16:08.061100 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2023-04-20 16:16:08.062118 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2023-04-20 16:16:08.062118 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2023-04-20 16:16:08.062118 : ++ FLASK PORT 5001 ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 229-221-900
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2023-04-20 16:16:53.339539 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2023-04-20 16:16:53.339539 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2023-04-20 16:16:53.339539 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2023-04-20 16:16:53.339539 : ++ FLASK PORT 5001 ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 229-221-900
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2023-04-20 16:18:05.015663 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2023-04-20 16:18:05.015663 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2023-04-20 16:18:05.015663 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2023-04-20 16:18:05.015663 : ++ FLASK PORT 5001 ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 229-221-900
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2023-04-20 16:19:13.837445 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2023-04-20 16:19:13.838445 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2023-04-20 16:19:13.838445 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2023-04-20 16:19:13.838445 : ++ FLASK PORT 5001 ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 229-221-900
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2023-04-20 16:20:38.255192 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2023-04-20 16:20:38.256192 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2023-04-20 16:20:38.256192 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2023-04-20 16:20:38.256192 : ++ FLASK PORT 5001 ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 229-221-900
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2023-04-20 16:25:54.117917 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2023-04-20 16:25:54.117917 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2023-04-20 16:25:54.117917 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2023-04-20 16:25:54.117917 : ++ FLASK PORT 5001 ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 229-221-900
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2023-04-20 16:26:24.531073 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2023-04-20 16:26:24.532081 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2023-04-20 16:26:24.532081 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2023-04-20 16:26:24.532081 : ++ FLASK PORT 5001 ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 229-221-900
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2023-04-20 16:26:55.238196 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2023-04-20 16:26:55.238196 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2023-04-20 16:26:55.238196 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2023-04-20 16:26:55.239198 : ++ FLASK PORT 5001 ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 229-221-900
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2023-04-20 16:27:20.021565 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2023-04-20 16:27:20.021565 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2023-04-20 16:27:20.021565 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2023-04-20 16:27:20.021565 : ++ FLASK PORT 5001 ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 229-221-900
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2023-04-20 16:27:50.838212 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2023-04-20 16:27:50.838212 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2023-04-20 16:27:50.838212 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2023-04-20 16:27:50.838212 : ++ FLASK PORT 5001 ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 229-221-900
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2023-04-20 19:23:07.500369 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2023-04-20 19:23:07.502375 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2023-04-20 19:23:07.503365 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2023-04-20 19:23:07.503365 : ++ FLASK PORT 5001 ++
|
||||
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-04-20 19:23:22.057219 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2023-04-20 19:23:22.057219 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2023-04-20 19:23:22.057219 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2023-04-20 19:23:22.057219 : ++ FLASK PORT 5001 ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 229-221-900
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2023-04-20 19:24:19.794500 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2023-04-20 19:24:19.794500 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2023-04-20 19:24:19.795500 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2023-04-20 19:24:19.795500 : ++ FLASK PORT 5001 ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 229-221-900
|
||||
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:2023-04-20 19:26:41.422530 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2023-04-20 19:26:41.423538 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2023-04-20 19:26:41.423538 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2023-04-20 19:26:41.423538 : ++ FLASK PORT 5001 ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 229-221-900
|
||||
INFO:root:2023-04-20 19:27:59.632222 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 19:27:59] "[32mPOST /myclass/api/Lms_Config_Theme_and_Logo HTTP/1.1[0m" 308 -
|
||||
INFO:root:2023-04-20 19:27:59.641725 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 19:27:59] "POST /myclass/api/Lms_Config_Theme_and_Logo/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2023-04-20 19:29:29.217763 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2023-04-20 19:29:29.217763 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2023-04-20 19:29:29.217763 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2023-04-20 19:29:29.217763 : ++ FLASK PORT 5001 ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 229-221-900
|
||||
INFO:root:2023-04-20 19:29:50.705382 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 19:29:50] "[32mPOST /myclass/api/Lms_Config_Theme_and_Logo HTTP/1.1[0m" 308 -
|
||||
INFO:root:2023-04-20 19:29:50.711637 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 19:29:50] "POST /myclass/api/Lms_Config_Theme_and_Logo/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 19:31:53.473393 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 19:31:53] "[32mPOST /myclass/api/Lms_Config_Theme_and_Logo HTTP/1.1[0m" 308 -
|
||||
INFO:root:2023-04-20 19:31:53.480415 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 19:31:53] "POST /myclass/api/Lms_Config_Theme_and_Logo/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 19:31:59.596419 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 19:31:59] "[32mPOST /myclass/api/Lms_Config_Theme_and_Logo HTTP/1.1[0m" 308 -
|
||||
INFO:root:2023-04-20 19:31:59.611026 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 19:31:59] "POST /myclass/api/Lms_Config_Theme_and_Logo/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2023-04-20 19:33:27.028502 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2023-04-20 19:33:27.029595 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2023-04-20 19:33:27.029595 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2023-04-20 19:33:27.029595 : ++ FLASK PORT 5001 ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 229-221-900
|
||||
INFO:root:2023-04-20 19:33:27.075026 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 19:33:27] "[32mPOST /myclass/api/Lms_Config_Theme_and_Logo HTTP/1.1[0m" 308 -
|
||||
INFO:root:2023-04-20 19:33:27.081773 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 19:33:27] "POST /myclass/api/Lms_Config_Theme_and_Logo/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2023-04-20 19:37:04.043383 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2023-04-20 19:37:04.043383 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2023-04-20 19:37:04.043383 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2023-04-20 19:37:04.043383 : ++ FLASK PORT 5001 ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 229-221-900
|
||||
INFO:root:2023-04-20 19:37:04.095009 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 19:37:04] "[32mPOST /myclass/api/Lms_Config_Theme_and_Logo HTTP/1.1[0m" 308 -
|
||||
INFO:root:2023-04-20 19:37:04.106396 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 19:37:04] "POST /myclass/api/Lms_Config_Theme_and_Logo/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 19:38:33.517116 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 19:38:33] "[32mPOST /myclass/api/Lms_Config_Theme_and_Logo HTTP/1.1[0m" 308 -
|
||||
INFO:root:2023-04-20 19:38:33.524030 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 19:38:33] "POST /myclass/api/Lms_Config_Theme_and_Logo/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 19:45:37.276193 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-04-20 19:45:37.279214 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-04-20 19:45:37.285208 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-04-20 19:45:37.290260 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 19:45:37] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 19:45:37] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 19:45:37.304919 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 19:45:37] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 19:45:37] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 19:45:38.255357 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 19:45:38] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 19:46:34.911556 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 19:46:34] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 19:46:42.611733 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 19:46:42] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 19:47:44.520677 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 19:47:44] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 19:49:25.823030 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 19:49:25] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 19:49:59.797279 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 19:49:59] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 19:51:48.482464 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 19:51:48] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 19:52:14.545121 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 19:52:14] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 19:53:07.932443 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 19:53:07] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 19:53:18.759325 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 19:53:18] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 19:57:21.683113 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 19:57:21] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 19:57:26.734175 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 19:57:26] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 19:57:26.760309 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-04-20 19:57:26.766306 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-04-20 19:57:26.773329 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-04-20 19:57:26.774306 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 19:57:26] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 19:57:26] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 19:57:26] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 19:57:28.492019 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 19:57:28] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 19:57:32.393394 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 19:57:32] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 19:57:35.946404 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 19:57:35] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 19:57:41.266428 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 19:57:41] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 19:59:16.825306 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 19:59:16] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 19:59:29.728830 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 19:59:29] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 20:00:06.708909 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 20:00:06] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 20:00:13.198393 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 20:00:13] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 20:02:17.207735 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 20:02:17] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 20:02:40.018453 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 20:02:40] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 20:02:54.613766 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 20:02:54] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 20:04:30.945198 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 20:04:30] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 20:04:41.852499 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-04-20 20:04:41.860497 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 20:04:41] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 20:04:41.875494 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-04-20 20:04:41.880958 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-04-20 20:04:41.883176 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 20:04:41] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 20:04:41] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 20:04:41] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 20:04:43.678807 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 20:04:43] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 20:04:45.617033 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 20:04:45] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 20:04:49.337928 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 20:04:49] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 20:04:53.229479 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 20:04:53] "POST /myclass/api/Lms_Config_Theme_and_Logo/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 20:05:13.368212 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 20:05:13] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 20:05:15.452159 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 20:05:15] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-04-20 20:05:18.233278 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 20:05:18] "POST /myclass/api/Lms_Config_Theme_and_Logo/ HTTP/1.1" 200 -
|
||||
|
|
|
@ -2257,3 +2257,134 @@ def Get_Lms_Themes(diction):
|
|||
exc_type, exc_obj, exc_tb = sys.exc_info()
|
||||
mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - Line : " + str(exc_tb.tb_lineno))
|
||||
return False, " Impossible de recuperer les themes LMS "
|
||||
|
||||
|
||||
|
||||
"""
|
||||
Cette fonction permet de configurer le theme LMS d'un partenaire
|
||||
Sur le front il choisi un theme / logo, cette fonction met à jour ces
|
||||
info dans le lms chamilo.
|
||||
/!\ : la fonction verifie si un setup existe deja (table : 'settings_current' avec
|
||||
access_url = lms_virtualhost_id (dans mysy du user.)
|
||||
|
||||
|
||||
"""
|
||||
def Lms_Config_Theme_and_Logo(diction):
|
||||
try:
|
||||
|
||||
'''
|
||||
# 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.
|
||||
'''
|
||||
field_list = ['token', 'theme_name']
|
||||
incom_keys = diction.keys()
|
||||
for val in incom_keys:
|
||||
if val not in field_list:
|
||||
mycommon.myprint(str(
|
||||
inspect.stack()[0][3]) + " Le champ '" + val + "' n'existe pas, Creation virtualhost annulée")
|
||||
return False, " Les informations fournies sont incorrecte",
|
||||
|
||||
'''
|
||||
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 = ['token', 'theme_name']
|
||||
for val in field_list_obligatoire:
|
||||
if val not in diction:
|
||||
mycommon.myprint(
|
||||
str(inspect.stack()[0][3]) + " - La valeur '" + val + "' n'est pas presente dans liste ")
|
||||
return False, " Les informations fournies sont incorrecte",
|
||||
|
||||
my_token = ""
|
||||
if ("token" in diction.keys()):
|
||||
if diction['token']:
|
||||
my_token = diction['token']
|
||||
|
||||
theme_name = ""
|
||||
if ("theme_name" in diction.keys()):
|
||||
if diction['theme_name']:
|
||||
theme_name = diction['theme_name']
|
||||
|
||||
partner_recid = mycommon.get_parnter_recid_from_token(my_token)
|
||||
if (partner_recid is False):
|
||||
mycommon.myprint(
|
||||
str(inspect.stack()[0][3]) + " - partner_recid KO : Impossible d'importer la liste des participants ")
|
||||
return False, " Les information de connexion sont incorrectes.",
|
||||
|
||||
# Recuperation des données du partenaire
|
||||
local_status, my_partner = mycommon.get_partner_data_from_recid(partner_recid)
|
||||
if (local_status is False):
|
||||
mycommon.myprint(str(inspect.stack()[0][3]) + " - impossible de recuperer les données du partenaire")
|
||||
return False, str(inspect.stack()[0][
|
||||
3]) + " - impossible de recuperer les données du partenaire",
|
||||
|
||||
lms_virtualhost_id = ""
|
||||
if ("lms_virtualhost_id" in my_partner.keys()):
|
||||
lms_virtualhost_id = my_partner['lms_virtualhost_id']
|
||||
|
||||
if( lms_virtualhost_id == ""):
|
||||
mycommon.myprint(str(inspect.stack()[0][3]) + " - Le user "+str(my_partner['nom'])+" ne dispose pas de d'un lms_virtualhost_id."
|
||||
" Pas de configuration à faire")
|
||||
return False, str(inspect.stack()[0][
|
||||
3]) + " - Le user "+str(my_partner['nom'])+" ne dispose pas de d'un lms_virtualhost_id. Pas de configuration à faire"
|
||||
|
||||
|
||||
conn = mariadb.connect(
|
||||
user=MYSY_GV.MYSY_MARIADB_USER,
|
||||
password=MYSY_GV.MYSY_MARIADB_USER_PASS,
|
||||
host=MYSY_GV.MYSY_MARIADB_HOST,
|
||||
port=MYSY_GV.MYSY_MARIADB_PORT,
|
||||
database=MYSY_GV.MYSY_LMS_BDD
|
||||
)
|
||||
|
||||
cur = conn.cursor()
|
||||
|
||||
lms_count_qry = "select count(*) from settings_current where access_url = '" + lms_virtualhost_id + "' AND variable='stylesheets' " \
|
||||
" AND category='stylesheets' ;"
|
||||
|
||||
print(" ### lms_count_qry = ", lms_count_qry)
|
||||
|
||||
lms_count_exec = cur.execute(lms_count_qry)
|
||||
lms_count_courses = ""
|
||||
lms_count_courses_val = "0"
|
||||
for lms_count_courses in cur:
|
||||
lms_count_courses_val = lms_count_courses[0]
|
||||
conn.commit()
|
||||
qry_add_update_setting = ""
|
||||
|
||||
if (int(mycommon.tryInt(lms_count_courses_val)) <= 0):
|
||||
print(" ### le partenaire "+str(my_partner['nom'])+" n'as pas de config dans la 'settings_current' il faut en créer ")
|
||||
qry_add_update_setting = " INSERT INTO settings_current " \
|
||||
"SET variable = 'stylesheets', subkey = 'textfield', " \
|
||||
"category = 'stylesheets', selected_value = '"+str(theme_name)+"'," \
|
||||
" access_url = '"+str(lms_virtualhost_id)+"', access_url_changeable = '1', " \
|
||||
"access_url_locked = 'access_url_locked'; "
|
||||
print(" ### qry_add_setting = ", qry_add_update_setting)
|
||||
else:
|
||||
print(" ### le partenaire " + str(
|
||||
my_partner['nom']) + " A DEJA de config dans la 'settings_current' il faut faire un UPDATE ")
|
||||
qry_add_update_setting = " UPDATE settings_current SET selected_value = '"+str(theme_name)+"' WHERE access_url = '"+str(lms_virtualhost_id)+"'" \
|
||||
" AND variable='stylesheets' " \
|
||||
" AND category='stylesheets' ;"
|
||||
print(" ### qry_add_setting = ", qry_add_update_setting)
|
||||
|
||||
try:
|
||||
|
||||
cur.execute(qry_add_update_setting)
|
||||
|
||||
except mariadb.Error as e:
|
||||
# print(f"Error: {e}")
|
||||
mycommon.myprint(" Impossible de configurer le theme / logo du LMS " + str({e}))
|
||||
return False, "Impossible de configurer le theme / logo du LMS " + str({e}),
|
||||
|
||||
conn.commit()
|
||||
|
||||
return True, " Le theme "+str(theme_name)+" a été bien ajouté au partenaire "+str(my_partner['nom'])+" "
|
||||
|
||||
except Exception as e:
|
||||
exc_type, exc_obj, exc_tb = sys.exc_info()
|
||||
mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - Line : " + str(exc_tb.tb_lineno))
|
||||
return False, " Impossible de configurer le theme / logo du LMS "
|
||||
|
||||
|
|
13
main.py
13
main.py
|
@ -2850,6 +2850,19 @@ def Get_Lms_Themes():
|
|||
localStatus, message = mysy_lms.Get_Lms_Themes(payload)
|
||||
return jsonify(status=localStatus, message=message)
|
||||
|
||||
"""
|
||||
API de configuration du theme de LMS Chamilo
|
||||
"""
|
||||
@app.route('/myclass/api/Lms_Config_Theme_and_Logo/', methods=['POST','GET'])
|
||||
@crossdomain(origin='*')
|
||||
def Lms_Config_Theme_and_Logo():
|
||||
# On recupere le corps (payload) de la requete
|
||||
payload = request.form.to_dict()
|
||||
print(" ### Lms_Config_Theme_and_Logo : payload = ",payload)
|
||||
localStatus, message = mysy_lms.Lms_Config_Theme_and_Logo(payload)
|
||||
return jsonify(status=localStatus, message=message)
|
||||
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
print(" debut api")
|
||||
|
|
Loading…
Reference in New Issue