Yann Weber
0b60023145
More tests on LeObject
hace 8 años
Yann Weber
7f2246756d
Exceptions enhancement in LeObject
hace 8 años
Roland Haroutiounian
10e9f4d8ef
skipped the unittest for the init_db
hace 8 años
Roland Haroutiounian
3091533fd0
added tests for the migration_handler
hace 8 años
prieto
d4a5ee3433
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
hace 8 años
prieto
45f09240f7
Coorecting error by passing cls to query
hace 8 años
Roland Haroutiounian
3ba9d9a4fe
Added a first init_db command in scripts/admin
hace 8 años
prieto
a4dd1950e2
Name of exceptions
hace 8 años
prieto
754a5b7baa
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
hace 8 años
prieto
521f81728d
Correction raise LeApiErrors
hace 8 años
Roland Haroutiounian
a37fc6da2d
Added connection arguments check
hace 8 años
Yann Weber
77d6fd8df5
More tests on LeOject
hace 8 años
Yann Weber
e278200414
More tests on LeObject
hace 8 años
Roland Haroutiounian
6fa7f8848f
Added an empty connection args check to the migration handler
hace 8 años
prieto
d5f0f9fd16
Corrections of a method name
hace 8 años
Yann Weber
cccabc7ce4
More forgotten files
hace 8 años
Yann Weber
976d0c90c8
First tests on LeObjects
hace 8 años
Yann Weber
ca3fa4cc27
Forgotten files
hace 8 años
Roland Haroutiounian
953e1447f4
deleted a useless import
hace 8 años
prieto
0d95a9e7ae
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
hace 8 años
prieto
8bee875d27
Method load
hace 8 años
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
hace 8 años
Yann Weber
785a208d07
LodelHook logging enhancement
hace 8 años
prieto
b39c279437
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
hace 8 años
prieto
30b939f158
New load method
hace 8 años
Roland Haroutiounian
417ce0258a
Added a default connection check in the _activate function of the mongodb datasource, to see if the plugin can connect
hace 8 años
Yann Weber
59691165ae
Wrong method was called for preparing datas in LeUpdateQuery
hace 8 años
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
hace 8 años
Roland Haroutiounian
5f9581679d
Deleted a useless import in the init of the mongodb datasource plugin
hace 8 años
Roland Haroutiounian
8ca2869bbd
PEP8 and deleted the import of the mongodbconnect function in the mongodb datasource
hace 8 años
Roland Haroutiounian
632381eabe
function name correction
hace 8 años
prieto
2c36c7d46e
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
hace 8 años
prieto
021a99fd1f
A small correction
hace 8 años
Yann Weber
30bc9eec08
Fixing test and EmClass
- Now returning automatic common field classname in fields method
hace 8 años
prieto
1487356db8
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
hace 8 años
prieto
7c3ca2acd8
Added links with LeQuery
hace 8 años
Roland Haroutiounian
c1627dd928
Commented temporarily the mongodbconnect function (replaced by the connect function in the same module
hace 8 años
Roland Haroutiounian
e5ad4d1ff7
created a datasource module in mongodb_datasource plugin and changed the main to add two hooks importing the migration handler and the datasource
hace 8 años
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
hace 8 años
Yann Weber
ba5fded049
Enable data check for LeInsertQuery
hace 8 años
Roland Haroutiounian
21d084e502
Fixed the username argument's name in the connection_string of the mongodb utils module
hace 8 años
Roland Haroutiounian
a9b475d912
Fixed a parameter name in the connect fonction in mongodb_datasource utils.py module
hace 8 años
Roland Haroutiounian
aee3db3095
added the import of the utils.connection_string function in the mongodb_datasource main.py module
hace 8 años
Yann Weber
77e7c36de9
Not fully tested. Enables separated datasources for read only or read&write access to the DB
hace 8 años
Yann Weber
86fd28e64a
Bugfix in instance default config
hace 8 años
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
hace 8 años
Yann Weber
d9399bc64d
MongoDB datasource enhancement
- Enables connections saving & auto cleaning
- Preparing possibility to declare a datasource as read only
hace 8 años
Yann Weber
5708194875
Rewriting CRUD methods of datasources
- Now delete & update methods use filters & rel_filters
hace 8 años
Roland Haroutiounian
c595ee23a1
The mongodb migration handler uses now the mongo_filename function
hace 8 años
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
hace 8 años