Yann Weber
2010fb29e8
empty method implementation for Reference objects
8 vuotta sitten
Yann Weber
949320298d
Another bugfix on get_from_uid LeObject method
When not found return None and do not try to run len() on None
8 vuotta sitten
Yann Weber
8a1aef8d68
Enhancement of LeObject get_from_uid method
Return an instance and not a list of len 1 anymore
8 vuotta sitten
Yann Weber
78e3dca30b
MultipleRef datahandlers bugfixes
In construct and check data
8 vuotta sitten
prieto
e4214a1705
Bugfixes
8 vuotta sitten
prieto
43bf90d1ca
Bugfixes
8 vuotta sitten
prieto
d7b2feb35a
Bugfixe
8 vuotta sitten
prieto
f9000bbc83
Bugfixes
8 vuotta sitten
Yann Weber
8f48612c82
Enables debian package creation
with make deb . Next commit will update the README
8 vuotta sitten
Yann Weber
629ac94dc8
Avoiding fails at session_restore
Before when session restore fails the webui was answering "Unknown status 200" as content.
Now it produce 2 log messages (maybe)
8 vuotta sitten
Yann Weber
58b88b0b97
[broken] Fixes validator issues + confspec call
broken nginx conf + absolute path in slim that is known only at build time
8 vuotta sitten
Yann Weber
a51e0a37cf
fix a comment
8 vuotta sitten
Yann Weber
9e3f66b403
Bugfix in autotools dist make target
8 vuotta sitten
Yann Weber
39a5ba77cc
Small bugfix in plugins error message
8 vuotta sitten
Yann Weber
ca4952a264
webui & slim enhancement
Adds a LODEL2LOGDIR to buildconf.py
Adds a nginx-conf option to slim
...
8 vuotta sitten
Yann Weber
43ca4e4c52
Add a data to buildconf.py
It a real buildtime variable, the localestatedir
8 vuotta sitten
m.orban
556bea1f73
Added comment to bases_classes
8 vuotta sitten
Yann Weber
e6e4a03a27
Enhancement in SLIM capabilities + bugfixes in install process
SLIM is now able to edit configuration from CLI, to start instances etc.
8 vuotta sitten
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
8 vuotta sitten
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
8 vuotta sitten
m.orban
06609ca238
Added tests for MultiRef datahandler and modified _check_data_value raise exception
8 vuotta sitten
m.orban
c270977e4e
Added test for multiple references
8 vuotta sitten
Roland Haroutiounian
bda7779166
Changed the filesystem_session handler and added new commands to the sessionhandler (to add, del and read values from the session)
8 vuotta sitten
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 )
8 vuotta sitten
prieto
2f68c55f65
Bugfixes due to datahandler changes
8 vuotta sitten
Yann Weber
3e4231e871
Add an abtract datasource to make Datasource classes of plugins inherit from it
refs #132
8 vuotta sitten
Yann Weber
4507b22fad
Bugfixes on SettingValidator class
8 vuotta sitten
m.orban
6edda9f5ba
Started to implement test for reference datahandler
8 vuotta sitten
m.orban
08f07d45a8
Modified and added test for varchar. Modified strict test for datahandler integer
8 vuotta sitten
m.orban
a6cc69294a
Modified test for datetime datahandler
8 vuotta sitten
m.orban
f9d41368ab
Modified and added test unit for integer datahandler
8 vuotta sitten
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 vuotta sitten
prieto
6eef088a5c
Bugfixe in Client.py
8 vuotta sitten
Yann Weber
66d08738dc
Bugfixes in Backref process refs #131 and in Integer dh
Triggered a bug in wrong Integer DH tests
8 vuotta sitten
Yann Weber
622d486b0a
Small bugfixes in Integer DH and Update query class
8 vuotta sitten
Yann Weber
61e892fe61
Implements an empty() classmethod for multiref datahandlers
Return the value of this datahandler when empty
8 vuotta sitten
Yann Weber
0b443a6d93
Various bugfixes in DataHandlers
refs #131
8 vuotta sitten
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...
8 vuotta sitten
Yann Weber
ae9829d31d
Bugfix in Reference abstract DataHandler class
refs #131
8 vuotta sitten
Yann Weber
4e90475dbf
Continuing mongodb backreference implementation
8 vuotta sitten
m.orban
67bd4087a9
Moved new class exceptions in exceptions.py
8 vuotta sitten
m.orban
120a8028d8
Added list error when check MultipleRef value
8 vuotta sitten
m.orban
1f4a822945
Added comment in datahandler class and derived class
8 vuotta sitten
m.orban
c7c0952ffb
checked_data_value passed test for datahandler class and derived class
8 vuotta sitten
m.orban
56b3b9d7ab
Added Checked_data_value for datahandlers
8 vuotta sitten
m.orban
21d2f4da27
Added check_data_value function for data handlers Reference
8 vuotta sitten
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 vuotta sitten
prieto
0b62e8151c
Demo interface improvements
8 vuotta sitten
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__()
8 vuotta sitten
prieto
33e65b1518
Authentification form in Webui interface
8 vuotta sitten