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
Yann Weber
fa8bf06f15
Make runtest.sh exit status consistent solves #249
8 years ago
Yann Weber
a65b87d596
Deleted more from runtest.sh solves #249
8 years ago
Quentin Bonaventure
c4289764ec
Created and added varcharlist DH to lodelsites EM
8 years ago
Quentin Bonaventure
ec6da44b47
Adding the lodelsites_em.py for EM generation
No knowing what datahandler ought to be used for em_groups, I simply set
'text' in place of it. To be changed accordingly
8 years ago
prieto
086dd471cb
Remove useless and wrong import
8 years ago
prieto
4fb0c89ddb
Utilisation is_exist
8 years ago
Yann Weber
d89203665b
Updated tests on Plugin class
The Plugin class and discover steps were updated. Some test are deleted
because they were obsolete (discover method do not take any argument
anymore)
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
27eab69422
Corrects slim -h error
8 years ago
prieto
084b2dd5f0
Corrects an error
8 years ago
prieto
588efa485e
Small corrections
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
prieto
610b4d4f55
Tests enhancements 3
8 years ago
Yann Weber
163b4cba88
Enhancement of some autotools actions
Warning, may contains some bugs !!!
8 years ago
Yann Weber
278d10bf43
Written some tests for PluginVersion
8 years ago
Yann Weber
a0bf4c1176
Bugfixes in PluginVersion comparison functions
8 years ago
Quentin Bonaventure
8d68809694
Added symlink on install
8 years ago
prieto
e6381cc70a
Tests enhancements 2
8 years ago
prieto
f612e62fbc
Tests enhancements
8 years ago
Quentin Bonaventure quentin.bonaventure@openedition.org
5055b2a6ef
Merge remote-tracking branch 'origin/master'
8 years ago
Quentin Bonaventure
c880c99316
Tests for Boolean and Plugin
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
Quentin Bonaventure
ff5c13929a
Proposed change for test_text.py
8 years ago
Quentin Bonaventure
bf4540c1b1
Cleaned tests
8 years ago
Quentin Bonaventure
a9e90b7368
Proposed rewrite of test_regex
Here is a rewritten test suite for Regex DataHandler. This rewrite aims
at being lighter, more readable, accurate.
8 years ago
Quentin Bonaventure
ef60a76d68
ConcatTestCase rewrite
The previous test was testing FormatString.construct_data which is
irrelevant to this test case. Thus, I rewrote it to test what Concat
does : format a format_string to initialize FormatString with.
8 years ago
Quentin Bonaventure
dd8dde4395
Removed useless assertions
8 years ago