Yann
25a231702e
Changed confspec to include Auth specs + em_test modifications
2016-07-07 16:35:28 +02:00
Yann
c0c1e628fd
Bugfixes on settings default value handling
2016-07-06 17:33:43 +02:00
Yann
42fc14d7cc
Add a new settings validator named emfield
...
Check that an EmClass.EmField exsists in dyncode
2016-07-06 17:33:43 +02:00
Yann
48f46d9a56
Fixing indent in validaotr.py
2016-07-06 17:33:42 +02:00
Roland Haroutiounian
42ddd6909b
Syntax errors fixed
2016-06-24 09:57:40 +02:00
Yann
1ea9269742
Small bugfixes in leobject and validator
...
- Replaced a self. by cls. in leobject
- Changed default value for runtest option
2016-06-15 16:37:11 +02:00
Yann
a3b3102604
New way to run test via loader & conf
2016-06-15 12:01:11 +02:00
Yann
77e7c36de9
Not fully tested. Enables separated datasources for read only or read&write access to the DB
2016-06-09 15:11:25 +02:00
Yann
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
2016-06-09 14:35:31 +02:00
Yann
49eb5bd67c
Adding a host validator for settings
2016-06-09 10:00:42 +02:00
Yann
61f19772fb
New way to handles plugin
...
- renamed Plugins class to Plugin
- an instance represent a loaded plugin
- classmethod allows to preload & load plugins
2016-06-01 16:37:07 +02:00
Yann
7e58988307
Changed broken conf in install/conf.d/datasources.ini + message enhancement for invalid configuration key
2016-06-01 10:10:34 +02:00
Yann
67c53443b5
Activated raise on invalid settings + enhancement in Settings exceptions
2016-05-25 16:34:42 +02:00
Yann
f8e8750eec
Progress in datasource as plugin implementation
2016-05-25 16:00:34 +02:00
Yann
6fb04a69fb
Documentation on datasources plugins + confspec updates in validator.py
...
+ a new validator named 'string', it tries to cast the conf value using str()
2016-05-25 15:08:00 +02:00
Yann
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
2016-05-18 17:00:39 +02:00
Yann
85d11c0376
Nice exceptions for settings validation fails
2016-05-18 16:07:47 +02:00
Yann
d7ae15e0bd
Validators update
...
- fixes exceptions output
- add "none" validator that validates only None
2016-05-18 16:06:00 +02:00
prieto
9497130e8b
Add Save of Settings, EM translator in xml
2016-05-18 09:53:16 +02:00
prieto
0c65414dda
22/04/2016
2016-04-22 17:04:55 +02:00
prieto
2dd2c3cc34
Set
2016-04-22 12:16:40 +02:00
prieto
25b5f32061
Sauvegarde de la configuration lors de modifications
2016-04-22 10:15:26 +02:00
prieto
48165e0fcb
Ajouts
2016-04-21 17:01:12 +02:00
prieto
ee795f539d
modifs
2016-04-21 15:31:37 +02:00
prieto
4f733b26e0
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
2016-04-21 14:56:57 +02:00
prieto
92921708ca
Settings loader en rw
2016-04-21 14:56:02 +02:00
Yann
a312cbc4d9
First version of lodel2 instance creation script
2016-04-21 11:51:57 +02:00
Yann
d30f3e189f
[1 test fail] Updated the settings to prepare them to be writable + more tests
2016-04-21 09:41:06 +02:00
Yann
7897203830
Add SettingsLoader.getremains() test + code refactoring in SettingsLoader
2016-04-20 14:45:26 +02:00
Yann
3ed55fdc29
Some modifications + tests update for settings loader
2016-04-20 11:08:46 +02:00
Yann
4f542e0866
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
2016-04-13 11:41:37 +02:00
Yann
8659e91f43
Fixing settings & logger
2016-04-13 11:41:14 +02:00
prieto
59342cd315
13042016
2016-04-13 10:58:23 +02:00
prieto
e42af4dfa8
corrections
2016-04-12 16:36:37 +02:00
prieto
b3eb8134b6
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
2016-04-12 14:39:32 +02:00
prieto
49893e877e
Corrections
2016-04-12 14:36:53 +02:00
Yann
e0717c9317
More comments + a script to list default settings validators
2016-04-12 14:35:35 +02:00
Yann
c5971d9590
Updated comments (and deleting space between ## and @brief )
2016-04-12 12:16:52 +02:00
Yann
d360b11af0
Changing behavior when no settings loaded
2016-04-12 10:12:53 +02:00
Yann
7ef1bd8a2f
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
2016-04-12 09:48:21 +02:00
Yann
2404c53fef
Add a loader for tests in order to bootstrap settings
2016-04-12 09:47:56 +02:00
prieto
c7a218f251
names of variables
2016-04-12 09:30:32 +02:00
Yann
c0c5d23adb
Commit with comments, code clean etc.
2016-04-12 09:20:16 +02:00
prieto
8156104d1d
corrections
2016-04-11 17:28:25 +02:00
prieto
25c787051a
corrections
2016-04-11 17:08:12 +02:00
prieto
c887008dc3
corrections
2016-04-11 17:06:30 +02:00
Yann
acb415f977
Settings and plugins first implementation
2016-04-11 15:23:51 +02:00
Yann
4c2d83e8d5
Settings validators implementation
2016-04-11 15:12:03 +02:00
prieto
40d2df4f05
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
2016-04-11 14:56:43 +02:00
prieto
ebc3e742c7
Settings
2016-04-11 14:54:39 +02:00