22/05/23 - 23h
parent
4af87856da
commit
2a81ab9ca6
|
@ -1,7 +1,7 @@
|
||||||
<?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="21/05/23 - 10h">
|
<list default="true" id="c6d0259a-16e1-410d-91a1-830590ee2a08" name="Changes" comment="21/05/23 - 22h">
|
||||||
<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$/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" />
|
||||||
|
@ -9,7 +9,6 @@
|
||||||
<change beforePath="$PROJECT_DIR$/data_indexees.csv" beforeDir="false" afterPath="$PROJECT_DIR$/data_indexees.csv" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/data_indexees.csv" beforeDir="false" afterPath="$PROJECT_DIR$/data_indexees.csv" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/ela_output_test_file_pandas_2.txt" beforeDir="false" afterPath="$PROJECT_DIR$/ela_output_test_file_pandas_2.txt" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/ela_output_test_file_pandas_2.txt" beforeDir="false" afterPath="$PROJECT_DIR$/ela_output_test_file_pandas_2.txt" 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$/lms_chamilo/mysy_lms.py" beforeDir="false" afterPath="$PROJECT_DIR$/lms_chamilo/mysy_lms.py" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/main.py" beforeDir="false" afterPath="$PROJECT_DIR$/main.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" />
|
||||||
|
@ -227,7 +226,14 @@
|
||||||
<option name="project" value="LOCAL" />
|
<option name="project" value="LOCAL" />
|
||||||
<updated>1684655964597</updated>
|
<updated>1684655964597</updated>
|
||||||
</task>
|
</task>
|
||||||
<option name="localTasksCounter" value="24" />
|
<task id="LOCAL-00024" summary="21/05/23 - 22h">
|
||||||
|
<created>1684699348108</created>
|
||||||
|
<option name="number" value="00024" />
|
||||||
|
<option name="presentableId" value="LOCAL-00024" />
|
||||||
|
<option name="project" value="LOCAL" />
|
||||||
|
<updated>1684699348108</updated>
|
||||||
|
</task>
|
||||||
|
<option name="localTasksCounter" value="25" />
|
||||||
<servers />
|
<servers />
|
||||||
</component>
|
</component>
|
||||||
<component name="Vcs.Log.Tabs.Properties">
|
<component name="Vcs.Log.Tabs.Properties">
|
||||||
|
@ -262,6 +268,7 @@
|
||||||
<MESSAGE value="13/05/23 - 23h" />
|
<MESSAGE value="13/05/23 - 23h" />
|
||||||
<MESSAGE value="15/05/23 - 23h" />
|
<MESSAGE value="15/05/23 - 23h" />
|
||||||
<MESSAGE value="21/05/23 - 10h" />
|
<MESSAGE value="21/05/23 - 10h" />
|
||||||
<option name="LAST_COMMIT_MESSAGE" value="21/05/23 - 10h" />
|
<MESSAGE value="21/05/23 - 22h" />
|
||||||
|
<option name="LAST_COMMIT_MESSAGE" value="21/05/23 - 22h" />
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
|
@ -77,10 +77,10 @@ token_fr_pontuation = []
|
||||||
La taille maximal d'un champs à retourner.
|
La taille maximal d'un champs à retourner.
|
||||||
Au dela de 300 caractère, le système rame
|
Au dela de 300 caractère, le système rame
|
||||||
'''
|
'''
|
||||||
MAX_CARACT = 500
|
MAX_CARACT = 300 # Celui est utilisé pour les affichage courts et tronqués, comme sur la page principale du moteur
|
||||||
MAX_CARACT_DEDUIT = 150
|
MAX_CARACT_DEDUIT = 150
|
||||||
TOKEN_SIZE = 25
|
TOKEN_SIZE = 25
|
||||||
MAX_CARACT_DETAIL = 600
|
MAX_CARACT_DETAIL = 1000 # Celui est utilisé pour les affichage globaux (si le texte est trop long, il va tronquer un peut mais cela permet de cadrer un peu les choses
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -365,7 +365,8 @@ elif (MYSY_ENV == "REC"):
|
||||||
"""
|
"""
|
||||||
Variable pour definir les unité de durée acceptées pour une formation
|
Variable pour definir les unité de durée acceptées pour une formation
|
||||||
"""
|
"""
|
||||||
CLASS_DURATION_UNIT = ['heure', 'jour', 'mois', 'annee']
|
CLASS_DURATION_UNIT = ['heure', 'jour', 'semaine', 'mois', 'annee', 'user_rythme']
|
||||||
|
# user_rythme : definit les formations ou la durée depend de la progression de l'utilisateur
|
||||||
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
1091
Log/log_file.log
1091
Log/log_file.log
File diff suppressed because it is too large
Load Diff
18
class_mgt.py
18
class_mgt.py
|
@ -1668,8 +1668,6 @@ def get_class(diction):
|
||||||
connection_type = diction['connection_type']
|
connection_type = diction['connection_type']
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
'''
|
'''
|
||||||
Gestion des filters.
|
Gestion des filters.
|
||||||
'''
|
'''
|
||||||
|
@ -3090,26 +3088,26 @@ def get_class_by_metier(diction):
|
||||||
tmp_str = retVal['description']
|
tmp_str = retVal['description']
|
||||||
no_html = mycommon.cleanhtml(retVal['description'])
|
no_html = mycommon.cleanhtml(retVal['description'])
|
||||||
|
|
||||||
if (len(no_html) > MYSY_GV.MAX_CARACT_DETAIL):
|
if (len(no_html) > MYSY_GV.MAX_CARACT):
|
||||||
retVal['description'] = no_html[:MYSY_GV.MAX_CARACT_DETAIL] + " ..."
|
retVal['description'] = no_html[:MYSY_GV.MAX_CARACT] + " ..."
|
||||||
|
|
||||||
if ("objectif" in retVal.keys()):
|
if ("objectif" in retVal.keys()):
|
||||||
tmp_str = retVal['objectif']
|
tmp_str = retVal['objectif']
|
||||||
no_html = mycommon.cleanhtml(retVal['objectif'])
|
no_html = mycommon.cleanhtml(retVal['objectif'])
|
||||||
if (len(no_html) > MYSY_GV.MAX_CARACT_DETAIL):
|
if (len(no_html) > MYSY_GV.MAX_CARACT):
|
||||||
retVal['objectif'] = no_html[:MYSY_GV.MAX_CARACT_DETAIL] + " ..."
|
retVal['objectif'] = no_html[:MYSY_GV.MAX_CARACT] + " ..."
|
||||||
|
|
||||||
if ("programme" in retVal.keys()):
|
if ("programme" in retVal.keys()):
|
||||||
tmp_str = retVal['programme']
|
tmp_str = retVal['programme']
|
||||||
no_html = mycommon.cleanhtml(retVal['programme'])
|
no_html = mycommon.cleanhtml(retVal['programme'])
|
||||||
if (len(no_html) > MYSY_GV.MAX_CARACT_DETAIL):
|
if (len(no_html) > MYSY_GV.MAX_CARACT):
|
||||||
retVal['programme'] = no_html[:MYSY_GV.MAX_CARACT_DETAIL] + " ..."
|
retVal['programme'] = no_html[:MYSY_GV.MAX_CARACT] + " ..."
|
||||||
|
|
||||||
if ("pedagogie" in retVal.keys()):
|
if ("pedagogie" in retVal.keys()):
|
||||||
tmp_str = retVal['pedagogie']
|
tmp_str = retVal['pedagogie']
|
||||||
no_html = mycommon.cleanhtml(retVal['pedagogie'])
|
no_html = mycommon.cleanhtml(retVal['pedagogie'])
|
||||||
if (len(no_html) > MYSY_GV.MAX_CARACT_DETAIL):
|
if (len(no_html) > MYSY_GV.MAX_CARACT):
|
||||||
retVal['pedagogie'] = no_html[:MYSY_GV.MAX_CARACT_DETAIL] + " ..."
|
retVal['pedagogie'] = no_html[:MYSY_GV.MAX_CARACT] + " ..."
|
||||||
|
|
||||||
# mycommon.myprint(str(retVal))
|
# mycommon.myprint(str(retVal))
|
||||||
user = retVal
|
user = retVal
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
,index,mots,occurence,moyenne,id_formation,source_field
|
,index,mots,occurence,moyenne,id_formation,source_field
|
||||||
0,0,relationnel,1,0.33,MYSY_Demo_001,keyword
|
0,0,bdd,1,0.33,MYSY_Demo_001,keyword
|
||||||
1,1,sql,1,0.33,MYSY_Demo_001,keyword
|
1,1,sql,1,0.33,MYSY_Demo_001,keyword
|
||||||
2,2,bdd,1,0.33,MYSY_Demo_001,keyword
|
2,2,relationnel,1,0.33,MYSY_Demo_001,keyword
|
||||||
|
|
|
|
@ -1,4 +1,4 @@
|
||||||
mots occurence moyenne id_formation source_field
|
mots occurence moyenne id_formation source_field
|
||||||
0 relationnel 1 0.33 MYSY_Demo_001 keyword
|
0 bdd 1 0.33 MYSY_Demo_001 keyword
|
||||||
1 sql 1 0.33 MYSY_Demo_001 keyword
|
1 sql 1 0.33 MYSY_Demo_001 keyword
|
||||||
2 bdd 1 0.33 MYSY_Demo_001 keyword
|
2 relationnel 1 0.33 MYSY_Demo_001 keyword
|
|
@ -2930,7 +2930,8 @@ def Create_Class_From_Lms(diction):
|
||||||
new_diction['cpf'] = "0"
|
new_diction['cpf'] = "0"
|
||||||
new_diction['note'] = "4"
|
new_diction['note'] = "4"
|
||||||
new_diction['price'] = "0"
|
new_diction['price'] = "0"
|
||||||
|
new_diction['duration_unit'] = "user_rythme"
|
||||||
|
new_diction['duration'] = "0"
|
||||||
|
|
||||||
|
|
||||||
class_internal_url = ""
|
class_internal_url = ""
|
||||||
|
|
Loading…
Reference in New Issue