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 anos atrás
Yann Weber
3e4231e871
Add an abtract datasource to make Datasource classes of plugins inherit from it
refs #132
8 anos atrás
Yann Weber
aa8c5ee56c
Bugfixes on backref updates on deletion refs #131
8 anos atrás
Yann Weber
e602e009ad
Bugfixes in backref handling in mongodb datasrouce refs #131
Now backref seems to work at creation of a Person linked with a text the Person UID is appended to Text.linked_persons
8 anos atrás
Yann Weber
66d08738dc
Bugfixes in Backref process refs #131 and in Integer dh
Triggered a bug in wrong Integer DH tests
8 anos atrás
Yann Weber
4e90475dbf
Continuing mongodb backreference implementation
8 anos atrás
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 anos atrás
Yann Weber
be01af2c3e
Bugfixes in lodel/buildconf.py & mongodb plugin
8 anos atrás
prieto
37f7d2a3dd
Bugfixe for new_numeric_id
8 anos atrás
Yann Weber
34c1784907
Enable factory in Plugin
- now plugin is able to instanciate using the good child class
- the discover cache now contains plugin's type
8 anos atrás
Yann Weber
29e825e6ce
New plugin information & load procedure implementation ( see #13 )
8 anos atrás
Roland Haroutiounian
9754c9a0d4
Consolidated methods documentation in mongodb and dummy datasource
8 anos atrás
Roland Haroutiounian
03fba7313f
Consolidated the mongodb migration handler's method documentations
8 anos atrás
Yann Weber
c0c1e628fd
Bugfixes on settings default value handling
8 anos atrás
Roland Haroutiounian
53bf344d40
Bug Fix wrong variable name in __process_filters method in the mongodb datasource
8 anos atrás
Roland Haroutiounian
e7f137d46e
Fixed a dict name in mongodb datasource (prepare_relational_filters method)
8 anos atrás
Roland Haroutiounian
6d05616ba1
Bug fixes in mongodb datasource (missing import, variable names ...)
8 anos atrás
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 anos atrás
prieto
e7163894a6
Replaced update_many by update and return res['n']
8 anos atrás
prieto
cbe8f7da13
_id is not returned by mongo insert
8 anos atrás
Roland Haroutiounian
c4df855e2f
Bug fix on an unexisting variable name
8 anos atrás
prieto
c41a22c807
Update aned Create from interface
8 anos atrás
Yann Weber
9c3a770610
Bugfixes on filters handling
- calling check_data_value on filters value to ensure value casting
8 anos atrás
Yann Weber
703b4adf7e
MongoDB datasource debugging + field_list handling changes in leobject -> query -> datasource chain
8 anos atrás
Yann Weber
5b987857bf
Small bugfix in mongDB datasource in multi direction order param
8 anos atrás
Yann Weber
0336355628
Bugfix in __generate_lambda_cmp_order in mongoDB datasource
8 anos atrás
Yann Weber
89beb80eca
Solves #96 order with different direction on different fields in MongoDB Datasource
8 anos atrás
Yann Weber
229293b734
Possible overflow bug fix in mongodb datasource
In post reccursion processing on select
8 anos atrás
Yann Weber
29d6c0fcf2
[Untested] Apply abtract LeObject child class generalisation for delete & update methods of mongoDB datasource
8 anos atrás
Yann Weber
8a32f1973a
Better comments + 79char limit on mongodb datasource
8 anos atrás
Yann Weber
2668770369
Begin abstract LeObject child query factorisation in mongodb Datasource
8 anos atrás
Yann Weber
8e6e60f0f4
Bugfixes concerning UniqID and select on abtract LeObject child
8 anos atrás
Roland Haroutiounian
9d7c0f1be7
bug fix
8 anos atrás
Roland Haroutiounian
6a6396f0d2
Bug fix
8 anos atrás
Roland Haroutiounian
8e4815c34f
Bugfix on the recursive select
8 anos atrás
Roland Haroutiounian
d32756695a
First implementation of the abstract class select queries
8 anos atrás
Roland Haroutiounian
ffad9fc01c
Revert
8 anos atrás
Roland Haroutiounian
98ffe11d5f
Changed the object_collection_name method in the utils of mongodb datasource plugin
8 anos atrás
Yann Weber
996bc334a1
Bugfixes + code clean
8 anos atrás
Yann Weber
61b80b8262
Lgger enhancement on MH
8 anos atrás
Yann Weber
ba3f660451
Bugfix in init_db method of MongoDB migration handler
8 anos atrás
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 anos atrás
Roland Haroutiounian
965aad1cbd
Method and variable calls fix in mongodb datasource
8 anos atrás
Yann Weber
0acd3d6612
Bugfixes in query and datasources.
8 anos atrás
Yann Weber
bbaf954d1c
MH constructor simplification
8 anos atrás
Yann Weber
13a2d157e3
Database initialization function written
8 anos atrás
prieto
f5dbb136fa
Connections arguments passed in class init
8 anos atrás
Yann Weber
e3dbdc8e49
Untested but written db initialisation function in install/lodel_admin.py
8 anos atrás
prieto
214c29d545
Minor change
8 anos atrás
prieto
491bdb4849
MongoDB MigrationHandler takes a list of classes instead of an editorial model
8 anos atrás