Yann Weber
cccabc7ce4
More forgotten files
8年前
Yann Weber
976d0c90c8
First tests on LeObjects
8年前
Yann Weber
ca3fa4cc27
Forgotten files
8年前
Roland Haroutiounian
953e1447f4
deleted a useless import
8年前
prieto
0d95a9e7ae
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
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
b39c279437
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
8年前
prieto
30b939f158
New load method
8年前
Roland Haroutiounian
417ce0258a
Added a default connection check in the _activate function of the mongodb datasource, to see if the plugin can connect
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年前
Roland Haroutiounian
5f9581679d
Deleted a useless import in the init of the mongodb datasource plugin
8年前
Roland Haroutiounian
8ca2869bbd
PEP8 and deleted the import of the mongodbconnect function in the mongodb datasource
8年前
Roland Haroutiounian
632381eabe
function name correction
8年前
prieto
2c36c7d46e
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
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
1487356db8
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
8年前
prieto
7c3ca2acd8
Added links with LeQuery
8年前
Roland Haroutiounian
c1627dd928
Commented temporarily the mongodbconnect function (replaced by the connect function in the same module
8年前
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
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年前
Roland Haroutiounian
21d084e502
Fixed the username argument's name in the connection_string of the mongodb utils module
8年前
Roland Haroutiounian
a9b475d912
Fixed a parameter name in the connect fonction in mongodb_datasource utils.py module
8年前
Roland Haroutiounian
aee3db3095
added the import of the utils.connection_string function in the mongodb_datasource main.py module
8年前
Yann Weber
77e7c36de9
Not fully tested. Enables separated datasources for read only or read&write access to the DB
8年前
Yann Weber
86fd28e64a
Bugfix in instance default config
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
d9399bc64d
MongoDB datasource enhancement
- Enables connections saving & auto cleaning
- Preparing possibility to declare a datasource as read only
8年前
Yann Weber
5708194875
Rewriting CRUD methods of datasources
- Now delete & update methods use filters & rel_filters
8年前
Roland Haroutiounian
c595ee23a1
The mongodb migration handler uses now the mongo_filename function
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
afadd92b3d
Fixing tests according to query new behaviour
8年前
Yann Weber
49eb5bd67c
Adding a host validator for settings
8年前
Roland Haroutiounian
fbf13e9da4
Deleted an old TODO
8年前
Roland Haroutiounian
0811de96cb
Fix on the arguments of the check_field_in_collection method of the migration handler (extra empty argument passed on a call)
8年前
Roland Haroutiounian
ffa911b22e
Added a condition on the field creation to consider only the documents of the class corresponding to the field
8年前
Roland Haroutiounian
ad934a91cc
Revert (fixed)
8年前
Roland Haroutiounian
c75a5f8094
Revert
8年前
Roland Haroutiounian
ff2e59ced1
Fixed the "install" folder path building (extra "/" deleted)
8年前
Roland Haroutiounian
f0c20aaac4
Added the test on the deletion of the collections (to not delete a basis collection)
8年前
prieto
b963d34cf1
Added tests plugins
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年前