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

2,015 commits

Author SHA1 Message Date
prieto
656932fe68 Removes settings/validator.py 2017-02-17 09:27:42 +01:00
Roland Haroutiounian
18770976cf Changed the importing of the UnallowedOption Exception 2017-02-17 09:27:42 +01:00
Roland Haroutiounian
0716e77a1a Code cleaning 2017-02-17 09:27:42 +01:00
Roland Haroutiounian
dd1b1d0b13 Fix on the call to the parent's init in DataHandler and DataHandlerOption classes 2017-02-17 09:27:42 +01:00
Roland Haroutiounian
530ad1088f Added inheritance of the datahandler base class and the datahandler option class to the MlNamedObject class 2017-02-17 09:27:42 +01:00
prieto
08ad11624d Class Validator replaces SettingValidator 2017-02-17 09:27:42 +01:00
prieto
5d2be8737a Inheritance of MlNamedObject 3 2017-02-17 09:27:42 +01:00
prieto
6d5da933e0 Inheritance of MlNamedObject 2 2017-02-17 09:27:42 +01:00
prieto
3abf402cfb Inheritance of MlNamedObject 2017-02-17 09:27:42 +01:00
prieto
8844197c57 New class MlNamedObject 2017-02-17 09:27:41 +01:00
Roland Haroutiounian
3394543af8 Added a new exception raised when a not allowed option is passed to a datahandler 2017-02-17 09:27:41 +01:00
Roland Haroutiounian
763e4a880d Added a check in the options' check method, to see if the option name indicated corresponds to an existing option 2017-02-17 09:27:41 +01:00
Roland Haroutiounian
6e6463cb8f Added some changes to the DataHandler class to deal with the options and their values 2017-02-17 09:27:41 +01:00
Roland Haroutiounian
c2f62bce50 Added new properties and the check_options method to the DataHandler class 2017-02-17 09:27:41 +01:00
prieto
7a1416ee21 Class DhOptionvaidator 2017-02-17 09:27:41 +01:00
prieto
ac2312dad0 Class validator 2017-02-17 09:27:41 +01:00
Roland Haroutiounian
b3437848bb Added the DatahandlerOption class 2017-02-17 09:27:41 +01:00
Yann
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.
2017-02-03 17:26:49 +01:00
Yann
fa8bf06f15 Make runtest.sh exit status consistent solves #249 2017-02-02 12:00:41 +01:00
Yann
a65b87d596 Deleted more from runtest.sh solves #249 2017-02-02 11:50:39 +01:00
Quentin Bonaventure
c4289764ec Created and added varcharlist DH to lodelsites EM 2017-02-01 17:05:47 +01:00
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