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