29/0523 - 20h
parent
3a8fdc9233
commit
19575ec64e
|
@ -1,13 +1,15 @@
|
|||
<?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="25/05/23 - 17h">
|
||||
<list default="true" id="c6d0259a-16e1-410d-91a1-830590ee2a08" name="Changes" comment="28/05/23 - 15h">
|
||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/GlobalVariable.py" beforeDir="false" afterPath="$PROJECT_DIR$/GlobalVariable.py" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/Inscription_mgt.py" beforeDir="false" afterPath="$PROJECT_DIR$/Inscription_mgt.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_factures_mgt.py" beforeDir="false" afterPath="$PROJECT_DIR$/ela_factures_mgt.py" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/email_mgt.py" beforeDir="false" afterPath="$PROJECT_DIR$/email_mgt.py" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/Template/MySy_Evaluation_Class_tpl.html" beforeDir="false" afterPath="$PROJECT_DIR$/Template/MySy_Evaluation_Class_tpl.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/email_inscription_mgt.py" beforeDir="false" afterPath="$PROJECT_DIR$/email_inscription_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" />
|
||||
<change beforePath="$PROJECT_DIR$/prj_common.py" beforeDir="false" afterPath="$PROJECT_DIR$/prj_common.py" afterDir="false" />
|
||||
</list>
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
|
@ -253,7 +255,14 @@
|
|||
<option name="project" value="LOCAL" />
|
||||
<updated>1685028085742</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="28" />
|
||||
<task id="LOCAL-00028" summary="28/05/23 - 15h">
|
||||
<created>1685281037292</created>
|
||||
<option name="number" value="00028" />
|
||||
<option name="presentableId" value="LOCAL-00028" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1685281037292</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="29" />
|
||||
<servers />
|
||||
</component>
|
||||
<component name="Vcs.Log.Tabs.Properties">
|
||||
|
@ -292,6 +301,7 @@
|
|||
<MESSAGE value="22/05/23 - 23h" />
|
||||
<MESSAGE value="23/05/23 - 23h" />
|
||||
<MESSAGE value="25/05/23 - 17h" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="25/05/23 - 17h" />
|
||||
<MESSAGE value="28/05/23 - 15h" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="28/05/23 - 15h" />
|
||||
</component>
|
||||
</project>
|
|
@ -269,8 +269,8 @@ MAX_PARTICIPANT_BY_CSV = 50
|
|||
Stripe : Nom des produits et prix et la clé de config
|
||||
"""
|
||||
if (MYSY_ENV == "PROD"):
|
||||
STRIPE_GOLD_PRICE_ID = "price_1MT0hIAbmaEugrFTBZxxyUdB"
|
||||
STRIPE_STANDARD_PRICE_ID = "price_1MT0icAbmaEugrFTvtvpMZbG"
|
||||
STRIPE_GOLD_PRICE_ID = "price_1MUSs8AbmaEugrFTLotyGESS"
|
||||
STRIPE_STANDARD_PRICE_ID = "price_1MUSoGAbmaEugrFTTjz5lSye"
|
||||
STRIPE_TEST_PRICE_ID = "price_1MT0f0AbmaEugrFTJjdZZXG7"
|
||||
STRIPE_CONFIG_KEY_PUB = "pk_live_51LUUfAAbmaEugrFTyfNe4Dj0vbxc5qXQqNs0rztjAKy8oSlc5EEQyJGjA8Z5kXmP2gvUMcYLUBYCIyWWzLCw59RY00PtGInkVf"
|
||||
STRIPE_CONFIG_API_KEY = "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"
|
||||
|
|
|
@ -2026,6 +2026,11 @@ def SendTrainingEvaluationEmail(diction):
|
|||
if local_session_info['presentiel']:
|
||||
my_retrun_dict['presentiel'] = local_session_info['presentiel']
|
||||
|
||||
session_ondemande = ""
|
||||
if ("session_ondemande" in local_session_info.keys()):
|
||||
if local_session_info['session_ondemande']:
|
||||
my_retrun_dict['session_ondemande'] = local_session_info['session_ondemande']
|
||||
|
||||
|
||||
# Envoi de l'email de notification au formateur
|
||||
local_status, local_message = email_session.Evaluation_training_confirmation_mail(my_retrun_dict)
|
||||
|
|
222
Log/log_file.log
222
Log/log_file.log
|
@ -1586049,3 +1586049,225 @@ DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_ejLuxaP8bXeaiW mess
|
|||
INFO:stripe:error_code=None error_message='You cannot update a subscription that is `canceled` or `incomplete_expired`.' error_param=None error_type=invalid_request_error message='Stripe API error received'
|
||||
INFO:root:2023-05-27 20:00:12.632689 : strip_update_subscription_qty -Request req_ejLuxaP8bXeaiW: You cannot update a subscription that is `canceled` or `incomplete_expired`. - ERRORRRR AT Line : 849
|
||||
INFO:werkzeug:127.0.0.1 - - [27/May/2023 20:00:12] "POST /myclass/api/strip_update_subscription_qty/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 09:54:37.255197 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2023-05-29 09:54:37.256217 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2023-05-29 09:54:37.256217 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2023-05-29 09:54:37.256217 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2023-05-29 09:54:37.256217 : ++ LMS_BAS_URL mysy-training.fr/ ++
|
||||
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-05-29 09:54:49.875856 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2023-05-29 09:54:49.875856 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2023-05-29 09:54:49.875856 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2023-05-29 09:54:49.875856 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2023-05-29 09:54:49.875856 : ++ LMS_BAS_URL mysy-training.fr/ ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 128-772-473
|
||||
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-29 15:42:41.724205 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2023-05-29 15:42:41.724205 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2023-05-29 15:42:41.724205 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2023-05-29 15:42:41.725257 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2023-05-29 15:42:41.725257 : ++ LMS_BAS_URL mysy-training.fr/ ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 128-772-473
|
||||
INFO:root:2023-05-29 18:59:30.763927 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2023-05-29 18:59:30.765950 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2023-05-29 18:59:30.765950 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2023-05-29 18:59:30.765950 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2023-05-29 18:59:30.765950 : ++ LMS_BAS_URL mysy-training.fr/ ++
|
||||
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-05-29 18:59:46.218670 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2023-05-29 18:59:46.218670 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2023-05-29 18:59:46.218670 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2023-05-29 18:59:46.218670 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2023-05-29 18:59:46.218670 : ++ LMS_BAS_URL mysy-training.fr/ ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 128-772-473
|
||||
INFO:root:2023-05-29 19:00:04.519229 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-05-29 19:00:04.520837 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-05-29 19:00:04.521867 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:00:04] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:00:04] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:00:04] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:00:05.712352 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-05-29 19:00:05.713925 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:00:05] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:00:06.234573 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-05-29 19:00:06.237847 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-05-29 19:00:06.240870 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-05-29 19:00:06.244004 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-05-29 19:00:06.247016 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-05-29 19:00:06.251341 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:00:06] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:00:06] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:00:06] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:00:06.259453 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-05-29 19:00:06.264693 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:00:06] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:00:06] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:00:06] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:00:06] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:00:06] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:00:06.272502 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-05-29 19:00:06.274802 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-05-29 19:00:06.277040 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-05-29 19:00:06.280382 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:00:06] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:00:06.289013 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:00:06] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:00:06] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:00:06.294403 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-05-29 19:00:06.297916 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:00:06] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:00:06] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:00:06.304350 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:00:06] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:00:06] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:00:06.309037 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-05-29 19:00:06.312513 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-05-29 19:00:06.316763 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:00:06] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:00:06] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:00:06] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:00:06.326521 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:00:06] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:00:06] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:00:09.714260 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-05-29 19:00:10.504581 : partner_login Connexion partnair contact@mysy-training.com : OK, Date : 2023-05-29 19:00:09.715334 , _id = 641c21666cad03956ab28252
|
||||
INFO:root:2023-05-29 19:00:10.517152 : partner_login Connexion partener_token : OK , _id = 641c23520d5d7f136a823b3c
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:00:10] "POST /myclass/api/partner_login/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:00:10.636451 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-05-29 19:00:10.640414 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-05-29 19:00:10.642749 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:00:10] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:00:10.647741 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-05-29 19:00:10.657315 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:00:10] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:00:10] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:00:10] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:00:10.788592 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:00:10] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:00:15.347733 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-05-29 19:00:15.352735 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:00:15] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:07:23.726813 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-05-29 19:07:23.729031 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:07:23] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:07:23.732049 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:07:23] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:07:23] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:07:24.696148 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-05-29 19:07:24.698139 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:07:24] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:07:25.396239 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-05-29 19:07:25.399765 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:07:25] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:07:25.403337 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:07:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:07:25.410361 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:07:25] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:07:25.414360 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:07:25] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:07:25.420049 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:07:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:07:25.426583 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-05-29 19:07:25.430084 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:07:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:07:25.436136 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:07:25] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:07:25.442337 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:07:25] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:07:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:07:25.448629 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:07:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:07:25.454958 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:07:25] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:07:25.463673 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:07:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:07:25.472480 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:07:25] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:07:25.477014 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-05-29 19:07:25.482028 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:07:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:07:25.489525 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:07:25] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:07:25.495882 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:07:25] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:07:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:07:25.504133 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:07:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:07:25.510170 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:07:25] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:07:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:07:28.953527 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-05-29 19:07:28.956525 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-05-29 19:07:28.956525 : Le token partner est vide
|
||||
INFO:root:2023-05-29 19:07:28.960530 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-05-29 19:07:28.963590 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-05-29 19:07:28.963590 : Le token partner est vide
|
||||
INFO:root:2023-05-29 19:07:28.968087 : Le token du partenaire n'est pas valide
|
||||
INFO:root:2023-05-29 19:07:28.973304 : getRecodedImage - Impossible de recuperer le recid du user
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:07:28] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:07:28.976840 : get_partner_account - Le token n'est pas valide
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:07:28] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:07:28.980323 : LMS_Get_Partner_Data - partner_recid KO : Impossible d'importer la liste des participants
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:07:28] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:07:28.988557 : get_partner_class - Le token est vide
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:07:28] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:07:31.632598 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-05-29 19:07:31.637701 : partner_login Connexion partnair contact@mysy-training.com : OK, Date : 2023-05-29 19:07:31.633619 , _id = 641c21666cad03956ab28252
|
||||
INFO:root:2023-05-29 19:07:31.642150 : partner_login Connexion partener_token : OK , _id = 641c23520d5d7f136a823b3c
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:07:31] "POST /myclass/api/partner_login/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:07:31.771370 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-05-29 19:07:31.775383 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:07:31] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:07:31.784182 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-05-29 19:07:31.784182 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:07:31] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:07:31.787645 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:07:31] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:07:31] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:07:32.033122 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:07:32] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:07:37.526532 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-05-29 19:07:37.531846 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:07:37] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:15:37.155329 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-05-29 19:15:37.159475 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:15:37] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:15:37.164463 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-05-29 19:15:37.168696 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-05-29 19:15:37.174121 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:15:37] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:15:37] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:15:37] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:15:38.194932 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:15:38] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
|
||||
INFO:root:2023-05-29 19:15:40.859822 : Security check : IP adresse '127.0.0.1' connected
|
||||
INFO:root:2023-05-29 19:15:40.865981 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
|
||||
INFO:werkzeug:127.0.0.1 - - [29/May/2023 19:15:40] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2023-05-29 20:25:21.976639 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2023-05-29 20:25:21.976639 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2023-05-29 20:25:21.976639 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2023-05-29 20:25:21.977639 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2023-05-29 20:25:21.977639 : ++ LMS_BAS_URL mysy-training.fr/ ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 128-772-473
|
||||
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\email_inscription_mgt.py', reloading
|
||||
INFO:werkzeug: * Restarting with stat
|
||||
INFO:root:2023-05-29 20:26:26.669625 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
|
||||
INFO:root:2023-05-29 20:26:26.669625 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
|
||||
INFO:root:2023-05-29 20:26:26.669625 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
|
||||
INFO:root:2023-05-29 20:26:26.669625 : ++ FLASK PORT 5001 ++
|
||||
INFO:root:2023-05-29 20:26:26.669625 : ++ LMS_BAS_URL mysy-training.fr/ ++
|
||||
WARNING:werkzeug: * Debugger is active!
|
||||
INFO:werkzeug: * Debugger PIN: 128-772-473
|
||||
|
|
|
@ -70,7 +70,7 @@
|
|||
<tr>
|
||||
<td bgcolor="#F9F9FF" height="165" style="height:165px; padding: 0.7rem;" width="600">
|
||||
<table border="0" cellpadding="0" cellspacing="0" bgcolor="#F9F9FF"
|
||||
style="background-color:#F9F9FF">
|
||||
style="background-color:#F9F9FF">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="center" height="165"
|
||||
|
@ -81,81 +81,473 @@
|
|||
<div style="margin-left: auto; margin-right: auto">
|
||||
<div style="text-align: center; font-family: Verdana, Geneva, Tahoma, sans-serif;
|
||||
font-size: small; line-height: 1.4rem;color: #3b3e40;">
|
||||
<p
|
||||
style="font-size:14px;font-weight:600; margin-top: 1rem;color:#232558;">
|
||||
Evalution de la formation</p>
|
||||
<p style="text-align:justify; font-size:13px; text-align: left;"> Bonjour {{ params.prenom }} {{ params.nom }}</p>
|
||||
|
||||
|
||||
|
||||
<p style="text-align:justify">
|
||||
<p style="text-align:justify; font-size:13px; line-height: 1.8rem;">
|
||||
|
||||
Vous avez suivi la fomation {{ params.title }} du {{ params.date_du }} au {{ params.date_fin }}
|
||||
Merci d'evaluer cette fomration,
|
||||
</p>
|
||||
<table border="0px" cellpadding="0" cellspacing="0" role="presentation" width="100%" style="vertical-align:top">
|
||||
<tbody><tr><td align="left" style="font-size:0px; padding:13px 66px 20px 21px; word-break:break-word">
|
||||
<table border="0px" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse:separate; width:auto; line-height:100%;
|
||||
margin-left: auto; margin-right:auto; ">
|
||||
<tbody>
|
||||
<tr><td align="center" bgcolor="#FFB800" role="presentation" valign="middle" style="border:0px transparent solid; border-radius:3px; background:#FFB800">
|
||||
|
||||
<a href="{{params.mysyurl}}" target="_blank" rel="noopener noreferrer" data-auth="NotApplicable" style="display:inline-block; background:#FFB800; color:#232558; font-family:Ubuntu,Helvetica,Arial,sans-serif,Helvetica,Arial,sans-serif; font-size:14px; font-weight:normal; line-height:17.5px; margin:0; text-decoration:none; text-transform:none; padding:13px 26px 13px 26px; border-radius:3px" data-linkindex="3">
|
||||
<div><strong><span style="font-family:Helvetica,sans-serif;"> Evaluez la formation</span></strong></div>
|
||||
</a>
|
||||
</td></tr></tbody></table></td></tr></tbody></table>
|
||||
|
||||
<table border="0" cellpadding="0" cellspacing="0"
|
||||
role="presentation" width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="vertical-align:top; padding:0px">
|
||||
<div></div>
|
||||
<div class="x_mj-column-per-100 x_outlook-group-fix"
|
||||
style="background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color:'#F9F9F'!important; margin: 0px auto; max-width: 600px;">
|
||||
</div>
|
||||
<table border="0" cellpadding="0"
|
||||
cellspacing="0" role="presentation"
|
||||
width="100%" style="">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="center"
|
||||
style="font-size: 0px; padding: 0px; word-break: break-word; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: '#F9F9F' !important;">
|
||||
<table border="0"
|
||||
cellpadding="0"
|
||||
cellspacing="0"
|
||||
role="presentation"
|
||||
width="100%"
|
||||
style="background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: '#F9F9F' !important;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="center"
|
||||
style="font-size:0px; padding:0px; word-break:break-word">
|
||||
<div
|
||||
style="display: block; width: 96%; color: rgb(51, 51, 51) !important; font-family: Arial, serif, EmojiFont; font-size: 18px; padding: 2%;">
|
||||
<span
|
||||
style="color: rgb(255, 255, 255) !important;">👋</span>
|
||||
Chère
|
||||
/
|
||||
Cher
|
||||
{{
|
||||
params.prenom
|
||||
}}
|
||||
{{
|
||||
params.nom
|
||||
}},
|
||||
<br />
|
||||
<br />
|
||||
{%
|
||||
if
|
||||
params.session_ondemande
|
||||
is
|
||||
defined
|
||||
and
|
||||
params.session_ondemande
|
||||
==
|
||||
'1'
|
||||
%}
|
||||
<p
|
||||
style="padding:0px 10px; margin:10px; font-family:Arial,sans-serif; font-size: 14px;">
|
||||
Vous
|
||||
avez
|
||||
suivi
|
||||
la
|
||||
fomation
|
||||
{{
|
||||
params.title
|
||||
}}
|
||||
en ligne.<br/>
|
||||
Merci
|
||||
d'evaluer
|
||||
cette
|
||||
fomration,
|
||||
|
||||
<br
|
||||
aria-hidden="true">
|
||||
</p>
|
||||
{%
|
||||
else
|
||||
%}
|
||||
|
||||
{% if params.date_du == params.date_fin %}
|
||||
<p
|
||||
style="padding:0px 10px; margin:10px; font-family:Arial,sans-serif; font-size: 14px;">
|
||||
Vous
|
||||
avez
|
||||
suivi
|
||||
la
|
||||
fomation
|
||||
{{
|
||||
params.title
|
||||
}}
|
||||
le
|
||||
{{
|
||||
params.date_du
|
||||
}}
|
||||
<br/>
|
||||
Merci
|
||||
d'evaluer
|
||||
cette
|
||||
fomration,
|
||||
|
||||
<br
|
||||
aria-hidden="true">
|
||||
</p>
|
||||
{% else %}
|
||||
<p
|
||||
style="padding:0px 10px; margin:10px; font-family:Arial,sans-serif; font-size: 14px;">
|
||||
Vous
|
||||
avez
|
||||
suivi
|
||||
la
|
||||
fomation
|
||||
{{
|
||||
params.title
|
||||
}}
|
||||
du
|
||||
{{
|
||||
params.date_du
|
||||
}}
|
||||
au
|
||||
{{
|
||||
params.date_fin
|
||||
}}<br/>
|
||||
Merci
|
||||
d'evaluer
|
||||
cette
|
||||
fomration,
|
||||
|
||||
<br
|
||||
aria-hidden="true">
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
{%
|
||||
endif
|
||||
%}
|
||||
|
||||
<br
|
||||
aria-hidden="true"><span
|
||||
style="color: rgb(161, 0, 107) !important; font-weight: bold;">Avez-vous
|
||||
aimé
|
||||
cette
|
||||
formation
|
||||
?</span>
|
||||
</div>
|
||||
<table
|
||||
class="x_table-with-background"
|
||||
border="0"
|
||||
cellpadding="0"
|
||||
cellspacing="0"
|
||||
role="presentation"
|
||||
width="100%"
|
||||
height="150"
|
||||
style="height: 150px; background-color: rgb(161, 0, 107) !important; border-spacing: 0px; border-collapse: collapse;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td
|
||||
style="padding:0">
|
||||
<div
|
||||
style="">
|
||||
<div
|
||||
style="font-family: Tahoma, Arial, sans-serif, serif, EmojiFont; font-size: 40px; line-height: 60px; letter-spacing: 10px; text-align: center; color: rgb(255, 255, 255) !important; padding-bottom: 0px;">
|
||||
<a href="{{params.mysyurl}}"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
data-auth="NotApplicable"
|
||||
class="x_stars"
|
||||
style="text-decoration: none; color: rgb(255, 182, 18) !important;"
|
||||
data-linkindex="4">★</a>
|
||||
<a href="{{params.mysyurl}}"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
data-auth="NotApplicable"
|
||||
class="x_stars"
|
||||
style="text-decoration: none; color: rgb(255, 182, 18) !important;"
|
||||
data-linkindex="5">★</a>
|
||||
<a href="{{params.mysyurl}}"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
data-auth="NotApplicable"
|
||||
class="x_stars"
|
||||
style="text-decoration: none; color: rgb(255, 182, 18) !important;"
|
||||
data-linkindex="6">★</a>
|
||||
<a href="{{params.mysyurl}}"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
data-auth="NotApplicable"
|
||||
class="x_stars"
|
||||
style="text-decoration: none; color: rgb(255, 182, 18) !important;"
|
||||
data-linkindex="7">★</a>
|
||||
<a href="{{params.mysyurl}}"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
data-auth="NotApplicable"
|
||||
class="x_stars"
|
||||
style="text-decoration: none; color: rgb(255, 182, 18) !important;"
|
||||
data-linkindex="8">★</a>
|
||||
</div>
|
||||
<div
|
||||
style="margin:0px auto; max-width:600px">
|
||||
<table
|
||||
align="center"
|
||||
border="0"
|
||||
cellpadding="0"
|
||||
cellspacing="0"
|
||||
role="presentation"
|
||||
style="width:100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td
|
||||
style="direction:ltr; font-size:0px; padding:0px; padding-bottom:20px; text-align:center; vertical-align:top">
|
||||
<div class="x_mj-column-per-100 x_outlook-group-fix"
|
||||
style="font-size:13px; text-align:left; direction:ltr; display:inline-block; vertical-align:top; width:100%">
|
||||
<table
|
||||
border="0"
|
||||
cellpadding="0"
|
||||
cellspacing="0"
|
||||
role="presentation"
|
||||
width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"
|
||||
style="font-family: Arial; font-size: 10px; color: rgb(255, 255, 255) !important; width: 50%; text-align: center;">
|
||||
j'ai
|
||||
détesté
|
||||
</td>
|
||||
<td align="right"
|
||||
style="font-family: Arial; font-size: 10px; color: rgb(255, 255, 255) !important; width: 50%; text-align: center;">
|
||||
j'ai
|
||||
adoré
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div
|
||||
style="font-family: Arial, sans-serif, serif, EmojiFont; font-size: 14px; color: rgb(255, 255, 255) !important;">
|
||||
<br
|
||||
aria-hidden="true">
|
||||
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<table
|
||||
border="0"
|
||||
cellpadding="0"
|
||||
cellspacing="0"
|
||||
role="presentation"
|
||||
align="center"
|
||||
valign="middle">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="center"
|
||||
style="font-size:10px; padding:0 20px; padding-top:13px; padding-bottom:6px; word-break:break-word">
|
||||
<div
|
||||
style="font-family: Arial, sans-serif, serif, EmojiFont; font-size: 10px; line-height: 1.2; text-align: center; color: rgb(238, 238, 238) !important; text-transform: none; word-break: break-all;">
|
||||
<span
|
||||
style="color: rgb(0, 0, 0) !important; word-break: break-all;">Si
|
||||
vous
|
||||
ne
|
||||
parvenez
|
||||
pas
|
||||
à
|
||||
cliquer
|
||||
sur
|
||||
une
|
||||
étoile,
|
||||
vous
|
||||
pouvez
|
||||
copier/coller
|
||||
ce
|
||||
lien
|
||||
dans
|
||||
votre
|
||||
navigateur
|
||||
pour
|
||||
démarrer
|
||||
l'enquête:<br
|
||||
aria-hidden="true">{{params.mysyurl}}</span>
|
||||
<br
|
||||
aria-hidden="true">
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div
|
||||
style="background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255) !important; margin: 0px auto; max-width: 600px;">
|
||||
<table
|
||||
align="center"
|
||||
border="0"
|
||||
cellpadding="0"
|
||||
cellspacing="0"
|
||||
role="presentation"
|
||||
style="background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255) !important; width: 100%;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td
|
||||
style="direction:ltr; font-size:0px; padding:0px; padding-top:10px; text-align:center; vertical-align:top">
|
||||
<div class="x_mj-column-per-100 x_outlook-group-fix"
|
||||
style="font-size:13px; text-align:left; direction:ltr; display:inline-block; vertical-align:top; width:100%">
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody></tbody>
|
||||
</table>
|
||||
<table border="0"
|
||||
cellpadding="0"
|
||||
cellspacing="0"
|
||||
role="presentation"
|
||||
width="100%"
|
||||
style="">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"
|
||||
style="font-size:0px; padding:20px; word-break:break-word">
|
||||
<div
|
||||
style="font-family: Calibri, Helvetica, Arial, sans-serif, serif, EmojiFont; font-size: 14px; line-height: 1.3; text-align: justify; color: rgb(51, 51, 51) !important;">
|
||||
<p><span
|
||||
style="color: rgb(255, 255, 255) !important;">👉</span>
|
||||
En
|
||||
prenant
|
||||
un
|
||||
peu
|
||||
de
|
||||
votre
|
||||
temps
|
||||
pour
|
||||
répondre
|
||||
à
|
||||
ce
|
||||
questionnaire
|
||||
vous
|
||||
nous
|
||||
donnez
|
||||
les
|
||||
moyens
|
||||
de
|
||||
mieux
|
||||
vous
|
||||
satisfaire
|
||||
et
|
||||
d'améliorer
|
||||
l'efficacité
|
||||
de
|
||||
notre
|
||||
travail.<br
|
||||
aria-hidden="true"><br
|
||||
aria-hidden="true"><span
|
||||
style="color: rgb(255, 255, 255) !important;">👉</span>
|
||||
Vous
|
||||
pouvez
|
||||
interrompre
|
||||
le
|
||||
questionnaire
|
||||
et
|
||||
le
|
||||
reprendre
|
||||
à
|
||||
tout
|
||||
moment
|
||||
en
|
||||
cliquant
|
||||
à
|
||||
nouveau
|
||||
sur
|
||||
le
|
||||
lien.
|
||||
|
||||
<br
|
||||
aria-hidden="true"><br
|
||||
aria-hidden="true"><br
|
||||
aria-hidden="true">
|
||||
|
||||
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div></div><br aria-hidden="true">
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<span
|
||||
style="color: rgb(161, 0, 107) !important; font-weight: bold;">Merci
|
||||
pour
|
||||
votre
|
||||
implication
|
||||
et
|
||||
votre
|
||||
coopération.</span><br>
|
||||
<p
|
||||
style="font-size: 13px;margin-top: 1rem; line-height: normal; margin-bottom: 1rem; text-align: left;line-height: 1.6rem;">
|
||||
Cordialement<br /> <br/>
|
||||
<b>MySy Training Technology</b><br />
|
||||
Téléphone : +331 77 00 38 57<br />
|
||||
Email : contact@mysy-training.com<br />
|
||||
Site : https://www.mysy-training.com/
|
||||
</p>
|
||||
style="font-size: 13px;margin-top: 1rem; line-height: normal; margin-bottom: 1rem; text-align: left;line-height: 1.6rem;">
|
||||
Cordialement<br /> <br />
|
||||
<b>MySy Training Technology</b><br />
|
||||
Téléphone : +331 77 00 38 57<br />
|
||||
Email : contact@mysy-training.com<br />
|
||||
Site : https://www.mysy-training.com/
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#F9F9FF" style="height:30px;" width="600">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#F9F9FF" style="height:30px;" width="600">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#104277" width="600">
|
||||
<table border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="center" valign="middle" width="600">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#104277" width="600">
|
||||
<table border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="center" valign="middle" width="600">
|
||||
|
||||
<div style="
|
||||
<div style="
|
||||
padding: 10px 20px;
|
||||
|
||||
margin-bottom: 1rem;
|
||||
color: #F9F9FF;
|
||||
"><br />
|
||||
|
||||
<br />
|
||||
</div>
|
||||
<br />
|
||||
</div>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -627,7 +627,7 @@ def Evaluation_training_confirmation_mail(diction):
|
|||
"""
|
||||
Verification de la liste des champs obligatoires
|
||||
"""
|
||||
field_list_obligatoire = ['nom', 'prenom', 'email', 'date_du', 'date_au', 'adresse', 'title', 'token_eval', 'internal_url']
|
||||
field_list_obligatoire = ['nom', 'prenom', 'email', 'date_du', 'date_au', 'adresse', 'title', 'token_eval', 'internal_url', 'session_ondemande']
|
||||
for val in field_list_obligatoire:
|
||||
if val not in diction:
|
||||
mycommon.myprint(
|
||||
|
@ -680,6 +680,7 @@ def Evaluation_training_confirmation_mail(diction):
|
|||
"presentiel": str(diction['presentiel']),
|
||||
"distantiel": str(diction['distantiel']),
|
||||
"email": str(diction['email']),
|
||||
"session_ondemande": str(diction['session_ondemande']),
|
||||
"mysyurl": str(my_url)} }
|
||||
|
||||
sourceHtml = template.render(params=body["params"])
|
||||
|
|
|
@ -171,10 +171,15 @@ def Create_MySy_LMS_User(diction):
|
|||
|
||||
suffix_nom_partner = str(nom_partner)[0:3]
|
||||
|
||||
|
||||
username = str(str(username)+"_"+str(suffix_nom_partner)).lower()
|
||||
username = unidecode(username)
|
||||
local_status, username = mycommon.RemoveAllNonAlphaNumeric(unidecode(username))
|
||||
if( local_status is False ):
|
||||
mycommon.myprint(
|
||||
str(inspect.stack()[0][3]) + " - erreur : RemoveAllNonAlphaNumeric ")
|
||||
return False, str(
|
||||
inspect.stack()[0][3]) + " - erreur : RemoveAllNonAlphaNumeric "
|
||||
|
||||
#print(" ### username = ",username)
|
||||
registration_date = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
||||
|
||||
|
||||
|
|
|
@ -2992,4 +2992,18 @@ def is_LMS_user_exist(diction):
|
|||
except Exception as e:
|
||||
exc_type, exc_obj, exc_tb = sys.exc_info()
|
||||
myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - ERRORRRR AT Line : " + str(exc_tb.tb_lineno))
|
||||
return False, " Impossible de verifier l'existence du compte utilisateur dans le LMS "
|
||||
return False, " Impossible de verifier l'existence du compte utilisateur dans le LMS "
|
||||
|
||||
"""
|
||||
# Remove all non-alphanumeric characters from string
|
||||
Cette fonction supprime tous les caractères non alphanumeric d'une chaine
|
||||
"""
|
||||
def RemoveAllNonAlphaNumeric(sentence):
|
||||
try:
|
||||
new_sentence = re.sub(r'[\W_]', '', sentence)
|
||||
return True, new_sentence
|
||||
|
||||
except Exception as e:
|
||||
exc_type, exc_obj, exc_tb = sys.exc_info()
|
||||
myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - ERRORRRR AT Line : " + str(exc_tb.tb_lineno))
|
||||
return False, " Impossible de RemoveAllNonAlphaNumeric "
|
Loading…
Reference in New Issue