Roland Haroutiounian
49f4f210b6
Code cleaning (PEP8 / Pylint) on fields.py
9 years ago
Roland Haroutiounian
d2d193e58f
[#50 ] Added the management of "integer" AND "int" in EmField (in the get_field_class method)
9 years ago
Yann Weber
18695e3a72
Implement the BackendJson save method
9 years ago
Yann Weber
d199d571bd
Cleaning & commenting + adding warning
9 years ago
Yann Weber
2b6615775c
Added a django admin command to list fieldtypes
9 years ago
Yann Weber
60e23b4946
[not tested] Added 3 more fieldtypes : file, datetime, text
9 years ago
Yann Weber
773afc5b2c
New version (again) of the fieldtypes
9 years ago
Yann Weber
4c0b8d3279
New graphviz backend + some methods added to some components
9 years ago
Roland Haroutiounian
946cc49a88
Added default values for django models Field types
9 years ago
Roland Haroutiounian
a318ef2dca
Code cleaning
9 years ago
Roland Haroutiounian
ce07a938b7
Added the mapping of the django models field types in the EmField class
9 years ago
Roland Haroutiounian
8b2bd59daf
[EmField] pep8+pylint
9 years ago
Yann Weber
ed9133016f
Fixing component deletion
9 years ago
Yann Weber
195cca24a4
Implementing check methods for each EmComponent child (and EmComponent)
No extended checks was done. Only tested if the check passes without syntax error and without failing with no reason
9 years ago
Roland Haroutiounian
7e35eeedb7
[EmField] pep8+pylint
9 years ago
Yann Weber
405dd318dd
Added type check in EmComponent and childs class type check. Added some cast functions to Backend
9 years ago
Yann Weber
b6ef37752f
Supressed _fields from EmComponent and transforming the EmComponent in a standart object with standarts attributes
9 years ago
Roland Haroutiounian
b668556c3f
[#44 ] Ajout d'un début de méthode check et appel de celle-ci dans le delete
9 years ago
Roland Haroutiounian
a5738476e0
[EmField] pep8 + pylint
9 years ago
Roland Haroutiounian
df6c0b001d
[EmField] Change of the delete method (uses the model member of the class to perform that action)
9 years ago
Roland Haroutiounian
867ad023be
[ClassTypes et Fields] Mise en commentaire des imports obsolètes et conformité pep8/pylint
9 years ago
Roland Haroutiounian
116795af12
Passage en commentaire du code obsolète
9 years ago
Roland Haroutiounian
a7bd17853f
Nettoyage de EmField
- Suppression du create / delete et des autres méthodes associées
- Suppression des imports qui sont devenus obsolètes
9 years ago
Yann Weber
889abc8547
Put the database configuration asinstance attribute of EmComponent
9 years ago
ArnAud
bd8bc7e814
EmFields: unecessary comment
9 years ago
ArnAud
09e74f3ec1
EmField: unused import + whitespace
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
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
Driky
347a302e85
Correction: ajout de la valeur de ranked_in pour chaque classe 'em_*'
9 years ago
Roland Haroutiounian
e46ca292c8
[EmField] Suppression de l'appel à SqlWrapper
9 years ago
Roland Haroutiounian
0b1f520647
Suppression d'une variable non utilisée dans la méthode add_field_to_column_table() de EmField
9 years ago
Roland Haroutiounian
ec69ca5837
Optimisations de code dans EmField
9 years ago
Roland Haroutiounian
153dec2537
EmField : remplacement des appels getDbE() par db_engine()
9 years ago
Roland Haroutiounian
1b7b5262dc
PEP8 sur EmField
9 years ago
Roland Haroutiounian
bbaa20c8ba
Modification d'un nom de fonction (passage en lowercase)
9 years ago
Roland Haroutiounian
6db8376afb
Nettoyage du code de EmField
9 years ago
Yann Weber
16a962fb3f
Implemented DropColumn for sqlite
9 years ago
Yann Weber
a042306c14
Delete implementation for EmClass and EmField
The EmField version cannot be tested yet (drop column not yet implemented for sqlite in Database.sqlalter)
9 years ago
Roland Haroutiounian
edcfd5b8cd
Modification de la recherche du nom de classe dans fields
9 years ago
Roland Haroutiounian
d9c3f8e86c
[#11 ] Modification de la méthode create => passage en arguments positionnels
9 years ago
Roland Haroutiounian
0418bd4895
[#12 ] Modification et débuggage sur le process de création de fields
9 years ago
Roland Haroutiounian
4e8074cfbb
[#12 ] Modification de EmField pour supprimer le populate et le save et debugger le process de création de champ
9 years ago
Roland Haroutiounian
e9d49533f2
[#12 ] Correctifs sur le populate et le save de EmField
9 years ago
Roland Haroutiounian
b69b21b431
[#12 ] debug
9 years ago
Roland Haroutiounian
8e7a7ffe34
[#12 ] Modification de la classe EmField
Suppression du init et passage des classes plutôt que les instances pour les fieldtypes dans le _fields
9 years ago
Roland Haroutiounian
2a9335f202
[#12 ] Déplacement des méthodes select_field et unselect_field de fields vers types
9 years ago
Roland Haroutiounian
f13b6f844d
[#12 ] Ajout de la class Em_Field_Type et du select_field
9 years ago
Roland Haroutiounian
c017ae793e
[#11 ] Implémentation du _fields dans EmField
9 years ago
Roland Haroutiounian
99ca81cdc3
[#11 ] Correction sur le champ identifiant des fieldgroup dans la définition d'un field
9 years ago