Yann Weber
70ff2fcedc
Solves #124 + discover-plugin argparse enhancement
No need of -d flag to specifiy directories
пре 8 година
prieto
5f889169d3
Small bugfixes
пре 8 година
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 година
Yann Weber
eae2f83891
Connection between WebUi Client & Session started
пре 8 година
Yann Weber
60a1176728
Small RAM session handler implementation
пре 8 година
Roland Haroutiounian
51feb0654c
Added a test for a missing name in the from_name method's tests (for the DataHandler class)
пре 8 година
Roland Haroutiounian
b7ae2c465d
Added a from_name method's test for the DataHandler class
пре 8 година
Roland Haroutiounian
909b9478e3
Added tests for the datahandler abstract class
пре 8 година
Roland Haroutiounian
5f7b80682d
Added a test module for the Datahandler base class
пре 8 година
Yann Weber
a82a75dfc6
Bugfixes in lodel_admin init_db action
пре 8 година
Yann Weber
180e41a657
Forgotten file
пре 8 година
Yann Weber
585cc61dff
Quick & dirty interfacePlugin implementation + small import bugfixes
Import bugfixes in settings validator. Hooks must be imported in validatore definition to avoid circular import failure
пре 8 година
Yann Weber
ba244bdd82
Modified filesystem_session plugin + start using sessions in client
пре 8 година
Roland Haroutiounian
52564ee6db
Added tests for datetime and file datahandlers, with corresponding checks in the corresponding classes
пре 8 година
Roland Haroutiounian
3700b4cc83
Syntax fix on plugins.py module
пре 8 година
Yann Weber
ed4d2858b9
Starting again implementation of Auth/Client/Session global handling
пре 8 година
Yann Weber
a0335b668f
Deleted debug message
пре 8 година
Yann Weber
76e386e321
Implements SessionHandlerPlugin ExtensionsPlugin + settings preload
Implements both Plugin child classes handling extensions and session handling.
Modified the settings plugin preload piece of code. It is now adapted to the new plugins organisation.
Each Plugin child classes provides a confspec indicating where the plugin list is stored in configuration.
пре 8 година
prieto
8b00660dfd
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
пре 8 година
prieto
a0d32cadb3
Some bugfixes in datahandlers
пре 8 година
Yann Weber
d115ebda1c
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
пре 8 година
Yann Weber
6a18cf7fa2
Begin implementation of new plugin list retrieval
пре 8 година
m.orban
e4f0bd2358
Debug Metaclass to get child from Plugin Class
пре 8 година
m.orban
22eae9d5ec
Added metaclass to get a list of child Class from Plugin Base class
пре 8 година
Roland Haroutiounian
f5208caf44
Added construct data test case for the Concat Datahandler
пре 8 година
Roland Haroutiounian
49e893aa37
Added two unit tests for the format string datahandler + fix on a slicing end value
пре 8 година
Yann Weber
e176693574
Add plugin's discover cache consistency check in Plugin class cache getter
пре 8 година
Yann Weber
34c1784907
Enable factory in Plugin
- now plugin is able to instanciate using the good child class
- the discover cache now contains plugin's type
пре 8 година
Yann Weber
4627ae17e5
DatasourcePlugin class implementation
- DatasourcePlugin implmentation as child class of lodel.plugin.plugins.Plugin
- moved methods about datasource initialisation from LeObject to DatasourcePlugin ( _init_datasource(), plugin_name(), _get_ds_connection_conf() ...)
пре 8 година
Roland Haroutiounian
ccb643a4aa
bug fix on validator (syntax)
пре 8 година
m.orban
192c3e9027
Merge branches 'newlodel' and 'newlodel' of git.labocleo.org:lodel2 into newlodel
пре 8 година
m.orban
9ae7855c50
Modified singleton sessionHandler: from __new__ to __init__ checked
пре 8 година
prieto
ccff451d16
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
пре 8 година
prieto
c165ff101f
Change target_cls for target in select arguments list
пре 8 година
Roland Haroutiounian
6f95cbb518
Changed the check data test for the Boolean datahandler
пре 8 година
m.orban
7c99981ad1
Merging resolution with settings validator
пре 8 година
m.orban
0e7b5828fa
Added a settings validator for plugin
пре 8 година
Roland Haroutiounian
e9174bb847
Changed the used method for the check_data tests (using now the public one instead of the protected)
пре 8 година
Roland Haroutiounian
441be193a9
Bug fix on the settings validator module
пре 8 година
Roland Haroutiounian
46173c1dc9
Added unit test for the check data of the Text DataHandler
пре 8 година
m.orban
7066126683
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
пре 8 година
m.orban
81e732a6af
Added inheritance class SessionHandler (Plugin is the base-class
пре 8 година
Yann Weber
7723ab5b16
lodel_admin.py options and output enhancement
- add a -L options to list availables actions
пре 8 година
Yann Weber
cddf221988
Lodel2 script helper class implementation (#122 )
- Allow to extend easily lodel_admin.py script.
- Writtent first lodel_admin.py action : discover-plugins
пре 8 година
Roland Haroutiounian
d14a7377a2
Added some unit tests for the can_override and check_data_value methods of the Varchar Datahandler
пре 8 година
Roland Haroutiounian
925d42fb8e
The check_data_value method of the Varchar Datahandler is now using the max_length parameter
пре 8 година
Roland Haroutiounian
5e171fa067
Deleted two debug outputs
пре 8 година
Roland Haroutiounian
0a6c5c96bd
Added unit tests for the Integer Datahandler
пре 8 година
Roland Haroutiounian
83a7b53808
Added a test for the can_override method of the Boolean Datahandler
пре 8 година
Roland Haroutiounian
ae3335deb8
Added a test for the check data functionnality of the Boolean datahandler
пре 8 година