Roland Haroutiounian
79c168587e
[pep8] Correction sur les lignes vides entre les classes et les méthodes
9 лет назад
Yann Weber
9cec5af1fa
Merge branch 'component_db_instance_attr'
Conflicts:
EditorialModel/classes.py
EditorialModel/types.py
9 лет назад
ArnAud
68da99216c
EmType: bad method name
9 лет назад
Yann Weber
889abc8547
Put the database configuration asinstance attribute of EmComponent
9 лет назад
ArnAud
8289fa70dd
EmTypes: pylint -d C0301,C0111
9 лет назад
ArnAud
bd8bc7e814
EmFields: unecessary comment
9 лет назад
ArnAud
09e74f3ec1
EmField: unused import + whitespace
9 лет назад
ArnAud
b403aef65b
EmFieldgroups: unecessary comment
9 лет назад
ArnAud
3a281f4261
EmFieldgroups: unused import
9 лет назад
ArnAud
89d9cb62cf
EmClass: delete unused variable
9 лет назад
ArnAud
3c13e658a3
EmClass: delete unused import
9 лет назад
ArnAud
acce76c48b
EmClass: better documentation of linkedtype
9 лет назад
Yann Weber
65166a5dfd
Adding icon argument to EmType::create() method
9 лет назад
Yann Weber
cd37b0129f
Better comments for set_rank method
9 лет назад
Driky
f12c256791
Ajout du répertoire doc a .gitignore
9 лет назад
Yann Weber
47ce122e93
Changed icon field to EmField_icon in EmClass and EmField. Added sortcolumn argument for EmType and EmClass.
9 лет назад
Yann Weber
e757a3fb90
Doing todo
Added a dummy EmFieldType_icon
Added a test for EmType deletion with superiors
9 лет назад
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 лет назад
Roland Haroutiounian
c0d83c3af9
PEP8 sur Lodel/utils/mlstring.py
9 лет назад
Roland Haroutiounian
bf98e2a121
[TODO] Suppression d'un TODO obsolète dans fieldgroups.py
9 лет назад
Roland Haroutiounian
3bb3bb4638
Merge branch 'nettoyage-TODO'
9 лет назад
Roland Haroutiounian
53c2a72a9d
[TODO] Suppression d'un TODO dans fieldtypes
9 лет назад
Roland Haroutiounian
1cfac44b9f
[TODO] Suppression d'un TODO dans fieldtypes
9 лет назад
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 лет назад
Yann Weber
d7d4a989f1
TODO on EmComponent
9 лет назад
Roland Haroutiounian
0e1932657c
Merge branch 'nettoyage-TODO'
9 лет назад
Roland Haroutiounian
1d08100c10
[TODO] Suppression d'un TODO dans sqlsetup
9 лет назад
Roland Haroutiounian
2f4497dfb9
[TODO] Suppression des TODO dans sqlsettings
9 лет назад
Roland Haroutiounian
682d64753b
Merge branch 'pep8'
9 лет назад
Roland Haroutiounian
b03958a65a
Suppression de sqlutils.getEngine au profit de sqlutils.get_engine
9 лет назад
Roland Haroutiounian
9aa80d6238
Merge branch 'pep8'
9 лет назад
Roland Haroutiounian
9cc3f9ce12
PEP8 sur sqlalter.py
9 лет назад
Roland Haroutiounian
4efea40abf
Ajout d'un encoding sur un init
9 лет назад
Roland Haroutiounian
3f4ee09c9f
Normalisation PEP8/Pylint sur sqlsetup.py
9 лет назад
Roland Haroutiounian
b774d33fae
Nettoyage et mise en conformité PEP 8 de sqlutils.py
9 лет назад
Roland Haroutiounian
2bae702a8b
Ajout de l'alias get_engine dans sqlutils.py
9 лет назад
Roland Haroutiounian
1796990944
[PEP8] Nettoyage de Database/sqlutils.py
9 лет назад
Roland Haroutiounian
c39e4ef7a6
PEP8 sur sqlalter.py
9 лет назад
Roland Haroutiounian
9054c5140f
Ajout d'un encoding sur un init
9 лет назад
Roland Haroutiounian
1322e14d6b
Normalisation PEP8/Pylint sur sqlsetup.py
9 лет назад
Roland Haroutiounian
c3f736ca43
Nettoyage et mise en conformité PEP 8 de sqlutils.py
9 лет назад
Roland Haroutiounian
ad3c662a47
Ajout de l'alias get_engine dans sqlutils.py
9 лет назад
Roland Haroutiounian
8e91c99fae
[PEP8] Nettoyage de Database/sqlutils.py
9 лет назад
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 лет назад
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 лет назад
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 лет назад
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 лет назад
Yann Weber
3f8aff6813
EmField add_column code factorization
9 лет назад
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 лет назад
Driky
347a302e85
Correction: ajout de la valeur de ranked_in pour chaque classe 'em_*'
9 лет назад