Yann Weber
a03f6f58ec
Deleted debug print in lodel.context
7 år sedan
Yann Weber
745446f6e3
Bugfix in site loading in multisite
The dyncode has to be boostraped after plugin preload and before plugin
full load (the plugins_loaded hook triggers dyncode datasource init)
7 år sedan
Yann Weber
366f56059f
LodelContext enhancement
Now a static dict is stored designed to stores imported module by context
7 år sedan
Yann Weber
a9c457d38f
Bugfix in model groups activation
7 år sedan
Yann Weber
71213ef58e
Bugfix on multisite dyncode generation
The handled sites groups were not read from settings
7 år sedan
Yann Weber
6d8d3fd021
Various bugfix & enhancement
Better checks for datasources initialisation
The dyncode were not bootstraped by bootstrap.site_load() function
7 år sedan
Yann Weber
3c41d40072
Bugfix in multisite template
The both em pickle files were the same
7 år sedan
Yann Weber
e17c4f4468
Enhancement in webui router : replacing imports
using LodelContext.expose_modules instead of imports
7 år sedan
Yann Weber
ac75d1cd71
Bugfix on multisite web run
Now able to run multisite and handled sites. Some addaptations are needed
because handled childs always return 404
7 år sedan
Yann Weber
56cd806ceb
Bugfix in various loader & bootstrap functions
Now we are able to generate dyncode for lodelsites and handled sites (
tested with only 1 handled site) using lodel_admin.py dyncode -a
7 år sedan
Yann Weber
bdb7007525
Bugfix on multisite run process
7 år sedan
Yann Weber
ff1baa4467
Small bugfix on lodel_admin.py dyncode
Now it seems to work when no handled sites registered
7 år sedan
Yann Weber
10332f3f87
Bugfix in bootstrap get_handled_sites_name()
Was missing : full plugin loading & hooks calls
7 år sedan
Yann Weber
f1eb6ac41a
Bugfix in hanlded sites gathering
7 år sedan
Yann Weber
f620b4e31b
Debuging lodel_admin dyncode action
Now following commands seems to work (on default multisite template) :
python3 lodel_admin.py dyncode
python3 lodel_admin.py dyncode -m sites_em.pickle -o sites_leapi_dyncode.py
7 år sedan
Yann Weber
82a6ab95c3
Bugfix in bootstrap lodelsites preloading
7 år sedan
Yann Weber
773f6cdd06
Bugfix in name guess in bootstrap module
7 år sedan
Roland Haroutiounian
ceee53c5bb
Import issue fix
7 år sedan
Yann Weber
ffd4ef21d5
Begin to fix some boostraping problems
Moved some function from plugin specific code to the bootstrap module
+ some bugfixes
7 år sedan
Yann Weber
3e3b4740da
Small bugfix & enhancement
7 år sedan
Yann Weber
286e3ffe10
Updated builconf with lodel package path
7 år sedan
Yann Weber
97b59379f4
Bugfixing lodelsites datasource
7 år sedan
Yann Weber
689d6556c3
Updates lodelsites conf template
7 år sedan
Yann Weber
a567abc187
Implements inconsistency detection between db & fs
In multisite loader utils
7 år sedan
Yann Weber
b5f9f97031
Bugfix & compatibility for webui
In this state I was able to insert a new site. But only the mongodb datasource
seems to have receive the query (inserted in DB but not created on FS).
7 år sedan
Yann Weber
4cd5be0147
Fixes #204
7 år sedan
Yann Weber
2f6cdd279d
Add a missing file
7 år sedan
Yann Weber
47fa14e566
Merge branch 'master' into lodelsites-dev
Conflicts:
lodel/editorial_model/components.py
lodel/editorial_model/model.py
lodel/plugin/plugins.py
lodel/plugins/Makefile.am
lodel/plugins/webui/templates/admin/editable_component.html
lodel/validator/validator.py
Revert:
lodel/validator/validator.py 3d51695ea6
The hook HAS TO be registered even if not value !
7 år sedan
prieto
cdd13d9b4b
Delete is_exist
7 år sedan
Yann Weber
c3aa0aa85c
Updated em pickle representation
7 år sedan
Yann Weber
cad6962fea
Bugfix in webui
Deleted hardcoded Object class name + adding support for varchar & text
in editable_component template
7 år sedan
Yann Weber
236861083f
Adapting plugins to implements a multisite web interface
7 år sedan
Roland Haroutiounian
3899753023
Documentation on the lodel.leapi.datahandlers.datas module
7 år sedan
Roland Haroutiounian
d23e0fd9d4
Added documentation to the lodel.editorial_model.translator package
7 år sedan
Roland Haroutiounian
03cd76ff69
Documentation for the lodel.editorial_model.exceptions module
7 år sedan
Yann Weber
5467df8184
Fixing multisite loader
Now it seems to work. Tested using :
dummy datasource, no handled sites, ipython ui
7 år sedan
Roland Haroutiounian
d39f9784c4
Changed the documentation of the lodel.editorial_model.exceptions module
7 år sedan
Roland Haroutiounian
ce28dc134f
Changed the documentation in the editorial_model.translator.xmlfile module
7 år sedan
Yann Weber
95305a88ba
Add a small workarround for sicover plugin in multisite
Conditionnal plugins path given the context type (mono or multi site)
7 år sedan
Yann Weber
d3b88c06b2
Begin LodelContext addaptation in order to support dyncodes
Now the directory tree looks like :
.sites_context/lodelsites/NAME/__init__.py
.sites_context/lodelsites/NAME/leapi_dyncode.py
.sites_context/lodelsites/NAME/lodel/ <- symlink
7 år sedan
Yann Weber
8006bfb080
Now lodel_admin.py dyncode seems functionnal on multisite
Only tested for lodelsites instance
7 år sedan
Yann Weber
63f6143003
Typo fixing
7 år sedan
Yann Weber
f2a8578981
Bugfixes in dyncode core_script
7 år sedan
Yann Weber
ee6db4f895
Bugfix about pickle translator & LodelContext
The is_instance test on classes loaded from a pickle file is not
relevant :
lodel.editorial_model.components.EmClass != lodelsites.__loader__.editorial_model.components.EmClass
7 år sedan
Yann Weber
6e4942c6a9
Bugfix on lodeladmin allowing to run dyncode update
There is a problem left : when dyncode runs an error is triggered telling
that no active clases were found
7 år sedan
Roland Haroutiounian
595e7a67ad
Fixed the documentation of lodel.editorial_model.translator.picklefile
7 år sedan
Roland Haroutiounian
142f259a43
Added documentation for the picklefile module
7 år sedan
Roland Haroutiounian
e447da53f0
Added comments in the documentation of the auth package
7 år sedan
Roland Haroutiounian
8a7ac08c9d
Updated the documentation of the lodel.auth package
7 år sedan
Yann Weber
f9ade94a06
Merged server.conf.d and lodelsites_conf.d for lodelsites
Now both __loader__ and lodelsites contexts are using the same configuration
files and the same confspecs.
7 år sedan