Yann Weber
eef54f2aad
Begin session handling with cookies in webui
vor 8 Jahren
Yann Weber
70ff2fcedc
Solves #124 + discover-plugin argparse enhancement
No need of -d flag to specifiy directories
vor 8 Jahren
prieto
5f889169d3
Small bugfixes
vor 8 Jahren
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__
vor 8 Jahren
Yann Weber
eae2f83891
Connection between WebUi Client & Session started
vor 8 Jahren
Roland Haroutiounian
909b9478e3
Added tests for the datahandler abstract class
vor 8 Jahren
Yann Weber
a82a75dfc6
Bugfixes in lodel_admin init_db action
vor 8 Jahren
Yann Weber
180e41a657
Forgotten file
vor 8 Jahren
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
vor 8 Jahren
Yann Weber
ba244bdd82
Modified filesystem_session plugin + start using sessions in client
vor 8 Jahren
Roland Haroutiounian
52564ee6db
Added tests for datetime and file datahandlers, with corresponding checks in the corresponding classes
vor 8 Jahren
Roland Haroutiounian
3700b4cc83
Syntax fix on plugins.py module
vor 8 Jahren
Yann Weber
ed4d2858b9
Starting again implementation of Auth/Client/Session global handling
vor 8 Jahren
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.
vor 8 Jahren
prieto
a0d32cadb3
Some bugfixes in datahandlers
vor 8 Jahren
Yann Weber
6a18cf7fa2
Begin implementation of new plugin list retrieval
vor 8 Jahren
m.orban
e4f0bd2358
Debug Metaclass to get child from Plugin Class
vor 8 Jahren
m.orban
22eae9d5ec
Added metaclass to get a list of child Class from Plugin Base class
vor 8 Jahren
Roland Haroutiounian
49e893aa37
Added two unit tests for the format string datahandler + fix on a slicing end value
vor 8 Jahren
Yann Weber
e176693574
Add plugin's discover cache consistency check in Plugin class cache getter
vor 8 Jahren
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
vor 8 Jahren
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() ...)
vor 8 Jahren
Roland Haroutiounian
ccb643a4aa
bug fix on validator (syntax)
vor 8 Jahren
m.orban
9ae7855c50
Modified singleton sessionHandler: from __new__ to __init__ checked
vor 8 Jahren
m.orban
0e7b5828fa
Added a settings validator for plugin
vor 8 Jahren
Roland Haroutiounian
441be193a9
Bug fix on the settings validator module
vor 8 Jahren
Roland Haroutiounian
46173c1dc9
Added unit test for the check data of the Text DataHandler
vor 8 Jahren
m.orban
81e732a6af
Added inheritance class SessionHandler (Plugin is the base-class
vor 8 Jahren
Yann Weber
7723ab5b16
lodel_admin.py options and output enhancement
- add a -L options to list availables actions
vor 8 Jahren
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
vor 8 Jahren
Roland Haroutiounian
925d42fb8e
The check_data_value method of the Varchar Datahandler is now using the max_length parameter
vor 8 Jahren
Roland Haroutiounian
0a6c5c96bd
Added unit tests for the Integer Datahandler
vor 8 Jahren
Roland Haroutiounian
ae3335deb8
Added a test for the check data functionnality of the Boolean datahandler
vor 8 Jahren
Roland Haroutiounian
9ab3293538
Added unit tests for the Regex datahandler
vor 8 Jahren
Yann Weber
3299dc549a
lodel.plugin.plugins.Plugin log messages enhancement
vor 8 Jahren
Yann Weber
16ef4d9d3f
Settings started detection mechanism enhancement + early log message creation (for plugins & settings)
vor 8 Jahren
Yann Weber
82e9d3c9aa
Allow early utilisation of lodel.logger ( #121 )
http://redmine.labocleo.org/issues/121
vor 8 Jahren
prieto
2961b7f916
Debug messages deleted
vor 8 Jahren
Yann Weber
3395f76238
Updated instance admin script and Makefile to be able to run plugins discover + webui upgrade
vor 8 Jahren
Yann Weber
29e825e6ce
New plugin information & load procedure implementation ( see #13 )
vor 8 Jahren
prieto
1cb07dc6bf
Adding of an attribute cast_type in UniqID datahandler, for a right insertion of uids in database
vor 8 Jahren
prieto
e3826c1750
Replace the term lodel_id in the interface by LeObject class method
vor 8 Jahren
m.orban
c7278e65b7
discover_plugin() function with the is_plugin_dir() class Method checking
vor 8 Jahren
m.orban
726e86e4b1
Rewrited discover_plugin function whithout a os.walk modules
vor 8 Jahren
m.orban
6787ec1cc8
Added a discover_plugin function to browse plugin directory
vor 8 Jahren
Roland Haroutiounian
2cf23a50c8
Changed method types in session module
vor 8 Jahren
Roland Haroutiounian
a0818fe410
Changed the sessions management layout
vor 8 Jahren
Yann Weber
80eee8dd69
Delete useless logging messages
vor 8 Jahren
m.orban
40d1d827d9
Deleted Warning message useless
vor 8 Jahren
Yann Weber
0aec7f6ca8
Bugfixe in leobject
Deleted hardcoded condition that brokes standart field validation process
vor 8 Jahren