Yann Weber
dbcccb2bbf
Now we can use LodelContext with the with statement
7 년 전
Yann Weber
4310f73935
Updated logger to display loaded context in log messages
WARNING : not fully tested
7 년 전
Yann Weber
ab0e5146dd
Updates the multisite loader to enable loader settings & logger
7 년 전
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)
7 년 전
Yann Weber
0ffe60ff2b
Modifying settings class to allow usage of custom confspecs
a bit dirty & quick
7 년 전
Yann Weber
b44113b74a
Fixing import in logger plugins & datasource_plugin
7 년 전
prieto
30ad11d1b6
Added import sys
7 년 전
Yann Weber
f4c88e9555
Bugfix in mongodb datasource select ordering
They were a bug when ordering stuff contains 2 values that are equals
7 년 전
Yann Weber
d58f67987c
Uncomment rm in runtest
was disabled for debugging...
7 년 전
Yann Weber
df8a088024
Bugfix on regression caused by previous bugfix
Previous bugfix on runtest & create instance brokes deployment, now both seems to work fine
7 년 전
Yann Weber
8c5a442e7c
Bugfixes in create_instance and in all runtest process
7 년 전
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)
7 년 전
Yann Weber
8da7d5fbc7
Updated README and debian package dependencies
7 년 전
Yann Weber
e9f8f5e054
Bugfixes makin index of webinterface to work in MULTISITE
7 년 전
Yann Weber
9ceb726a4a
Attempt to expose dyncode in contexts + bugfixes
7 년 전
Yann Weber
c97d8e2eec
Bugfixe in deployment via autotools
lodelsites was created inside the lodel directory
7 년 전
Yann Weber
7be6e80e1d
Deleted useless exposed module
7 년 전
Yann Weber
e3b8e49060
Bugfixes in context and webui in order to test multisite
Regression may have been introduced about MONOSITE mode
7 년 전
Yann Weber
4b3ebcabe8
Various bugfixes
concerning unittest & field validators
7 년 전
Roland Haroutiounian
29253424f4
Small fixes
7 년 전
Yann Weber
edb8dde101
Deployment bugfixes
Fixes problems with plugins
7 년 전
Yann Weber
292c0dd6b9
Bugfixes in autotools chain and in debian packages
7 년 전
prieto
4e4190298b
Multisite loader - correction
7 년 전
prieto
3dfe523c5a
Multisite loader
7 년 전
Yann Weber
70a3aa8529
Revert changes of previous commit
7 년 전
prieto
e1ef8f0d4c
loader multisite
7 년 전
Yann Weber
2195ca15af
Merge branch 'context_manager_poc' of git.labocleo.org:lodel2 into context_manager_poc
Conflicts:
lodel/plugins/multisite/loader.py
7 년 전
Yann Weber
773ea0e696
LodelContext enhancement to fit the new loader
+ uses the changes in the preload method
7 년 전
Roland Haroutiounian
fb45b2bb4e
bugfix in loader.py
7 년 전
Roland Haroutiounian
1607c99d7b
Deleted a useless import in the loader module in the multisite plugin
7 년 전
Roland Haroutiounian
44a674d99b
The preload function is getting its contexts directly from LodelContexts._contexts
7 년 전
Roland Haroutiounian
8521a393c1
Added the plugins loading to the preload
7 년 전
Yann Weber
9668aed506
Enhancement of multisite WSGIServer
- found a way to make it implements the socketserver.ForkinTCPServer features reducing the global code size (and removed a lot of dirty copy & paste from cpython sources)
- deleted useless imports
7 년 전
Roland Haroutiounian
9a8a615893
Added a loader module in the multisite plugin
7 년 전
Yann Weber
2a7c196bfb
Solves the client socket leak bug in forking wsgi server
7 년 전
prieto
30a8b8238a
Come back
7 년 전
Yann Weber
0aaadb3d2d
Overwrite default socketserver.ForkingMixIn max_children limit
7 년 전
Yann Weber
5e46a8f791
Load context now uses the original lodel package as context
7 년 전
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
7 년 전
Yann Weber
0406e91846
Moved plugins folder in lodel/
- updated scripts etc
- make tests pass
7 년 전
Yann Weber
250f4b8683
LodelContext.from_path enhancement
Method is now disabled in MONOSITE mode
7 년 전
Yann Weber
fbbfd35111
syntax bugfix
7 년 전
prieto
f5f33167af
Added cp_loader
7 년 전
Yann Weber
c5522816fe
Starting implementation of the forking webserver
The server is listening, fork on new request, and then loads the context from URL.
Now we have to call properly the webui plugin in order to answer the request
7 년 전
prieto
2daf715b61
Changes to slim for LodelContext - some corrections
7 년 전
prieto
ec0208a0aa
Changes to slim for LodelContext - corrects is_running
7 년 전
prieto
50560c8496
Changes to slim for LodelContext
7 년 전
Roland Haroutiounian
360a60fee7
LodelContext is used in the lodelsite starting process
7 년 전
Yann Weber
5981bdc0e5
Various bugfix in LodelContext integration
- Replaced some "hidden" import with LodelContext.expose_modules calls
- in some functions of Setting, Plugin, validator
- in loader.py (temporary version)
In this state the tests runs (151 success), I'm able to run an instance (from debian package using slim) in MONOSITE mode and in MULTISITE mode by creating and loading a context in the loader.
7 년 전
Yann Weber
d3f4a0d8d3
Bugfix with debian package build
Add the lodelsites directory to the autotools chain. Note : for the moment it's a dirty POC, we have to do it in a cleaner way...
7 년 전