1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2025-12-28 03:36:55 +01:00
Commit graph

56 commits

Author SHA1 Message Date
Yann
42fc14d7cc Add a new settings validator named emfield
Check that an EmClass.EmField exsists in dyncode
2016-07-06 17:33:43 +02:00
Yann
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
2016-07-06 09:17:47 +02:00
Yann
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
2016-06-30 11:18:33 +02:00
Yann
ae8d8c05a6 Bugfix on EM groups handling (now we have to set actives groups in settings) 2016-06-29 14:35:12 +02:00
Yann
996bc334a1 Bugfixes + code clean 2016-06-22 16:28:39 +02:00
Yann
71cdb2e75d Implements a new make target to list registered hooks in an instance 2016-06-22 16:04:14 +02:00
Yann
329a69ad61 Update README.txt and install/Makefile 2016-06-17 16:52:47 +02:00
Yann
27969719ac Cleaning now useless LodelHook call and import 2016-06-17 16:49:08 +02:00
Yann
13a2d157e3 Database initialization function written 2016-06-17 16:47:09 +02:00
Yann
e3dbdc8e49 Untested but written db initialisation function in install/lodel_admin.py 2016-06-17 14:57:54 +02:00
Yann
9b3087b363 Continue to prepare MigrationHandler database initialization script 2016-06-16 17:36:00 +02:00
Yann
006b0c4bc0 Deleting old stuff + bugfix in install/Makefile and in install/lodel_admin.py 2016-06-16 15:57:13 +02:00
Roland Haroutiounian
1ccd19c43c starting the implementation of the init all dbs script (makefile and function declaration) 2016-06-16 14:48:18 +02:00
Yann
ee06ccf1eb Bugfix in webui plugin
Avoid useless impossible import by putting confpsec in a dedicated file
2016-06-15 17:18:35 +02:00
Yann
22dbedf781 Test runner enhancement
Now it support -v and -f options (kind of dirty support for the moment...)
2016-06-15 12:10:07 +02:00
Yann
0404ded91f Small fixe in runtest 2016-06-15 12:05:50 +02:00
Yann
a3b3102604 New way to run test via loader & conf 2016-06-15 12:01:11 +02:00
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