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
ae8d8c05a6
Bugfix on EM groups handling (now we have to set actives groups in settings)
8 years ago
Yann Weber
996bc334a1
Bugfixes + code clean
8 years ago
Yann Weber
71cdb2e75d
Implements a new make target to list registered hooks in an instance
8 years ago
Yann Weber
329a69ad61
Update README.txt and install/Makefile
8 years ago
Yann Weber
27969719ac
Cleaning now useless LodelHook call and import
8 years ago
Yann Weber
13a2d157e3
Database initialization function written
8 years ago
Yann Weber
e3dbdc8e49
Untested but written db initialisation function in install/lodel_admin.py
8 years ago
Yann Weber
9b3087b363
Continue to prepare MigrationHandler database initialization script
8 years ago
Yann Weber
006b0c4bc0
Deleting old stuff + bugfix in install/Makefile and in install/lodel_admin.py
8 years ago
Roland Haroutiounian
1ccd19c43c
starting the implementation of the init all dbs script (makefile and function declaration)
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
86fd28e64a
Bugfix in instance default config
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
d6fbc5cfd1
Test editorial model updated to use two different datasources
- defining a new datasource named dummy2 in both tests conf and install/conf.d
- adding two class using the new datasource in em_test.py
- index : abtract class representing indexes (two fields, name & content)
- indextheme : thematic index, inheriting from index but with one more field "theme"
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
7e58988307
Changed broken conf in install/conf.d/datasources.ini + message enhancement for invalid configuration key
8 years ago
Yann Weber
d24f15776b
create_instance script update
now using examples/em_test.pickle as editorial model for new instances
8 years ago
Yann Weber
a7c69629e7
Introducing a datasource attribute by em_class
8 years ago
Yann Weber
f8e8750eec
Progress in datasource as plugin implementation
8 years ago
Yann Weber
6b5f377dc2
Regroup all code concerning webui in plugins/webui
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
8b702a4cc1
uwsgi run.py updates
- load variables from settings
- import loader.py
8 years ago
Yann Weber
c7b583d416
New webui plugin + create_instance.sh update
- create_instance.sh create some symbolic links
- webui plugin that add webui configuration variable
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
3325e8ee16
Change the hardcoded listen addr in netipy.py
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
a1ea4c5769
Add a netipy (network interactive python) interface to install folder + settings modification
8 years ago
Yann Weber
cb9b53e7a2
Hooks & plugins first implementation
8 years ago
Yann Weber
d4504df92a
Bugfix for Em MlString translations + me.json update
8 years ago
Yann Weber
ba6cffbd03
Updated em json files
8 years ago
Yann Weber
4556de146a
Updated install/em.json
8 years ago
Roland Haroutiounian
aadf063a10
[#101 ] Fixed the template creation process
8 years ago
Roland Haroutiounian
ba725a5cdb
[#101 ] The makefile is now creating the templates of an instance of Lodel2, extending the basis templates
8 years ago
Roland Haroutiounian
7831378575
Makefile contains a command to create the default directories of an instance
8 years ago
Roland Haroutiounian
6161420eed
[#101 ] A default templates_base_directory can be set in the instance settings
8 years ago
Yann Weber
f2a54b72cd
Comments update for doxygen doc
Now we have a main page on doxygen
8 years ago
Yann Weber
fe6a6f4059
Adding the emgraph rule in install/Makefile
8 years ago
Yann Weber
1aa64505eb
Add a new Makefile rule for instance emgraph that will generate an image representing the instance editorial model
8 years ago
Yann Weber
312bfce1cb
Update of the install/instance_settings.py file
8 years ago
Yann Weber
d5b866512c
New settings handler
8 years ago
Yann Weber
e44dbcbad8
Add -f option to rm in Makefiles and changes 2 properties names in generated code
8 years ago