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

1,926 commits

Author SHA1 Message Date
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
Yann
e7e393598c Added a get scenario to CBL
the get scenario produce all the get available for each instances in the site
2016-12-09 15:42:46 +01:00
Yann
67bfa2152f Implements new methods for reference datahandlers
get_referenced method were implemented for SingleReference and MultipleReference class
They are able to return LeObject instances refereced by them
2016-12-09 15:41:44 +01:00
Yann
be5be7689b Bugfix in dummy plugin 2016-12-09 13:53:02 +01:00
Yann
5c08761c0f Anotger mass_deploy purgedb bugfix
Mongo sux ?
2016-12-09 11:30:03 +01:00
Yann
e0e6ba94ae Bugfix in mass_deploy purgedb solves #185
solves #185
typo fixing
2016-12-09 11:11:52 +01:00
Yann
722bee7e21 Bugfix in refreshdyn.py script that generate dyncode
Adapted to the new LodelContext
2016-12-09 11:05:38 +01:00
Yann
705c8f511c Bugfix in lodel.leapi.query
Hook names were wrong
2016-12-08 17:17:04 +01:00
Yann
3986dc0274 CBL enhancement
Only run steps if count > 0
2016-12-08 17:16:29 +01:00
Yann
7c46701cbc cbl.sh bugfixes some rm -v output where sended on stdout instead of stderr 2016-12-08 10:34:29 +01:00
Yann
e2ddb47777 Better loglevel for hooks calls 2016-12-08 10:34:10 +01:00
Yann
2db29f19bc Add the script for fast redeployment on test server to the repo 2016-12-08 09:01:15 +01:00
Yann
aa1ccd4a8d Begin to fix back_reference update 2016-12-07 17:29:02 +01:00
Yann
548320e6d3 A bugfix, again, for the same piece of code (sorry)
forget to name the argument
2016-12-07 16:00:11 +01:00
Yann
2ba728da7d Format bugfix in update controller for webui 2016-12-07 15:58:17 +01:00
Yann
c8d22fedba Bugfix in webui update controller
Now when we try to update an object that do not exists a 404 is answered and not a 500 anymore
2016-12-07 15:54:04 +01:00
Yann
62f92ff641 Bugfix in datahandlers/base_classes.py
Deleted old methods that are unused (one of them was triggerring an error will doing nothing)
2016-12-07 15:52:46 +01:00
Yann
9f88118bd3 Add a symlink plugins -> lodel/plugins in repo root 2016-12-07 13:58:15 +01:00
Yann
1792bbd54a Transforming the cbl.sh script to generate URL for siege 2016-12-07 13:55:38 +01:00