ArnAud
8289fa70dd
EmTypes: pylint -d C0301,C0111
9 years ago
ArnAud
bd8bc7e814
EmFields: unecessary comment
9 years ago
ArnAud
09e74f3ec1
EmField: unused import + whitespace
9 years ago
ArnAud
b403aef65b
EmFieldgroups: unecessary comment
9 years ago
ArnAud
3a281f4261
EmFieldgroups: unused import
9 years ago
ArnAud
89d9cb62cf
EmClass: delete unused variable
9 years ago
ArnAud
3c13e658a3
EmClass: delete unused import
9 years ago
ArnAud
acce76c48b
EmClass: better documentation of linkedtype
9 years ago
Yann Weber
65166a5dfd
Adding icon argument to EmType::create() method
9 years ago
Yann Weber
cd37b0129f
Better comments for set_rank method
9 years ago
Driky
f12c256791
Ajout du répertoire doc a .gitignore
9 years ago
Yann Weber
47ce122e93
Changed icon field to EmField_icon in EmClass and EmField. Added sortcolumn argument for EmType and EmClass.
9 years ago
Yann Weber
e757a3fb90
Doing todo
Added a dummy EmFieldType_icon
Added a test for EmType deletion with superiors
9 years ago
Roland Haroutiounian
a86bbfbd49
[mlstring] Mise à jour des todo avec le process à implémenter
On se base sur gettext, mais avec l'utilisation d'une langue par défaut qui sera obligatoire lors de la création de la chaine.
9 years ago
Roland Haroutiounian
c0d83c3af9
PEP8 sur Lodel/utils/mlstring.py
9 years ago
Roland Haroutiounian
bf98e2a121
[TODO] Suppression d'un TODO obsolète dans fieldgroups.py
9 years ago
Roland Haroutiounian
3bb3bb4638
Merge branch 'nettoyage-TODO'
9 years ago
Roland Haroutiounian
53c2a72a9d
[TODO] Suppression d'un TODO dans fieldtypes
9 years ago
Roland Haroutiounian
1cfac44b9f
[TODO] Suppression d'un TODO dans fieldtypes
9 years ago
Roland Haroutiounian
76c97bf1f3
[TODO] Suppression du TODO dans classes sur la vérification du class_type dans EmClass
Cette vérification est prise en charge dans EmComponent
9 years ago
Yann Weber
d7d4a989f1
TODO on EmComponent
9 years ago
Roland Haroutiounian
0e1932657c
Merge branch 'nettoyage-TODO'
9 years ago
Roland Haroutiounian
1d08100c10
[TODO] Suppression d'un TODO dans sqlsetup
9 years ago
Roland Haroutiounian
2f4497dfb9
[TODO] Suppression des TODO dans sqlsettings
9 years ago
Roland Haroutiounian
682d64753b
Merge branch 'pep8'
9 years ago
Roland Haroutiounian
b03958a65a
Suppression de sqlutils.getEngine au profit de sqlutils.get_engine
9 years ago
Roland Haroutiounian
9aa80d6238
Merge branch 'pep8'
9 years ago
Roland Haroutiounian
9cc3f9ce12
PEP8 sur sqlalter.py
9 years ago
Roland Haroutiounian
4efea40abf
Ajout d'un encoding sur un init
9 years ago
Roland Haroutiounian
3f4ee09c9f
Normalisation PEP8/Pylint sur sqlsetup.py
9 years ago
Roland Haroutiounian
b774d33fae
Nettoyage et mise en conformité PEP 8 de sqlutils.py
9 years ago
Roland Haroutiounian
2bae702a8b
Ajout de l'alias get_engine dans sqlutils.py
9 years ago
Roland Haroutiounian
1796990944
[PEP8] Nettoyage de Database/sqlutils.py
9 years ago
Roland Haroutiounian
c39e4ef7a6
PEP8 sur sqlalter.py
9 years ago
Roland Haroutiounian
9054c5140f
Ajout d'un encoding sur un init
9 years ago
Roland Haroutiounian
1322e14d6b
Normalisation PEP8/Pylint sur sqlsetup.py
9 years ago
Roland Haroutiounian
c3f736ca43
Nettoyage et mise en conformité PEP 8 de sqlutils.py
9 years ago
Roland Haroutiounian
ad3c662a47
Ajout de l'alias get_engine dans sqlutils.py
9 years ago
Roland Haroutiounian
8e91c99fae
[PEP8] Nettoyage de Database/sqlutils.py
9 years ago
Yann Weber
49dfe9ad03
Code factorization on EmComponent.modify_rank()
Changed beahvior : when a 'non-change' is asked (like +0 -0 or set ranke to actual rank) don't raise an Error
9 years ago
Yann Weber
f41d164603
Added test for EmComponent.get_max_rank(), replacing the default value for rank by the one processed by get_max_rank
9 years ago
Yann Weber
6af0b45f3f
Code factorization on EmType select and unselect fields. Added comparison capabilities to EmComponent (and childs)
Implemented __hash__ and __eq__ for EmComponent (based on class name and uid) to test equality betwenn two instance. Allows to use "instance in instance_list" syntax
9 years ago
Yann Weber
27d178e531
Code factorization and create methods for EmComponent and childs changes
Behaviour changed for EmComponent and childs create method :
- Takes care of duplicated names at creation
- Handle all the checks in EmComponent method
Factorization of EmField.get_class_table() method
Added a @property method class_table_name to EmClass
9 years ago
Yann Weber
3f8aff6813
EmField add_column code factorization
9 years ago
Yann Weber
166dc6ad75
Added docstrings comments to tests and fixed "false hidden failure"
Added docstrings comments to tests (for fancy output with -v ).
Fixed strange hidden failure that make tests stops on non failed tests with -f option. Those false failure seems to comes from with self.subTest blocs with functions calls that does assertion.
9 years ago
Driky
347a302e85
Correction: ajout de la valeur de ranked_in pour chaque classe 'em_*'
9 years ago
Yann Weber
a3b9daf319
sqlwrapper deletion and sqlsetup enhancement
Moved the database initialisation functionnality to sqlsetup and fixed all the code to handle the sqlwrapper deletion
9 years ago
Roland Haroutiounian
43bb085667
[EmField] Modification AddColumn + test ranked_in dans Components repassé temporairement à -1
9 years ago
Roland Haroutiounian
e46ca292c8
[EmField] Suppression de l'appel à SqlWrapper
9 years ago
Driky
847509590a
Correction de Component. cl -> cls
9 years ago