ArnAud
|
d509fdf196
|
LeRelation: first draft of method to instanciate from a dict of data
|
8 years ago |
ArnAud
|
44665600ef
|
leType: relations use superior and subordinate name now
|
8 years ago |
ArnAud
|
94e6cbf81e
|
LeObject: method to instanciate from a dict of data
|
8 years ago |
ArnAud
|
942826e5e6
|
LeClass.fieldlist() returns a list
|
8 years ago |
Yann Weber
|
89667ee1d1
|
Fixing tests and other classes to fit recent changes
|
8 years ago |
Yann Weber
|
146c0fd69b
|
Finish the new version of migrationhandler + modifications in leFactory and LeRelation (to handle generic lesup & lesub in LeRelation)
|
8 years ago |
ArnAud
|
a3f7cf3fa0
|
leapi: helper leo_class() to get class of a lodel object
|
8 years ago |
ArnAud
|
3143719d9c
|
LeCrud: fieldlist() returns a True list
|
8 years ago |
ArnAud
|
c3bfb07246
|
group for SQL group not groups
|
8 years ago |
Yann Weber
|
cf691c6538
|
Add a test on LeCrud.select() method (test order, groups, limit and offset arguments) + small bugfixes
|
9 years ago |
Roland Haroutiounian
|
f3108d95d8
|
Casts the rank value from the resultset in LeRelation.get_max_rank() to an int
|
9 years ago |
Roland Haroutiounian
|
e55187cbf7
|
Fixed the call to get method in LeRelation.get_max_rank()
|
9 years ago |
Roland Haroutiounian
|
6f4f69ec6e
|
LeRelation : Modification de l'implémentation du max_rank
|
9 years ago |
ArnAud
|
07c18a9093
|
rel2type.insert() : return the id of inserted relation
|
9 years ago |
ArnAud
|
b1b13f4afa
|
crud, SQL: implement order, group, limit and offset in get() request
|
9 years ago |
Yann Weber
|
c36c13e709
|
Add test for _prepare_order_fields
|
9 years ago |
Yann Weber
|
5515155cd9
|
Implement order by and group by in leobject.get
|
9 years ago |
Yann Weber
|
9b012f2566
|
Moved the doxygen leobject_filter in lecrud + update it
|
9 years ago |
Roland Haroutiounian
|
141ba96de3
|
Deleted the get_relation call in leapidatasource's update_rank method
|
9 years ago |
Yann Weber
|
7b22eef33b
|
Add two more operators for filters : "like" and "not like" + updates the associated tests
|
9 years ago |
Roland Haroutiounian
|
6b92ec7d9b
|
Changed the leapidatasource's update_rank method according to the LeRelation.set_rank method's changes
|
9 years ago |
Yann Weber
|
b8266f3303
|
Update relations rank modifications
|
9 years ago |
Yann Weber
|
1ba59c513e
|
Deleted obsolete test file
|
9 years ago |
ArnAud
|
95deb4574e
|
SQL datasource: insert method for relations
|
9 years ago |
Roland Haroutiounian
|
4af1606b04
|
Added a first implementation of the set_rank method in LeRelation
|
9 years ago |
Roland Haroutiounian
|
5a21025d89
|
Added a _parse_rank method in LeRelation and the corresponding tests
|
9 years ago |
Yann Weber
|
339545e89a
|
Add some tests for LeCrud utils methods
|
9 years ago |
ArnAud
|
1a2c0f6a45
|
sqlDatasource: insert() for a hierarchical relation
|
9 years ago |
Yann Weber
|
67dbe5c097
|
Implements relation stuff + a lot of fixes in tests and in leo fieldtypes validation stack
|
9 years ago |
Yann Weber
|
bde008a68c
|
Updated lefactory (unused attr in relations)
|
9 years ago |
Yann Weber
|
117ecad86a
|
Bugfix in super calls + tests modification given modifications in _prepare_filters
|
9 years ago |
Yann Weber
|
59d489bd67
|
Implements delete instance methods for relations classes
|
9 years ago |
ArnAud
|
24888085e9
|
crud.get(): automatic filter for classes and types instances
|
9 years ago |
Roland Haroutiounian
|
b02030b9fa
|
[#87] deleted a "pass" instruction
|
9 years ago |
Yann Weber
|
4b4e465bb6
|
Implements utils function in LeType add_superior (hierarchy) and link_with (rel2type) and add a forgotten file
Implements a utils method in _LeRel2Type to fetch a rel2type leapi class name given a superior and a subordinate
|
9 years ago |
Roland Haroutiounian
|
71443679d5
|
[87] delete method from LeRelation can now take a string as parameter for the target_class
|
9 years ago |
Roland Haroutiounian
|
d5169cf9a1
|
[#87] Added the delete method to LeRelation
|
9 years ago |
Yann Weber
|
3ae2e6e613
|
Moved all modules related to DB in the DataSource folder ( fixes #88 )
|
9 years ago |
Yann Weber
|
5c1e89f890
|
Associating exceptions with field name in error lists ( cf. #89 )
|
9 years ago |
Yann Weber
|
6a6326831a
|
Upgrade type check in leo fieldtype + unskip some tests
|
9 years ago |
Roland Haroutiounian
|
a188aa09f8
|
Unskipped the test_get method in the LeHierarch test case class
|
9 years ago |
Roland Haroutiounian
|
5116ed0986
|
Unskipped the unit test on LeRelationTestCase for _prepare_filters method
|
9 years ago |
Yann Weber
|
e868055e75
|
Updated tests on update methods
|
9 years ago |
Roland Haroutiounian
|
6817d3e010
|
First implementation of the _prepare_filters method in LeRelation class
|
9 years ago |
ArnAud
|
3167f17160
|
ledatasourcesql: implement Letype.update()
|
9 years ago |
Yann Weber
|
f98b15bdb9
|
More tests for LeRel2Type
A get fails test
|
9 years ago |
Yann Weber
|
b54e46a09b
|
Update _LeClass __init__ + first test for LeRel2Type
|
9 years ago |
Yann Weber
|
4ab9c124a0
|
Add tests for update and delete methods of LeRelation and LeHierarch
Almost all LeRelation and LeHierarch main features are covered by unit tests
|
9 years ago |
ArnAud
|
2b87c1ce86
|
ledatasourcesql: use del in python, not PHP's unset ;)
|
9 years ago |
Yann Weber
|
90173e9dea
|
Added multiples tests on types in _LeCrud + check given class when inserting
|
9 years ago |