Yann Weber
c1f627eb18
Add configurable stuff for the standalone server
Now listening address, listening port and max_children count can be configured using the Settings module
8 年之前
Yann Weber
31af31ded2
multisite server optimisation
Adding a cache for app module reducing seriously routing overhead
8 年之前
Yann Weber
c8f571f0b7
Deleting debug messaging of multisite standalone server
8 年之前
Yann Weber
e79cc4a9de
Enhancement of logger default options
8 年之前
Yann Weber
5f5a45569a
Make webui admin controller multivalue form input splitting more permissive
Now all "empty" values are deleted from the resulting array
8 年之前
Yann Weber
dd9f017b98
Now HttpException logs with lodel.logger
8 年之前
Yann Weber
b3b1f9d3ee
Code factorisation
8 年之前
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 年之前
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 年之前
prieto
dac3e50d12
Small enhancement og interface
8 年之前
prieto
5afd2c4718
Correction in in datasource, small correction in cbl
8 年之前
Yann Weber
471d99d3d9
Bugfixes in webui admin controler and in mongo datasource
8 年之前
Yann Weber
32e2579350
Bugfix in Reference DataHandler instanciation
**kwargs was not given to super() constructor
8 年之前
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 年之前
Yann Weber
0f6efd899a
Enables more verbose messages for module overwriting
8 年之前
Yann Weber
742e77225a
Add a fogotten file
8 年之前
Yann Weber
8d4b764472
Commenting and reorganising code of lodel/context.py
8 年之前
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 年之前
Yann Weber
dbcccb2bbf
Now we can use LodelContext with the with statement
8 年之前
Yann Weber
4310f73935
Updated logger to display loaded context in log messages
WARNING : not fully tested
8 年之前
Yann Weber
ab0e5146dd
Updates the multisite loader to enable loader settings & logger
8 年之前
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 年之前
Yann Weber
0ffe60ff2b
Modifying settings class to allow usage of custom confspecs
a bit dirty & quick
8 年之前
Yann Weber
b44113b74a
Fixing import in logger plugins & datasource_plugin
8 年之前
prieto
30ad11d1b6
Added import sys
8 年之前
Yann Weber
f4c88e9555
Bugfix in mongodb datasource select ordering
They were a bug when ordering stuff contains 2 values that are equals
8 年之前
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 年之前