• Robert Lyon's avatar
    The archiving of submitted pages/collections from groups (Bug #1335670) · 5c57b565
    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 t...
lib.php 41.6 KB