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 年前
Yann Weber
e9f8f5e054
Bugfixes makin index of webinterface to work in MULTISITE
8 年前
Yann Weber
9ceb726a4a
Attempt to expose dyncode in contexts + bugfixes
8 年前
Yann Weber
7be6e80e1d
Deleted useless exposed module
8 年前
Yann Weber
e3b8e49060
Bugfixes in context and webui in order to test multisite
Regression may have been introduced about MONOSITE mode
8 年前
Yann Weber
4b3ebcabe8
Various bugfixes
concerning unittest & field validators
8 年前
Roland Haroutiounian
29253424f4
Small fixes
8 年前
Yann Weber
edb8dde101
Deployment bugfixes
Fixes problems with plugins
8 年前
prieto
4e4190298b
Multisite loader - correction
8 年前
prieto
3dfe523c5a
Multisite loader
8 年前
Yann Weber
773ea0e696
LodelContext enhancement to fit the new loader
+ uses the changes in the preload method
8 年前
Roland Haroutiounian
fb45b2bb4e
bugfix in loader.py
8 年前
Roland Haroutiounian
1607c99d7b
Deleted a useless import in the loader module in the multisite plugin
8 年前
Roland Haroutiounian
44a674d99b
The preload function is getting its contexts directly from LodelContexts._contexts
8 年前
Roland Haroutiounian
8521a393c1
Added the plugins loading to the preload
8 年前
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
8 年前
Roland Haroutiounian
9a8a615893
Added a loader module in the multisite plugin
8 年前
Yann Weber
2a7c196bfb
Solves the client socket leak bug in forking wsgi server
8 年前
Yann Weber
0aaadb3d2d
Overwrite default socketserver.ForkingMixIn max_children limit
8 年前
Yann Weber
5e46a8f791
Load context now uses the original lodel package as context
8 年前
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 年前
Yann Weber
0406e91846
Moved plugins folder in lodel/
- updated scripts etc
- make tests pass
8 年前
Yann Weber
250f4b8683
LodelContext.from_path enhancement
Method is now disabled in MONOSITE mode
8 年前
Yann Weber
fbbfd35111
syntax bugfix
8 年前
prieto
50560c8496
Changes to slim for LodelContext
8 年前
Roland Haroutiounian
360a60fee7
LodelContext is used in the lodelsite starting process
8 年前
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.
8 年前
Yann Weber
8085efeb99
Replaced all lodel subthings import by LodelContext.expose_modules calls
Test passes
8 年前
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 年前
Yann Weber
572c408a79
POC of context manager to handle virtual lodel packages
8 年前
prieto
2d8a9811e6
Some adjustments and corresions
8 年前
Yann Weber
0b60a24582
Bugfixes on back reference handling for singleRef solves #154
8 年前
Yann Weber
2010fb29e8
empty method implementation for Reference objects
8 年前
Yann Weber
949320298d
Another bugfix on get_from_uid LeObject method
When not found return None and do not try to run len() on None
8 年前
Yann Weber
8a1aef8d68
Enhancement of LeObject get_from_uid method
Return an instance and not a list of len 1 anymore
8 年前
Yann Weber
78e3dca30b
MultipleRef datahandlers bugfixes
In construct and check data
8 年前
prieto
e4214a1705
Bugfixes
8 年前
prieto
43bf90d1ca
Bugfixes
8 年前
prieto
d7b2feb35a
Bugfixe
8 年前
prieto
f9000bbc83
Bugfixes
8 年前
Yann Weber
8f48612c82
Enables debian package creation
with make deb . Next commit will update the README
8 年前
Yann Weber
629ac94dc8
Avoiding fails at session_restore
Before when session restore fails the webui was answering "Unknown status 200" as content.
Now it produce 2 log messages (maybe)
8 年前
Yann Weber
58b88b0b97
[broken] Fixes validator issues + confspec call
broken nginx conf + absolute path in slim that is known only at build time
8 年前
Yann Weber
a51e0a37cf
fix a comment
8 年前
Yann Weber
9e3f66b403
Bugfix in autotools dist make target
8 年前
Yann Weber
39a5ba77cc
Small bugfix in plugins error message
8 年前
Yann Weber
ca4952a264
webui & slim enhancement
Adds a LODEL2LOGDIR to buildconf.py
Adds a nginx-conf option to slim
...
8 年前
Yann Weber
43ca4e4c52
Add a data to buildconf.py
It a real buildtime variable, the localestatedir
8 年前
m.orban
556bea1f73
Added comment to bases_classes
8 年前
Yann Weber
e6e4a03a27
Enhancement in SLIM capabilities + bugfixes in install process
SLIM is now able to edit configuration from CLI, to start instances etc.
8 年前