Yann Weber
292c0dd6b9
Bugfixes in autotools chain and in debian packages
hace 8 años
prieto
4e4190298b
Multisite loader - correction
hace 8 años
prieto
3dfe523c5a
Multisite loader
hace 8 años
Yann Weber
70a3aa8529
Revert changes of previous commit
hace 8 años
prieto
e1ef8f0d4c
loader multisite
hace 8 años
Yann Weber
2195ca15af
Merge branch 'context_manager_poc' of git.labocleo.org:lodel2 into context_manager_poc
Conflicts:
lodel/plugins/multisite/loader.py
hace 8 años
Yann Weber
773ea0e696
LodelContext enhancement to fit the new loader
+ uses the changes in the preload method
hace 8 años
Roland Haroutiounian
fb45b2bb4e
bugfix in loader.py
hace 8 años
Roland Haroutiounian
1607c99d7b
Deleted a useless import in the loader module in the multisite plugin
hace 8 años
Roland Haroutiounian
44a674d99b
The preload function is getting its contexts directly from LodelContexts._contexts
hace 8 años
Roland Haroutiounian
8521a393c1
Added the plugins loading to the preload
hace 8 años
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
hace 8 años
Roland Haroutiounian
9a8a615893
Added a loader module in the multisite plugin
hace 8 años
Yann Weber
2a7c196bfb
Solves the client socket leak bug in forking wsgi server
hace 8 años
prieto
30a8b8238a
Come back
hace 8 años
Yann Weber
0aaadb3d2d
Overwrite default socketserver.ForkingMixIn max_children limit
hace 8 años
Yann Weber
5e46a8f791
Load context now uses the original lodel package as context
hace 8 años
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
hace 8 años
Yann Weber
0406e91846
Moved plugins folder in lodel/
- updated scripts etc
- make tests pass
hace 8 años
Yann Weber
250f4b8683
LodelContext.from_path enhancement
Method is now disabled in MONOSITE mode
hace 8 años
Yann Weber
fbbfd35111
syntax bugfix
hace 8 años
prieto
f5f33167af
Added cp_loader
hace 8 años
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
hace 8 años
prieto
2daf715b61
Changes to slim for LodelContext - some corrections
hace 8 años
prieto
ec0208a0aa
Changes to slim for LodelContext - corrects is_running
hace 8 años
prieto
50560c8496
Changes to slim for LodelContext
hace 8 años
Roland Haroutiounian
360a60fee7
LodelContext is used in the lodelsite starting process
hace 8 años
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.
hace 8 años
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...
hace 8 años
Yann Weber
c3137b658f
Replaced imports by LodelContext.expose_modules() calls
Theorically all of those imports were tested by unit testing, but we've got no inssurance about that.
And even if unit tests had check for syntax errors, all pieces of code were not tested. We cannot
be sure that an import was missed or forgotten...
hace 8 años
Yann Weber
8085efeb99
Replaced all lodel subthings import by LodelContext.expose_modules calls
Test passes
hace 8 años
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
hace 8 años
Yann Weber
572c408a79
POC of context manager to handle virtual lodel packages
hace 8 años
Yann Weber
63ca38b370
Fixed runtest scripts
hace 8 años
prieto
d0f52641b3
In operator with cast of right type
hace 8 años
prieto
b79a82e9f0
detailed object listing
hace 8 años
Roland Haroutiounian
bb60b09d66
Added the conversion between a string and a list for the "in"/"not in" operators
hace 8 años
prieto
2d8a9811e6
Some adjustments and corresions
hace 8 años
m.orban
a6ddb0a972
Modified README to deploy in VM
hace 8 años
Yann Weber
0b60a24582
Bugfixes on back reference handling for singleRef solves #154
hace 8 años
Yann Weber
397dc521c3
bugfix in CBL
Addapted to links withou _blank target
hace 8 años
Yann Weber
ea8bb4f6d1
em_test updates
hace 8 años
prieto
c04fe41b80
Objects detailed
hace 8 años
prieto
c451dc188e
Merge branch 'master' of git.labocleo.org:lodel2
hace 8 años
Yann Weber
740d0c1167
Bugfixes on backreference handling
hace 8 años
Yann Weber
2010fb29e8
empty method implementation for Reference objects
hace 8 años
Yann Weber
1c716173be
Quick & dirty readonly input removal
Removed useless readonly property on some fields
hace 8 años
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
hace 8 años
Yann Weber
14ec5a0b66
solves #153
Add master = true to uwsgi.ini
hace 8 años
Yann Weber
44f39356eb
Removed target="_blank" on links
hace 8 años