Yann Weber
a0335b668f
Deleted debug message
8 роки тому
Yann Weber
cddf221988
Lodel2 script helper class implementation (#122 )
- Allow to extend easily lodel_admin.py script.
- Writtent first lodel_admin.py action : discover-plugins
8 роки тому
Yann Weber
3395f76238
Updated instance admin script and Makefile to be able to run plugins discover + webui upgrade
8 роки тому
Yann Weber
42fc14d7cc
Add a new settings validator named emfield
Check that an EmClass.EmField exsists in dyncode
8 роки тому
Yann Weber
904d14cae7
Small changes in webui plugin and loader.py
- webui now calls a hook to indicate a session end
- loader.py now set a lodel.dyncode module exposing dynmically generated code
8 роки тому
Yann Weber
557d277186
Multiple bugfixes + create_instance.sh script update
- Add an update feature to create_instance.sh script
- Updated webui plugin load instruction (running loader.start() in run)
- Updated the way EmCmponents handles EmGroup
- Updated the way EmFields handles EmClass
- Updated xmlfile translator according to EmComponent modification
8 роки тому
Yann Weber
ee06ccf1eb
Bugfix in webui plugin
Avoid useless impossible import by putting confpsec in a dedicated file
8 роки тому
Yann Weber
22dbedf781
Test runner enhancement
Now it support -v and -f options (kind of dirty support for the moment...)
8 роки тому
Yann Weber
0404ded91f
Small fixe in runtest
8 роки тому
Yann Weber
a3b3102604
New way to run test via loader & conf
8 роки тому
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 роки тому
Yann Weber
3adad7bb02
Now plugins can check EM and invalidate activation
They have to implement a _activate() method in their __init__.py file
8 роки тому
Yann Weber
43911cdfe4
loader enhancement
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
f8e8750eec
Progress in datasource as plugin implementation
8 роки тому
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 роки тому
Yann Weber
a312cbc4d9
First version of lodel2 instance creation script
8 роки тому
Roland Haroutiounian
5cae70382a
Cleaning the folder hierarchy
8 роки тому
Yann Weber
1d6dc1ad89
Updated netipy client to disables console logging + add a security logging instruction to dummy_auth plugin
8 роки тому
Yann Weber
cb9b53e7a2
Hooks & plugins first implementation
8 роки тому
Yann Weber
d5b866512c
New settings handler
8 роки тому
Yann Weber
f033b6c85b
Updated install/loader.py to handle settings
8 роки тому
Yann Weber
4383606fbb
Write an instance creation script and replace the SQLMigrationHandler by the MysqlMigrationHandler
see README.md for more informations about instance creation
9 роки тому