Yann Weber
9df0443a8b
[broken] Starting multisite loader rewriting refs #235
At this point the loader in lodel/plugins/multisite/run.py is theorically
complete & correct. But some features are missing in order to be able
to test & debug it ( refs #275 ).
8 gadus atpakaļ
Quentin Bonaventure quentin.bonaventure@openedition.org
d8b95da6f8
Merge branch 'lodelsites-dev' of git@git.labocleo.org :lodel2 into lodelsites-dev
8 gadus atpakaļ
Quentin Bonaventure
738fff7494
Fixed Lodelsites path in fs_utils
8 gadus atpakaļ
Yann Weber
f2394ba7e1
Implement the translator for external EM
8 gadus atpakaļ
Yann Weber
3ede546be4
Merge branch 'lodelsites-dev' of git.labocleo.org:lodel2 into lodelsites-dev
Conflicts:
lodel/plugins/lodelsite_datasource/fs_utils.py
8 gadus atpakaļ
Yann Weber
d5cf4cf668
Small bugfixes + pep8
8 gadus atpakaļ
Yann Weber
f6001dbd20
Add a numeric PK for lodelsite EmClass. solves #255
8 gadus atpakaļ
Quentin Bonaventure
d0ff939544
bugfix on fs_utils.py related to Bug #253
8 gadus atpakaļ
Quentin Bonaventure
470dbfbca0
[unimportant] English corrections
8 gadus atpakaļ
Quentin Bonaventure
1c3edfba98
[Unimportant] english corrections
8 gadus atpakaļ
Quentin Bonaventure
3619f66a48
Fixed another typo caused b the first one
8 gadus atpakaļ
Quentin Bonaventure
bc9a0a0e6b
Typo correction
8 gadus atpakaļ
Yann Weber
d202a55773
Bugfixes in LodelSiteDatasource
Now we are able to insert a lodelsite
8 gadus atpakaļ
Quentin Bonaventure
a33f1daaeb
Added basic User class to the EM
8 gadus atpakaļ
Yann Weber
695ce80fc5
Merge branch 'master' into lodelsites-dev
8 gadus atpakaļ
Yann Weber
fa8bf06f15
Make runtest.sh exit status consistent solves #249
8 gadus atpakaļ
Quentin Bonaventure
8a8a624cb7
Correction of lodelsites plugin scripts
8 gadus atpakaļ
Yann Weber
a65b87d596
Deleted more from runtest.sh solves #249
8 gadus atpakaļ
Quentin Bonaventure
a3e048dcd3
Fix of the fix of base_class
8 gadus atpakaļ
Quentin Bonaventure
a3eb448093
Fix on base_classes
8 gadus atpakaļ
Yann Weber
df2c6810a6
[broken] First LodelSiteDatasource implementation
no debug has been made on those piece of code
8 gadus atpakaļ
Quentin Bonaventure
819e9f62cf
Added check against primary_key and uniq
As a primary_key field has to be unique, added a check at DataHandler
instanciation to make sure a field set as a pk is not set as non-unique
8 gadus atpakaļ
Quentin Bonaventure
5f304cd64e
Switched shortname to primary_key
Modified the shortname's DH attribute value from uniq to primary_key
8 gadus atpakaļ
Quentin Bonaventure
94e7cf412a
Changed shortname DH
Switched the shortname field's DH from Varchar to Regex
8 gadus atpakaļ
Quentin Bonaventure
c4289764ec
Created and added varcharlist DH to lodelsites EM
8 gadus atpakaļ
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
8 gadus atpakaļ
prieto
086dd471cb
Remove useless and wrong import
8 gadus atpakaļ
prieto
4fb0c89ddb
Utilisation is_exist
8 gadus atpakaļ
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)
8 gadus atpakaļ
prieto
54b1521d09
Adds LeQuery.is_exist function to test the existence of an LeObject instance
8 gadus atpakaļ
prieto
e9a0b7a924
Small correction
8 gadus atpakaļ
prieto
27eab69422
Corrects slim -h error
8 gadus atpakaļ
prieto
084b2dd5f0
Corrects an error
8 gadus atpakaļ
prieto
588efa485e
Small corrections
8 gadus atpakaļ
prieto
a66e5d2d30
Add a check that the given value points onto an allowed class
8 gadus atpakaļ
Roland Haroutiounian
adfe7b886a
Fixed some methods' documentation
8 gadus atpakaļ
prieto
610b4d4f55
Tests enhancements 3
8 gadus atpakaļ
Yann Weber
163b4cba88
Enhancement of some autotools actions
Warning, may contains some bugs !!!
8 gadus atpakaļ
Yann Weber
278d10bf43
Written some tests for PluginVersion
8 gadus atpakaļ
Yann Weber
a0bf4c1176
Bugfixes in PluginVersion comparison functions
8 gadus atpakaļ
Quentin Bonaventure
8d68809694
Added symlink on install
8 gadus atpakaļ
prieto
e6381cc70a
Tests enhancements 2
8 gadus atpakaļ
prieto
f612e62fbc
Tests enhancements
8 gadus atpakaļ
Quentin Bonaventure quentin.bonaventure@openedition.org
5055b2a6ef
Merge remote-tracking branch 'origin/master'
8 gadus atpakaļ
Quentin Bonaventure
c880c99316
Tests for Boolean and Plugin
8 gadus atpakaļ
Yann Weber
08bcdbe57b
Starts implementation of uninstall plugins action
For the moment there is only uninstalling by name that works because #207
8 gadus atpakaļ
Yann Weber
0a93191207
Syntax error bugfix
8 gadus atpakaļ
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)
8 gadus atpakaļ
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
8 gadus atpakaļ
Yann Weber
74893c76fb
Bugfixes in PluginVersion
8 gadus atpakaļ