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)
9 years ago
ArnAud
b1b13f4afa
crud, SQL: implement order, group, limit and offset in get() request
9 years ago
Yann Weber
b8266f3303
Update relations rank modifications
9 years ago
Yann Weber
3ae2e6e613
Moved all modules related to DB in the DataSource folder ( fixes #88 )
9 years ago
ArnAud
9d16c6a4c8
SQL datasource: implement get() from LeObject
9 years ago
Yann Weber
e335019f79
Renamed the package leobject in leapi
9 years ago
Yann Weber
287504555c
Fixed typo in dummy datasource
9 years ago
Yann Weber
f99f74fcb1
Updated the dummydatasource interface + skipping some tests
9 years ago
Roland Haroutiounian
285da59e7d
Changed the dummy datasource for Leobject
9 years ago
Yann Weber
d45b84c5d9
Implements get_related in MySQL datasource
9 years ago
Roland Haroutiounian
aaa4268afa
[#74 ] del_related method is usable in LeDataSourceSQL
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
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
Yann Weber
64c2a865df
Implements _LeObject.hierarchy_del() and LeType.del_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
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
1a54863f5b
Implements _LeObject.link_together() and LeType.link_subordinate() methods
9 years ago
Yann Weber
e2656e0285
Updated the dummy datasource with methods headers to handle relations
9 years ago
Yann Weber
ff983409fc
Changed the relation's methods header of the dummy datasource
9 years ago
Yann Weber
0d88ebca62
Add relation modification methods to LeType
9 years ago
Roland Haroutiounian
32fe54e205
PEP8 / PyLint on datasources module
9 years ago
Yann Weber
965560bf6b
Add test for LeObject with a mock on the datasource + bugfix on _LeObject and LeType
9 years ago
Yann Weber
f5e79bbac1
Fix bad argument in DummyDatasource
9 years ago
Yann Weber
46c98dc046
Updated the DummyDatasource + documenting query filters
9 years ago
Roland Haroutiounian
96fbc2f45e
[#61 ] changed params in the dummy data source class
9 years ago
Roland Haroutiounian
e064173359
[#61 ] Corrected the headers of update and delete methods in dummy datasource
9 years ago
Roland Haroutiounian
2fedc186da
[#61 ] Moved ledatasource into dummy
9 years ago
ArnAud
535c8b7e22
LeObject: begining of implementation
9 years ago