prieto
08ad11624d
Class Validator replaces SettingValidator
před 8 roky
Roland Haroutiounian
adfe7b886a
Fixed some methods' documentation
před 8 roky
Yann Weber
0ffe60ff2b
Modifying settings class to allow usage of custom confspecs
a bit dirty & quick
před 8 roky
Yann Weber
5981bdc0e5
Various bugfix in LodelContext integration
- Replaced some "hidden" import with LodelContext.expose_modules calls
- in some functions of Setting, Plugin, validator
- in loader.py (temporary version)
In this state the tests runs (151 success), I'm able to run an instance (from debian package using slim) in MONOSITE mode and in MULTISITE mode by creating and loading a context in the loader.
před 8 roky
Yann Weber
8085efeb99
Replaced all lodel subthings import by LodelContext.expose_modules calls
Test passes
před 8 roky
Yann Weber
572c408a79
POC of context manager to handle virtual lodel packages
před 8 roky
prieto
2d8a9811e6
Some adjustments and corresions
před 8 roky
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__
před 8 roky
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
před 8 roky
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.
před 8 roky
Yann Weber
6a18cf7fa2
Begin implementation of new plugin list retrieval
před 8 roky
Yann Weber
16ef4d9d3f
Settings started detection mechanism enhancement + early log message creation (for plugins & settings)
před 8 roky
Yann Weber
82e9d3c9aa
Allow early utilisation of lodel.logger ( #121 )
http://redmine.labocleo.org/issues/121
před 8 roky
Roland Haroutiounian
1849ddd48e
Docstring
před 8 roky
Yann Weber
61f19772fb
New way to handles plugin
- renamed Plugins class to Plugin
- an instance represent a loaded plugin
- classmethod allows to preload & load plugins
před 8 roky
Yann Weber
67c53443b5
Activated raise on invalid settings + enhancement in Settings exceptions
před 8 roky
prieto
9497130e8b
Add Save of Settings, EM translator in xml
před 8 roky
prieto
0c65414dda
22/04/2016
před 8 roky
prieto
2dd2c3cc34
Set
před 8 roky
prieto
25b5f32061
Sauvegarde de la configuration lors de modifications
před 8 roky
Yann Weber
a312cbc4d9
First version of lodel2 instance creation script
před 8 roky
Yann Weber
d30f3e189f
[1 test fail] Updated the settings to prepare them to be writable + more tests
před 8 roky
Yann Weber
3ed55fdc29
Some modifications + tests update for settings loader
před 8 roky
Yann Weber
8659e91f43
Fixing settings & logger
před 8 roky
Yann Weber
e0717c9317
More comments + a script to list default settings validators
před 8 roky
Yann Weber
c5971d9590
Updated comments (and deleting space between ## and @brief )
před 8 roky
Yann Weber
d360b11af0
Changing behavior when no settings loaded
před 8 roky
Yann Weber
2404c53fef
Add a loader for tests in order to bootstrap settings
před 8 roky
Yann Weber
c0c5d23adb
Commit with comments, code clean etc.
před 8 roky
Yann Weber
acb415f977
Settings and plugins first implementation
před 8 roky
Yann Weber
68a27ff5dd
[Broken state] started settings implementation
před 8 roky