Yann Weber
77e7c36de9
Not fully tested. Enables separated datasources for read only or read&write access to the DB
8 years ago
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
8 years ago
Yann Weber
49eb5bd67c
Adding a host validator for settings
8 years ago
Yann Weber
f8e8750eec
Progress in datasource as plugin implementation
8 years ago
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()
8 years ago
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
8 years ago
Yann Weber
d7ae15e0bd
Validators update
- fixes exceptions output
- add "none" validator that validates only None
8 years ago
prieto
92921708ca
Settings loader en rw
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
4c2d83e8d5
Settings validators implementation
8 years ago
Yann Weber
68a27ff5dd
[Broken state] started settings implementation
8 years ago