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
9 years ago
Yann Weber
ba6cffbd03
Updated em json files
9 years ago
Yann Weber
4556de146a
Updated install/em.json
9 years ago
Roland Haroutiounian
aadf063a10
[#101 ] Fixed the template creation process
9 years ago
Roland Haroutiounian
ba725a5cdb
[#101 ] The makefile is now creating the templates of an instance of Lodel2, extending the basis templates
9 years ago
Roland Haroutiounian
7831378575
Makefile contains a command to create the default directories of an instance
9 years ago
Roland Haroutiounian
6161420eed
[#101 ] A default templates_base_directory can be set in the instance settings
9 years ago
Yann Weber
f2a54b72cd
Comments update for doxygen doc
Now we have a main page on doxygen
9 years ago
Yann Weber
fe6a6f4059
Adding the emgraph rule in install/Makefile
9 years ago
Yann Weber
1aa64505eb
Add a new Makefile rule for instance emgraph that will generate an image representing the instance editorial model
9 years ago
Yann Weber
312bfce1cb
Update of the install/instance_settings.py file
9 years ago
Yann Weber
d5b866512c
New settings handler
9 years ago
Yann Weber
e44dbcbad8
Add -f option to rm in Makefiles and changes 2 properties names in generated code
9 years ago
Yann Weber
6a55df202e
Changed the way to instanciate the MigrationHandler to fit with the DataSource
9 years ago
Yann Weber
ee8de38391
Better refreshdyn in install/Makefile
9 years ago
Yann Weber
f033b6c85b
Updated install/loader.py to handle settings
9 years ago
Yann Weber
06a86af67f
README.md + install/Makefile update
9 years ago
Yann Weber
4b4e465bb6
Implements utils function in LeType add_superior (hierarchy) and link_with (rel2type) and add a forgotten file
Implements a utils method in _LeRel2Type to fetch a rel2type leapi class name given a superior and a subordinate
9 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