Yann Weber
d4504df92a
Bugfix for Em MlString translations + me.json update
vor 9 Jahren
ArnAud
a2cd199f10
fieldtypes, leo: check attr before using method
vor 9 Jahren
Yann Weber
af34f4bf59
Allowing None values in i18n dict
vor 9 Jahren
Yann Weber
ba6cffbd03
Updated em json files
vor 9 Jahren
Yann Weber
02e32d887b
MlString update
vor 9 Jahren
Yann Weber
5eadaf145d
MlString enhancement + i18n check functions implementation
vor 9 Jahren
Yann Weber
cae0377c3d
More doc + tests fixes and rank fieldtype fix
vor 9 Jahren
Yann Weber
5ad9c27a07
Introducing the notion of immutable fieldtypes for classtypes fields definition
vor 9 Jahren
Yann Weber
f28c941a38
Add a forgotten file (namerelation)
vor 9 Jahren
Yann Weber
37edad7b1f
Implements handling of relation_name field in relation common fields
vor 9 Jahren
Yann Weber
da89046c33
Add the relation_name field to relation_common_fields list
We have to create a special fieldtype to handle this field
vor 9 Jahren
Yann Weber
7b1152e444
Fixing syntax error in join & format fieldtypes
vor 9 Jahren
Yann Weber
c5a5b10b4a
Untested implementation of join fieldtype and format fieldtype
vor 9 Jahren
Yann Weber
b7c957e47e
Renamed concat fieldtype in join + comments in generic fieldtype
vor 9 Jahren
Yann Weber
e7c1af45d9
Code cleaning for generic fieldtype
vor 9 Jahren
Yann Weber
eaca82da1f
Implements automatic concatenation fieldtype
vor 9 Jahren
Yann Weber
1daf9677c6
Implements order in fieldtype construct
vor 9 Jahren
Yann Weber
173564b7ee
New constants in EditorialModel.classtypes
vor 9 Jahren
Yann Weber
cb5f2f7460
Implements multivalue column
vor 9 Jahren
Yann Weber
8211fd5c47
Start multivalueFieldType implementation (in migrationhandler)
vor 9 Jahren
Yann Weber
bbf33373d0
New version of fieldtypes class hierarchy + partial migrationhandler adaptation
vor 9 Jahren
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
vor 9 Jahren
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)
vor 9 Jahren
Yann Weber
222f10282d
Bugfixes due to properties name changes in LeRelation
vor 9 Jahren
Yann Weber
3dea17d7c4
Fixes incomplete except in fieldtypes to catch cast fails
vor 9 Jahren
Yann Weber
801414fcc2
Fix the data value check in generic fieldtype
vor 9 Jahren
Yann Weber
93f7b65172
Add a new fieldtype to handles EM uid
vor 9 Jahren
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)
vor 9 Jahren
Yann Weber
89667ee1d1
Fixing tests and other classes to fit recent changes
vor 9 Jahren
Yann Weber
54af3da85a
Modified version of migration handler
This commit is full of bugs (in LeRelation etc.)
vor 9 Jahren
Yann Weber
67dbe5c097
Implements relation stuff + a lot of fixes in tests and in leo fieldtypes validation stack
vor 9 Jahren
Yann Weber
3ae2e6e613
Moved all modules related to DB in the DataSource folder ( fixes #88 )
vor 9 Jahren
Yann Weber
6a6326831a
Upgrade type check in leo fieldtype + unskip some tests
vor 9 Jahren
Yann Weber
a0a83ad19b
Add test + small bugfixes in fieldtypes + implementations of short utils methods
vor 9 Jahren
Yann Weber
6634ae34ef
Bugfix on LeRelation fieldtypes
vor 9 Jahren
Yann Weber
10b8a1873a
Updated LeRelation default field list (nature is not internal automatic)
vor 9 Jahren
Yann Weber
1cd5998a88
Implements partial instanciation of LeObjects + utility classmethod for LeRelation
vor 9 Jahren
Yann Weber
8cff059ab3
More on LeRelation fieldtypes leo and naturerelation
vor 9 Jahren
Yann Weber
798ad5a68e
Added 2 fieldtypes : leo and naturerelation + add a uidname method to _LeCrud
vor 9 Jahren
Yann Weber
df40d5f17d
Updated fieldtypes to make easier the check_data_value inheritance
vor 9 Jahren
Yann Weber
9cc1e8ab96
Started LeRelation and childs implementation
Begin to work on fieldtypes
vor 9 Jahren
Yann Weber
52cbce9865
Changed LeFactory generated code (again) + Bugfix on LeCrud + more tests and tests update
vor 9 Jahren
Yann Weber
aae570e5bc
Bugfix + added some tests to LeCrud
vor 9 Jahren
ArnAud
3c1aa67ea7
fieldtypes: should now return (value, error)
vor 9 Jahren
ArnAud
cfbe4ba6db
leo: first draft of check data workflow
vor 9 Jahren
ArnAud
147cadc377
fieldtypes: use relative import
vor 9 Jahren
Yann Weber
dcc9fd0cf0
Updated fieldtypes check function to fit with the futur LeCrud
vor 9 Jahren
ArnAud
8c47a604cb
migration handler SQL: use new style to create column
vor 9 Jahren
Roland Haroutiounian
d1034a643c
PEP8/PyLint on types.py
vor 9 Jahren
Roland Haroutiounian
8c814e315e
PEP8/Pylint on randomem.py
vor 9 Jahren