Roland Haroutiounian
9754c9a0d4
Consolidated methods documentation in mongodb and dummy datasource
8 years ago
Roland Haroutiounian
03fba7313f
Consolidated the mongodb migration handler's method documentations
8 years ago
Yann Weber
c0c1e628fd
Bugfixes on settings default value handling
8 years ago
Roland Haroutiounian
53bf344d40
Bug Fix wrong variable name in __process_filters method in the mongodb datasource
8 years ago
Roland Haroutiounian
e7f137d46e
Fixed a dict name in mongodb datasource (prepare_relational_filters method)
8 years ago
Roland Haroutiounian
6d05616ba1
Bug fixes in mongodb datasource (missing import, variable names ...)
8 years ago
Yann Weber
904d14cae7
Small changes in webui plugin and loader.py
- webui now calls a hook to indicate a session end
- loader.py now set a lodel.dyncode module exposing dynmically generated code
8 years ago
prieto
e7163894a6
Replaced update_many by update and return res['n']
8 years ago
prieto
cbe8f7da13
_id is not returned by mongo insert
8 years ago
Roland Haroutiounian
c4df855e2f
Bug fix on an unexisting variable name
8 years ago
prieto
c41a22c807
Update aned Create from interface
8 years ago
Yann Weber
9c3a770610
Bugfixes on filters handling
- calling check_data_value on filters value to ensure value casting
8 years ago
Yann Weber
703b4adf7e
MongoDB datasource debugging + field_list handling changes in leobject -> query -> datasource chain
8 years ago
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