Roland Haroutiounian
b6093866cd
Changed datahandler exceptions from functions to classes
7 years ago
Roland Haroutiounian
c48c0119a2
code cleaning
7 years ago
Roland Haroutiounian
915817b6bd
Code cleaning on datahandlers/datas.py
7 years ago
Roland Haroutiounian
822ad1bea2
Code cleaning
7 years ago
Roland Haroutiounian
283fa4a3cc
Added an Exception management for the DatahandlerOption's check_value method
7 years ago
Roland Haroutiounian
be429fc018
Changed help_text and display_name from private to public in the datahandlers options
8 years ago
prieto
57b650c686
display_name and helpt_text are removed in datahandleroption
8 years ago
Roland Haroutiounian
ebe8338938
Changed the management of the option values in a datahandler
8 years ago
prieto
656932fe68
Removes settings/validator.py
8 years ago
Roland Haroutiounian
18770976cf
Changed the importing of the UnallowedOption Exception
8 years ago
Roland Haroutiounian
0716e77a1a
Code cleaning
8 years ago
Roland Haroutiounian
dd1b1d0b13
Fix on the call to the parent's init in DataHandler and DataHandlerOption classes
8 years ago
Roland Haroutiounian
530ad1088f
Added inheritance of the datahandler base class and the datahandler option class to the MlNamedObject class
8 years ago
prieto
08ad11624d
Class Validator replaces SettingValidator
8 years ago
prieto
5d2be8737a
Inheritance of MlNamedObject 3
8 years ago
prieto
6d5da933e0
Inheritance of MlNamedObject 2
8 years ago
prieto
3abf402cfb
Inheritance of MlNamedObject
8 years ago
prieto
8844197c57
New class MlNamedObject
8 years ago
Roland Haroutiounian
3394543af8
Added a new exception raised when a not allowed option is passed to a datahandler
8 years ago
Roland Haroutiounian
763e4a880d
Added a check in the options' check method, to see if the option name indicated corresponds to an existing option
8 years ago
Roland Haroutiounian
6e6463cb8f
Added some changes to the DataHandler class to deal with the options and their values
8 years ago
Roland Haroutiounian
c2f62bce50
Added new properties and the check_options method to the DataHandler class
8 years ago
prieto
7a1416ee21
Class DhOptionvaidator
8 years ago
prieto
ac2312dad0
Class validator
8 years ago
Roland Haroutiounian
b3437848bb
Added the DatahandlerOption class
8 years ago
Yann Weber
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.
8 years ago
Quentin Bonaventure
c4289764ec
Created and added varcharlist DH to lodelsites EM
8 years ago
prieto
4fb0c89ddb
Utilisation is_exist
8 years ago
prieto
54b1521d09
Adds LeQuery.is_exist function to test the existence of an LeObject instance
8 years ago
prieto
e9a0b7a924
Small correction
8 years ago
prieto
084b2dd5f0
Corrects an error
8 years ago
prieto
a66e5d2d30
Add a check that the given value points onto an allowed class
8 years ago
Roland Haroutiounian
adfe7b886a
Fixed some methods' documentation
8 years ago
Yann Weber
163b4cba88
Enhancement of some autotools actions
Warning, may contains some bugs !!!
8 years ago
Yann Weber
a0bf4c1176
Bugfixes in PluginVersion comparison functions
8 years ago
Quentin Bonaventure
8d68809694
Added symlink on install
8 years ago
Yann Weber
08bcdbe57b
Starts implementation of uninstall plugins action
For the moment there is only uninstalling by name that works because #207
8 years ago
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