Yann Weber
1ea9269742
Small bugfixes in leobject and validator
- Replaced a self. by cls. in leobject
- Changed default value for runtest option
8 years ago
Yann Weber
33b9ad84c6
Tests + bugfix on LeObject.get method
- Changed the way of instanciating results object in get (using __new__ )
8 years ago
Yann Weber
4e504f759e
Bufix on LeObject.update + test
8 years ago
Yann Weber
96f736ae16
Bufixes making test pass
8 years ago
Yann Weber
59e33b9a68
Bugfixes in query, in the execute method
8 years ago
prieto
7c5ebc3035
self.__namein delete
8 years ago
prieto
27985b8411
O
8 years ago
prieto
69c3001b1b
__ instead of _
8 years ago
prieto
11328fca29
Correction
8 years ago
prieto
c3e62e57be
Corrections
8 years ago
Yann Weber
9c23abcdcc
Bugfixes on leobject & query
8 years ago
prieto
669ec976a4
Corrections __init
8 years ago
prieto
53ad4dcbc0
Adding import warnings
8 years ago
prieto
96f35011fa
Datas_base
8 years ago
prieto
4acb7832ff
Coorecting dats_base
8 years ago
prieto
b8b740ebd3
Adding _check_data_value methods for all types
8 years ago
prieto
a5474695a8
correct an error of keyboard
8 years ago
prieto
8806738bba
correct lequery execute
8 years ago
Yann Weber
378dfd9766
More test + change 1 exception in LeObject
8 years ago
Yann Weber
7f2246756d
Exceptions enhancement in LeObject
8 years ago
prieto
45f09240f7
Coorecting error by passing cls to query
8 years ago
prieto
a4dd1950e2
Name of exceptions
8 years ago
prieto
521f81728d
Correction raise LeApiErrors
8 years ago
Yann Weber
77d6fd8df5
More tests on LeOject
8 years ago
prieto
d5f0f9fd16
Corrections of a method name
8 years ago
Yann Weber
cccabc7ce4
More forgotten files
8 years ago
Yann Weber
976d0c90c8
First tests on LeObjects
8 years ago
prieto
8bee875d27
Method load
8 years ago
Yann Weber
9a82936fbf
Datasources plugins enhancement and loading bugfixes
- now we have a LodelHook to trigger migration handlers loading
- datasources initialization in dyncode is now trigger by a hook (lodel2_plugin_loaded)
- datasources loading by dyncode is better
8 years ago
prieto
30b939f158
New load method
8 years ago
Yann Weber
59691165ae
Wrong method was called for preparing datas in LeUpdateQuery
8 years ago
Yann Weber
9da19f3665
Moved exceptions + LeUpdateQuery.__query implementation
- The LeUpdateQuery implementation is broken or at least have huge performance issue
- Moved LeObject exceptions and LeQuery exceptions in lodel.leapi.exceptions
8 years ago
prieto
021a99fd1f
A small correction
8 years ago
prieto
7c3ca2acd8
Added links with LeQuery
8 years ago
Yann Weber
e9f17eab6e
Fixes #79 (and brokes tests of xml translator)
Adding a field to all non abstract classes to store in DB the name of corresponding LeObject subclass
8 years ago
Yann Weber
ba5fded049
Enable data check for LeInsertQuery
8 years ago
Yann Weber
77e7c36de9
Not fully tested. Enables separated datasources for read only or read&write access to the DB
8 years ago
Yann Weber
5708194875
Rewriting CRUD methods of datasources
- Now delete & update methods use filters & rel_filters
8 years ago
Yann Weber
7e2a60e73e
Fixing lequery execute -> __query process
- deleting most of **datas to replace it with a standart dict argument
- using filters in childs of LeFilteredQuery
8 years ago
Yann Weber
be472a0d59
Modified LeDeleteQuery to act like a standart LeFilteredQuery
8 years ago
Yann Weber
11027fd959
Starting implementation of relation in datasource
8 years ago
Yann Weber
0f9b07f08a
More tests & debug on multi datasource queries + em_test update
- Added missing allowed_classes options to some references in em_test
8 years ago
Yann Weber
e55954d947
First test on multi datasource queries + em_test update + query.py debug
- Modified again the em_test to fit with testing purpose
- First test on multi datasource query written
- debugging of query.py
8 years ago
Yann Weber
b8d5b5bba2
Completing em_test modifications + completing the dump_infos method of LeFilteredQuery
- adding an EmClass to make a double link between indexes and texts
- adding subqueries infos to dump_infos method of LeFilteredQuery
8 years ago
Yann Weber
11c6b2b53e
Commenting a duplicated method + adapting LeQuery __query method to the new datasource system
8 years ago
Yann Weber
eba5d7d616
LeFilteredQuery.execute() method is written
8 years ago
Yann Weber
a91d25e392
Begin implementation of cross datasource reference query
- The set_query_filter() method handles subquery creation
- The run isn't written yet...
8 years ago
Yann Weber
616acd387d
Modified LeObject adding a _datasource_name attribute
The _datasource_name attribute replace the old _datasource attribute. The goal of the modification is to maintain easyly accessible datasource UID
8 years ago
Yann Weber
5d624bfda2
Make query.py lines fit in 78chars
8 years ago
Yann Weber
61f19772fb
New way to handles plugin
- renamed Plugins class to Plugin
- an instance represent a loaded plugin
- classmethod allows to preload & load plugins
8 years ago