prieto
8094b95d1e
Merge correction
8 anos atrás
prieto
0b7271529c
Merge branch 'master' of git.labocleo.org:lodel2
Conflicts:
examples/em_test.pickle
plugins/webui/run.py
8 anos atrás
prieto
0b62e8151c
Demo interface improvements
8 anos atrás
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 anos atrás
Yann Weber
7b202910fd
Small bufix in webui when no cookies given
8 anos atrás
prieto
899cc4e133
Sig in interface
8 anos atrás
prieto
33e65b1518
Authentification form in Webui interface
8 anos atrás
Yann Weber
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)
8 anos atrás
Yann Weber
d12699d395
First implementation of an m4 macro to check python module version
8 anos atrás
prieto
73c39d0ca4
WebUi improvements with bootstrap
8 anos atrás
Yann Weber
0019c8ee38
Doxygen documentation update
- add some files extensions to doxyfile (*.am *.in *.ac *.patch)
- add a documentation page on autotools usage
8 anos atrás
prieto
a08b41dfb6
Small bugfixes
8 anos atrás
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...
8 anos atrás
prieto
66712d9a6a
Bugfixes
8 anos atrás
Yann Weber
be01af2c3e
Bugfixes in lodel/buildconf.py & mongodb plugin
8 anos atrás
prieto
b4180fba2c
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
Conflicts:
lodel/leapi/datahandlers/base_classes.py
8 anos atrás
prieto
440d85aaec
Added Make__consistency
8 anos atrás
prieto
4828be4adc
Remove the call of make_consistency
8 anos atrás
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
8 anos atrás
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.
8 anos atrás
m.orban
ec75791ef6
Modified conf.d/lodel.ini for handle new plugins configuration
8 anos atrás
m.orban
18aa82b531
Deleted old conf (plugins_path and plugins) in globconf.d
8 anos atrás
Yann Weber
9cf1cc6884
Add a test on hooks priority
8 anos atrás
Yann Weber
196d959188
Writing tests on hooks
8 anos atrás
Yann Weber
9b27bd1911
Add a file to execute tests on plugins + rewrite the tests
- now runtest runs also make refresh_plugins in the test instance
8 anos atrás
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)
8 anos atrás
Yann Weber
80b8122dc4
fixes #133 : Documenting lodel_admin.py actions implementation
Commit refs #122 and fixes #133
8 anos atrás
Yann Weber
4acd6f8fbe
Deleted debug messages
8 anos atrás
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)
8 anos atrás
Yann Weber
20c1627bda
Commenting & bufixing in datahandlers & queries
8 anos atrás
prieto
38fda3ce43
Some comments
8 anos atrás
prieto
a774b016c3
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
8 anos atrás
prieto
57688e7afb
Automatic update of Back-references
8 anos atrás
Yann Weber
6e4fdde5f6
Doxygen documentation enhancement
Created groups (they can be found under the "Modules" menu -_- )
Created new pages : on LeAPI EditorialModel Plugins etc
8 anos atrás
Yann Weber
59d95c3bb0
Commenting + deleted debug print()
8 anos atrás
prieto
61e0567abf
Bugfixe in Datetime
8 anos atrás
Yann Weber
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
8 anos atrás
prieto
f0f1ed9a83
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
8 anos atrás
prieto
fee8dfdb68
Small corrections
8 anos atrás
Yann Weber
eef54f2aad
Begin session handling with cookies in webui
8 anos atrás
prieto
37f7d2a3dd
Bugfixe for new_numeric_id
8 anos atrás
Yann Weber
70ff2fcedc
Solves #124 + discover-plugin argparse enhancement
No need of -d flag to specifiy directories
8 anos atrás
prieto
5f889169d3
Small bugfixes
8 anos atrás
Yann Weber
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__
8 anos atrás
Yann Weber
eae2f83891
Connection between WebUi Client & Session started
8 anos atrás
Yann Weber
60a1176728
Small RAM session handler implementation
8 anos atrás
Roland Haroutiounian
51feb0654c
Added a test for a missing name in the from_name method's tests (for the DataHandler class)
8 anos atrás
Roland Haroutiounian
b7ae2c465d
Added a from_name method's test for the DataHandler class
8 anos atrás
Roland Haroutiounian
909b9478e3
Added tests for the datahandler abstract class
8 anos atrás
Roland Haroutiounian
5f7b80682d
Added a test module for the Datahandler base class
8 anos atrás