Yann Weber
a0a83ad19b
Add test + small bugfixes in fieldtypes + implementations of short utils methods
9 年前
Yann Weber
6da730f782
Write some test for LeRelation + __eq__ for LeObject + import bugfix in LeRelation
The test are skipped and can be unskipped as soon as LeRelation._prepare_filters() is implemented
9 年前
Yann Weber
1cd5998a88
Implements partial instanciation of LeObjects + utility classmethod for LeRelation
9 年前
Yann Weber
bbdee7d082
Tests + bugfixes on LeCrud LeObject LeClass and LeType delete and get methods
9 年前
Yann Weber
52cbce9865
Changed LeFactory generated code (again) + Bugfix on LeCrud + more tests and tests update
9 年前
Yann Weber
9cbef1179b
More methods implementations in LeCrud
Implements update, delete, insert and delete_multi (not tested)
9 年前
Yann Weber
4fedabcf88
Move and skip some tests
9 年前
Yann Weber
432de540e9
Implementing get and tools functions in LeCrud (deleting most of them from _LeObject)
Skipping a lot of tests
9 年前
ArnAud
cfbe4ba6db
leo: first draft of check data workflow
9 年前
Yann Weber
187886362d
Updated LeFactory generated code and LeFactory class itself
Bugfixes in generated code imports
Enhancement on generated classes retrieval
9 年前
Yann Weber
0af03c93d6
Import Bugfix + LeFactory generated code update
9 年前
Yann Weber
e335019f79
Renamed the package leobject in leapi
9 年前
Yann Weber
76e2cc0d4e
LeFactory update : LeCrud concrete object code is now generated + removed some obsolete class attributes of _LeObject
Updated the _LeObject tests to use the dynamic code
9 年前
Yann Weber
24ec892152
LeCrud : implementation started
9 年前
Yann Weber
0e5df59c37
Disable a superfluous test and add warning comments
9 年前
ArnAud
7320e48306
leobject: use the right variable name
9 年前
ArnAud
dc4f433dd0
from python_hell import ImportError
9 年前
Roland Haroutiounian
6a4a7af931
[#69 ] Added the code to add the relations to all the superiors in a hierarchy
9 年前
Yann Weber
668d97e2fb
Implements add_related set_relation_rank in MySQL ledatasource and updated get_relation
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
03ebc9535a
Implements new methods for getting relations in LeObject and add a check for attributes unicity when linking two LeObject together
9 年前
Yann Weber
a5996dc419
Implements _LeObject.link_remove() and LeType.unlink_subordinate()
9 年前
Yann Weber
15b9c27333
Implements _LeObject.linked_together() and LeType.linked_subordinates() methods
9 年前
Yann Weber
1a54863f5b
Implements _LeObject.link_together() and LeType.link_subordinate() methods
9 年前
Yann Weber
bdd85d9bde
Implement the LeDatasource.insert() method + user friendly LeObject.insert() datas arg
9 年前
Yann Weber
ee578c1f89
Add another test for LeObject.get() method
9 年前
Yann Weber
965560bf6b
Add test for LeObject with a mock on the datasource + bugfix on _LeObject and LeType
9 年前
Yann Weber
25c7f607af
Implements delete() and update() methods in LeType and _LeObject
9 年前
Yann Weber
ec033f63fb
Update the relationnal filters parse/storage and associated tests
9 年前
Yann Weber
46c98dc046
Updated the DummyDatasource + documenting query filters
9 年前
Yann Weber
a53f647810
Add insert method
9 年前
Yann Weber
1d29e95951
Add tests for LeObject + bufix
9 年前
Yann Weber
ff50f7ee64
_Leobject code factorisation
9 年前
Yann Weber
1c4e2ddba8
Some Doxygen comments fix
9 年前
Yann Weber
c48147e732
Correct the _LeObject.get() method and add some methods to LeType
Now the _LeObject.get() method should be able to return LeType child classes instance
LeType has two new methods :
- LeTypes.datas() @property method that returns a dict(FIELDNAME:FIELDVALUE)
- LeType.populate() that fetch from datassource missing fieldvalues
9 年前
Yann Weber
250aa9e0ff
Add a class attribute to LeObject that maps EditorialModel uid with LeType and LeClass python class
9 年前
Yann Weber
756b0e0b0b
Test were broken by previous commit...
9 年前
Yann Weber
4d445e876e
_LeObject.get() enhancement
9 年前
Yann Weber
6123d23be4
Update the _LeObject.get() method to handle relationnal filters
9 年前
Yann Weber
2c37a9bf46
Update the quer_filter spliting method to handle superior.nature field notation.
Update the associated tests
9 年前
Yann Weber
482378fb18
Started some method implementation form _LeObject and LeType
Methods are _LeObject.get() and LeType.check_datas()
9 年前
Yann Weber
24aa04a913
Added a _split_query method to _LeObject
This method split a string in a tuple(FIELD, OPERATOR, VALUE)
9 年前
Yann Weber
215b51a566
[untested, dev] Updated the code for leobject, leclass and letype
This commit is in "work in progress state" all the code is not consistent
9 年前
ArnAud
28c068712a
LeObject: first shot at _prepare_filters()
9 年前
ArnAud
535c8b7e22
LeObject: begining of implementation
9 年前