30/03/23 - 22h11

master
cherif 2023-03-30 22:12:01 +02:00
parent 1599ec7f42
commit 4886ad1b22
4 changed files with 518 additions and 5 deletions

View File

@ -1,10 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="1122d9e2-679f-46d6-8c4f-97e9ae4041b5" name="Changes" comment="25/03/23 - 12h">
<list default="true" id="1122d9e2-679f-46d6-8c4f-97e9ae4041b5" name="Changes" comment="30/03/23 - 19h30">
<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" />
<change beforePath="$PROJECT_DIR$/strype_payement.py" beforeDir="false" afterPath="$PROJECT_DIR$/strype_payement.py" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -392,7 +393,14 @@
<option name="project" value="LOCAL" />
<updated>1679742657277</updated>
</task>
<option name="localTasksCounter" value="47" />
<task id="LOCAL-00047" summary="30/03/23 - 19h30">
<created>1680198288335</created>
<option name="number" value="00047" />
<option name="presentableId" value="LOCAL-00047" />
<option name="project" value="LOCAL" />
<updated>1680198288335</updated>
</task>
<option name="localTasksCounter" value="48" />
<servers />
</component>
<component name="Vcs.Log.Tabs.Properties">
@ -407,7 +415,6 @@
</option>
</component>
<component name="VcsManagerConfiguration">
<MESSAGE value="24/01/23 - 19h" />
<MESSAGE value="25/01/23 - 16h" />
<MESSAGE value="25/01/23 - 20h" />
<MESSAGE value="27/01/23 - 15h" />
@ -432,6 +439,7 @@
<MESSAGE value="24/03/23 - 17h" />
<MESSAGE value="24/03/23 - 23h" />
<MESSAGE value="25/03/23 - 12h" />
<option name="LAST_COMMIT_MESSAGE" value="25/03/23 - 12h" />
<MESSAGE value="30/03/23 - 19h30" />
<option name="LAST_COMMIT_MESSAGE" value="30/03/23 - 19h30" />
</component>
</project>

File diff suppressed because one or more lines are too long

View File

@ -188,6 +188,7 @@ def Create_MySy_LMS_User(diction):
hashed_pwd) + "', " \
"enabled='1', " \
"expired='0', " \
"mysy_recid='"+str(partner_recid)+"', " \
"locked = '0', " \
"auth_source = 'platform'," \
"roles = 'a:0:{}', " \
@ -208,6 +209,7 @@ def Create_MySy_LMS_User(diction):
"lastname = '"+lastname+"', " \
"firstname = '"+firstname+"', " \
"username = '"+username+"', " \
"mysy_recid='" + str(partner_recid) + "', " \
"salt = '"+str(salt)+"'," \
" registration_date = '"+registration_date+"'," \
" credentials_expired='0', " \

View File

@ -991,7 +991,7 @@ def strip_update_subscription_plan(diction):
partners_nom = local_ret_val['nom']
partners_pack_service = local_ret_val['pack_service']
local_ret_val = email_mgt.EmailChangeAbonnementPlan( partners_email, partners_pack_service, partners_nom, qty, )
local_ret_val = email_mgt.EmailChangeAbonnementPlan( partners_email, pack, partners_nom, qty, )
if( local_ret_val is False):
mycommon.myprint(