1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2025-11-02 04:20:55 +01:00
Commit graph

634 commits

Author SHA1 Message Date
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
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
prieto
33e65b1518 Authentification form in Webui interface 2016-09-01 12:12:59 +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
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
Yann
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.
2016-08-30 14:01:25 +02:00
Yann
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)
2016-08-29 14:16:48 +02:00
Yann
80b8122dc4 fixes #133 : Documenting lodel_admin.py actions implementation
Commit refs #122 and fixes #133
2016-08-29 10:48:17 +02:00
Yann
4acd6f8fbe Deleted debug messages 2016-08-29 09:14:41 +02:00
Yann
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)
2016-08-29 09:09:19 +02:00
Yann
20c1627bda Commenting & bufixing in datahandlers & queries 2016-08-26 11:35:13 +02:00
prieto
38fda3ce43 Some comments 2016-08-25 16:18:05 +02:00
prieto
a774b016c3 Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel 2016-08-25 16:11:48 +02:00
prieto
57688e7afb Automatic update of Back-references 2016-08-25 16:11:41 +02:00
Yann
6e4fdde5f6 Doxygen documentation enhancement
Created groups (they can be found under the "Modules" menu -_- )
Created new pages : on LeAPI EditorialModel Plugins etc
2016-08-25 14:55:34 +02:00
Yann
59d95c3bb0 Commenting + deleted debug print() 2016-08-25 13:49:22 +02:00
prieto
61e0567abf Bugfixe in Datetime 2016-08-25 11:05:14 +02:00
Yann
611b01fd0e Bugfixes on ram_session on sessions and on cookies
- webui fix in cookies handling
- ram_session fix in token generation (return an str : hex representation of os.urandom(n))
- more fixes in Client session handling
2016-08-25 10:18:23 +02:00
prieto
f0f1ed9a83 Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel 2016-08-25 08:51:29 +02:00
prieto
fee8dfdb68 Small corrections 2016-08-25 08:51:17 +02:00
Yann
eef54f2aad Begin session handling with cookies in webui 2016-08-24 17:35:18 +02:00
Yann
70ff2fcedc Solves #124 + discover-plugin argparse enhancement
No need of -d flag to specifiy directories
2016-08-24 16:02:01 +02:00
prieto
5f889169d3 Small bugfixes 2016-08-24 15:49:34 +02:00
Yann
1453cf49f9 Plug together Ui <-> client <-> session <-> plugin + bugfixes
Created a new class LodelSession to handle session datas
Created an automatic wrapper to acces to session handler plugin function throug SessionHandlerPlugin class methods
Bugfixes done for plugins. The plugin type is store in __plugin_type___ and not in __type__
2016-08-24 15:09:32 +02:00
Yann
eae2f83891 Connection between WebUi Client & Session started 2016-08-24 15:09:32 +02:00
Roland Haroutiounian
909b9478e3 Added tests for the datahandler abstract class 2016-08-24 14:05:48 +02:00
Yann
a82a75dfc6 Bugfixes in lodel_admin init_db action 2016-08-24 11:20:46 +02:00
Yann
180e41a657 Forgotten file 2016-08-24 11:00:28 +02:00