Yann Weber
25a231702e
Changed confspec to include Auth specs + em_test modifications
il y a 8 ans
Yann Weber
c0c1e628fd
Bugfixes on settings default value handling
il y a 8 ans
Yann Weber
42fc14d7cc
Add a new settings validator named emfield
Check that an EmClass.EmField exsists in dyncode
il y a 8 ans
Yann Weber
48f46d9a56
Fixing indent in validaotr.py
il y a 8 ans
Roland Haroutiounian
42ddd6909b
Syntax errors fixed
il y a 8 ans
Yann Weber
1ea9269742
Small bugfixes in leobject and validator
- Replaced a self. by cls. in leobject
- Changed default value for runtest option
il y a 8 ans
Yann Weber
a3b3102604
New way to run test via loader & conf
il y a 8 ans
Yann Weber
77e7c36de9
Not fully tested. Enables separated datasources for read only or read&write access to the DB
il y a 8 ans
Yann Weber
83afc6b6dd
Deleted datasources plugins and add a settings for datasources declaration
- now datasources are declared with two conf keys : read_only and identifier
- the old datasources plugin hook is now declared in lodel/plugin/core_hooks.py. This file is imported after lodel/plugin/hooks.py in the loader.py
il y a 8 ans
Yann Weber
49eb5bd67c
Adding a host validator for settings
il y a 8 ans
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
il y a 8 ans
Yann Weber
7e58988307
Changed broken conf in install/conf.d/datasources.ini + message enhancement for invalid configuration key
il y a 8 ans
Yann Weber
67c53443b5
Activated raise on invalid settings + enhancement in Settings exceptions
il y a 8 ans
Yann Weber
f8e8750eec
Progress in datasource as plugin implementation
il y a 8 ans
Yann Weber
6fb04a69fb
Documentation on datasources plugins + confspec updates in validator.py
+ a new validator named 'string', it tries to cast the conf value using str()
il y a 8 ans
Yann Weber
5c8f46c51e
Updated webui plugin to enable standalone mode
To start in standalone uwsgi set lodel2.webui.standalone=True in conf file and start loader.py
il y a 8 ans
Yann Weber
85d11c0376
Nice exceptions for settings validation fails
il y a 8 ans
Yann Weber
d7ae15e0bd
Validators update
- fixes exceptions output
- add "none" validator that validates only None
il y a 8 ans
prieto
9497130e8b
Add Save of Settings, EM translator in xml
il y a 8 ans
prieto
0c65414dda
22/04/2016
il y a 8 ans
prieto
2dd2c3cc34
Set
il y a 8 ans
prieto
25b5f32061
Sauvegarde de la configuration lors de modifications
il y a 8 ans
prieto
48165e0fcb
Ajouts
il y a 8 ans
prieto
ee795f539d
modifs
il y a 8 ans
prieto
92921708ca
Settings loader en rw
il y a 8 ans
Yann Weber
a312cbc4d9
First version of lodel2 instance creation script
il y a 8 ans
Yann Weber
d30f3e189f
[1 test fail] Updated the settings to prepare them to be writable + more tests
il y a 8 ans
Yann Weber
7897203830
Add SettingsLoader.getremains() test + code refactoring in SettingsLoader
il y a 8 ans
Yann Weber
3ed55fdc29
Some modifications + tests update for settings loader
il y a 8 ans
Yann Weber
8659e91f43
Fixing settings & logger
il y a 8 ans
prieto
59342cd315
13042016
il y a 8 ans
prieto
e42af4dfa8
corrections
il y a 8 ans
prieto
49893e877e
Corrections
il y a 8 ans
Yann Weber
e0717c9317
More comments + a script to list default settings validators
il y a 8 ans
Yann Weber
c5971d9590
Updated comments (and deleting space between ## and @brief )
il y a 8 ans
Yann Weber
d360b11af0
Changing behavior when no settings loaded
il y a 8 ans
Yann Weber
2404c53fef
Add a loader for tests in order to bootstrap settings
il y a 8 ans
prieto
c7a218f251
names of variables
il y a 8 ans
Yann Weber
c0c5d23adb
Commit with comments, code clean etc.
il y a 8 ans
prieto
8156104d1d
corrections
il y a 8 ans
prieto
25c787051a
corrections
il y a 8 ans
prieto
c887008dc3
corrections
il y a 8 ans
Yann Weber
acb415f977
Settings and plugins first implementation
il y a 8 ans
Yann Weber
4c2d83e8d5
Settings validators implementation
il y a 8 ans
prieto
ebc3e742c7
Settings
il y a 8 ans
Yann Weber
68a27ff5dd
[Broken state] started settings implementation
il y a 8 ans
Yann Weber
6297a2c67c
SettingsError exception class implementation
il y a 8 ans
prieto
841b2334ff
Classe SettingsLoader
il y a 8 ans