Roland Haroutiounian
c6204638fa
[pep8] Lignes vides entre méthodes dans sqlutils.py
2015-07-10 09:02:59 +02:00
Roland Haroutiounian
79c168587e
[pep8] Correction sur les lignes vides entre les classes et les méthodes
2015-07-10 09:01:00 +02:00
Yann
9cec5af1fa
Merge branch 'component_db_instance_attr'
...
Conflicts:
EditorialModel/classes.py
EditorialModel/types.py
2015-07-09 17:37:43 +02:00
ArnAud
68da99216c
EmType: bad method name
2015-07-09 17:31:10 +02:00
Yann
889abc8547
Put the database configuration asinstance attribute of EmComponent
2015-07-09 17:30:21 +02:00
ArnAud
8289fa70dd
EmTypes: pylint -d C0301,C0111
2015-07-09 17:09:26 +02:00
ArnAud
bd8bc7e814
EmFields: unecessary comment
2015-07-09 16:47:56 +02:00
ArnAud
09e74f3ec1
EmField: unused import + whitespace
2015-07-09 16:37:13 +02:00
ArnAud
b403aef65b
EmFieldgroups: unecessary comment
2015-07-09 16:33:47 +02:00
ArnAud
3a281f4261
EmFieldgroups: unused import
2015-07-09 16:29:57 +02:00
ArnAud
89d9cb62cf
EmClass: delete unused variable
2015-07-09 16:26:15 +02:00
ArnAud
3c13e658a3
EmClass: delete unused import
2015-07-09 16:25:54 +02:00
ArnAud
acce76c48b
EmClass: better documentation of linkedtype
2015-07-09 16:23:04 +02:00
Yann
65166a5dfd
Adding icon argument to EmType::create() method
2015-07-08 09:30:54 +02:00
Yann
cd37b0129f
Better comments for set_rank method
2015-07-08 09:13:03 +02:00
Driky
f12c256791
Ajout du répertoire doc a .gitignore
2015-07-03 14:05:58 +02:00
Yann
47ce122e93
Changed icon field to EmField_icon in EmClass and EmField. Added sortcolumn argument for EmType and EmClass.
2015-07-03 12:21:59 +02:00
Yann
e757a3fb90
Doing todo
...
Added a dummy EmFieldType_icon
Added a test for EmType deletion with superiors
2015-07-03 11:52:02 +02:00
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.
2015-07-03 11:51:16 +02:00
Roland Haroutiounian
c0d83c3af9
PEP8 sur Lodel/utils/mlstring.py
2015-07-03 11:06:00 +02:00
Roland Haroutiounian
bf98e2a121
[TODO] Suppression d'un TODO obsolète dans fieldgroups.py
2015-07-03 10:05:55 +02:00
Roland Haroutiounian
3bb3bb4638
Merge branch 'nettoyage-TODO'
2015-07-03 09:59:57 +02:00
Roland Haroutiounian
53c2a72a9d
[TODO] Suppression d'un TODO dans fieldtypes
2015-07-03 09:59:33 +02:00
Roland Haroutiounian
1cfac44b9f
[TODO] Suppression d'un TODO dans fieldtypes
2015-07-03 09:55:52 +02:00
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
2015-07-03 09:51:31 +02:00
Yann
d7d4a989f1
TODO on EmComponent
2015-07-03 09:41:06 +02:00
Roland Haroutiounian
0e1932657c
Merge branch 'nettoyage-TODO'
2015-07-03 09:35:51 +02:00
Roland Haroutiounian
1d08100c10
[TODO] Suppression d'un TODO dans sqlsetup
2015-07-03 09:35:21 +02:00
Roland Haroutiounian
2f4497dfb9
[TODO] Suppression des TODO dans sqlsettings
2015-07-03 09:32:04 +02:00
Roland Haroutiounian
682d64753b
Merge branch 'pep8'
2015-07-02 17:04:37 +02:00
Roland Haroutiounian
b03958a65a
Suppression de sqlutils.getEngine au profit de sqlutils.get_engine
2015-07-02 17:03:54 +02:00
Roland Haroutiounian
9aa80d6238
Merge branch 'pep8'
2015-07-02 16:52:40 +02:00
Roland Haroutiounian
9cc3f9ce12
PEP8 sur sqlalter.py
2015-07-02 16:47:51 +02:00
Roland Haroutiounian
4efea40abf
Ajout d'un encoding sur un init
2015-07-02 16:47:51 +02:00
Roland Haroutiounian
3f4ee09c9f
Normalisation PEP8/Pylint sur sqlsetup.py
2015-07-02 16:47:51 +02:00
Roland Haroutiounian
b774d33fae
Nettoyage et mise en conformité PEP 8 de sqlutils.py
2015-07-02 16:47:51 +02:00
Roland Haroutiounian
2bae702a8b
Ajout de l'alias get_engine dans sqlutils.py
2015-07-02 16:47:51 +02:00
Roland Haroutiounian
1796990944
[PEP8] Nettoyage de Database/sqlutils.py
2015-07-02 16:47:51 +02:00
Roland Haroutiounian
c39e4ef7a6
PEP8 sur sqlalter.py
2015-07-02 16:43:51 +02:00
Roland Haroutiounian
9054c5140f
Ajout d'un encoding sur un init
2015-07-02 16:43:51 +02:00
Roland Haroutiounian
1322e14d6b
Normalisation PEP8/Pylint sur sqlsetup.py
2015-07-02 16:43:51 +02:00
Roland Haroutiounian
c3f736ca43
Nettoyage et mise en conformité PEP 8 de sqlutils.py
2015-07-02 16:43:51 +02:00
Roland Haroutiounian
ad3c662a47
Ajout de l'alias get_engine dans sqlutils.py
2015-07-02 16:43:51 +02:00
Roland Haroutiounian
8e91c99fae
[PEP8] Nettoyage de Database/sqlutils.py
2015-07-02 16:43:51 +02:00
Yann
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
2015-07-02 16:43:23 +02:00
Yann
f41d164603
Added test for EmComponent.get_max_rank(), replacing the default value for rank by the one processed by get_max_rank
2015-07-02 15:58:17 +02:00
Yann
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
2015-07-02 14:35:43 +02:00
Yann
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
2015-07-02 13:38:15 +02:00
Yann
3f8aff6813
EmField add_column code factorization
2015-07-02 11:17:43 +02:00
Yann
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.
2015-07-02 11:03:04 +02:00