Yann Weber
cae0377c3d
More doc + tests fixes and rank fieldtype fix
пре 8 година
Yann Weber
b7c957e47e
Renamed concat fieldtype in join + comments in generic fieldtype
пре 8 година
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 година