Yann Weber
0406e91846
Moved plugins folder in lodel/
- updated scripts etc
- make tests pass
8 years ago
Yann Weber
c3137b658f
Replaced imports by LodelContext.expose_modules() calls
Theorically all of those imports were tested by unit testing, but we've got no inssurance about that.
And even if unit tests had check for syntax errors, all pieces of code were not tested. We cannot
be sure that an import was missed or forgotten...
8 years ago
Yann Weber
2b30b2f346
Making datasource and mass_deploy working with mongodb user management
https://docs.mongodb.com/v2.4/reference/user-privileges/
https://docs.mongodb.com/v2.4/reference/privilege-documents/
8 years ago
Yann Weber
c0c1e628fd
Bugfixes on settings default value handling
8 years ago
Yann Weber
703b4adf7e
MongoDB datasource debugging + field_list handling changes in leobject -> query -> datasource chain
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
0acd3d6612
Bugfixes in query and datasources.
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
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
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
Yann Weber
d9399bc64d
MongoDB datasource enhancement
- Enables connections saving & auto cleaning
- Preparing possibility to declare a datasource as read only
8 years ago
Yann Weber
11027fd959
Starting implementation of relation in datasource
8 years ago
Roland Haroutiounian
bf2940a3e3
Move of the MongoDb Datasource in a plugin
8 years ago
Roland Haroutiounian
888c671659
Rewrote some code from the migration handler
8 years ago
Roland Haroutiounian
a05d4cfbec
Added more methods to the mongodb migration handler
8 years ago
Roland Haroutiounian
4c0d447df3
added an identifier escaping method to the utils module
8 years ago
Roland Haroutiounian
7ea8470089
Moved the MongoDb database connection method to the utils module
8 years ago
Roland Haroutiounian
d58168a69f
Mongodb datasource : added new methods
8 years ago
Roland Haroutiounian
825dea770b
Added the "group by" option in the select method of the mongodb datasource and started the implementation of the migration handler
8 years ago
Roland Haroutiounian
60f88dcf0c
Ajout d'un GenericDataSource avec les signatures des méthodes de base
8 years ago
Roland Haroutiounian
458e008db7
Refactoring in the mongodb utils module
8 years ago
Roland Haroutiounian
26c8b7d9d1
Implemented the "like" and "not like" filter parsing
8 years ago
Roland Haroutiounian
6d2bf64898
Corrected a variable name
8 years ago
Roland Haroutiounian
b17259cf02
First implementation of the insert method in the mongodb datasource
8 years ago
Roland Haroutiounian
801f2f0679
Added the order options parsing function
8 years ago
Roland Haroutiounian
7019aa5a40
Added a todo for the implementation of the sorting options parser
8 years ago
Roland Haroutiounian
d28828c7c9
Datasource implementation
- Implementation of the delete, insert and insert_multi methods + first implementation of the select method in the MongoDB datasource
- Added parsing methods in the mongodb/utils module
8 years ago
Roland Haroutiounian
688e15f8e0
[DataSource] added the utils.object_collection_name method to utils module. Added also the insert and insert_multi methods to the MongoDb datasource class
8 years ago
Roland Haroutiounian
311ef0c4f3
Created a mongodb subpackage in the datasource package
8 years ago