prieto
3b4494cb7a
Only indentation and stuff like that
7 years ago
prieto
08ad11624d
Class Validator replaces SettingValidator
8 years ago
Roland Haroutiounian
adfe7b886a
Fixed some methods' documentation
8 years ago
Yann Weber
0ffe60ff2b
Modifying settings class to allow usage of custom confspecs
a bit dirty & quick
8 years ago
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.
8 years ago
Yann Weber
8085efeb99
Replaced all lodel subthings import by LodelContext.expose_modules calls
Test passes
8 years ago
Yann Weber
572c408a79
POC of context manager to handle virtual lodel packages
8 years ago
prieto
2d8a9811e6
Some adjustments and corresions
8 years ago
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 years ago
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 years ago
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 years ago
Yann Weber
6a18cf7fa2
Begin implementation of new plugin list retrieval
8 years ago
Yann Weber
16ef4d9d3f
Settings started detection mechanism enhancement + early log message creation (for plugins & settings)
8 years ago
Yann Weber
82e9d3c9aa
Allow early utilisation of lodel.logger ( #121 )
http://redmine.labocleo.org/issues/121
8 years ago
Roland Haroutiounian
1849ddd48e
Docstring
8 years ago
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
8 years ago
Yann Weber
67c53443b5
Activated raise on invalid settings + enhancement in Settings exceptions
8 years ago
prieto
9497130e8b
Add Save of Settings, EM translator in xml
8 years ago
prieto
0c65414dda
22/04/2016
8 years ago
prieto
2dd2c3cc34
Set
8 years ago
prieto
25b5f32061
Sauvegarde de la configuration lors de modifications
8 years ago
Yann Weber
a312cbc4d9
First version of lodel2 instance creation script
8 years ago
Yann Weber
d30f3e189f
[1 test fail] Updated the settings to prepare them to be writable + more tests
8 years ago
Yann Weber
3ed55fdc29
Some modifications + tests update for settings loader
8 years ago
Yann Weber
8659e91f43
Fixing settings & logger
8 years ago
Yann Weber
e0717c9317
More comments + a script to list default settings validators
8 years ago
Yann Weber
c5971d9590
Updated comments (and deleting space between ## and @brief )
8 years ago
Yann Weber
d360b11af0
Changing behavior when no settings loaded
8 years ago
Yann Weber
2404c53fef
Add a loader for tests in order to bootstrap settings
8 years ago
Yann Weber
c0c5d23adb
Commit with comments, code clean etc.
8 years ago
Yann Weber
acb415f977
Settings and plugins first implementation
8 years ago
Yann Weber
68a27ff5dd
[Broken state] started settings implementation
8 years ago