Roland Haroutiounian
|
6a4a7af931
|
[#69] Added the code to add the relations to all the superiors in a hierarchy
|
9 years ago |
Yann Weber
|
668d97e2fb
|
Implements add_related set_relation_rank in MySQL ledatasource and updated get_relation
|
9 years ago |
Yann Weber
|
76c1174509
|
Implements get_subordinates in the MySQL datasource
|
9 years ago |
Roland Haroutiounian
|
75d47527ee
|
get_superiors query is ordered by depth desc
|
9 years ago |
Roland Haroutiounian
|
74e6c2b7da
|
[#71] get_superiors method's first implementation
|
9 years ago |
Yann Weber
|
4b0a2ca093
|
Implements superiors and subordinates methods in LeType + old code removal in LeType
|
9 years ago |
Yann Weber
|
3503537b0d
|
Implements _LeObject.hierarchy_get() method
|
9 years ago |
Roland Haroutiounian
|
fa4e45d4c5
|
[#69] First implementation of add_superior, without the recursive calls
* add_superior's implementation in LeDataSourceSQL
* cleaning the code
|
9 years ago |
Yann Weber
|
4ce0e3ea55
|
Renamed superior methods in LeType
|
9 years ago |
Yann Weber
|
64c2a865df
|
Implements _LeObject.hierarchy_del() and LeType.del_superior()
|
9 years ago |
Yann Weber
|
3fe8e3e1ef
|
Implements LeType.add_superior()
|
9 years ago |
Yann Weber
|
94a5afcdd7
|
Implements _LeObject.hierarchy_add() method and instroduce the class LeRoot
LeRoot represents hierarchy root
|
9 years ago |
Yann Weber
|
4a38cec9e1
|
Updated the add_superior header in dummy datasource
|
9 years ago |
Yann Weber
|
54ba4cc3c5
|
Implements get_relation in LeDatasourceSQL + some small changes in MySQL and MH
|
9 years ago |
Roland Haroutiounian
|
0ad4e3c9fd
|
[#67] del_relation method now uses only a relation id as argument
|
9 years ago |
Roland Haroutiounian
|
b202a7933d
|
[#68] get_relations method uses only one argument which is the object from which we want the relations
|
9 years ago |
Yann Weber
|
03ebc9535a
|
Implements new methods for getting relations in LeObject and add a check for attributes unicity when linking two LeObject together
|
9 years ago |
Yann Weber
|
a5996dc419
|
Implements _LeObject.link_remove() and LeType.unlink_subordinate()
|
9 years ago |
Roland Haroutiounian
|
70c237d65f
|
[#68] get_relations method is implemented in LeDataSourceSQL
|
9 years ago |
Yann Weber
|
15b9c27333
|
Implements _LeObject.linked_together() and LeType.linked_subordinates() methods
|
9 years ago |
Yann Weber
|
1a54863f5b
|
Implements _LeObject.link_together() and LeType.link_subordinate() methods
|
9 years ago |
Roland Haroutiounian
|
b062a28e7b
|
[#67] del_relation is declared implemented
|
9 years ago |
Roland Haroutiounian
|
492e2c1c25
|
[#67] Delete of a relation is implemented now in LeDataSourceSQL
* The two mandatory arguments of the del_relation method are checked
|
9 years ago |
Roland Haroutiounian
|
cbd3d89426
|
[#63] PEP8/Pylint
|
9 years ago |
Roland Haroutiounian
|
518cfad9cd
|
[#63] Mysql migration handler and ledatasourceSQL are using MySQL DataSource
|
9 years ago |
Yann Weber
|
e2656e0285
|
Updated the dummy datasource with methods headers to handle relations
|
9 years ago |
Roland Haroutiounian
|
6f06c86a86
|
[#63] Change in the new of the foreign key generator
|
9 years ago |
Yann Weber
|
10379c6a95
|
Fieldgroups are deleted
|
9 years ago |
Yann Weber
|
ff983409fc
|
Changed the relation's methods header of the dummy datasource
|
9 years ago |
Yann Weber
|
81d194974b
|
Add a rel2type_name to LeType methods about linked stuff
|
9 years ago |
Yann Weber
|
fb848fd1dd
|
Begin to work on relations API but some problems appear
|
9 years ago |
Yann Weber
|
0d88ebca62
|
Add relation modification methods to LeType
|
9 years ago |
Roland Haroutiounian
|
7f3981f24a
|
Corrected the delete method in LeDataSourceSQL
|
9 years ago |
Roland Haroutiounian
|
ffa51b38db
|
skipping not yet implemented unittests on LeDataSourceSQL
|
9 years ago |
Yann Weber
|
077a54423d
|
Bugfix on LeType.check_or_raise() method
When complete was True the method was expecting optionnal field in datas
|
9 years ago |
Yann Weber
|
7b0df11496
|
Removing rel2type fields and rel2type attributes fields from LeClass and LeType fields lists
|
9 years ago |
Roland Haroutiounian
|
119b9b6f9f
|
Added the deleting in the object table
|
9 years ago |
Yann Weber
|
3f9067492c
|
Removed a debug message + bugfix on LeDatasource returned values
|
9 years ago |
Yann Weber
|
bdd85d9bde
|
Implement the LeDatasource.insert() method + user friendly LeObject.insert() datas arg
|
9 years ago |
Roland Haroutiounian
|
6540e2c233
|
Changed the class name detection in the LeDataSourceSQL class
|
9 years ago |
Roland Haroutiounian
|
ded36cacc8
|
Reimplemented the delete function
|
9 years ago |
Roland Haroutiounian
|
936219e47a
|
Added a test to detect empty relational filter arguments in the parsing process
|
9 years ago |
Roland Haroutiounian
|
edb86d7f55
|
Optimized the relational filters parsing
|
9 years ago |
Roland Haroutiounian
|
9f47b7848f
|
Fixed connection strings for mysql
|
9 years ago |
Roland Haroutiounian
|
5c7bb9d76b
|
Changed LeDataSourceSQL to use MySQL
|
9 years ago |
Roland Haroutiounian
|
77e7f66efc
|
Corrected the constructor and the get method of LeDataSourceSQL
|
9 years ago |
Roland Haroutiounian
|
8ab4f41bec
|
Added the other basic tests' headers in the test_ledatasource.py file
|
9 years ago |
Roland Haroutiounian
|
486213d06d
|
Committed the test class for LeDataSourceSQL
|
9 years ago |
Roland Haroutiounian
|
996039d6aa
|
Added the first test for the LeObject datasource
|
9 years ago |
Roland Haroutiounian
|
a904ac0a09
|
PEP8/Pylint on lefactory.py
|
9 years ago |