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.
7 years ago
Quentin Bonaventure
dd8dde4395
Removed useless assertions
7 years ago
Quentin Bonaventure
18697e19bb
Proposed changes for FormatString tests
7 years ago
Quentin Bonaventure
5565ce72f0
Added LeObjectIdentifier and UniqId tests
7 years ago
Quentin Bonaventure
71391618c7
Added password test
7 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
Yann Weber
fcebf96031
More comments
8 years ago
prieto
c0b91b6d15
Includes Simple em
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
e7e393598c
Added a get scenario to CBL
the get scenario produce all the get available for each instances in the site
8 years ago