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