OneNote Assignment Submission plugin for Moodle
Перейти к файлу
James McQuillan 8acf652ea7 MSFTMPP-615: Release v20170116_m27 2017-01-19 02:33:00 -05:00
backup/moodle2 MSFTMPP-405: Update references to Microsoft Open Technologies to read Microsoft, update documentation links. 2016-03-24 01:20:03 -04:00
classes/event MSFTMPP-405: Update references to Microsoft Open Technologies to read Microsoft, update documentation links. 2016-03-24 01:20:03 -04:00
db MSFTMPP-405: Update references to Microsoft Open Technologies to read Microsoft, update documentation links. 2016-03-24 01:20:03 -04:00
lang MSFTMPP-382: Added an improvement to OneNote assignment type to update a Teacher's copy of OneNote when the student's copy of OneNote has a newer date stamp. Updated the OneNote page table schema accept a timestamp for when a student updates and when a teacher views the sbumission. 2016-05-17 16:59:22 -03:00
tests Merge branch 'wip-MSFTMPP-405-m27' into MOODLE_27_STABLE 2016-03-28 20:42:41 -04:00
.travis.yml MSFTMPP-398: POET - Setting up for integration testing. 2016-03-28 01:17:00 -04:00
LICENSE MSFTMPP-64: Added LICENSE files 2015-01-16 19:55:55 -05:00
README.md MSFTMPP-594: Updated plugin READMEs to add support expand contributing sections 2016-11-10 14:58:06 -05:00
lib.php MSFTMPP-405: Update references to Microsoft Open Technologies to read Microsoft, update documentation links. 2016-03-24 01:20:03 -04:00
locallib.php MSFTMPP-609: Fix outdated table names in assignsubmission_onenote and assignfeedback_onenote 2016-12-23 01:47:40 -05:00
settings.php MSFTMPP-405: Update references to Microsoft Open Technologies to read Microsoft, update documentation links. 2016-03-24 01:20:03 -04:00
version.php MSFTMPP-615: Release v20170116_m27 2017-01-19 02:33:00 -05:00

README.md

Moodle Plugins for Microsoft Services

including Office 365 and other Microsoft services

Microsoft OneNote Assignment Submission Plugin

This plugin provides the functionality related to students working with an assignment in OneNote. This includes creating a OneNote page associated with an assignment submission, saving student's work from OneNote into Moodle as a zip package containing the HTML and any associated images contained in the submission, and recreating the OneNote page from the zip package saved in Moodle if necessary. It uses the Microsoft OneNote API Local plugin to do some of these things.

Design details

Basic design

This plugin follows a design similar to the File submission plugin wherever possible. It uses the API exposed by the local_onenote plugin to perform most of the OneNote-related operations. Note that the association between an assignment submission in Moodle and the associated OneNote page is loose i.e. the OneNote page may get deleted and it will not affect Moodle since it keeps a copy of the page in a zip package and can always recreate the OneNote page from it.

Use cases supported

  • When a student wants to start working on an assignment which allows OneNote submissions, they click on a button in the plugin UI that creates a OneNote page for their submission from the title and prompt of the assignment.
  • When the student wants to save their work back in Moodle, they click on a save button in the plugin UI, which results in this plugin downloading the content of the OneNote page, including the HTML and any associated images and zipping them up as a single file and saving it in the Moodle database.
  • If the OneNote page associated with an assignment submission gets deleted, the student can still click one a button in the plugin UI that will recreate the OneNote page from the zip package that was saved in Moodle.

Plugin dependencies

assignsubmission_onenote => local_onenote => local_msaccount

Configuration

This plugin adds a radio button to the assignment creation form that allows a teacher to specify that a student may submit their work as a OneNote page. This plugin also provides a setting for the maximum size in bytes of the OneNote submission.

This is part of the suite of Microsoft Services plugins for Moodle.

This repository is updated with stable releases. To follow active development, see: https://github.com/Microsoft/o365-moodle

Installation

  1. Unpack the plugin into /mod/assign/submission/onenote within your Moodle install.
  2. From the Moodle Administration block, expand Site Administration and click "Notifications".
  3. Follow the on-screen instuctions to install the plugin.

For more documentation, visit https://docs.moodle.org/27/en/Office365

Support

If you are experiencing problems, have a feature request, or have a question, please open an issue on Github at https://github.com/Microsoft/o365-moodle.

To help developers debug problems, please include the following in all issues:

  • Plugin versions.
  • Moodle version.
  • Detailed instructions of what went wrong and how to reproduce the problem.
  • Any error messages encountered.
  • PHP version.
  • Database software and versions.
  • Any other environmental information available.

Note that developers will triage issues and deal with more serious problems first. All issues will be addressed but some may not be addressed immediately.

Contributing

We're looking for community contributions! Feel free to submit pull requests, but please do so against the development repository at https://github.com/Microsoft/o365-moodle. Pull requests submitted to individual plugin repositories cannot be accepted.

Needed Contributions

Smaller issues that developers cannot address right away will be labeled with "Help Wanted" in the issue tracker in the development repository at https://github.com/Microsoft/o365-moodle/issues. These are only suggestions - we can also accept pull requests fixing other bugs, or even adding new features.

Pull requests adding new features are much appreciated but note that they may be rejected (even if technically sound) if they do not match the direction of the project. If you want to add a new feature, it's best to open an issue outlining your idea first, and get feedback from the maintainers.

Contributions to our documentation are especially appreciated! All documentation lives in the /local/o365docs folder of the development repository (https://github.com/Microsoft/o365-moodle). Updates to this documentation can be sent via pull request like any other contributions.

Code Review

All pull requests go through a thorough examination from developers before they are merged. Please read our code review process and ensure your code is consistent before submitting. A developer may respond with changes that are needed before a pull request can be accepted and it is up to the submitter to make those changes. If accepted, your commit will remain as-is to ensure you get credit, but developers may modify solutions slightly in subsequent commits.

CLA

Finally, before we can accept your pull request, you'll need to electronically complete Microsoft's Contributor License Agreement. If you've done this for other Microsoft projects, then you're already covered.

Why a CLA? (from the FSF)

© Microsoft, Inc. Code for this plugin is licensed under the GPLv3 license.

Any Microsoft trademarks and logos included in these plugins are property of Microsoft and should not be reused, redistributed, modified, repurposed, or otherwise altered or used outside of this plugin.