Yann
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 )
2016-09-07 17:27:02 +02:00
prieto
fb5251198e
Adapting interface to changes in datahandlers
2016-09-07 17:11:12 +02:00
prieto
2f68c55f65
Bugfixes due to datahandler changes
2016-09-07 17:11:12 +02:00
Yann
3e4231e871
Add an abtract datasource to make Datasource classes of plugins inherit from it
...
refs #132
2016-09-07 16:55:02 +02:00
Yann
4507b22fad
Bugfixes on SettingValidator class
2016-09-07 16:36:59 +02:00
Yann
e2234c5768
Add tests on SettingValidator class for major methods
...
solves #58
2016-09-07 16:36:34 +02:00
m.orban
6edda9f5ba
Started to implement test for reference datahandler
2016-09-07 16:33:01 +02:00
Yann
352730a585
Add a test in runtest that asserts the projects was build
2016-09-07 15:45:17 +02:00
m.orban
437c41fd49
Modified and added test for regex datahandler
2016-09-07 15:08:56 +02:00
Yann
bfcb2a6b96
Add a forgotten (not mandatory file)
...
The file is the pyconfoigure m4 macros patch that solves tyhe python3 bug and add macro to check a module version number ( refs #140 )
2016-09-07 14:43:27 +02:00
m.orban
08f07d45a8
Modified and added test for varchar. Modified strict test for datahandler integer
2016-09-07 14:40:39 +02:00
Yann
aa8c5ee56c
Bugfixes on backref updates on deletion refs #131
2016-09-07 14:38:27 +02:00
m.orban
a6cc69294a
Modified test for datetime datahandler
2016-09-07 14:11:11 +02:00
m.orban
f9d41368ab
Modified and added test unit for integer datahandler
2016-09-07 14:11:11 +02:00
Yann
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
2016-09-07 12:33:00 +02:00
prieto
37621c8ba5
Merge branch 'master' of git.labocleo.org:lodel2
2016-09-07 10:57:38 +02:00
prieto
6eef088a5c
Bugfixe in Client.py
2016-09-07 10:57:30 +02:00
Yann
66d08738dc
Bugfixes in Backref process refs #131 and in Integer dh
...
Triggered a bug in wrong Integer DH tests
2016-09-07 10:48:10 +02:00
Yann
622d486b0a
Small bugfixes in Integer DH and Update query class
2016-09-07 10:39:24 +02:00
Yann
61e892fe61
Implements an empty() classmethod for multiref datahandlers
...
Return the value of this datahandler when empty
2016-09-07 10:22:42 +02:00
Yann
0b443a6d93
Various bugfixes in DataHandlers
...
refs #131
2016-09-07 09:50:41 +02:00
Yann
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...
2016-09-07 09:49:33 +02:00
Yann
ae9829d31d
Bugfix in Reference abstract DataHandler class
...
refs #131
2016-09-07 09:26:45 +02:00
Yann
4e90475dbf
Continuing mongodb backreference implementation
2016-09-05 08:52:42 +02:00
m.orban
67bd4087a9
Moved new class exceptions in exceptions.py
2016-09-02 17:48:55 +02:00
m.orban
120a8028d8
Added list error when check MultipleRef value
2016-09-02 17:38:12 +02:00
m.orban
1f4a822945
Added comment in datahandler class and derived class
2016-09-02 17:10:03 +02:00
m.orban
c7c0952ffb
checked_data_value passed test for datahandler class and derived class
2016-09-02 15:33:25 +02:00
m.orban
56b3b9d7ab
Added Checked_data_value for datahandlers
2016-09-02 15:33:25 +02:00
m.orban
21d2f4da27
Added check_data_value function for data handlers Reference
2016-09-02 15:33:25 +02:00
Yann
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 )
2016-09-02 15:28:45 +02:00
prieto
8094b95d1e
Merge correction
2016-09-02 09:49:32 +02:00
prieto
0b7271529c
Merge branch 'master' of git.labocleo.org:lodel2
...
Conflicts:
examples/em_test.pickle
plugins/webui/run.py
2016-09-02 09:47:49 +02:00
prieto
0b62e8151c
Demo interface improvements
2016-09-02 09:17:07 +02:00
Yann
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__()
2016-09-01 14:35:58 +02:00
Yann
7b202910fd
Small bufix in webui when no cookies given
2016-09-01 14:09:13 +02:00
prieto
899cc4e133
Sig in interface
2016-09-01 14:06:24 +02:00
prieto
33e65b1518
Authentification form in Webui interface
2016-09-01 12:12:59 +02:00
Yann
486be1fa4e
solves #138 : implements a m4 macro to checks version
...
Now their is 2 macros :
- PC_PYTHON_CHECK_MODULE_MATCH_VERSION(LIBRARY, VERSION, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND)
- PC_PYTHON_CHECK_MODULE_VERSION(LIBRARY, MIN-VERSION, MAX-VERSION, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND)
2016-09-01 12:02:23 +02:00
Yann
d12699d395
First implementation of an m4 macro to check python module version
2016-09-01 10:08:01 +02:00
prieto
73c39d0ca4
WebUi improvements with bootstrap
2016-08-31 15:10:51 +02:00
Yann
0019c8ee38
Doxygen documentation update
...
- add some files extensions to doxyfile (*.am *.in *.ac *.patch)
- add a documentation page on autotools usage
2016-08-31 11:58:06 +02:00
prieto
a08b41dfb6
Small bugfixes
2016-08-31 11:09:13 +02:00
Yann
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...
2016-08-31 09:26:57 +02:00
prieto
66712d9a6a
Bugfixes
2016-08-31 09:20:22 +02:00
Yann
be01af2c3e
Bugfixes in lodel/buildconf.py & mongodb plugin
2016-08-31 09:19:47 +02:00
prieto
b4180fba2c
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
...
Conflicts:
lodel/leapi/datahandlers/base_classes.py
2016-08-31 09:12:07 +02:00
prieto
440d85aaec
Added Make__consistency
2016-08-31 08:44:16 +02:00
prieto
4828be4adc
Remove the call of make_consistency
2016-08-31 08:43:13 +02:00
Yann
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
2016-08-30 17:26:32 +02:00