Yann Weber
e7c1af45d9
Code cleaning for generic fieldtype
преди 8 години
Yann Weber
1daf9677c6
Implements order in fieldtype construct
преди 8 години
Yann Weber
8211fd5c47
Start multivalueFieldType implementation (in migrationhandler)
преди 8 години
Yann Weber
bbf33373d0
New version of fieldtypes class hierarchy + partial migrationhandler adaptation
преди 8 години
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 години
Yann Weber
801414fcc2
Fix the data value check in generic fieldtype
преди 8 години
Yann Weber
df40d5f17d
Updated fieldtypes to make easier the check_data_value inheritance
преди 8 години
Yann Weber
9cc1e8ab96
Started LeRelation and childs implementation
Begin to work on fieldtypes
преди 8 години
Yann Weber
52cbce9865
Changed LeFactory generated code (again) + Bugfix on LeCrud + more tests and tests update
преди 8 години
Yann Weber
aae570e5bc
Bugfix + added some tests to LeCrud
преди 8 години
ArnAud
3c1aa67ea7
fieldtypes: should now return (value, error)
преди 8 години
ArnAud
cfbe4ba6db
leo: first draft of check data workflow
преди 8 години
Yann Weber
dcc9fd0cf0
Updated fieldtypes check function to fit with the futur LeCrud
преди 8 години
Roland Haroutiounian
8b4244aaf5
PEP8/PyLint on EditorialModel/fieldtypes
преди 8 години
Yann Weber
1a50842a7e
First commit of an MySQL migration handler
преди 8 години
Yann Weber
1c4e2ddba8
Some Doxygen comments fix
преди 8 години
Yann Weber
0be8db4d00
Complete the LeFactory generated code tests, add a __hash__ method for fieldtypes
преди 8 години
Yann Weber
2860d8cf20
Add a ftype class attribute to EmFieldType objects
преди 8 години
Yann Weber
0c51d6a483
Added some class property to LeFactory generated classes to avoid Model calls
преди 8 години
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 години
Yann Weber
4eef4398a3
Updated some fieldtypes and added a primary key (pk) fieldtype
преди 8 години
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 години
Yann Weber
b521c2c7b6
Modified EmField and Model to fit with the new fieldtypes
преди 8 години
Yann Weber
5cd8e140bd
New version of EmFieldtype
Now fieldtypes are not derivated from EmField anymore
преди 8 години