Moodle Plugins directory: edu-sharing | Moodle.org
edu-sharing
The edu-sharing activity module adds a new option to the activities/resource menu. Using the edu-sharing resource allows you to either pick content from the repository or upload it to a folder of the repository. You may pick which version of the content you would like to provide in the course (always the latest vs. the version you just picked).
Please note
Plugin versions > 8.0.0 require an environment running PHP 8.0 or higher.
Installation
After installation connect the activity module to an edu-sharing repository (plugin settings / repository settings)
For a full documentation with screenshots of the post installation steps for the edu-sharing plugin package visit the documentation pages.
Documentation
More information can be found on the homepage.
Where can I get the latest release?
You can download source and binaries from our download page.
Contributing
If you plan to contribute on a regular basis, please visit our community site.
http://integration.moodle.org/job/Precheck%20remote%20branch/23122/artifact/work/smurf.html
* Please provide a full description of the plugin. You can describe the plugin's features, purpose and typical usage scenarios there, for example.
* Bug tracker is not specified for your plugin. Providing a place for users of your plugin to report issues encourages participation and provides a way for users to report bugs, make feature requests, or suggest other types of improvements.
* In order to facilitate easier sharing and further development of your open-source plugin, please provide publicly accessible URL of your code repository. The suggested naming convention of the repository is moodle-{plugintype}_{pluginname}.
* Please add a screenshot of your plugin to help folks get an idea of what it looks like when installed.
Hi Steffen. Thanks for sharing the set of edusharing plugins with the community. Please note, all the "Recommended" warnings reported above should really be considered as required as we insist on them before approving the plugin (they will be marked as required in the next version of the plugins directory UI). Please pay attention to them and fill them. Thanks for understanding.
Hi Steffen. Apologies for the delays with the review and approval process. Your plugins are #1 in the list of plugins waiting for re-approval and I am sure we will get to them this week.
Hi Steffen. We finally got to looking at the submitted code. Firstly, the edu-sharing looks like an interesting project to support teachers. Well done on that. We are happy to see Moodle supported.
While reviewing the code of your plugins, I noticed couple of issues that I should be addressed before the plugin is approved here. Some notes I took while reading the code:
mod_edusharing_sig_soap_client
has all methods prefixed with the frankenstyle name for no good reason.signatureRedirector.php
in the filter represent a potential security risk - they could be abused to redirect another user to a malicious page easily. Places like this should have strict input validation and heavy sesskey protection.I know you have been waiting in the approval queue for a long time now. But I am sure it will help the integration if the implementation follows the Moodle coding style more. I am going to mark this as needing more work. Once there are new versions uploaded here, please schedule the plugins for re-approval again.
Thanks for your patience with the review and approval process.
Thanks and best regards
Basically, yes. See https://docs.moodle.org/dev/Security:Cross-site_request_forgery for details.
Thanks Steffen for providing the updated versions promptly. I've been playing with a demo available at your project site.
There are certain areas in the code which I think could be reconsidered from both Moodle and edu-sharing API perspective - such as sending the raw value of
session_id()
as a session ticket to the remote server. Also the way how your Moodle plugins deal with session storage (e.g. directly setting properties like$_SESSION["USER"]->ticket
) are warmly discouraged in common Moodle plugins. I can understand it may not be always possible to follow these guidelines as the other side of the integration (edu-sharing server and its API) may be limiting factor as well.I am going to approve these plugins now. Good luck in further maintenance a development of the project. You are cleared to land, welcome to the Plugins directory.
Please note string definitions like
$string['modulename'] = $string['pluginname'] = '...';
are not supported by the AMOS parser at lang.moodle.org (we do not eval() these files) so we could not register strings of your plugin there.