1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2025-11-01 20:10:55 +01:00
Commit graph

1,874 commits

Author SHA1 Message Date
Yann
5ef11f5b6d Bugfix in mass deploy for remote mongodb connection 2016-11-25 16:19:24 +01:00
Yann
6fc931f52e Bugfix in MONOSITE mode 2016-11-25 16:18:27 +01:00
Roland Haroutiounian
d98ee8e404 Added more Document types in the cbl testing script 2016-11-24 15:05:00 +01:00
prieto
490b61eea3 small errors 2016-11-18 17:03:44 +01:00
Yann
c1f627eb18 Add configurable stuff for the standalone server
Now listening address, listening port and max_children count can be configured using the Settings module
2016-11-18 16:55:09 +01:00
Yann
7eb5d794b9 Bugfix of cbl.sh for huge instances count
Added a sleep 1 between each background process starts.
2016-11-18 11:29:31 +01:00
Yann
c98eef1d1a Updated the README with a slim --set-logger option example 2016-11-18 11:12:51 +01:00
prieto
6b394485f7 Set nginx configuration for static files repository 2016-11-18 11:12:38 +01:00
Yann
31af31ded2 multisite server optimisation
Adding a cache for app module reducing seriously routing overhead
2016-11-18 11:03:45 +01:00
Yann
c8f571f0b7 Deleting debug messaging of multisite standalone server 2016-11-18 10:24:43 +01:00
Yann
e79cc4a9de Enhancement of logger default options 2016-11-18 10:24:28 +01:00
Yann
63a68aa975 cbl bugfix
deleted trailing ',' from multivalue values
2016-11-18 10:24:01 +01:00
Yann
acc8ce0594 Add a slim option to modify instance's logger 2016-11-18 10:23:34 +01:00
Yann
5f5a45569a Make webui admin controller multivalue form input splitting more permissive
Now all "empty" values are deleted from the resulting array
2016-11-18 09:15:44 +01:00
Yann
dd9f017b98 Now HttpException logs with lodel.logger 2016-11-18 09:15:21 +01:00
Yann
d2f1614dc6 cbl bugfix for creation count parameter 2016-11-18 09:06:19 +01:00
Yann
b3b1f9d3ee Code factorisation 2016-11-18 08:55:12 +01:00
Yann
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....
2016-11-18 08:52:47 +01:00
Yann
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
2016-11-18 08:52:47 +01:00
prieto
dac3e50d12 Small enhancement og interface 2016-11-17 17:10:02 +01:00
prieto
5afd2c4718 Correction in in datasource, small correction in cbl 2016-11-17 17:02:09 +01:00
Yann
471d99d3d9 Bugfixes in webui admin controler and in mongo datasource 2016-11-17 16:07:49 +01:00
prieto
dcccfa1db7 Oubli / pour le répertoire static 2016-11-17 15:19:32 +01:00
Yann
ce9e64ac8e em_test bugfix
added a default value for Subsection parent field
2016-11-17 15:12:12 +01:00
Yann
87c7e4c78e Small enhancement in cbl.sh 2016-11-17 15:07:33 +01:00
Yann
882a3baacb em_test update
adds a default value to Publication collection field
2016-11-17 15:07:33 +01:00
Yann
32e2579350 Bugfix in Reference DataHandler instanciation
**kwargs was not given to super() constructor
2016-11-17 15:07:33 +01:00
Yann
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
2016-11-17 15:07:33 +01:00
prieto
e1352fccb7 Add nginx configuration for static files 2016-11-17 13:38:00 +01:00
Yann
bc060ee63d Add options to cbl script 2016-11-17 11:44:13 +01:00
Yann
0f6efd899a Enables more verbose messages for module overwriting 2016-11-17 11:14:48 +01:00
Yann
742e77225a Add a fogotten file 2016-11-16 11:59:19 +01:00
Yann
8d4b764472 Commenting and reorganising code of lodel/context.py 2016-11-16 11:58:50 +01:00
Yann
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.
2016-11-16 11:50:57 +01:00
Yann
dbcccb2bbf Now we can use LodelContext with the with statement 2016-11-16 11:50:30 +01:00
Yann
4310f73935 Updated logger to display loaded context in log messages
WARNING : not fully tested
2016-11-10 17:23:40 +01:00
Yann
ab0e5146dd Updates the multisite loader to enable loader settings & logger 2016-11-10 16:28:46 +01:00
Yann
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)
2016-11-10 16:28:46 +01:00
Yann
0ffe60ff2b Modifying settings class to allow usage of custom confspecs
a bit dirty & quick
2016-11-10 16:28:46 +01:00
Yann
b44113b74a Fixing import in logger plugins & datasource_plugin 2016-11-10 16:28:46 +01:00
prieto
30ad11d1b6 Added import sys 2016-11-10 15:22:37 +01:00
Yann
f4c88e9555 Bugfix in mongodb datasource select ordering
They were a bug when ordering stuff contains 2 values that are equals
2016-11-09 16:48:40 +01:00
Yann
d58f67987c Uncomment rm in runtest
was disabled for debugging...
2016-11-09 15:43:57 +01:00
Yann
df8a088024 Bugfix on regression caused by previous bugfix
Previous bugfix on runtest & create instance brokes deployment, now both seems to work fine
2016-11-09 15:42:04 +01:00
Yann
8c5a442e7c Bugfixes in create_instance and in all runtest process 2016-11-09 14:56:44 +01:00
Yann
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)
2016-11-09 12:17:17 +01:00
Yann
8da7d5fbc7 Updated README and debian package dependencies 2016-11-09 11:20:02 +01:00
Yann
e9f8f5e054 Bugfixes makin index of webinterface to work in MULTISITE 2016-11-04 17:15:36 +01:00
Yann
9ceb726a4a Attempt to expose dyncode in contexts + bugfixes 2016-11-04 16:56:03 +01:00
Yann
c97d8e2eec Bugfixe in deployment via autotools
lodelsites was created inside the lodel directory
2016-11-04 16:51:00 +01:00