Yann Weber
5b987857bf
Small bugfix in mongDB datasource in multi direction order param
8 years ago
Yann Weber
0336355628
Bugfix in __generate_lambda_cmp_order in mongoDB datasource
8 years ago
Yann Weber
89beb80eca
Solves #96 order with different direction on different fields in MongoDB Datasource
8 years ago
Yann Weber
229293b734
Possible overflow bug fix in mongodb datasource
In post reccursion processing on select
8 years ago
Yann Weber
29d6c0fcf2
[Untested] Apply abtract LeObject child class generalisation for delete & update methods of mongoDB datasource
8 years ago
Yann Weber
8a32f1973a
Better comments + 79char limit on mongodb datasource
8 years ago
Yann Weber
2668770369
Begin abstract LeObject child query factorisation in mongodb Datasource
8 years ago
Yann Weber
8e6e60f0f4
Bugfixes concerning UniqID and select on abtract LeObject child
8 years ago
Roland Haroutiounian
9d7c0f1be7
bug fix
8 years ago
Roland Haroutiounian
6a6396f0d2
Bug fix
8 years ago
Roland Haroutiounian
8e4815c34f
Bugfix on the recursive select
8 years ago
Roland Haroutiounian
d32756695a
First implementation of the abstract class select queries
8 years ago
Roland Haroutiounian
ffad9fc01c
Revert
8 years ago
Roland Haroutiounian
98ffe11d5f
Changed the object_collection_name method in the utils of mongodb datasource plugin
8 years ago
Yann Weber
996bc334a1
Bugfixes + code clean
8 years ago
Yann Weber
61b80b8262
Lgger enhancement on MH
8 years ago
Yann Weber
ba3f660451
Bugfix in init_db method of MongoDB migration handler
8 years ago
Yann Weber
6e89fca151
The automatic UID creation by datasource implementation implies somes changes :
The UniqID datahandler has to call the datasource
LeObject has to be able to determine wich parent class define its UID datahandler
[NOT IMPLEMENTED] the datasource should be able to select with an abstract LeObject as target ( see #92 )
8 years ago
Roland Haroutiounian
965aad1cbd
Method and variable calls fix in mongodb datasource
8 years ago
Yann Weber
0acd3d6612
Bugfixes in query and datasources.
8 years ago
Yann Weber
bbaf954d1c
MH constructor simplification
8 years ago
Yann Weber
13a2d157e3
Database initialization function written
8 years ago
prieto
f5dbb136fa
Connections arguments passed in class init
8 years ago
Yann Weber
e3dbdc8e49
Untested but written db initialisation function in install/lodel_admin.py
8 years ago
prieto
214c29d545
Minor change
8 years ago
prieto
491bdb4849
MongoDB MigrationHandler takes a list of classes instead of an editorial model
8 years ago
Roland Haroutiounian
56e2dc1d5f
Code cleaning in the migration handler
8 years ago
Roland Haroutiounian
2e13ab78bc
Changed the mongodb migration handler name to a more generic one
8 years ago
Roland Haroutiounian
12006b11ab
Added a condition on the class of the datasource for the classes used in the init_collection_names
8 years ago
Yann Weber
df8e38d9a9
Bugfix in leapi_dyncode import for migration handler
8 years ago
Roland Haroutiounian
67ce738578
Gets the initial collection names from the dynamic code
8 years ago
Roland Haroutiounian
46732d6ce0
fixed a method call in the migration handler
8 years ago
Roland Haroutiounian
9ee52042bd
Init collection names are dynamically defined in the migration handler
8 years ago
Roland Haroutiounian
74463649da
Added the editorial model in the init of the migration handler
8 years ago
Roland Haroutiounian
77a857be5e
Bug fix on the migration_handler's register change method
8 years ago
Yann Weber
79cd9b21b1
Bugfixes in MongoDb datasource
- bugfixes in connection string generator
- bugfixes in garbage collection of opened connections
8 years ago
Roland Haroutiounian
ca6af9432b
Split of the connect function to create a connection function that return a MongoClient object
This is used for the tests that needs to have access to a connection to be able to drop the test databases
8 years ago
Roland Haroutiounian
a37fc6da2d
Added connection arguments check
8 years ago
Roland Haroutiounian
6fa7f8848f
Added an empty connection args check to the migration handler
8 years ago
Roland Haroutiounian
953e1447f4
deleted a useless import
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
Roland Haroutiounian
417ce0258a
Added a default connection check in the _activate function of the mongodb datasource, to see if the plugin can connect
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
Roland Haroutiounian
5f9581679d
Deleted a useless import in the init of the mongodb datasource plugin
8 years ago
Roland Haroutiounian
8ca2869bbd
PEP8 and deleted the import of the mongodbconnect function in the mongodb datasource
8 years ago
Roland Haroutiounian
632381eabe
function name correction
8 years ago
Roland Haroutiounian
c1627dd928
Commented temporarily the mongodbconnect function (replaced by the connect function in the same module
8 years ago
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 years ago
Roland Haroutiounian
21d084e502
Fixed the username argument's name in the connection_string of the mongodb utils module
8 years ago
Roland Haroutiounian
a9b475d912
Fixed a parameter name in the connect fonction in mongodb_datasource utils.py module
8 years ago