Signed-off-by: Cherif <cbalde@mysy-training.com>
master_Elyos_FI
Cherif 2025-07-01 21:23:58 +02:00
parent 142cb11dc9
commit 55ca9cefeb
3 changed files with 1447 additions and 18 deletions

View File

@ -4,13 +4,10 @@
<option name="autoReloadType" value="SELECTIVE" />
</component>
<component name="ChangeListManager">
<list default="true" id="c6d0259a-16e1-410d-91a1-830590ee2a08" name="Changes" comment="qsdssdd">
<change afterPath="$PROJECT_DIR$/tools_cherif/barchart.py" afterDir="false" />
<list default="true" id="c6d0259a-16e1-410d-91a1-830590ee2a08" name="Changes" comment="ss">
<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$/base_class_calcul_note.py" beforeDir="false" afterPath="$PROJECT_DIR$/base_class_calcul_note.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/main.py" beforeDir="false" afterPath="$PROJECT_DIR$/main.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/tools_cherif/tools_cherif.py" beforeDir="false" afterPath="$PROJECT_DIR$/tools_cherif/tools_cherif.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Session_Formation.py" beforeDir="false" afterPath="$PROJECT_DIR$/Session_Formation.py" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -49,17 +46,17 @@
<option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" />
</component>
<component name="PropertiesComponent"><![CDATA[{
"keyToString": {
"Python.main.executor": "Run",
"RunOnceActivity.OpenProjectViewOnStart": "true",
"RunOnceActivity.ShowReadmeOnStart": "true",
"git-widget-placeholder": "master__Elyos__FI",
"ignore.virus.scanning.warn.message": "true",
"last_opened_file_path": "C:/Users/Cherif/Documents/myclass.com/Siteweb/Elyos_Ftion_Initiale/Ela_back/Back_Office_FI/tools_cherif",
"settings.editor.selected.configurable": "project.propVCSSupport.CommitDialog"
<component name="PropertiesComponent">{
&quot;keyToString&quot;: {
&quot;Python.main.executor&quot;: &quot;Run&quot;,
&quot;RunOnceActivity.OpenProjectViewOnStart&quot;: &quot;true&quot;,
&quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
&quot;git-widget-placeholder&quot;: &quot;master__Elyos__FI&quot;,
&quot;ignore.virus.scanning.warn.message&quot;: &quot;true&quot;,
&quot;last_opened_file_path&quot;: &quot;C:/Users/Cherif/Documents/myclass.com/Siteweb/Elyos_Ftion_Initiale/Ela_back/Back_Office_FI/tools_cherif&quot;,
&quot;settings.editor.selected.configurable&quot;: &quot;project.propVCSSupport.CommitDialog&quot;
}
}]]></component>
}</component>
<component name="RecentsManager">
<key name="CopyFile.RECENT_KEYS">
<recent name="C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Initiale\Ela_back\Back_Office_FI\tools_cherif" />
@ -453,7 +450,7 @@
<option name="project" value="LOCAL" />
<updated>1747251650255</updated>
</task>
<option name="localTasksCounter" value="483" />
<option name="localTasksCounter" value="485" />
<servers />
</component>
<component name="Vcs.Log.Tabs.Properties">
@ -515,11 +512,11 @@
<MESSAGE value="11/06/2025 - 16h30" />
<MESSAGE value="19/06/2025 -18h" />
<MESSAGE value="20/06/2025 -18h" />
<MESSAGE value="ss" />
<MESSAGE value="ssqsdqsd" />
<MESSAGE value="25/06/2025 - 18h" />
<MESSAGE value="qsd" />
<MESSAGE value="qsdssdd" />
<option name="LAST_COMMIT_MESSAGE" value="qsdssdd" />
<MESSAGE value="ss" />
<option name="LAST_COMMIT_MESSAGE" value="ss" />
</component>
</project>

File diff suppressed because it is too large Load Diff

View File

@ -930,6 +930,12 @@ def GetSessionFormation(diction):
if ("archive" not in user.keys() ):
user['archive'] = "0"
if ("lms_account_automatic" not in user.keys() ):
user['lms_account_automatic'] = "0"
if ("ent_account_automatic" not in user.keys() ):
user['ent_account_automatic'] = "0"
if ('myclass' in retval.keys() and len(retval['myclass']) > 0):
if ("_id" in retval['myclass'][0].keys()):
@ -1132,6 +1138,12 @@ def Get_Given_SessionFormation_From_Id(diction):
if( "archive" not in user.keys() ):
user['user'] = "0"
if ("lms_account_automatic" not in user.keys()):
user['lms_account_automatic'] = "0"
if ("ent_account_automatic" not in user.keys()):
user['ent_account_automatic'] = "0"
if ('myclass' in retval.keys() and len(retval['myclass']) > 0):
if ("_id" in retval['myclass'][0].keys()):
@ -1309,6 +1321,13 @@ def GetActiveSessionFormation_List(diction):
if ("archive" not in local_tmp.keys()):
local_tmp['user'] = "0"
if ("lms_account_automatic" not in local_tmp.keys()):
local_tmp['lms_account_automatic'] = "0"
if ("ent_account_automatic" not in local_tmp.keys()):
local_tmp['ent_account_automatic'] = "0"
## Verification des conditions supplementaires :
# en realité c'est parce que c'est chaud de le faire avec pymongo
tmp_debut_inscritp = str(local_tmp['date_debut_inscription']).strip().split(" ")