Yann Weber
dc143a3376
Implements delete in leapidatasource for leobjects and lerelations
8 年前
Yann Weber
173564b7ee
New constants in EditorialModel.classtypes
8 年前
Yann Weber
f2a54b72cd
Comments update for doxygen doc
Now we have a main page on doxygen
8 年前
Yann Weber
9b7d8c0357
Changes the doc and make change in partial instanciation process
8 年前
Yann Weber
0b3f2bae1a
New way to instanciate LeCrud child classes
Note : This commit is not complete. It brakes the partial instanciation of classes etc.
8 年前
Yann Weber
b643477e3c
Fixing syntax error
8 年前
Yann Weber
7756b5b591
Adding the newly added properties to _LeObject and _LeRelation classes
8 年前
ArnAud
94e6cbf81e
LeObject: method to instanciate from a dict of data
8 年前
Yann Weber
89667ee1d1
Fixing tests and other classes to fit recent changes
8 年前
Yann Weber
cf691c6538
Add a test on LeCrud.select() method (test order, groups, limit and offset arguments) + small bugfixes
9 年前
Yann Weber
9b012f2566
Moved the doxygen leobject_filter in lecrud + update it
9 年前
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 年前