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 години
ArnAud
b1b13f4afa
crud, SQL: implement order, group, limit and offset in get() request
преди 9 години
Yann Weber
b8266f3303
Update relations rank modifications
преди 9 години
Yann Weber
3ae2e6e613
Moved all modules related to DB in the DataSource folder ( fixes #88 )
преди 9 години
ArnAud
9d16c6a4c8
SQL datasource: implement get() from LeObject
преди 9 години
Yann Weber
e335019f79
Renamed the package leobject in leapi
преди 9 години
Yann Weber
287504555c
Fixed typo in dummy datasource
преди 9 години
Yann Weber
f99f74fcb1
Updated the dummydatasource interface + skipping some tests
преди 9 години
Roland Haroutiounian
285da59e7d
Changed the dummy datasource for Leobject
преди 9 години
Yann Weber
d45b84c5d9
Implements get_related in MySQL datasource
преди 9 години
Roland Haroutiounian
aaa4268afa
[#74 ] del_related method is usable in LeDataSourceSQL
преди 9 години
Yann Weber
668d97e2fb
Implements add_related set_relation_rank in MySQL ledatasource and updated get_relation
преди 9 години
Yann Weber
76c1174509
Implements get_subordinates in the MySQL datasource
преди 9 години
Yann Weber
4b0a2ca093
Implements superiors and subordinates methods in LeType + old code removal in LeType
преди 9 години
Yann Weber
3503537b0d
Implements _LeObject.hierarchy_get() method
преди 9 години
Yann Weber
64c2a865df
Implements _LeObject.hierarchy_del() and LeType.del_superior()
преди 9 години
Yann Weber
94a5afcdd7
Implements _LeObject.hierarchy_add() method and instroduce the class LeRoot
LeRoot represents hierarchy root
преди 9 години
Yann Weber
4a38cec9e1
Updated the add_superior header in dummy datasource
преди 9 години
Yann Weber
03ebc9535a
Implements new methods for getting relations in LeObject and add a check for attributes unicity when linking two LeObject together
преди 9 години
Yann Weber
1a54863f5b
Implements _LeObject.link_together() and LeType.link_subordinate() methods
преди 9 години
Yann Weber
e2656e0285
Updated the dummy datasource with methods headers to handle relations
преди 9 години
Yann Weber
ff983409fc
Changed the relation's methods header of the dummy datasource
преди 9 години
Yann Weber
0d88ebca62
Add relation modification methods to LeType
преди 9 години
Roland Haroutiounian
32fe54e205
PEP8 / PyLint on datasources module
преди 9 години
Yann Weber
965560bf6b
Add test for LeObject with a mock on the datasource + bugfix on _LeObject and LeType
преди 9 години
Yann Weber
f5e79bbac1
Fix bad argument in DummyDatasource
преди 9 години
Yann Weber
46c98dc046
Updated the DummyDatasource + documenting query filters
преди 9 години
Roland Haroutiounian
96fbc2f45e
[#61 ] changed params in the dummy data source class
преди 9 години
Roland Haroutiounian
e064173359
[#61 ] Corrected the headers of update and delete methods in dummy datasource
преди 9 години
Roland Haroutiounian
2fedc186da
[#61 ] Moved ledatasource into dummy
преди 9 години
ArnAud
535c8b7e22
LeObject: begining of implementation
преди 9 години