Yann
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 )
2016-06-22 14:20:46 +02:00
Yann
8ca3b20c0b
Updated tests
2016-06-22 13:41:22 +02:00
Roland Haroutiounian
965aad1cbd
Method and variable calls fix in mongodb datasource
2016-06-22 12:22:04 +02:00
Yann
2faeff1ecb
Implement construct data for datetime + bugfix in datahandler base class
...
- datahandler base class was not supporting default values due to a bug
- implements the datetime datahandler construct_data method
2016-06-22 11:31:35 +02:00
Yann
ece5029d66
em_test update + bugfix in tests
2016-06-22 11:17:45 +02:00
Yann
0acd3d6612
Bugfixes in query and datasources.
2016-06-22 11:12:27 +02:00
Roland Haroutiounian
910f1d70c1
Downgrade of pymongo in the requirements (to go with the same current version of debian packages)
2016-06-22 10:03:32 +02:00
Yann
bbaf954d1c
MH constructor simplification
2016-06-17 17:30:11 +02:00
Yann
329a69ad61
Update README.txt and install/Makefile
2016-06-17 16:52:47 +02:00
Yann
27969719ac
Cleaning now useless LodelHook call and import
2016-06-17 16:49:08 +02:00
Yann
13a2d157e3
Database initialization function written
2016-06-17 16:47:09 +02:00
prieto
f5dbb136fa
Connections arguments passed in class init
2016-06-17 16:14:59 +02:00
Yann
e3dbdc8e49
Untested but written db initialisation function in install/lodel_admin.py
2016-06-17 14:57:54 +02:00
Yann
f386701392
New headers for dummy MH
2016-06-17 14:56:49 +02:00
prieto
e6ad53e618
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
2016-06-17 14:37:22 +02:00
prieto
214c29d545
Minor change
2016-06-17 14:37:03 +02:00
Yann
4c90b68fda
Bugfix and better exceptions handling in datasource initialization methods
2016-06-17 14:35:55 +02:00
prieto
3827bb2c1d
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
2016-06-17 14:31:24 +02:00
prieto
491bdb4849
MongoDB MigrationHandler takes a list of classes instead of an editorial model
2016-06-17 14:30:07 +02:00
Yann
2da4b82770
Continue to split _init_datasource method of LeObject
2016-06-17 14:23:17 +02:00
Yann
9b3087b363
Continue to prepare MigrationHandler database initialization script
2016-06-16 17:36:00 +02:00
Yann
c035c0efa9
Bugfix in scripts/admin.py
2016-06-16 17:25:32 +02:00
Yann
d54ef17061
Unskipping and debuging a test
2016-06-16 17:21:14 +02:00
Yann
5ba8fd8e7f
em_test update + DataHandler bugfix & enhancement
2016-06-16 16:36:16 +02:00
Yann
006b0c4bc0
Deleting old stuff + bugfix in install/Makefile and in install/lodel_admin.py
2016-06-16 15:57:13 +02:00
prieto
d24b7a92d6
Comments for doxygene
2016-06-16 15:34:30 +02:00
Yann
fe64cd4d9c
Forgotten doxygen files
2016-06-16 15:01:15 +02:00
Roland Haroutiounian
1ccd19c43c
starting the implementation of the init all dbs script (makefile and function declaration)
2016-06-16 14:48:18 +02:00
Roland Haroutiounian
56e2dc1d5f
Code cleaning in the migration handler
2016-06-16 14:48:18 +02:00
Yann
d12d1e2865
Bugfixes in query.py and leobject.py + more test on Query <-> Datasource relations
2016-06-16 14:42:35 +02:00
Roland Haroutiounian
2e13ab78bc
Changed the mongodb migration handler name to a more generic one
2016-06-16 14:22:19 +02:00
prieto
6db8ef8404
Add Concat datahandler
2016-06-16 14:20:25 +02:00
prieto
2e01764b67
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
2016-06-16 14:19:53 +02:00
Yann
3128b17be8
Bugfixes in datahandlers base_classes.py
2016-06-16 14:16:43 +02:00
Roland Haroutiounian
12006b11ab
Added a condition on the class of the datasource for the classes used in the init_collection_names
2016-06-16 12:01:59 +02:00
prieto
0154d7bdc4
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
2016-06-16 11:52:40 +02:00
Yann
c6334f903f
Bugfixes in LeGetQuery + more tests on LeObject.get <-> LeGetQuery
2016-06-16 10:57:29 +02:00
Yann
df8e38d9a9
Bugfix in leapi_dyncode import for migration handler
2016-06-16 10:42:56 +02:00
Yann
9ccf793127
Add tests for LeDeleteQuery Datasource calls
2016-06-16 10:41:48 +02:00
Roland Haroutiounian
67ce738578
Gets the initial collection names from the dynamic code
2016-06-16 10:06:23 +02:00
Roland Haroutiounian
84cddbf67f
Changed the init_db method in the admin module of the scripts package to use an editorial model as argument
2016-06-16 09:03:58 +02:00
prieto
2bd1cbdc61
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
2016-06-16 08:44:23 +02:00
prieto
db835cd61e
Debug 15/06
2016-06-16 08:44:07 +02:00
Roland Haroutiounian
46732d6ce0
fixed a method call in the migration handler
2016-06-15 18:37:43 +02:00
Roland Haroutiounian
9ee52042bd
Init collection names are dynamically defined in the migration handler
2016-06-15 17:36:52 +02:00
Roland Haroutiounian
74463649da
Added the editorial model in the init of the migration handler
2016-06-15 17:20:45 +02:00
Yann
ee06ccf1eb
Bugfix in webui plugin
...
Avoid useless impossible import by putting confpsec in a dedicated file
2016-06-15 17:18:35 +02:00
Roland Haroutiounian
1b9cb1a72d
Changed the routing rules naming system
2016-06-15 16:52:22 +02:00
Roland Haroutiounian
77a857be5e
Bug fix on the migration_handler's register change method
2016-06-15 16:49:17 +02:00
Roland Haroutiounian
510c4f29de
An unused import is deleted
2016-06-15 16:49:17 +02:00