-
Robert Lyon authored
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@catalyst.net.nz>
5c57b565