← Back to team overview

mahara-contributors team mailing list archive

[Bug 1335670] A change has been merged

 

Reviewed:  https://reviews.mahara.org/3463
Committed: http://gitorious.org/mahara/mahara/commit/5c57b56568f944e2044aaa9ba06801f17a8d9712
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    master

commit 5c57b56568f944e2044aaa9ba06801f17a8d9712
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
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 <robertl@xxxxxxxxxxxxxxx>

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1335670

Title:
  Allow submitted work to be archived as a leap2a file

Status in Mahara ePortfolio:
  Fix Committed

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1335670/+subscriptions


References