Yann
86fd28e64a
Bugfix in instance default config
2016-06-09 15:00:41 +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
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"
2016-06-07 14:24:16 +02:00
Yann
3adad7bb02
Now plugins can check EM and invalidate activation
...
They have to implement a _activate() method in their __init__.py file
2016-06-01 17:10:26 +02:00
Yann
43911cdfe4
loader enhancement
2016-06-01 16:58:00 +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
d24f15776b
create_instance script update
...
now using examples/em_test.pickle as editorial model for new instances
2016-05-27 13:21:47 +02:00
Yann
a7c69629e7
Introducing a datasource attribute by em_class
2016-05-27 10:49:17 +02:00
Yann
f8e8750eec
Progress in datasource as plugin implementation
2016-05-25 16:00:34 +02:00
Yann
6b5f377dc2
Regroup all code concerning webui in plugins/webui
2016-05-20 17:42:28 +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
8b702a4cc1
uwsgi run.py updates
...
- load variables from settings
- import loader.py
2016-05-18 16:14:51 +02:00
Yann
c7b583d416
New webui plugin + create_instance.sh update
...
- create_instance.sh create some symbolic links
- webui plugin that add webui configuration variable
2016-05-18 16:12:40 +02:00
Yann
a312cbc4d9
First version of lodel2 instance creation script
2016-04-21 11:51:57 +02:00
Roland Haroutiounian
5cae70382a
Cleaning the folder hierarchy
2016-03-18 09:58:26 +01:00
Yann
3325e8ee16
Change the hardcoded listen addr in netipy.py
2016-02-24 08:59:50 +01:00
Yann
1d6dc1ad89
Updated netipy client to disables console logging + add a security logging instruction to dummy_auth plugin
2016-02-22 14:40:41 +01:00
Yann
a1ea4c5769
Add a netipy (network interactive python) interface to install folder + settings modification
2016-02-19 17:18:42 +01:00
Yann
cb9b53e7a2
Hooks & plugins first implementation
2016-02-18 14:54:47 +01:00
Yann
d4504df92a
Bugfix for Em MlString translations + me.json update
2016-01-22 16:05:04 +01:00
Yann
ba6cffbd03
Updated em json files
2016-01-22 12:14:14 +01:00
Yann
4556de146a
Updated install/em.json
2016-01-21 10:55:32 +01:00
Roland Haroutiounian
aadf063a10
[ #101 ] Fixed the template creation process
2016-01-14 09:58:34 +01:00
Roland Haroutiounian
ba725a5cdb
[ #101 ] The makefile is now creating the templates of an instance of Lodel2, extending the basis templates
2016-01-14 09:46:12 +01:00
Roland Haroutiounian
7831378575
Makefile contains a command to create the default directories of an instance
2016-01-13 12:26:10 +01:00
Roland Haroutiounian
6161420eed
[ #101 ] A default templates_base_directory can be set in the instance settings
2016-01-08 16:07:31 +01:00
Yann
f2a54b72cd
Comments update for doxygen doc
...
Now we have a main page on doxygen
2016-01-08 13:52:37 +01:00
Yann
fe6a6f4059
Adding the emgraph rule in install/Makefile
2016-01-08 11:30:38 +01:00
Yann
1aa64505eb
Add a new Makefile rule for instance emgraph that will generate an image representing the instance editorial model
2016-01-08 11:28:03 +01:00
Yann
312bfce1cb
Update of the install/instance_settings.py file
2016-01-07 17:09:12 +01:00
Yann
d5b866512c
New settings handler
2016-01-07 17:09:12 +01:00
Yann
e44dbcbad8
Add -f option to rm in Makefiles and changes 2 properties names in generated code
2016-01-07 13:52:39 +01:00
Yann
6a55df202e
Changed the way to instanciate the MigrationHandler to fit with the DataSource
2016-01-06 16:31:50 +01:00
Yann
ee8de38391
Better refreshdyn in install/Makefile
2016-01-06 15:39:05 +01:00
Yann
f033b6c85b
Updated install/loader.py to handle settings
2016-01-06 14:03:34 +01:00
Yann
06a86af67f
README.md + install/Makefile update
2016-01-06 11:32:42 +01:00
Yann
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
2015-12-02 16:09:48 +01:00
Yann
4383606fbb
Write an instance creation script and replace the SQLMigrationHandler by the MysqlMigrationHandler
...
see README.md for more informations about instance creation
2015-12-02 14:47:50 +01:00