18/01/2025 - 17h

master
cherif 2025-01-18 17:20:20 +01:00
parent 43a9ef8a79
commit 67b78062b9
3 changed files with 4389 additions and 14 deletions

View File

@ -1,12 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="c6d0259a-16e1-410d-91a1-830590ee2a08" name="Changes" comment="16/01/2025 - 16h30"> <list default="true" id="c6d0259a-16e1-410d-91a1-830590ee2a08" name="Changes" comment="17/01/2025 - 15:30">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <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$/Log/log_file.log" beforeDir="false" afterPath="$PROJECT_DIR$/Log/log_file.log" 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$/attached_file_mgt.py" beforeDir="false" afterPath="$PROJECT_DIR$/attached_file_mgt.py" afterDir="false" /> <change beforePath="$PROJECT_DIR$/partners.py" beforeDir="false" afterPath="$PROJECT_DIR$/partners.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/base_partner_session_step.py" beforeDir="false" afterPath="$PROJECT_DIR$/base_partner_session_step.py" afterDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -77,13 +75,6 @@
<option name="presentableId" value="Default" /> <option name="presentableId" value="Default" />
<updated>1680804787304</updated> <updated>1680804787304</updated>
</task> </task>
<task id="LOCAL-00380" summary="ddd">
<created>1724497994599</created>
<option name="number" value="00380" />
<option name="presentableId" value="LOCAL-00380" />
<option name="project" value="LOCAL" />
<updated>1724497994600</updated>
</task>
<task id="LOCAL-00381" summary="dddqsd"> <task id="LOCAL-00381" summary="dddqsd">
<created>1724781881428</created> <created>1724781881428</created>
<option name="number" value="00381" /> <option name="number" value="00381" />
@ -420,7 +411,14 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1737042254590</updated> <updated>1737042254590</updated>
</task> </task>
<option name="localTasksCounter" value="429" /> <task id="LOCAL-00429" summary="17/01/2025 - 15:30">
<created>1737124740621</created>
<option name="number" value="00429" />
<option name="presentableId" value="LOCAL-00429" />
<option name="project" value="LOCAL" />
<updated>1737124740624</updated>
</task>
<option name="localTasksCounter" value="430" />
<servers /> <servers />
</component> </component>
<component name="Vcs.Log.Tabs.Properties"> <component name="Vcs.Log.Tabs.Properties">
@ -462,7 +460,6 @@
</option> </option>
</component> </component>
<component name="VcsManagerConfiguration"> <component name="VcsManagerConfiguration">
<MESSAGE value="05/10/2024 - 18h30" />
<MESSAGE value="07/10/2024 - 20h30" /> <MESSAGE value="07/10/2024 - 20h30" />
<MESSAGE value="12/10/204 - 18h" /> <MESSAGE value="12/10/204 - 18h" />
<MESSAGE value="13/10/2024 - 14h" /> <MESSAGE value="13/10/2024 - 14h" />
@ -487,6 +484,7 @@
<MESSAGE value="03/01/2025 - 17h30" /> <MESSAGE value="03/01/2025 - 17h30" />
<MESSAGE value="04/01/2025 - 14h48" /> <MESSAGE value="04/01/2025 - 14h48" />
<MESSAGE value="16/01/2025 - 16h30" /> <MESSAGE value="16/01/2025 - 16h30" />
<option name="LAST_COMMIT_MESSAGE" value="16/01/2025 - 16h30" /> <MESSAGE value="17/01/2025 - 15:30" />
<option name="LAST_COMMIT_MESSAGE" value="17/01/2025 - 15:30" />
</component> </component>
</project> </project>

File diff suppressed because it is too large Load Diff

View File

@ -1486,8 +1486,13 @@ def partner_login(diction):
mycommon.myprint(str(inspect.stack()[0][3]) + " Impossible de récupérer les données de l'utilisateur (2)") mycommon.myprint(str(inspect.stack()[0][3]) + " Impossible de récupérer les données de l'utilisateur (2)")
return False, " Impossible de récupérer les données de l'utilisateur (2) " return False, " Impossible de récupérer les données de l'utilisateur (2) "
list_connexion_context = {}
if( "list_connexion_context" in ret_val.keys() ):
list_connexion_context = ret_val['list_connexion_context']
return_data = {} return_data = {}
return_data['token'] = str(my_token) return_data['token'] = str(my_token)
return_data['list_connexion_context'] = list_connexion_context
#print(" ### token partner = ", str(my_token)) #print(" ### token partner = ", str(my_token))
@ -1942,6 +1947,7 @@ def Update_Context_Partner_Account(diction):
new_data['code_value'] = str(value) new_data['code_value'] = str(value)
create = MYSY_GV.dbname['partnair_account'].update_one({ create = MYSY_GV.dbname['partnair_account'].update_one({
'_id': ObjectId(str(diction['partner_id'])), '_id': ObjectId(str(diction['partner_id'])),
'active': '1', 'active': '1',