Yann Weber
e7c1af45d9
Code cleaning for generic fieldtype
8 gadus atpakaļ
Yann Weber
1daf9677c6
Implements order in fieldtype construct
8 gadus atpakaļ
Yann Weber
8211fd5c47
Start multivalueFieldType implementation (in migrationhandler)
8 gadus atpakaļ
Yann Weber
bbf33373d0
New version of fieldtypes class hierarchy + partial migrationhandler adaptation
8 gadus atpakaļ
Yann Weber
43e8145dab
Implements get_max_rank() in LeApi. Add a fieldtype rank. + A lot of bugfix
The me.json was not up to date (Models don't forward classtypes modifications to loaded json file)
Some bugfix on fieldtypes that was not used (because of old me.json)
8 gadus atpakaļ
Yann Weber
801414fcc2
Fix the data value check in generic fieldtype
8 gadus atpakaļ
Yann Weber
df40d5f17d
Updated fieldtypes to make easier the check_data_value inheritance
8 gadus atpakaļ
Yann Weber
9cc1e8ab96
Started LeRelation and childs implementation
Begin to work on fieldtypes
8 gadus atpakaļ
Yann Weber
52cbce9865
Changed LeFactory generated code (again) + Bugfix on LeCrud + more tests and tests update
8 gadus atpakaļ
Yann Weber
aae570e5bc
Bugfix + added some tests to LeCrud
8 gadus atpakaļ
ArnAud
3c1aa67ea7
fieldtypes: should now return (value, error)
8 gadus atpakaļ
ArnAud
cfbe4ba6db
leo: first draft of check data workflow
8 gadus atpakaļ
Yann Weber
dcc9fd0cf0
Updated fieldtypes check function to fit with the futur LeCrud
8 gadus atpakaļ
Roland Haroutiounian
8b4244aaf5
PEP8/PyLint on EditorialModel/fieldtypes
8 gadus atpakaļ
Yann Weber
1a50842a7e
First commit of an MySQL migration handler
8 gadus atpakaļ
Yann Weber
1c4e2ddba8
Some Doxygen comments fix
8 gadus atpakaļ
Yann Weber
0be8db4d00
Complete the LeFactory generated code tests, add a __hash__ method for fieldtypes
8 gadus atpakaļ
Yann Weber
2860d8cf20
Add a ftype class attribute to EmFieldType objects
8 gadus atpakaļ
Yann Weber
0c51d6a483
Added some class property to LeFactory generated classes to avoid Model calls
8 gadus atpakaļ
Yann Weber
ad1beff75d
Added default fields for EmClass + fixing some tests and EmClass function that were broken
Added default fields for EmClass, they are listed by classtype in EmClassType
Fixing some tests (testing that a new EmClass has no fieldgroups)
Fixing the delete_check of EmClass. Now an EmClass can be deleted if it contains only default fieldgroup and default fields
8 gadus atpakaļ
Yann Weber
4eef4398a3
Updated some fieldtypes and added a primary key (pk) fieldtype
8 gadus atpakaļ
Yann Weber
f27bb26f9a
Introduction of LeFactory and its generatePython method
LeFactory.generatePython() is a method that generate LeObject code and python classes for each EmClass and EmType in an EditorialModel
8 gadus atpakaļ
Yann Weber
b521c2c7b6
Modified EmField and Model to fit with the new fieldtypes
8 gadus atpakaļ
Yann Weber
5cd8e140bd
New version of EmFieldtype
Now fieldtypes are not derivated from EmField anymore
8 gadus atpakaļ