prieto
53ad4dcbc0
Adding import warnings
пре 8 година
prieto
96f35011fa
Datas_base
пре 8 година
prieto
4acb7832ff
Coorecting dats_base
пре 8 година
prieto
b8b740ebd3
Adding _check_data_value methods for all types
пре 8 година
prieto
a5474695a8
correct an error of keyboard
пре 8 година
prieto
8806738bba
correct lequery execute
пре 8 година
Yann Weber
378dfd9766
More test + change 1 exception in LeObject
пре 8 година
Yann Weber
7f2246756d
Exceptions enhancement in LeObject
пре 8 година
prieto
45f09240f7
Coorecting error by passing cls to query
пре 8 година
prieto
a4dd1950e2
Name of exceptions
пре 8 година
prieto
521f81728d
Correction raise LeApiErrors
пре 8 година
Yann Weber
77d6fd8df5
More tests on LeOject
пре 8 година
prieto
d5f0f9fd16
Corrections of a method name
пре 8 година
Yann Weber
cccabc7ce4
More forgotten files
пре 8 година
Yann Weber
976d0c90c8
First tests on LeObjects
пре 8 година
Yann Weber
ca3fa4cc27
Forgotten files
пре 8 година
prieto
8bee875d27
Method load
пре 8 година
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 година
Yann Weber
785a208d07
LodelHook logging enhancement
пре 8 година
prieto
30b939f158
New load method
пре 8 година
Yann Weber
59691165ae
Wrong method was called for preparing datas in LeUpdateQuery
пре 8 година
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 година
prieto
021a99fd1f
A small correction
пре 8 година
Yann Weber
30bc9eec08
Fixing test and EmClass
- Now returning automatic common field classname in fields method
пре 8 година
prieto
7c3ca2acd8
Added links with LeQuery
пре 8 година
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 година
Yann Weber
ba5fded049
Enable data check for LeInsertQuery
пре 8 година
Yann Weber
77e7c36de9
Not fully tested. Enables separated datasources for read only or read&write access to the DB
пре 8 година
Yann Weber
83afc6b6dd
Deleted datasources plugins and add a settings for datasources declaration
- now datasources are declared with two conf keys : read_only and identifier
- the old datasources plugin hook is now declared in lodel/plugin/core_hooks.py. This file is imported after lodel/plugin/hooks.py in the loader.py
пре 8 година
Yann Weber
5708194875
Rewriting CRUD methods of datasources
- Now delete & update methods use filters & rel_filters
пре 8 година
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 година
Yann Weber
be472a0d59
Modified LeDeleteQuery to act like a standart LeFilteredQuery
пре 8 година
Yann Weber
11027fd959
Starting implementation of relation in datasource
пре 8 година
Yann Weber
49eb5bd67c
Adding a host validator for settings
пре 8 година
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 година
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 година
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 година
prieto
413d8e7570
Remove useless changes in PluginErro
пре 8 година
Yann Weber
11c6b2b53e
Commenting a duplicated method + adapting LeQuery __query method to the new datasource system
пре 8 година
prieto
e01c444436
Remove print(...)
пре 8 година
Yann Weber
eba5d7d616
LeFilteredQuery.execute() method is written
пре 8 година
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 година
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 година
prieto
73d911f091
Adding a new class methos in plugins.pyto clear the class variables
Adding tests for the Plugin class
пре 8 година
Yann Weber
5d624bfda2
Make query.py lines fit in 78chars
пре 8 година
Yann Weber
75c2a81225
Now plugins can define dependencies.
пре 8 година
Roland Haroutiounian
bf2940a3e3
Move of the MongoDb Datasource in a plugin
пре 8 година
Yann Weber
3adad7bb02
Now plugins can check EM and invalidate activation
They have to implement a _activate() method in their __init__.py file
пре 8 година
Yann Weber
23e29b4336
Add _activate check when plugins are loaded
пре 8 година
Yann Weber
8204f97fc5
Documentin Plugin + update pickle file example
пре 8 година