Yann Weber
6fc931f52e
Bugfix in MONOSITE mode
8 years ago
Yann Weber
e31adfda8e
Bugfixes in numerous import processes
Replace some old pure python import by LodelContext calls
Change the plugins imports methods to use LodelContext instead
Fixes dyncode exposure method
8 years ago
Yann Weber
0f6efd899a
Enables more verbose messages for module overwriting
8 years ago
Yann Weber
8d4b764472
Commenting and reorganising code of lodel/context.py
8 years ago
Yann Weber
dbcccb2bbf
Now we can use LodelContext with the with statement
8 years ago
Yann Weber
b2e904ad58
Changed loader context behavior
Now the loader context is threated like the others (it loads it's libs from a symlink, before it was loading them from lodel package)
8 years ago
Yann Weber
a21e0be25f
Fixing multisite loading process & dyncode bootstrapping
- a "normal" import was left in lefactory_common
- the hook triggering datasources init in dyncode was not called
- dyncode was not exposed in the loader (making hook call useless : the hook has to be called once the dyncode has been "seen" (imported) by python)
8 years ago
Yann Weber
9ceb726a4a
Attempt to expose dyncode in contexts + bugfixes
8 years ago
Yann Weber
e3b8e49060
Bugfixes in context and webui in order to test multisite
Regression may have been introduced about MONOSITE mode
8 years ago
Yann Weber
773ea0e696
LodelContext enhancement to fit the new loader
+ uses the changes in the preload method
8 years ago
Yann Weber
5e46a8f791
Load context now uses the original lodel package as context
8 years ago
Yann Weber
ae84b591bd
Added a new reserved context name for loading steps
- the reserved context is create and set at init time by the LodelContext.init method
- allows to use lodel libs will loading
- no special features implemented yet
8 years ago
Yann Weber
0406e91846
Moved plugins folder in lodel/
- updated scripts etc
- make tests pass
8 years ago
Yann Weber
250f4b8683
LodelContext.from_path enhancement
Method is now disabled in MONOSITE mode
8 years ago
Yann Weber
fbbfd35111
syntax bugfix
8 years ago
prieto
50560c8496
Changes to slim for LodelContext
8 years ago
Roland Haroutiounian
360a60fee7
LodelContext is used in the lodelsite starting process
8 years ago
Yann Weber
1257e49de6
Add the possibility to indicate an alias when exposing a list of objects
Changed the exposure specs to allow giving an alias for an object when importing using the from x import y,z form
8 years ago
Yann Weber
572c408a79
POC of context manager to handle virtual lodel packages
8 years ago