Plugin shop

More
8 months 3 weeks ago #165521 by jelo
jelo created the topic: Plugin shop
This is a discussion thread (the wikipage feels not discussion-ready)
manual.limesurvey.org/Plugin_shop

The plugin shop is meant let users sell their own plugins, themes, question templates and Demo surveys to other users on limesurvey.org.


Are you a student conducting a survey? If yes, tell me why you use LimeSurvey?
www.limesurvey.org/forum/development/116...y-you-use-limesurvey

Please Log in or Create an account to join the conversation.

More
8 months 3 weeks ago - 8 months 3 weeks ago #165523 by jelo
jelo replied the topic: Plugin shop
For inspiration I suggest two stores of opensource tools:
apps.nextcloud.com/
wordpress.org/plugins/

For me the biggest issue is the compatibly info about plugins. The "and higher" info has to be put beside.
If the shop is open to plugins below LS 3.0 there has to be a easy way, to filter between the three branches.

Wordpress shows the important infos right away.


Nextcloud app store shows which plugins are official developed in the community and are constantly used and checked with all releases.

Are you a student conducting a survey? If yes, tell me why you use LimeSurvey?
www.limesurvey.org/forum/development/116...y-you-use-limesurvey
Attachments:
Last Edit: 8 months 3 weeks ago by jelo.

Please Log in or Create an account to join the conversation.

More
8 months 3 weeks ago #165524 by jelo
jelo replied the topic: Plugin shop
Always nice to see a link protection is place.

The metadata concept for Nextcloud apps might be another inspiration.
docs.nextcloud.com/server/12/developer_manual/app/info.html

Metadata Wordpress plugin:
developer.wordpress.org/plugins/the-basics/header-requirements/

Are you a student conducting a survey? If yes, tell me why you use LimeSurvey?
www.limesurvey.org/forum/development/116...y-you-use-limesurvey

Please Log in or Create an account to join the conversation.

More
8 months 3 weeks ago #165613 by ollehar
ollehar replied the topic: Plugin shop
Hi jelo!

Great feedback! Also feel free to add it to the manual discussion page! (Each mediawiki page has a discussion page.)

Please Log in or Create an account to join the conversation.

More
8 months 3 weeks ago #165614 by ollehar
ollehar replied the topic: Plugin shop

Please Log in or Create an account to join the conversation.

More
8 months 3 weeks ago - 8 months 3 weeks ago #165706 by DenisChenu
DenisChenu replied the topic: Plugin shop
I already put some information on wiki, but :

1. Allow to have different url for "plugin shop" , something like repository in fedora or debian

2. Allow to get any plugin (not in an official plugin shop) by url
or (see yunohost.org/#/apps )

After : plugin can be updatable like comfort update (with or without a key : plugin update url choice).


yunohost and spip have this system. The 2 are preconfigurated with "official and stable" plugin repo, but allow anything else.

[edit]
And 2 last current idea : information like 'copyright', 'update link', 'version compatible' come from a file in the plugin. Then even a plugin set up manually can be updatable.
Maybe we need different directory for "own plugin" and "url plugin" , didn't know.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Attachments:
Last Edit: 8 months 3 weeks ago by DenisChenu. Reason: see edit

Please Log in or Create an account to join the conversation.

More
8 months 2 weeks ago #165932 by DenisChenu
DenisChenu replied the topic: Plugin shop
Another remark : need a Survey Theme + a Question Theme

If we can have same base code for each : it can be great. Then maybe use a config.xml for plugin too. Then have same basic part on all config.xml :)

This config.xml need something like : <type>(plugin|survey|question)</type>

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

More
8 months 2 weeks ago #165938 by ollehar
ollehar replied the topic: Plugin shop
Yes, we need same config.xml structure for all extensions, so the extension installer can be more simple.

You prefer XML over JSON, Denis?

Please Log in or Create an account to join the conversation.

More
8 months 2 weeks ago #165939 by LouisGac
LouisGac replied the topic: Plugin shop
try to do that with json, you'll need external libs or a lot more code:
github.com/LimeSurvey/LimeSurvey/blob/ma...anifest.php#L83-L100

XML is a real query language, that open many possibilities.
B)

Please Log in or Create an account to join the conversation.

More
8 months 2 weeks ago #165941 by DenisChenu
DenisChenu replied the topic: Plugin shop

olle wrote: …

You prefer XML over JSON, Denis?

No, not exactlly (i don't care).

But : theme and question already use XML, then plugin can use XML.

I think all metada can follow the same rules :
github.com/LimeSurvey/LimeSurvey/blob/45...a/config.xml#L14-L27

for each "extensions"

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
The following user(s) said Thank You: LouisGac

Please Log in or Create an account to join the conversation.

More
8 months 2 weeks ago - 8 months 2 weeks ago #165942 by ollehar
ollehar replied the topic: Plugin shop
Yeah. What about the security problem with XML?

Edit: Details here: stackoverflow.com/questions/24117700/cla...oughout-php-versions
Last Edit: 8 months 2 weeks ago by ollehar.

Please Log in or Create an account to join the conversation.

More
8 months 2 weeks ago #165943 by LouisGac
LouisGac replied the topic: Plugin shop
we already deal with this problem since 2.50

Please Log in or Create an account to join the conversation.

More
8 months 2 weeks ago #165944 by ollehar
ollehar replied the topic: Plugin shop
Great. Then XML it is.

Please Log in or Create an account to join the conversation.

More
8 months 2 weeks ago #165983 by jelo
jelo replied the topic: Plugin shop

LouisGac wrote: we already deal with this problem since 2.50

What does deal with mean? Accept the security risk or mitigate it? Wonder what attack vector you all have in mind here.

The amount of metadata needed for the addons seems to be not that big as that JSON can muscle out XML (Remote control api was conquered by JSON ;-).

Are you a student conducting a survey? If yes, tell me why you use LimeSurvey?
www.limesurvey.org/forum/development/116...y-you-use-limesurvey

Please Log in or Create an account to join the conversation.

More
8 months 2 weeks ago #165987 by LouisGac
LouisGac replied the topic: Plugin shop
json is made for communication between programs. You query an api, you have the result as JSON. If you need a subset of the data of this JSON: you query again the API with better parameters, and you get a new JSON object.

XML is made for human, it's human readable (ex: easy to comment).
More important: it's a querying language in itself.
So you can easily "query" your document, to get the data that interest you inside that document. You have the document with all the data that interest you, and you "query the document" to have the subset of data you want. So, it's not at all the same logic than JSON. In a way, we could say: "XML is an API".

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!