Yann Weber
39a5ba77cc
Small bugfix in plugins error message
hace 8 años
Yann Weber
ca4952a264
webui & slim enhancement
Adds a LODEL2LOGDIR to buildconf.py
Adds a nginx-conf option to slim
...
hace 8 años
Yann Weber
43ca4e4c52
Add a data to buildconf.py
It a real buildtime variable, the localestatedir
hace 8 años
m.orban
556bea1f73
Added comment to bases_classes
hace 8 años
Yann Weber
e6e4a03a27
Enhancement in SLIM capabilities + bugfixes in install process
SLIM is now able to edit configuration from CLI, to start instances etc.
hace 8 años
Yann Weber
2ce93cc452
Enhancement in settings_loader.py : better support for empty values
when a value is composed only with space tabs etc consider it as None
hace 8 años
Yann Weber
9d273e6fef
Add a new sttings validator + use it
- Written a new custom_list validator, it takes another validator name as argument (in order to validate items of list)
- Using it to validate list of plugins names
hace 8 años
m.orban
06609ca238
Added tests for MultiRef datahandler and modified _check_data_value raise exception
hace 8 años
m.orban
c270977e4e
Added test for multiple references
hace 8 años
Roland Haroutiounian
bda7779166
Changed the filesystem_session handler and added new commands to the sessionhandler (to add, del and read values from the session)
hace 8 años
Yann Weber
c7553748f0
Moved both classes un lodel/plugin/datasource_plugin.py + check inheritance
Implements the check of the bases classes of a datasource class in a datasource plugin ( solves #144 )
hace 8 años
prieto
2f68c55f65
Bugfixes due to datahandler changes
hace 8 años
Yann Weber
3e4231e871
Add an abtract datasource to make Datasource classes of plugins inherit from it
refs #132
hace 8 años
Yann Weber
4507b22fad
Bugfixes on SettingValidator class
hace 8 años
m.orban
6edda9f5ba
Started to implement test for reference datahandler
hace 8 años
m.orban
08f07d45a8
Modified and added test for varchar. Modified strict test for datahandler integer
hace 8 años
m.orban
a6cc69294a
Modified test for datetime datahandler
hace 8 años
m.orban
f9d41368ab
Modified and added test unit for integer datahandler
hace 8 años
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
hace 8 años
prieto
6eef088a5c
Bugfixe in Client.py
hace 8 años
Yann Weber
66d08738dc
Bugfixes in Backref process refs #131 and in Integer dh
Triggered a bug in wrong Integer DH tests
hace 8 años
Yann Weber
622d486b0a
Small bugfixes in Integer DH and Update query class
hace 8 años
Yann Weber
61e892fe61
Implements an empty() classmethod for multiref datahandlers
Return the value of this datahandler when empty
hace 8 años
Yann Weber
0b443a6d93
Various bugfixes in DataHandlers
refs #131
hace 8 años
Yann Weber
60acfd80f1
Dedeuplication bufix in prepare_filter
The dedup mechanism was using a cast of list to set. But sometimes, filters contains list, and list are not hashable...
hace 8 años
Yann Weber
ae9829d31d
Bugfix in Reference abstract DataHandler class
refs #131
hace 8 años
Yann Weber
4e90475dbf
Continuing mongodb backreference implementation
hace 8 años
m.orban
67bd4087a9
Moved new class exceptions in exceptions.py
hace 8 años
m.orban
120a8028d8
Added list error when check MultipleRef value
hace 8 años
m.orban
1f4a822945
Added comment in datahandler class and derived class
hace 8 años
m.orban
c7c0952ffb
checked_data_value passed test for datahandler class and derived class
hace 8 años
m.orban
56b3b9d7ab
Added Checked_data_value for datahandlers
hace 8 años
m.orban
21d2f4da27
Added check_data_value function for data handlers Reference
hace 8 años
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 )
hace 8 años
prieto
0b62e8151c
Demo interface improvements
hace 8 años
Yann Weber
0fc8616c02
Small changes in Datahandlers
- deletion of unused attributes
- copy the back_reference checks in _set_back_reference function and use it in Reference.__init__()
hace 8 años
prieto
33e65b1518
Authentification form in Webui interface
hace 8 años
Yann Weber
0019c8ee38
Doxygen documentation update
- add some files extensions to doxyfile (*.am *.in *.ac *.patch)
- add a documentation page on autotools usage
hace 8 años
Yann Weber
b5a6adc3a8
Enhancement of distclean target
Now when running distclean ALL files generated by the ./bootstrap && ./configure && make are deleted.
Maybe it's not a good idea because it's not the purpose of distclean target...
hace 8 años
prieto
66712d9a6a
Bugfixes
hace 8 años
Yann Weber
be01af2c3e
Bugfixes in lodel/buildconf.py & mongodb plugin
hace 8 años
prieto
440d85aaec
Added Make__consistency
hace 8 años
prieto
4828be4adc
Remove the call of make_consistency
hace 8 años
Yann Weber
21af2bbcbc
Autotools chain enhancement + solves #137
Using $pkgpythondir instead of $pythondir in Makefile.am
Solves a bug that put installed files in site-packages instead of dist-packages on debian
hace 8 años
Yann Weber
8316ab82ff
Configure autotools for distributing lodel2
IMPORTANT : tests are broken. See details below
A new lodel/buildconf.py.ini file created. It will be transformed to a lodel/buildconf.py file by ./configure .
This file goal is to store build time constant (for the moment the presence of pymongo).
You have to build lodel2 before being able to run the tests.
hace 8 años
Yann Weber
fdc985c732
Plugin discover & clear bugfixes
- Child classes where not cleared when Plugin.clear() was called. Now child classes implements a clear_cls() method to clear a Plugin child class
- When discovering plugins if during a is_plugin_dir() check we import two times in the same virtual module name, all non existing attributes values are taken from prvious imported file (the bug was on plugin_type when webui was imported just before dummy, then dummy was an interface)
hace 8 años
Yann Weber
80b8122dc4
fixes #133 : Documenting lodel_admin.py actions implementation
Commit refs #122 and fixes #133
hace 8 años
Yann Weber
4acd6f8fbe
Deleted debug messages
hace 8 años
Yann Weber
77be17f296
Solves #123 Add a plugin type validator
- The validator is written and added to all Plugin sublcasses confspec
- Adds the capabilities to give args to validator (here we give the expected type)
hace 8 años
Yann Weber
20c1627bda
Commenting & bufixing in datahandlers & queries
hace 8 años