prieto
170eabee69
python import instead of expose_module, LodelContext still used for getting module and other stuff
7 years ago
Yann Weber
fa8bf06f15
Make runtest.sh exit status consistent solves #249
7 years ago
prieto
610b4d4f55
Tests enhancements 3
7 years ago
prieto
f612e62fbc
Tests enhancements
7 years ago
Yann Weber
8c5a442e7c
Bugfixes in create_instance and in all runtest process
8 years ago
Yann Weber
4b3ebcabe8
Various bugfixes
concerning unittest & field validators
8 years ago
Yann Weber
edb8dde101
Deployment bugfixes
Fixes problems with plugins
8 years ago
Yann Weber
70a3aa8529
Revert changes of previous commit
8 years ago
prieto
e1ef8f0d4c
loader multisite
8 years ago
Yann Weber
0406e91846
Moved plugins folder in lodel/
- updated scripts etc
- make tests pass
8 years ago
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 years ago
Yann Weber
572c408a79
POC of context manager to handle virtual lodel packages
8 years ago
Yann Weber
e6e4a03a27
Enhancement in SLIM capabilities + bugfixes in install process
SLIM is now able to edit configuration from CLI, to start instances etc.
8 years ago
Yann Weber
ef2f8e3b30
Bugfixes and enhancement in slim.py
Now slim is able to create an instance, run make all, and start an interactive python without errors
refs #145
8 years ago
Yann Weber
4037a0c75f
First SLIM version
Able to :
- create/delete instances
- list instances
- run make %target% in all instances
- edit configuration given an instance name
refs #145
8 years ago
Yann Weber
a0335b668f
Deleted debug message
8 years ago
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 years ago
Yann Weber
3395f76238
Updated instance admin script and Makefile to be able to run plugins discover + webui upgrade
8 years ago
Yann Weber
42fc14d7cc
Add a new settings validator named emfield
Check that an EmClass.EmField exsists in dyncode
8 years ago
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 years ago
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 years ago
Yann Weber
ee06ccf1eb
Bugfix in webui plugin
Avoid useless impossible import by putting confpsec in a dedicated file
8 years ago
Yann Weber
22dbedf781
Test runner enhancement
Now it support -v and -f options (kind of dirty support for the moment...)
8 years ago
Yann Weber
0404ded91f
Small fixe in runtest
8 years ago
Yann Weber
a3b3102604
New way to run test via loader & conf
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
3adad7bb02
Now plugins can check EM and invalidate activation
They have to implement a _activate() method in their __init__.py file
8 years ago
Yann Weber
43911cdfe4
loader enhancement
8 years ago
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 years ago
Yann Weber
f8e8750eec
Progress in datasource as plugin implementation
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
a312cbc4d9
First version of lodel2 instance creation script
8 years ago
Roland Haroutiounian
5cae70382a
Cleaning the folder hierarchy
8 years ago
Yann Weber
1d6dc1ad89
Updated netipy client to disables console logging + add a security logging instruction to dummy_auth plugin
8 years ago
Yann Weber
cb9b53e7a2
Hooks & plugins first implementation
8 years ago
Yann Weber
d5b866512c
New settings handler
8 years ago
Yann Weber
f033b6c85b
Updated install/loader.py to handle settings
8 years ago
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 years ago