Yann Weber
cb5f2f7460
Implements multivalue column
il y a 8 ans
Yann Weber
8211fd5c47
Start multivalueFieldType implementation (in migrationhandler)
il y a 8 ans
Yann Weber
bbf33373d0
New version of fieldtypes class hierarchy + partial migrationhandler adaptation
il y a 8 ans
Yann Weber
a56bb65c94
Upgrade the EmClass.check() method making it detect inconsistency between EmClass fields and common_fields defines in EditorialModel.classtypes
Note : the check method does not correct the EmFields only displays a warning
il y a 8 ans
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)
il y a 8 ans
Yann Weber
222f10282d
Bugfixes due to properties name changes in LeRelation
il y a 8 ans
Yann Weber
3dea17d7c4
Fixes incomplete except in fieldtypes to catch cast fails
il y a 8 ans
Yann Weber
801414fcc2
Fix the data value check in generic fieldtype
il y a 8 ans
Yann Weber
93f7b65172
Add a new fieldtype to handles EM uid
il y a 8 ans
Yann Weber
9711cc65dc
Add a new propertie to LeObject dynamic class : _me_uid_field_names (stores the names of the fields _class_id and _type_id)
il y a 8 ans
Yann Weber
89667ee1d1
Fixing tests and other classes to fit recent changes
il y a 8 ans
Yann Weber
54af3da85a
Modified version of migration handler
This commit is full of bugs (in LeRelation etc.)
il y a 8 ans
Yann Weber
67dbe5c097
Implements relation stuff + a lot of fixes in tests and in leo fieldtypes validation stack
il y a 9 ans
Yann Weber
3ae2e6e613
Moved all modules related to DB in the DataSource folder ( fixes #88 )
il y a 9 ans
Yann Weber
6a6326831a
Upgrade type check in leo fieldtype + unskip some tests
il y a 9 ans
Yann Weber
a0a83ad19b
Add test + small bugfixes in fieldtypes + implementations of short utils methods
il y a 9 ans
Yann Weber
6634ae34ef
Bugfix on LeRelation fieldtypes
il y a 9 ans
Yann Weber
10b8a1873a
Updated LeRelation default field list (nature is not internal automatic)
il y a 9 ans
Yann Weber
1cd5998a88
Implements partial instanciation of LeObjects + utility classmethod for LeRelation
il y a 9 ans
Yann Weber
8cff059ab3
More on LeRelation fieldtypes leo and naturerelation
il y a 9 ans
Yann Weber
798ad5a68e
Added 2 fieldtypes : leo and naturerelation + add a uidname method to _LeCrud
il y a 9 ans
Yann Weber
df40d5f17d
Updated fieldtypes to make easier the check_data_value inheritance
il y a 9 ans
Yann Weber
9cc1e8ab96
Started LeRelation and childs implementation
Begin to work on fieldtypes
il y a 9 ans
Yann Weber
52cbce9865
Changed LeFactory generated code (again) + Bugfix on LeCrud + more tests and tests update
il y a 9 ans
Yann Weber
aae570e5bc
Bugfix + added some tests to LeCrud
il y a 9 ans
ArnAud
3c1aa67ea7
fieldtypes: should now return (value, error)
il y a 9 ans
ArnAud
cfbe4ba6db
leo: first draft of check data workflow
il y a 9 ans
ArnAud
147cadc377
fieldtypes: use relative import
il y a 9 ans
Yann Weber
dcc9fd0cf0
Updated fieldtypes check function to fit with the futur LeCrud
il y a 9 ans
ArnAud
8c47a604cb
migration handler SQL: use new style to create column
il y a 9 ans
Roland Haroutiounian
d1034a643c
PEP8/PyLint on types.py
il y a 9 ans
Roland Haroutiounian
8c814e315e
PEP8/Pylint on randomem.py
il y a 9 ans
Roland Haroutiounian
3090208987
PEP8/Pylint on model.py
il y a 9 ans
Roland Haroutiounian
a07f0a10af
PEP8/PyLint on fields.py
il y a 9 ans
Roland Haroutiounian
6a5136d728
PEP8/PyLint on classtypes.py
il y a 9 ans
Roland Haroutiounian
5d43d897e1
PEP8 / PyLint on classes.py
il y a 9 ans
Roland Haroutiounian
8b866388e6
PEP8/PyLint on migrationhandler module
il y a 9 ans
Roland Haroutiounian
8b4244aaf5
PEP8/PyLint on EditorialModel/fieldtypes
il y a 9 ans
Yann Weber
f886bb5193
Delete relationnal Field from the generated LeType child class
il y a 9 ans
ArnAud
eb8d282857
test Model: char fields should be nullable
il y a 9 ans
Yann Weber
d35f499e3d
Deleted useless code
il y a 9 ans
Yann Weber
39401184d0
Add a new method __purge_db() to the migration handler
il y a 9 ans
ArnAud
c8d9b9042c
Emtype: no more fieldgroups
il y a 9 ans
Yann Weber
54ba4cc3c5
Implements get_relation in LeDatasourceSQL + some small changes in MySQL and MH
il y a 9 ans
Yann Weber
24b758af9b
Updated some MySQL properties and MigrationHandler stuff
il y a 9 ans
Yann Weber
3e3114a0b2
Better comments for MySQL MH
il y a 9 ans
Roland Haroutiounian
cbd3d89426
[#63 ] PEP8/Pylint
il y a 9 ans
Roland Haroutiounian
518cfad9cd
[#63 ] Mysql migration handler and ledatasourceSQL are using MySQL DataSource
il y a 9 ans
Yann Weber
5236429efd
Update on graphviz backend and random em generator given the changes in the EM (fieldgroups deletion)
il y a 9 ans
Yann Weber
d3b1b4b659
Updated the graphviz backend
il y a 9 ans