Roland Haroutiounian
d1034a643c
PEP8/PyLint on types.py
8 年之前
Yann Weber
f886bb5193
Delete relationnal Field from the generated LeType child class
8 年之前
ArnAud
c8d9b9042c
Emtype: no more fieldgroups
9 年之前
Yann Weber
10379c6a95
Fieldgroups are deleted
9 年之前
Yann Weber
7b0df11496
Removing rel2type fields and rel2type attributes fields from LeClass and LeType fields lists
9 年之前
Yann Weber
1c4e2ddba8
Some Doxygen comments fix
9 年之前
ArnAud
6890375041
Databases: get rid of old and unused code
9 年之前
Roland Haroutiounian
33a7b6c4a4
PEP8/Pylint on types.py
9 年之前
Yann Weber
3b39b11f16
Add methos to classtype and type
9 年之前
ArnAud
af878631a0
Emtype: whitespace and syntax error (lint + pep8)
9 年之前
ArnAud
905b5d5c49
EmType: clean imports
9 年之前
ArnAud
ed48c64ab8
EmType: do not break while adding or deleting an unknown superior
9 年之前
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 年之前
ArnAud
5fabf34ddb
EmType: bugfix, maybe we should learn python :p
9 年之前
ArnAud
49b78fe37d
EmType: implement add_superior() & del_superior()
9 年之前
ArnAud
bc75d357e0
EmType: linked_types() is not usefull for now
9 年之前
ArnAud
a89cfa4429
EmType: use superiors_list instead of subordinates_list to save type hierarchy
9 年之前
ArnAud
8919e55bfb
EmType : select_field() and unselect_field() now call the migration handler
9 年之前
Yann Weber
c126922ecd
Cleaning EmType.superiors() comments and variable name
9 年之前
ArnAud
674f72559d
EmType : implement superiors()
9 年之前
ArnAud
34fdd8d8b3
EmType: implement select and unselect _field
9 年之前
Yann Weber
ed9133016f
Fixing component deletion
9 年之前
ArnAud
c28511bc3a
EmType: check the nature of the subordinates
9 年之前
Yann Weber
195cca24a4
Implementing check methods for each EmComponent child (and EmComponent)
No extended checks was done. Only tested if the check passes without syntax error and without failing with no reason
9 年之前
ArnAud
886cee22df
EmType : subordinates_list and fields_list
9 年之前
Yann Weber
405dd318dd
Added type check in EmComponent and childs class type check. Added some cast functions to Backend
9 年之前
Yann Weber
b6ef37752f
Supressed _fields from EmComponent and transforming the EmComponent in a standart object with standarts attributes
9 年之前
Roland Haroutiounian
083daf67db
[#44 ] EmType : Added a check method and its call in the delete process
9 年之前
ArnAud
ee9104fd57
EmType : implement .fields()
comment selected_fields because it clashes with ._fields[]
=> we have to rethink of ._fields[] and fieldtypes
9 年之前
ArnAud
55afedc863
EmType : .fieldgroups() filter using EmFieldGroups
9 年之前
ArnAud
338bccd785
EmType: implement fieldgroups()
9 年之前
ArnAud
e2ab8d9a25
EmType : implement classtype
9 年之前
ArnAud
cf2ea5f51e
EM Type : implement selected_fields()
9 年之前
ArnAud
e05422dd63
EM Type:get subordinates and fields in __init__
9 年之前
Roland Haroutiounian
89d45ab799
[EmType] pep8 + pylint
9 年之前
Roland Haroutiounian
a1509dcc68
Désactivation du code SQL dans types.py
9 年之前
Roland Haroutiounian
79c168587e
[pep8] Correction sur les lignes vides entre les classes et les méthodes
9 年之前
ArnAud
68da99216c
EmType: bad method name
9 年之前
Yann Weber
889abc8547
Put the database configuration asinstance attribute of EmComponent
9 年之前
ArnAud
8289fa70dd
EmTypes: pylint -d C0301,C0111
9 年之前
Yann Weber
65166a5dfd
Adding icon argument to EmType::create() method
9 年之前
Yann Weber
47ce122e93
Changed icon field to EmField_icon in EmClass and EmField. Added sortcolumn argument for EmType and EmClass.
9 年之前
Yann Weber
e757a3fb90
Doing todo
Added a dummy EmFieldType_icon
Added a test for EmType deletion with superiors
9 年之前
Yann Weber
6af0b45f3f
Code factorization on EmType select and unselect fields. Added comparison capabilities to EmComponent (and childs)
Implemented __hash__ and __eq__ for EmComponent (based on class name and uid) to test equality betwenn two instance. Allows to use "instance in instance_list" syntax
9 年之前
Yann Weber
27d178e531
Code factorization and create methods for EmComponent and childs changes
Behaviour changed for EmComponent and childs create method :
- Takes care of duplicated names at creation
- Handle all the checks in EmComponent method
Factorization of EmField.get_class_table() method
Added a @property method class_table_name to EmClass
9 年之前
Driky
347a302e85
Correction: ajout de la valeur de ranked_in pour chaque classe 'em_*'
9 年之前
Yann Weber
4fb2f789b5
Replacing EmComponent method getDbE by db_engine
9 年之前
Yann Weber
a23fd3dbfc
Bugfix on EmClass and EmType so every tests pass
Every tests passes, except the skipped tests on relation_to_type links
There is a strange warning that comes maby from some tests (but maybe not)...
9 年之前
Yann Weber
503ecd570b
Some tests dont pass, but most of them does
9 年之前
Yann Weber
0ab7f5aafb
EmType delete() method partial implementation
Actually not able to check relation_to_type deletion constraints
9 年之前