Yann Weber
6fa5a2a7f6
Reimplementation of get_max_rank for EmComponent + little correction in hash test
9 years ago
Yann Weber
f2027275e3
Addapt graphviz backend and random EM generator to changes on master branch
Mostly about the changes on types hierarchy
9 years ago
Yann Weber
8ed5b666a9
Added a manage.py command to generate random EM
9 years ago
Yann Weber
32975049d1
Use the kwargs parameter to tune generation
9 years ago
Yann Weber
cedf457ee0
Bugfix on instanciation and infinit grows of translations
9 years ago
Yann Weber
d405f0b41e
Added a random methods to EmModel to generate a random EM
9 years ago
Yann Weber
a987b5b672
Added a method to create a random EM
9 years ago
Yann Weber
be3d491ecc
Bugfix in some character escaping in graphviz backend
9 years ago
Yann Weber
3b39b11f16
Add methos to classtype and type
9 years ago
Yann Weber
00b2efda0d
Bufixes in fieldtypes
9 years ago
ArnAud
9cc01fec46
EmComponent : lint + pep8
9 years ago
ArnAud
218d1f9afc
MlString: ensure __str__() will always output same string by ordering the keys
9 years ago
ArnAud
4d1e687065
EmComponent : introduce attr_flat => reusable flattened attribut list of a component
9 years ago
ArnAud
5f0f5dd3bf
EmComponent: convert attr_dump attribut to a method
9 years ago
ArnAud
9b8bd12b65
Emtype-tests: whitespace and syntax error (lint + pep8)
9 years ago
ArnAud
af878631a0
Emtype: whitespace and syntax error (lint + pep8)
9 years ago
ArnAud
905b5d5c49
EmType: clean imports
9 years ago
ArnAud
90fcecd015
EmComponent: make the __hash__ function always return the same hash !
9 years ago
ArnAud
6d0937d26e
EmType : rewrite of the tests for EmTypes
9 years ago
ArnAud
8b55bc54ed
EmModel : delete_component() return False if deletion is not possible
Also do not send change to MH if deletion is not done
9 years ago
Roland Haroutiounian
d2d193e58f
[#50 ] Added the management of "integer" AND "int" in EmField (in the get_field_class method)
9 years ago
ArnAud
ed48c64ab8
EmType: do not break while adding or deleting an unknown superior
9 years ago
ArnAud
2e1c517f01
testMe : add a fieldgroup with only optional field in it
9 years ago
Roland Haroutiounian
1bde3b6729
Merge branch 't49'
9 years ago
Roland Haroutiounian
1f90b6f911
[#49 ] Changed the use of superiors in the migration handler
I put a for loop over the list to generate a foreign key for each item in the list.
9 years ago
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)
9 years ago
ArnAud
e57598690d
TestMe: add a type with no superior
9 years ago
ArnAud
2379d6031d
Tests: add an unselected optional field to test ME
9 years ago
Roland Haroutiounian
bd6fa1e0e9
[#49 ] deleted an obsolete commented import
9 years ago
Roland Haroutiounian
76d2d55653
Merge branch 't49'
9 years ago
Roland Haroutiounian
e4dfc1bb7a
[#49 ] Changes made in the unit tests for test_model
9 years ago
ArnAud
5fabf34ddb
EmType: bugfix, maybe we should learn python :p
9 years ago
Yann Weber
0861aadc78
Add some tests to EmComponent
9 years ago
Yann Weber
3109cc72bd
Deleted deprecated methos new_uid from EmComponent
9 years ago
Roland Haroutiounian
88d79a0a22
[#49 ] added an existence test for the "model" property in EmComponent.dumps()
9 years ago
Roland Haroutiounian
8ddf179e8f
Merge branch 't49'
9 years ago
Roland Haroutiounian
f1a264ac59
[#49 ] Removed the string casting in attr_dump
9 years ago
Yann Weber
f1a9a7d520
Added new loggers settings
9 years ago
ArnAud
d7b59df745
EmModel: attr_dump does not use attribut 'model' anymore
9 years ago
ArnAud
cdf31218f6
EmModel: _initiated attribut does not exist anymore in attr_dump
9 years ago
ArnAud
63787bc969
EmModel: bug fix create component: do not use positional argument
9 years ago
ArnAud
9131f7bcd2
EmField: type attribute is now called fieldtype
9 years ago
Roland Haroutiounian
8d7062e670
Merge branch 't49'
9 years ago
Roland Haroutiounian
f0c760fdb0
[#49 ] Took off the "model" property from the component dump
9 years ago
Roland Haroutiounian
e6de8b7a8b
[#49 ] Changed the value format used for the component in its attr_dump method
9 years ago
Roland Haroutiounian
eaf0520d3b
[#49 ] Changed the migration handler used in the tests for Model
9 years ago
Yann Weber
38395e09a5
Merge branch 'fieldtypes' with the new EmField processing
Conflicts:
EditorialModel/model.py
EditorialModel/test/me.json
9 years ago
ArnAud
6388eb6701
Merge branch 'migration_handler':
Add the possibility to change the migartion handler of a Model
It will send changes one by one to the new migartion handler
so it can re-create the Editorial Model
9 years ago
ArnAud
49b78fe37d
EmType: implement add_superior() & del_superior()
9 years ago
ArnAud
bc75d357e0
EmType: linked_types() is not usefull for now
9 years ago