Yann Weber
0a93191207
Syntax error bugfix
8 years ago
Yann Weber
eac6df20fa
Adding a -c --clean option to plugins action in lodel_admin
Clean take care of deleting plugins with same name and different versions
(the lower versions will be deleted)
8 years ago
Yann Weber
5706810928
Enhancement in plugins-list lodel_admin action
Now in verbose mode we are printing all plugins, even those with duplicated
names and different versions
8 years ago
Yann Weber
74893c76fb
Bugfixes in PluginVersion
8 years ago
Yann Weber
0fc2b6ad0f
Add an action allowing to install plugins in lodel_admin
the action is named plugins
8 years ago
Yann Weber
4277576b99
Begining to write plugins scripts
For the moment a new action for lodel_admin has been added : list-plugins
With two options : verbosity and output formatted in CSV
8 years ago
Yann Weber
aa1c0fb40c
Updated comments for lodel.plugin.plugins
fixes #205
8 years ago
Yann Weber
31a18f37fe
Updated plugins beahavior according to lodelContext
Now discover is run when we want to know the list of installed plugins.
+ bugfix in module name generation (only in the constructor) to take care
of possible subdirs
8 years ago
Quentin Bonaventure
daa16b93e1
Removed strange import
Removed the "from .datasource_plugin import DatasourcePlugin" in
Plugin.register
8 years ago
Quentin Bonaventure
dab816f228
Removed repeated conditionnal statements
The exact same conditionnal statement throwing error if ptype is unknown
in Plugin.register() is already executed by
MetaPlugType.type_from_name(), which is called right after it. Guessing
which class should be concerned by such a check, I ended up removing it
in Plugin.
8 years ago
prieto
dc9a7616f8
Function to get authors in interface
8 years ago
prieto
c37d753a50
Interface for simple em
8 years ago
Yann Weber
93f1f91699
Code cleaning
Deleting code from old standalone server
8 years ago
Yann Weber
fcebf96031
More comments
8 years ago
Yann Weber
b7197d8ea4
Adding some comments in multisite loader.py & run.py
8 years ago
Yann Weber
6da005fa91
First commit of a single uWSGI serving X lodel2
Seems to works !! :)
8 years ago
Yann Weber
383af4be53
Quick & dirty workaround for issue #188
We delete all results with the same UID...
8 years ago
Yann Weber
4e71cc3ad4
show_object* template factorisation
+ bugfixes in show_object_detailled
8 years ago
Yann Weber
67bfa2152f
Implements new methods for reference datahandlers
get_referenced method were implemented for SingleReference and MultipleReference class
They are able to return LeObject instances refereced by them
8 years ago
Yann Weber
be5be7689b
Bugfix in dummy plugin
8 years ago
Yann Weber
705c8f511c
Bugfix in lodel.leapi.query
Hook names were wrong
8 years ago
Yann Weber
e2ddb47777
Better loglevel for hooks calls
8 years ago
Yann Weber
aa1ccd4a8d
Begin to fix back_reference update
8 years ago
Yann Weber
548320e6d3
A bugfix, again, for the same piece of code (sorry)
forget to name the argument
8 years ago
Yann Weber
2ba728da7d
Format bugfix in update controller for webui
8 years ago
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
8 years ago
Yann Weber
62f92ff641
Bugfix in datahandlers/base_classes.py
Deleted old methods that are unused (one of them was triggerring an error will doing nothing)
8 years ago
Yann Weber
5fe7b025ff
Enhancement in standalone server
Now we are able to limit the number of spawned child processes
8 years ago
Yann Weber
6fc931f52e
Bugfix in MONOSITE mode
8 years ago
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 years ago
Yann Weber
31af31ded2
multisite server optimisation
Adding a cache for app module reducing seriously routing overhead
8 years ago
Yann Weber
c8f571f0b7
Deleting debug messaging of multisite standalone server
8 years ago
Yann Weber
e79cc4a9de
Enhancement of logger default options
8 years ago
Yann Weber
5f5a45569a
Make webui admin controller multivalue form input splitting more permissive
Now all "empty" values are deleted from the resulting array
8 years ago
Yann Weber
dd9f017b98
Now HttpException logs with lodel.logger
8 years ago
Yann Weber
b3b1f9d3ee
Code factorisation
8 years ago
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 years ago
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 years ago
prieto
dac3e50d12
Small enhancement og interface
8 years ago
prieto
5afd2c4718
Correction in in datasource, small correction in cbl
8 years ago
Yann Weber
471d99d3d9
Bugfixes in webui admin controler and in mongo datasource
8 years ago
Yann Weber
32e2579350
Bugfix in Reference DataHandler instanciation
**kwargs was not given to super() constructor
8 years ago
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 years ago
Yann Weber
0f6efd899a
Enables more verbose messages for module overwriting
8 years ago
Yann Weber
742e77225a
Add a fogotten file
8 years ago
Yann Weber
8d4b764472
Commenting and reorganising code of lodel/context.py
8 years ago
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 years ago
Yann Weber
dbcccb2bbf
Now we can use LodelContext with the with statement
8 years ago
Yann Weber
4310f73935
Updated logger to display loaded context in log messages
WARNING : not fully tested
8 years ago
Yann Weber
ab0e5146dd
Updates the multisite loader to enable loader settings & logger
8 years ago