Yann Weber
fcebf96031
More comments
7 anni fa
Yann Weber
b7197d8ea4
Adding some comments in multisite loader.py & run.py
7 anni fa
Yann Weber
6da005fa91
First commit of a single uWSGI serving X lodel2
Seems to works !! :)
7 anni fa
Yann Weber
4e71cc3ad4
show_object* template factorisation
+ bugfixes in show_object_detailled
7 anni fa
Yann Weber
be5be7689b
Bugfix in dummy plugin
7 anni fa
Yann Weber
aa1ccd4a8d
Begin to fix back_reference update
7 anni fa
Yann Weber
548320e6d3
A bugfix, again, for the same piece of code (sorry)
forget to name the argument
7 anni fa
Yann Weber
2ba728da7d
Format bugfix in update controller for webui
7 anni fa
Yann Weber
c8d22fedba
Bugfix in webui update controller
Now when we try to update an object that do not exists a 404 is answered and not a 500 anymore
7 anni fa
Yann Weber
5fe7b025ff
Enhancement in standalone server
Now we are able to limit the number of spawned child processes
7 anni fa
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
7 anni fa
Yann Weber
31af31ded2
multisite server optimisation
Adding a cache for app module reducing seriously routing overhead
7 anni fa
Yann Weber
c8f571f0b7
Deleting debug messaging of multisite standalone server
7 anni fa
Yann Weber
5f5a45569a
Make webui admin controller multivalue form input splitting more permissive
Now all "empty" values are deleted from the resulting array
7 anni fa
Yann Weber
dd9f017b98
Now HttpException logs with lodel.logger
7 anni fa
Yann Weber
b3b1f9d3ee
Code factorisation
7 anni fa
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....
7 anni fa
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
7 anni fa
prieto
dac3e50d12
Small enhancement og interface
7 anni fa
prieto
5afd2c4718
Correction in in datasource, small correction in cbl
7 anni fa
Yann Weber
471d99d3d9
Bugfixes in webui admin controler and in mongo datasource
7 anni fa
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
7 anni fa
Yann Weber
742e77225a
Add a fogotten file
7 anni fa
Yann Weber
ab0e5146dd
Updates the multisite loader to enable loader settings & logger
7 anni fa
prieto
30ad11d1b6
Added import sys
7 anni fa
Yann Weber
f4c88e9555
Bugfix in mongodb datasource select ordering
They were a bug when ordering stuff contains 2 values that are equals
7 anni fa
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 anni fa
Yann Weber
e9f8f5e054
Bugfixes makin index of webinterface to work in MULTISITE
7 anni fa
Yann Weber
9ceb726a4a
Attempt to expose dyncode in contexts + bugfixes
7 anni fa
Yann Weber
e3b8e49060
Bugfixes in context and webui in order to test multisite
Regression may have been introduced about MONOSITE mode
7 anni fa
Roland Haroutiounian
29253424f4
Small fixes
7 anni fa
prieto
4e4190298b
Multisite loader - correction
7 anni fa
prieto
3dfe523c5a
Multisite loader
7 anni fa
Yann Weber
773ea0e696
LodelContext enhancement to fit the new loader
+ uses the changes in the preload method
7 anni fa
Roland Haroutiounian
fb45b2bb4e
bugfix in loader.py
7 anni fa
Roland Haroutiounian
1607c99d7b
Deleted a useless import in the loader module in the multisite plugin
7 anni fa
Roland Haroutiounian
44a674d99b
The preload function is getting its contexts directly from LodelContexts._contexts
7 anni fa
Roland Haroutiounian
8521a393c1
Added the plugins loading to the preload
7 anni fa
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 anni fa
Roland Haroutiounian
9a8a615893
Added a loader module in the multisite plugin
7 anni fa
Yann Weber
2a7c196bfb
Solves the client socket leak bug in forking wsgi server
7 anni fa
Yann Weber
0aaadb3d2d
Overwrite default socketserver.ForkingMixIn max_children limit
7 anni fa
Yann Weber
0406e91846
Moved plugins folder in lodel/
- updated scripts etc
- make tests pass
7 anni fa
Yann Weber
75c2a81225
Now plugins can define dependencies.
8 anni fa
Yann Weber
cc337ccb73
Fixing tests and skipping the Settings set test
- I do not understand wy the set test for Settings was OK before...
8 anni fa