1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2025-10-30 19:19:03 +01:00
Commit graph

2,044 commits

Author SHA1 Message Date
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
2017-02-01 14:39:59 +01:00
prieto
086dd471cb Remove useless and wrong import 2017-01-27 16:55:10 +01:00
prieto
4fb0c89ddb Utilisation is_exist 2017-01-27 16:51:34 +01:00
Yann
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)
2017-01-27 16:30:07 +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
27eab69422 Corrects slim -h error 2017-01-20 16:41:20 +01:00
prieto
084b2dd5f0 Corrects an error 2017-01-20 15:19:35 +01:00
prieto
588efa485e Small corrections 2017-01-19 17:07:20 +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
prieto
610b4d4f55 Tests enhancements 3 2017-01-12 13:37:38 +01:00
Yann
163b4cba88 Enhancement of some autotools actions
Warning, may contains some bugs !!!
2017-01-11 15:13:40 +01:00
Yann
278d10bf43 Written some tests for PluginVersion 2017-01-11 14:44:05 +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
prieto
e6381cc70a Tests enhancements 2 2017-01-11 10:01:30 +01:00
prieto
f612e62fbc Tests enhancements 2017-01-11 09:57:14 +01:00
Quentin Bonaventure quentin.bonaventure@openedition.org
5055b2a6ef Merge remote-tracking branch 'origin/master' 2017-01-06 13:53:13 +01:00
Quentin Bonaventure
c880c99316 Tests for Boolean and Plugin 2017-01-06 12:17:40 +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
Quentin Bonaventure
ff5c13929a Proposed change for test_text.py 2017-01-02 10:26:25 +01:00
Quentin Bonaventure
bf4540c1b1 Cleaned tests 2016-12-29 14:01:21 +01:00
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.
2016-12-29 13:49:19 +01:00
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.
2016-12-26 15:18:16 +01:00
Quentin Bonaventure
dd8dde4395 Removed useless assertions 2016-12-26 14:50:48 +01:00
Quentin Bonaventure
18697e19bb Proposed changes for FormatString tests 2016-12-23 14:53:36 +01:00
Quentin Bonaventure
5565ce72f0 Added LeObjectIdentifier and UniqId tests 2016-12-23 14:52:03 +01:00
Quentin Bonaventure
71391618c7 Added password test 2016-12-23 14:48:32 +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
prieto
dab11c3bdb Merge branch 'master' of git.labocleo.org:lodel2 2016-12-16 14:18:26 +01:00
Yann
93f1f91699 Code cleaning
Deleting code from old standalone server
2016-12-16 14:13:19 +01:00
prieto
1a845b18e8 Script to create datas in mass with simple em 2016-12-16 13:57:32 +01:00
Yann
fcebf96031 More comments 2016-12-16 13:51:22 +01:00
prieto
c0b91b6d15 Includes Simple em 2016-12-16 13:39:36 +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