Yann Weber
d4504df92a
Bugfix for Em MlString translations + me.json update
před 8 roky
Yann Weber
ba6cffbd03
Updated em json files
před 8 roky
Yann Weber
cb5f2f7460
Implements multivalue column
před 8 roky
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)
před 8 roky
ArnAud
eb8d282857
test Model: char fields should be nullable
před 8 roky
Yann Weber
10379c6a95
Fieldgroups are deleted
před 8 roky
ArnAud
a4dacc654a
classtype: use the same naming pattern for *_id fields
před 8 roky
Yann Weber
384ffb006b
Default fields processing changes + updated the me.json
Now on load default fields for EmClass are created. The EmClass.check method create them if they are not present.
před 8 roky
Yann Weber
a9bf80d83d
Adding a second possible parent for the EmType rubrique in me.json
před 8 roky
ArnAud
2e1c517f01
testMe : add a fieldgroup with only optional field in it
před 8 roky
ArnAud
644f76b14d
Emtype: superiors_list should be a dict with list of int
=> a type can have multiple superiors (only instance of LeObject can have one)
před 8 roky
ArnAud
e57598690d
TestMe: add a type with no superior
před 8 roky
ArnAud
2379d6031d
Tests: add an unselected optional field to test ME
před 8 roky
ArnAud
9131f7bcd2
EmField: type attribute is now called fieldtype
před 8 roky
ArnAud
a89cfa4429
EmType: use superiors_list instead of subordinates_list to save type hierarchy
před 8 roky
ArnAud
7a97bc16fb
test ME: rank was not correct
před 8 roky
Yann Weber
d199d571bd
Cleaning & commenting + adding warning
před 8 roky
Yann Weber
5d71d29f91
Updated the me.json
před 8 roky
Yann Weber
0dd07ea281
[Broken] Make the MH using the to_django method of EmField and me.json updates
Added a fieldtype varchar to me.json
There is a bug with django fields default values
před 8 roky
ArnAud
34fdd8d8b3
EmType: implement select and unselect _field
před 9 roky
ArnAud
886cee22df
EmType : subordinates_list and fields_list
před 9 roky
Yann Weber
b6ef37752f
Supressed _fields from EmComponent and transforming the EmComponent in a standart object with standarts attributes
před 9 roky
ArnAud
ee9104fd57
EmType : implement .fields()
comment selected_fields because it clashes with ._fields[]
=> we have to rethink of ._fields[] and fieldtypes
před 9 roky
ArnAud
f72799af24
EmFieldgroups: fields(self, type_id=0) can now filter fields for EmType request
před 9 roky
ArnAud
338bccd785
EmType: implement fieldgroups()
před 9 roky
Yann Weber
6a56b31ba5
Migrating EmClass methods and EmComponent.delete according to the new Model object, changed the Model.components dict keys (and the json test file)
There is now two methods Model.name_from_emclass and emclass_from_name that allows to access the Model.components array
před 9 roky
ArnAud
6f2d895462
EM: Model: store all components in one dict
před 9 roky
ArnAud
71a1e852dc
EM: a canonical EM in json
před 9 roky
ArnAud
e85e19c4b1
ME: basic ME for tests
před 9 roky
ArnAud
55b030800f
Em: draft for fieldgroup
před 9 roky
ArnAud
c73251795c
EM: first draft for a Model Class
před 9 roky