Allow submitted work to be archived as a leap2a file

Bug #1335670 reported by Robert Lyon on 2014-06-29
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Wishlist
Robert Lyon

Bug Description

What is wanted is a system where Mahara pages are archived as leap2a files once they have been submitted for assessment purposes so that they could be referenced more easily in the future if a student contests their grades.

What this will entail is having a group config value where the group can choose whether to archive the submission or not. So on release of submission by teacher/tutor will send the submission off to an export archive queue, which in turn archives the information as a leap2a file before fully releasing the submission back to the student.

Because the releasing of submissions could be quite system intensive to run all at once the export queue would check to see there is enough system resources before doing the export.

This way the export queue could then be used for any leap2a exportation (not just for submissions).

Also there will need to be a archive list that the admins can look at and download the submitted leap2a file.

Changed in mahara:
importance: Medium → Wishlist
Steven (stevens-q) wrote :

=== Test Results ===
results were as expected

[✔] - The export queue system where pages/collections on release from submission are added to the export queue table ready to be archived.

[✔] - The export queue admin page showing what is in the queue to be exported. (admin section -> Users-> Export queue) The cron runs every 6 minutes.

[✔] - Queue items that failed to export are also shown here.

[✔] - The archive list admin page, where one can download the generated leap2a files for the archived submissions.

[✔] Pages added to the export queue by releasing a sumbission on a group that has 'archive submissions' option ticked.

[✔] - leap2a export from portfolio export which will add the export queue and send you an email once the export is done.

Reviewed: https://reviews.mahara.org/3463
Committed: http://gitorious.org/mahara/mahara/commit/5c57b56568f944e2044aaa9ba06801f17a8d9712
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 5c57b56568f944e2044aaa9ba06801f17a8d9712
Author: Robert Lyon <email address hidden>
Date: Mon Jun 30 07:24:12 2014 +1200

The archiving of submitted pages/collections from groups (Bug #1335670)

This patch contains:
- The export queue system where pages/collections on release from
submission are added to the export queue table ready to be archived.
- The export queue admin page showing what is in the queue to be
exported. The cron runs every 6 minutes. Queue items failed to export
are also shown here.
- The archive list admin page, where one can download the generated
leap2a files for the archived submissions.

In this patch you should be able to add things to the export queue by
either releasing a sumbission on a group that has 'archive
submissions' option ticked. This will add the archive to that archived
submission page, or you can also run a leap2a export from portfolio
export which will add the export queue and send you an email once the
export is done.

Things to note:
- The is a server busy function that stops the export queue from
running but I'm not too sure if the threshold is too low/high
- The export queue tries to export the first 100 items each run but if
resources are fine in handling that easily then the number could be
higher but I'm not sure of what will be a good number.
- Currently there is alsoe infrastructure like table columns for dealing
with releasing submissions from external systems (eg moodle) but that
functuionality is yet to be built.
- The checking of server busy in MS windows untested - may need to
just let MS ignore server busy check as there doesn't seem to be
standard way to check this.

Change-Id: If4c1d272e9c5d46fbf16b2ff73ceb2687c06ffd4
Signed-off-by: Robert Lyon <email address hidden>

Robert Lyon (robertl-9) on 2014-09-18
Changed in mahara:
milestone: none → 1.10.0
status: In Progress → Fix Committed
tags: added: nominatedfeature
Aaron Wells (u-aaronw) on 2014-10-21
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers