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
24a64eea59
Starts backref handling for mongodb datasource plugin
Methods are written.
They are not called by anyone and the only tests that were done is that no syntax error is raised.
( refs #131 )
8 years ago
Roland Haroutiounian
03fba7313f
Consolidated the mongodb migration handler's method documentations
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
bbaf954d1c
MH constructor simplification
8 years ago
prieto
f5dbb136fa
Connections arguments passed in class init
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
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
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
c595ee23a1
The mongodb migration handler uses now the mongo_filename function
8 years ago
Roland Haroutiounian
fbf13e9da4
Deleted an old TODO
8 years ago
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 years ago
Roland Haroutiounian
ffa911b22e
Added a condition on the field creation to consider only the documents of the class corresponding to the field
8 years ago
Roland Haroutiounian
f0c20aaac4
Added the test on the deletion of the collections (to not delete a basis collection)
8 years ago
Roland Haroutiounian
010decc4d3
Fix on the imports in the mongodb migration handler
8 years ago
Roland Haroutiounian
d309cea519
Added the emfield_upgrade method (for the update of an existing field)
8 years ago
Roland Haroutiounian
6dda142b14
First move of the migration_handler for MongoDb to the MongoDb Datasource plugin's package
8 years ago
Roland Haroutiounian
888c671659
Rewrote some code from the migration handler
8 years ago
Roland Haroutiounian
77f1db337b
Changed the emfield_new method
8 years ago
Roland Haroutiounian
1739a009bb
Implemented the emfield_del method in the migration handler
8 years ago
Roland Haroutiounian
84003e95f6
TODO added in the migration handler
8 years ago
Roland Haroutiounian
97de4a91b6
Reference fix on the call of a class property in the migration handler
8 years ago
Roland Haroutiounian
c3072a1bea
Deleted a useless comment
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
d58168a69f
Mongodb datasource : added new methods
8 years ago
Roland Haroutiounian
3a504e6065
Migration handler
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
311ef0c4f3
Created a mongodb subpackage in the datasource package
8 years ago