prieto
656932fe68
Removes settings/validator.py
2017-02-17 09:27:42 +01:00
Roland Haroutiounian
18770976cf
Changed the importing of the UnallowedOption Exception
2017-02-17 09:27:42 +01:00
Roland Haroutiounian
0716e77a1a
Code cleaning
2017-02-17 09:27:42 +01:00
Roland Haroutiounian
dd1b1d0b13
Fix on the call to the parent's init in DataHandler and DataHandlerOption classes
2017-02-17 09:27:42 +01:00
Roland Haroutiounian
530ad1088f
Added inheritance of the datahandler base class and the datahandler option class to the MlNamedObject class
2017-02-17 09:27:42 +01:00
prieto
08ad11624d
Class Validator replaces SettingValidator
2017-02-17 09:27:42 +01:00
prieto
5d2be8737a
Inheritance of MlNamedObject 3
2017-02-17 09:27:42 +01:00
prieto
6d5da933e0
Inheritance of MlNamedObject 2
2017-02-17 09:27:42 +01:00
prieto
3abf402cfb
Inheritance of MlNamedObject
2017-02-17 09:27:42 +01:00
prieto
8844197c57
New class MlNamedObject
2017-02-17 09:27:41 +01:00
Roland Haroutiounian
3394543af8
Added a new exception raised when a not allowed option is passed to a datahandler
2017-02-17 09:27:41 +01:00
Roland Haroutiounian
763e4a880d
Added a check in the options' check method, to see if the option name indicated corresponds to an existing option
2017-02-17 09:27:41 +01:00
Roland Haroutiounian
6e6463cb8f
Added some changes to the DataHandler class to deal with the options and their values
2017-02-17 09:27:41 +01:00
Roland Haroutiounian
c2f62bce50
Added new properties and the check_options method to the DataHandler class
2017-02-17 09:27:41 +01:00
prieto
7a1416ee21
Class DhOptionvaidator
2017-02-17 09:27:41 +01:00
prieto
ac2312dad0
Class validator
2017-02-17 09:27:41 +01:00
Roland Haroutiounian
b3437848bb
Added the DatahandlerOption class
2017-02-17 09:27:41 +01:00
Yann
22ab3174c3
Add a comment in buildconf.py.am.in
...
Associated to multisite loading & context stuff. I choose to commit this
change in master because it is important to not break the fact that
the buildconf HAS TO be importable safely outside any context.
2017-02-03 17:26:49 +01:00
Quentin Bonaventure
c4289764ec
Created and added varcharlist DH to lodelsites EM
2017-02-01 17:05:47 +01:00
prieto
4fb0c89ddb
Utilisation is_exist
2017-01-27 16:51:34 +01:00
prieto
54b1521d09
Adds LeQuery.is_exist function to test the existence of an LeObject instance
2017-01-26 16:04:41 +01:00
prieto
e9a0b7a924
Small correction
2017-01-20 16:41:33 +01:00
prieto
084b2dd5f0
Corrects an error
2017-01-20 15:19:35 +01:00
prieto
a66e5d2d30
Add a check that the given value points onto an allowed class
2017-01-19 17:06:58 +01:00
Roland Haroutiounian
adfe7b886a
Fixed some methods' documentation
2017-01-12 17:06:31 +01:00
Yann
163b4cba88
Enhancement of some autotools actions
...
Warning, may contains some bugs !!!
2017-01-11 15:13:40 +01:00
Yann
a0bf4c1176
Bugfixes in PluginVersion comparison functions
2017-01-11 14:44:05 +01:00
Quentin Bonaventure
8d68809694
Added symlink on install
2017-01-11 14:34:31 +01:00
Yann
08bcdbe57b
Starts implementation of uninstall plugins action
...
For the moment there is only uninstalling by name that works because #207
2017-01-05 17:18:34 +01:00
Yann
0a93191207
Syntax error bugfix
2017-01-05 17:18:15 +01:00
Yann
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)
2017-01-05 16:35:51 +01:00
Yann
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
2017-01-05 16:33:53 +01:00
Yann
74893c76fb
Bugfixes in PluginVersion
2017-01-05 16:32:57 +01:00
Yann
0fc2b6ad0f
Add an action allowing to install plugins in lodel_admin
...
the action is named plugins
2017-01-05 15:09:04 +01:00
Yann
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
2017-01-05 14:00:12 +01:00
Yann
aa1c0fb40c
Updated comments for lodel.plugin.plugins
...
fixes #205
2017-01-05 12:12:57 +01:00
Yann
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
2017-01-05 12:07:28 +01:00
Quentin Bonaventure
daa16b93e1
Removed strange import
...
Removed the "from .datasource_plugin import DatasourcePlugin" in
Plugin.register
2017-01-02 11:30:34 +01:00
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.
2017-01-02 11:22:43 +01:00
prieto
dc9a7616f8
Function to get authors in interface
2016-12-16 15:45:25 +01:00
prieto
c37d753a50
Interface for simple em
2016-12-16 14:26:26 +01:00
Yann
93f1f91699
Code cleaning
...
Deleting code from old standalone server
2016-12-16 14:13:19 +01:00
Yann
fcebf96031
More comments
2016-12-16 13:51:22 +01:00
Yann
b7197d8ea4
Adding some comments in multisite loader.py & run.py
2016-12-15 17:25:45 +01:00
Yann
6da005fa91
First commit of a single uWSGI serving X lodel2
...
Seems to works !! :)
2016-12-15 15:24:53 +01:00
Yann
383af4be53
Quick & dirty workaround for issue #188
...
We delete all results with the same UID...
2016-12-09 15:51:03 +01:00
Yann
4e71cc3ad4
show_object* template factorisation
...
+ bugfixes in show_object_detailled
2016-12-09 15:43:54 +01:00
Yann
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
2016-12-09 15:41:44 +01:00
Yann
be5be7689b
Bugfix in dummy plugin
2016-12-09 13:53:02 +01:00
Yann
705c8f511c
Bugfix in lodel.leapi.query
...
Hook names were wrong
2016-12-08 17:17:04 +01:00