Roland Haroutiounian
|
71443679d5
|
[87] delete method from LeRelation can now take a string as parameter for the target_class
|
9 years ago |
Yann Weber
|
4383606fbb
|
Write an instance creation script and replace the SQLMigrationHandler by the MysqlMigrationHandler
see README.md for more informations about instance creation
|
9 years ago |
Roland Haroutiounian
|
d5169cf9a1
|
[#87] Added the delete method to LeRelation
|
9 years ago |
Yann Weber
|
40f83d57e7
|
Add a Makefile for common operations (like check, clean, make doxygen doc, upgrade with pip etc)
|
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 |
Yann Weber
|
a0a83ad19b
|
Add test + small bugfixes in fieldtypes + implementations of short utils methods
|
9 years ago |
ArnAud
|
142f2ff3f5
|
LeCrud: is_letype() and is_leclass() helper functions + use it in LeDataSourceSQL
|
9 years ago |
ArnAud
|
a5efcdbfd8
|
SQL datasource: implement LeClass.get() and LeType.get()
|
9 years ago |
Yann Weber
|
6634ae34ef
|
Bugfix on LeRelation fieldtypes
|
9 years ago |
Yann Weber
|
10b8a1873a
|
Updated LeRelation default field list (nature is not internal automatic)
|
9 years ago |
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 years ago |
Yann Weber
|
1cd5998a88
|
Implements partial instanciation of LeObjects + utility classmethod for LeRelation
|
9 years ago |
Roland Haroutiounian
|
598af04b4c
|
Corrected the LeApiQueryError import in LeRelation module
|
9 years ago |
Yann Weber
|
967be41ede
|
Disabled tests on LeDatasource SQL
|
9 years ago |
Yann Weber
|
61786cc71e
|
Updated generated code with LeRel2Type child classes
|
9 years ago |
Yann Weber
|
8cff059ab3
|
More on LeRelation fieldtypes leo and naturerelation
|
9 years ago |
Yann Weber
|
798ad5a68e
|
Added 2 fieldtypes : leo and naturerelation + add a uidname method to _LeCrud
|
9 years ago |
ArnAud
|
9d16c6a4c8
|
SQL datasource: implement get() from LeObject
|
9 years ago |
Yann Weber
|
df40d5f17d
|
Updated fieldtypes to make easier the check_data_value inheritance
|
9 years ago |
Yann Weber
|
9cc1e8ab96
|
Started LeRelation and childs implementation
Begin to work on fieldtypes
|
9 years ago |
ArnAud
|
386a761db1
|
sql datasource: insert an object
|
9 years ago |
Yann Weber
|
0349007243
|
Added tests + bugfix on LeType __init__ method
|
9 years ago |
Yann Weber
|
bbdee7d082
|
Tests + bugfixes on LeCrud LeObject LeClass and LeType delete and get methods
|
9 years ago |
Yann Weber
|
281acd45f9
|
Bugfix in insert calls in Lecrud + Tests bugfix
|
9 years ago |
Yann Weber
|
52cbce9865
|
Changed LeFactory generated code (again) + Bugfix on LeCrud + more tests and tests update
|
9 years ago |
Yann Weber
|
1558dcf519
|
Updated LeFactory. Now generating LeClass and LeType from _LeClass and _LeType
|
9 years ago |
Yann Weber
|
aae570e5bc
|
Bugfix + added some tests to LeCrud
|
9 years ago |
ArnAud
|
c4f36b9c2d
|
lecrud: raise the appropriate error
|
9 years ago |
Yann Weber
|
d44d86cb79
|
Bugfix and better implementation of _LeCrud.check_datas_value()
|
9 years ago |
Yann Weber
|
9cbef1179b
|
More methods implementations in LeCrud
Implements update, delete, insert and delete_multi (not tested)
|
9 years ago |
ArnAud
|
3c1aa67ea7
|
fieldtypes: should now return (value, error)
|
9 years ago |
Yann Weber
|
4fedabcf88
|
Move and skip some tests
|
9 years ago |
Yann Weber
|
1a561bf6ff
|
Moved the check_datas_value method to lecrud + small bufixes
|
9 years ago |
Yann Weber
|
432de540e9
|
Implementing get and tools functions in LeCrud (deleting most of them from _LeObject)
Skipping a lot of tests
|
9 years ago |
ArnAud
|
cfbe4ba6db
|
leo: first draft of check data workflow
|
9 years ago |
Yann Weber
|
169fc906c0
|
Bugfix in Lefactory, changed parent class list (LeObject last)
|
9 years ago |
Yann Weber
|
187886362d
|
Updated LeFactory generated code and LeFactory class itself
Bugfixes in generated code imports
Enhancement on generated classes retrieval
|
9 years ago |
ArnAud
|
d854b468e0
|
Lodel: first draft of Settings class
|
9 years ago |