1. 24 Sep, 2014 1 commit
  2. 22 Sep, 2014 4 commits
  3. 18 Sep, 2014 2 commits
    • Son Nguyen's avatar
    • 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 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's avatarRobert Lyon <robertl@catalyst.net.nz>
      5c57b565
  4. 17 Sep, 2014 3 commits
  5. 16 Sep, 2014 7 commits
    • Son Nguyen's avatar
    • Robert Lyon's avatar
      Fixing merge problem with upgrade script (Bug 548021) · ffd8eb94
      Robert Lyon authored
      
      
      missing a closing } on an if statement.
      
      Change-Id: Icc0194e6c5753e006551afe50334a89937572f0a
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      ffd8eb94
    • Robert Lyon's avatar
      Removing old jscalendar (Bug #1267239) · 9d7fa081
      Robert Lyon authored
      
      
      We are now using jQuery-ui datepicker + timepicker
      
      Change-Id: I518490fb04a224a08fc3853386ab5e0eee7d2964
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      9d7fa081
    • Robert Lyon's avatar
      Updating calendar pieform element to use datepicker/timepicker · 3340ef27
      Robert Lyon authored
      
      
      (Bug #1267239)
      
      The datepicker is now keyboard accessible but not fully screenreader
      accessible - but the folks at datepicker are working on that
      
      The key bindings you need to know for datepicker:
      PAGE UP: Move to the previous month.
      PAGE DOWN: Move to the next month.
      CTRL+PAGE UP: Move to the previous year.
      CTRL+PAGE DOWN: Move to the next year.
      CTRL+HOME: Move to the current month. Open the datepicker if closed.
      CTRL+LEFT: Move to the previous day.
      CTRL+RIGHT: Move to the next day.
      CTRL+UP: Move to the previous week.
      CTRL+DOWN: Move the next week.
      ENTER: Select the focused date.
      ESC: Close the datepicker
      
      The key bindings added for timepicker:
      (to avoid clashes with existing key bindings)
      ALT+UP: Move hour slider up one step
      ALT+DOWN: Move hour slider down one step
      SHIFT+LEFT: Move minute slider down one step
      SHIFT+RIGHT: Move minute slider up one step
      
      Also added the prev/next year button options
      
      Change-Id: Iff857ba9efb23fd123de6af8f78ceffee9c0ac79
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      3340ef27
    • Robert Lyon's avatar
      Adding keybindings to timepicker (Bug #1267239) · bdac0f06
      Robert Lyon authored
      
      
      Can now adjust hour/minute values with keyboard
      
      The key bindings added for timepicker:
      (to avoid clashes with existing key bindings)
      ALT+UP: Move hour slider up one step
      ALT+DOWN: Move hour slider down one step
      SHIFT+LEFT: Move minute slider down one step
      SHIFT+RIGHT: Move minute slider up one step
      
      Change-Id: If073908f070eada92dfa4d010f28ed53f7ac3b04
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      bdac0f06
    • Robert Lyon's avatar
    • Nigel Cunningham's avatar
      (Bug548021) Add support for anonymising pages. · 9624d430
      Nigel Cunningham authored
      
      
      This patch adds support for anonymising pages.
      
      It creates a site option in the General Settings section named 'Allow
      anonymous pages' that must be checked for any page to be anonymised.
      
      If the site option is enabled, a new 'Anonymise' setting in the
      'Edit title and description' tab of pages is enabled, allowing the owner
      to request that this page be anonymised.
      
      When both settings are enabled and a user views a page, two things may
      happen to the author's information.
      
      First, if the user is not logged in or does not have admin, staff or
      owner privileges for the page, the author's name is replaced by the
      anonymous text (defaulting to "(Author's name hidden)") in both the
      body of the page and the metadata author field.
      
      If the user does have admin, staff or owner privileges for the page,
      the author's name is anonymised as above except that the text displayed
      is made into a link. When this link is clicked, the anonymous author
      text is replaced by the normal author information for the page.
      
      Anonymous pages displayed in the 'Latest pages' block and shared with
      a group are also anonymised by this patch.
      
      Change-Id: I2e2c92f641329a1a305cf58a5c5d47bf95436a8b
      Signed-off-by: default avatarNigel Cunningham <nigelc@catalyst-au.net>
      9624d430
  6. 15 Sep, 2014 8 commits
  7. 14 Sep, 2014 1 commit
  8. 12 Sep, 2014 3 commits
  9. 11 Sep, 2014 2 commits
  10. 10 Sep, 2014 1 commit
  11. 09 Sep, 2014 3 commits
  12. 08 Sep, 2014 3 commits
  13. 05 Sep, 2014 2 commits