Yann Weber
d2f1614dc6
cbl bugfix for creation count parameter
8 years ago
Yann Weber
b3b1f9d3ee
Code factorisation
8 years ago
Yann Weber
2be79e50f0
Changes & bugfix in lodel.plugin.plugins
There were manual import through importlib, we have to replace them with LodelContext calls.
Actually the plugins module is in a dirty state....
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
prieto
dac3e50d12
Small enhancement og interface
8 years ago
prieto
5afd2c4718
Correction in in datasource, small correction in cbl
8 years ago
Yann Weber
471d99d3d9
Bugfixes in webui admin controler and in mongo datasource
8 years ago
prieto
dcccfa1db7
Oubli / pour le répertoire static
8 years ago
Yann Weber
ce9e64ac8e
em_test bugfix
added a default value for Subsection parent field
8 years ago
Yann Weber
87c7e4c78e
Small enhancement in cbl.sh
8 years ago
Yann Weber
882a3baacb
em_test update
adds a default value to Publication collection field
8 years ago
Yann Weber
32e2579350
Bugfix in Reference DataHandler instanciation
**kwargs was not given to super() constructor
8 years ago
Yann Weber
4df8bdea89
Webui admin controller bugfix & factorisation
Implements a new exception class for webui : HttpErrors that uses a new template : errors.html to display multiples errors
8 years ago
prieto
e1352fccb7
Add nginx configuration for static files
8 years ago
Yann Weber
bc060ee63d
Add options to cbl script
8 years ago
Yann Weber
0f6efd899a
Enables more verbose messages for module overwriting
8 years ago
Yann Weber
742e77225a
Add a fogotten file
8 years ago
Yann Weber
8d4b764472
Commenting and reorganising code of lodel/context.py
8 years ago
Yann Weber
fc7c74660b
Debuging logger for multicontext environment
Before we were calling the logging.getLogger function without argument. The result was
that all contexts were sharing the same logger (and every message were logged X time with
X the number of loaded context).
Now getLogger is called with the context id as argument, each context has its own logger.
8 years ago
Yann Weber
dbcccb2bbf
Now we can use LodelContext with the with statement
8 years ago
Yann Weber
4310f73935
Updated logger to display loaded context in log messages
WARNING : not fully tested
8 years ago
Yann Weber
ab0e5146dd
Updates the multisite loader to enable loader settings & logger
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
0ffe60ff2b
Modifying settings class to allow usage of custom confspecs
a bit dirty & quick
8 years ago
Yann Weber
b44113b74a
Fixing import in logger plugins & datasource_plugin
8 years ago
prieto
30ad11d1b6
Added import sys
8 years ago
Yann Weber
f4c88e9555
Bugfix in mongodb datasource select ordering
They were a bug when ordering stuff contains 2 values that are equals
8 years ago
Yann Weber
d58f67987c
Uncomment rm in runtest
was disabled for debugging...
8 years ago
Yann Weber
df8a088024
Bugfix on regression caused by previous bugfix
Previous bugfix on runtest & create instance brokes deployment, now both seems to work fine
8 years ago
Yann Weber
8c5a442e7c
Bugfixes in create_instance and in all runtest process
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
8da7d5fbc7
Updated README and debian package dependencies
8 years ago
Yann Weber
e9f8f5e054
Bugfixes makin index of webinterface to work in MULTISITE
8 years ago
Yann Weber
9ceb726a4a
Attempt to expose dyncode in contexts + bugfixes
8 years ago
Yann Weber
c97d8e2eec
Bugfixe in deployment via autotools
lodelsites was created inside the lodel directory
8 years ago
Yann Weber
7be6e80e1d
Deleted useless exposed module
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
4b3ebcabe8
Various bugfixes
concerning unittest & field validators
8 years ago
Roland Haroutiounian
29253424f4
Small fixes
8 years ago
Yann Weber
edb8dde101
Deployment bugfixes
Fixes problems with plugins
8 years ago
Yann Weber
292c0dd6b9
Bugfixes in autotools chain and in debian packages
8 years ago
prieto
4e4190298b
Multisite loader - correction
8 years ago
prieto
3dfe523c5a
Multisite loader
8 years ago
Yann Weber
70a3aa8529
Revert changes of previous commit
8 years ago
prieto
e1ef8f0d4c
loader multisite
8 years ago
Yann Weber
2195ca15af
Merge branch 'context_manager_poc' of git.labocleo.org:lodel2 into context_manager_poc
Conflicts:
lodel/plugins/multisite/loader.py
8 years ago
Yann Weber
773ea0e696
LodelContext enhancement to fit the new loader
+ uses the changes in the preload method
8 years ago
Roland Haroutiounian
fb45b2bb4e
bugfix in loader.py
8 years ago
Roland Haroutiounian
1607c99d7b
Deleted a useless import in the loader module in the multisite plugin
8 years ago
Roland Haroutiounian
44a674d99b
The preload function is getting its contexts directly from LodelContexts._contexts
8 years ago