1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2025-10-26 09:39:01 +01:00
Commit graph

1,397 commits

Author SHA1 Message Date
Yann
36bded3051 Add the possibility to add custom methods ton LeAPI dynamic objects using plugin 2016-06-24 13:47:34 +02:00
Roland Haroutiounian
6a6396f0d2 Bug fix 2016-06-24 12:24:49 +02:00
Roland Haroutiounian
42ddd6909b Syntax errors fixed 2016-06-24 09:57:40 +02:00
Roland Haroutiounian
bc0ff1aa8a Updated the requirements file 2016-06-23 14:46:10 +02:00
Roland Haroutiounian
8e4815c34f Bugfix on the recursive select 2016-06-23 14:07:19 +02:00
Roland Haroutiounian
d32756695a First implementation of the abstract class select queries 2016-06-22 17:32:14 +02:00
Yann
1f1e6f13b3 Add a new get_class_childs to Model class and a child_classes method to LeObject
Now lefactory populate a LeObject attribute named _child_classes
2016-06-22 17:03:15 +02:00
Roland Haroutiounian
ffad9fc01c Revert 2016-06-22 16:55:22 +02:00
Roland Haroutiounian
98ffe11d5f Changed the object_collection_name method in the utils of mongodb datasource plugin 2016-06-22 16:30:03 +02:00
Yann
996bc334a1 Bugfixes + code clean 2016-06-22 16:28:39 +02:00
Yann
61b80b8262 Lgger enhancement on MH 2016-06-22 16:17:50 +02:00
Yann
ba3f660451 Bugfix in init_db method of MongoDB migration handler 2016-06-22 16:14:10 +02:00
Yann
71cdb2e75d Implements a new make target to list registered hooks in an instance 2016-06-22 16:04:14 +02:00
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