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 년 전
Driky
347a302e85
Correction: ajout de la valeur de ranked_in pour chaque classe 'em_*'
9 년 전
Roland Haroutiounian
e46ca292c8
[EmField] Suppression de l'appel à SqlWrapper
9 년 전
Roland Haroutiounian
0b1f520647
Suppression d'une variable non utilisée dans la méthode add_field_to_column_table() de EmField
9 년 전
Roland Haroutiounian
ec69ca5837
Optimisations de code dans EmField
9 년 전
Roland Haroutiounian
153dec2537
EmField : remplacement des appels getDbE() par db_engine()
9 년 전
Roland Haroutiounian
1b7b5262dc
PEP8 sur EmField
9 년 전
Roland Haroutiounian
bbaa20c8ba
Modification d'un nom de fonction (passage en lowercase)
9 년 전
Roland Haroutiounian
6db8376afb
Nettoyage du code de EmField
9 년 전
Yann Weber
16a962fb3f
Implemented DropColumn for sqlite
9 년 전
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 년 전
Roland Haroutiounian
edcfd5b8cd
Modification de la recherche du nom de classe dans fields
9 년 전
Roland Haroutiounian
d9c3f8e86c
[#11 ] Modification de la méthode create => passage en arguments positionnels
9 년 전
Roland Haroutiounian
0418bd4895
[#12 ] Modification et débuggage sur le process de création de fields
9 년 전
Roland Haroutiounian
4e8074cfbb
[#12 ] Modification de EmField pour supprimer le populate et le save et debugger le process de création de champ
9 년 전
Roland Haroutiounian
e9d49533f2
[#12 ] Correctifs sur le populate et le save de EmField
9 년 전
Roland Haroutiounian
b69b21b431
[#12 ] debug
9 년 전
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 년 전
Roland Haroutiounian
2a9335f202
[#12 ] Déplacement des méthodes select_field et unselect_field de fields vers types
9 년 전
Roland Haroutiounian
f13b6f844d
[#12 ] Ajout de la class Em_Field_Type et du select_field
9 년 전
Roland Haroutiounian
c017ae793e
[#11 ] Implémentation du _fields dans EmField
9 년 전
Roland Haroutiounian
99ca81cdc3
[#11 ] Correction sur le champ identifiant des fieldgroup dans la définition d'un field
9 년 전
Roland Haroutiounian
4b32798c49
[#11 ] Nettoyage de code
9 년 전
Roland Haroutiounian
ef00ce2250
[#11 ] Correction pour l'argument du From
9 년 전
Roland Haroutiounian
6442a85014
[#11 ] Modification du passage d'arguments sur la méthode create de components
9 년 전
Roland Haroutiounian
21f79a9301
[#11 ] Ajout de la génération de la colonne du Field dans la table correspondante
9 년 전
Yann Weber
c100dd43f3
Adding default date for date_create and date_update columns
The dates are set in EmComponent::create() for date_create and in EmComponent::save() for date_update
The values are sets to datetime.datetime.utcnow() so we now that EVERY date in the db are in UTC, no matter django, database or even server configurations.
We will have to take care to convert dates from database to django timezone in dates fieldtypes.
9 년 전
ArnAud
44cd259a80
EmType: Empty foreign key should be None
9 년 전
Yann Weber
f958efbff5
Code factorisation for new UID creation
Added a classmethod EmComponent::newUid() that determines the caller's class and return a newly registrated UID
9 년 전
Yann Weber
c4e1afd192
More SQL isolation and some little bugfixes
9 년 전
ArnAud
d217eb89cc
first shoot for fieldtypes
9 년 전
Yann Weber
9d5f1ac260
SQL isolation in fieldgroups and fields
9 년 전
ArnAud
58303db9fa
EmField: create, save and load
9 년 전
ArnAud
a86ff9ee97
ME : renommage et import
9 년 전
ArnAud
61e472e16e
ME: no sub-directory
9 년 전
Yann Weber
8f2a3655bb
Renaming and moving files + fixed a bug in Lodel.settings imports
Lodel/sttings/__init__.py wasn't able to import files when called by manage.py
Renaming em to EditorialModel and moved Em* objects to EditorialModel/lib
Adding a first test (that do not pass because of syntax errors in Em* classes)
9 년 전
ArnAud
9dab9ce22f
EM: on avance…
9 년 전
Yann Weber
df4c5cbfd8
Ajout du Doxyfile et des entêtes de méthodes pour les objets EmField, EmFieldGroup et EmType
9 년 전