15/05/23 - 23h

master
cherif 2023-05-15 22:30:55 +02:00
parent 5d350245b1
commit c2a9ac7efc
3 changed files with 104 additions and 5 deletions

View File

@ -1,11 +1,9 @@
<?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="13/05/23 - 23h">
<list default="true" id="c6d0259a-16e1-410d-91a1-830590ee2a08" name="Changes" comment="15/05/23 - 23h">
<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$/Session_Formation.py" beforeDir="false" afterPath="$PROJECT_DIR$/Session_Formation.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/class_mgt.py" beforeDir="false" afterPath="$PROJECT_DIR$/class_mgt.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/lms_chamilo/mysy_lms.py" beforeDir="false" afterPath="$PROJECT_DIR$/lms_chamilo/mysy_lms.py" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
@ -203,7 +201,14 @@
<option name="project" value="LOCAL" />
<updated>1684015246929</updated>
</task>
<option name="localTasksCounter" value="21" />
<task id="LOCAL-00021" summary="15/05/23 - 23h">
<created>1684159880527</created>
<option name="number" value="00021" />
<option name="presentableId" value="LOCAL-00021" />
<option name="project" value="LOCAL" />
<updated>1684159880527</updated>
</task>
<option name="localTasksCounter" value="22" />
<servers />
</component>
<component name="Vcs.Log.Tabs.Properties">
@ -236,6 +241,7 @@
<MESSAGE value="12/05/23 - 19h" />
<MESSAGE value="13/05/23 - 17h" />
<MESSAGE value="13/05/23 - 23h" />
<option name="LAST_COMMIT_MESSAGE" value="13/05/23 - 23h" />
<MESSAGE value="15/05/23 - 23h" />
<option name="LAST_COMMIT_MESSAGE" value="15/05/23 - 23h" />
</component>
</project>

View File

@ -1580283,3 +1580283,82 @@ INFO:root:2023-05-15 15:41:05.147599 : ++ FLASK PORT 5001 ++
INFO:root:2023-05-15 15:41:05.147599 : ++ LMS_BAS_URL mysy-training.fr/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 868-184-516
INFO:root:2023-05-15 20:12:09.248266 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-05-15 20:12:09.350834 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-05-15 20:12:09.350834 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-05-15 20:12:09.350834 : ++ FLASK PORT 5001 ++
INFO:root:2023-05-15 20:12:09.351832 : ++ LMS_BAS_URL mysy-training.fr/ ++
INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on http://localhost:5001
INFO:werkzeug:Press CTRL+C to quit
INFO:werkzeug: * Restarting with stat
INFO:root:2023-05-15 20:12:35.664315 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-05-15 20:12:35.664315 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-05-15 20:12:35.664315 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-05-15 20:12:35.664315 : ++ FLASK PORT 5001 ++
INFO:root:2023-05-15 20:12:35.664315 : ++ LMS_BAS_URL mysy-training.fr/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 868-184-516
INFO:root:2023-05-15 20:12:35.728334 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-05-15 20:12:35.732887 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-05-15 20:12:35.734937 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-05-15 20:12:35.738933 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-05-15 20:12:35.742941 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [15/May/2023 20:12:35] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [15/May/2023 20:12:35] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [15/May/2023 20:12:35] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [15/May/2023 20:12:36] "POST /myclass/api/get_all_class/ 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-05-15 20:41:14.680455 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-05-15 20:41:14.680455 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-05-15 20:41:14.681485 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-05-15 20:41:14.681485 : ++ FLASK PORT 5001 ++
INFO:root:2023-05-15 20:41:14.681485 : ++ LMS_BAS_URL mysy-training.fr/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 868-184-516
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-05-15 20:42:00.057451 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-05-15 20:42:00.058449 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-05-15 20:42:00.058449 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-05-15 20:42:00.058449 : ++ FLASK PORT 5001 ++
INFO:root:2023-05-15 20:42:00.058449 : ++ LMS_BAS_URL mysy-training.fr/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 868-184-516
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-05-15 20:43:50.388793 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-05-15 20:43:50.389784 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-05-15 20:43:50.389784 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-05-15 20:43:50.389784 : ++ FLASK PORT 5001 ++
INFO:root:2023-05-15 20:43:50.389784 : ++ LMS_BAS_URL mysy-training.fr/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 868-184-516
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-05-15 20:45:13.587699 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-05-15 20:45:13.587699 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-05-15 20:45:13.587699 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-05-15 20:45:13.587699 : ++ FLASK PORT 5001 ++
INFO:root:2023-05-15 20:45:13.587699 : ++ LMS_BAS_URL mysy-training.fr/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 868-184-516
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-05-15 20:46:26.799222 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-05-15 20:46:26.799222 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-05-15 20:46:26.800220 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-05-15 20:46:26.800220 : ++ FLASK PORT 5001 ++
INFO:root:2023-05-15 20:46:26.800220 : ++ LMS_BAS_URL mysy-training.fr/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 868-184-516
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-05-15 20:47:50.099714 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-05-15 20:47:50.099714 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-05-15 20:47:50.101159 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-05-15 20:47:50.101159 : ++ FLASK PORT 5001 ++
INFO:root:2023-05-15 20:47:50.101159 : ++ LMS_BAS_URL mysy-training.fr/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 868-184-516

View File

@ -2901,6 +2901,17 @@ def Create_Update_Class_From_Lms(diction):
if (lev('pourqui', str(local_val).lower()) <= 2):
new_diction['pourqui'] = courses_info[1]
if (lev('programme', str(local_val).lower()) <= 2):
new_diction['programme'] = courses_info[1]
if (lev('cles', str(local_val).lower()) <= 2):
new_diction['mots_cle'] = courses_info[1]
if (lev('comparatif', str(local_val).lower()) <= 2):
new_diction['plus_produit'] = courses_info[1]
local_class_code = courses_info[2]
local_class_title = courses_info[3]
local_class_internal_url = courses_info[4]
@ -2913,6 +2924,9 @@ def Create_Update_Class_From_Lms(diction):
new_diction['distantiel'] = "1"
new_diction['presentiel'] = "0"
new_diction['published'] = "1"
class_internal_url = ""
if (local_class_internal_url):