prieto
ac2312dad0
Class validator
7 years ago
Roland Haroutiounian
b3437848bb
Added the DatahandlerOption class
7 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.
7 years ago
Yann Weber
fa8bf06f15
Make runtest.sh exit status consistent solves #249
7 years ago
Yann Weber
a65b87d596
Deleted more from runtest.sh solves #249
7 years ago
Quentin Bonaventure
c4289764ec
Created and added varcharlist DH to lodelsites EM
7 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
7 years ago
prieto
086dd471cb
Remove useless and wrong import
7 years ago
prieto
4fb0c89ddb
Utilisation is_exist
7 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)
7 years ago
prieto
54b1521d09
Adds LeQuery.is_exist function to test the existence of an LeObject instance
7 years ago
prieto
e9a0b7a924
Small correction
7 years ago
prieto
27eab69422
Corrects slim -h error
7 years ago
prieto
084b2dd5f0
Corrects an error
7 years ago
prieto
588efa485e
Small corrections
7 years ago
prieto
a66e5d2d30
Add a check that the given value points onto an allowed class
7 years ago
Roland Haroutiounian
adfe7b886a
Fixed some methods' documentation
7 years ago
prieto
610b4d4f55
Tests enhancements 3
7 years ago
Yann Weber
163b4cba88
Enhancement of some autotools actions
Warning, may contains some bugs !!!
7 years ago
Yann Weber
278d10bf43
Written some tests for PluginVersion
7 years ago
Yann Weber
a0bf4c1176
Bugfixes in PluginVersion comparison functions
7 years ago
Quentin Bonaventure
8d68809694
Added symlink on install
7 years ago
prieto
e6381cc70a
Tests enhancements 2
7 years ago
prieto
f612e62fbc
Tests enhancements
7 years ago
Quentin Bonaventure quentin.bonaventure@openedition.org
5055b2a6ef
Merge remote-tracking branch 'origin/master'
7 years ago
Quentin Bonaventure
c880c99316
Tests for Boolean and Plugin
7 years ago
Yann Weber
08bcdbe57b
Starts implementation of uninstall plugins action
For the moment there is only uninstalling by name that works because #207
7 years ago
Yann Weber
0a93191207
Syntax error bugfix
7 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)
7 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
7 years ago
Yann Weber
74893c76fb
Bugfixes in PluginVersion
7 years ago
Yann Weber
0fc2b6ad0f
Add an action allowing to install plugins in lodel_admin
the action is named plugins
7 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
7 years ago
Yann Weber
aa1c0fb40c
Updated comments for lodel.plugin.plugins
fixes #205
7 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
7 years ago
Quentin Bonaventure
daa16b93e1
Removed strange import
Removed the "from .datasource_plugin import DatasourcePlugin" in
Plugin.register
7 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.
7 years ago
Quentin Bonaventure
ff5c13929a
Proposed change for test_text.py
7 years ago
Quentin Bonaventure
bf4540c1b1
Cleaned tests
7 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.
7 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
Quentin Bonaventure
18697e19bb
Proposed changes for FormatString tests
8 years ago
Quentin Bonaventure
5565ce72f0
Added LeObjectIdentifier and UniqId tests
8 years ago
Quentin Bonaventure
71391618c7
Added password test
8 years ago
prieto
dc9a7616f8
Function to get authors in interface
8 years ago
prieto
c37d753a50
Interface for simple em
8 years ago
prieto
dab11c3bdb
Merge branch 'master' of git.labocleo.org:lodel2
8 years ago
Yann Weber
93f1f91699
Code cleaning
Deleting code from old standalone server
8 years ago
prieto
1a845b18e8
Script to create datas in mass with simple em
8 years ago