1. 18 Sep, 2014 1 commit
    • 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
  2. 01 Sep, 2014 1 commit
  3. 08 Jul, 2014 1 commit
  4. 13 Jun, 2014 1 commit
    • Aaron Wells's avatar
      Cleanup of the Plugin class · 6c89ad48
      Aaron Wells authored
      
      
      Bug 1328768
      
      - Improving documentation
      
      - Adding default implementations for the *_config_options methods because
      that's a better means of documenting them than the function_exists() way
      
      - Fixing the save_config_options() methods in the search plugins, which
      should have been static.
      
      Change-Id: Ib2bf1388843824e63cf6486176e97b8f874e1116
      Signed-off-by: default avatarYuliya Bozhko <yuliya.bozhko@totaralms.com>
      6c89ad48
  5. 14 Oct, 2013 1 commit
  6. 20 Aug, 2013 1 commit
  7. 06 Aug, 2013 1 commit
    • Aaron Wells's avatar
      Update PREG_CLASS_SEARCH_EXCLUDE to latest from Drupal 6 · c4686009
      Aaron Wells authored
      Bug #1072972: This includes the KATAKANA-HIRAGANA PROLONGED SOUND MARK,
      which should solve some issues for Japanese language users. It also removes
      the 16-bit surrogate characters D800-DFFF from the exclusion class.
      
      Change-Id: Iaaa70b891219d97758b3d7982d69a4522a477009
      c4686009
  8. 27 Jun, 2013 2 commits
  9. 20 Jun, 2013 1 commit
  10. 22 Apr, 2013 1 commit
    • Son Nguyen's avatar
      Add a filter for users with duplicate emails (Bug #1166499) · cf31e142
      Son Nguyen authored and Aaron Wells's avatar Aaron Wells committed
      
      
      1. When the option "Filter by duplicate email addresses" is checked,
       the result table will list the accounts with duplicate emails.
       The primary email and additional emails will be shown in the column
      'Emails'
       The column 'Emails' is still sortable based on the primary email
      
      2. Also add the column 'Authentication' in search result table
      
      3. Reset offset param when changing the filters
      
      Change-Id: Id59f2de1d9a95c0bb67e8da40eebfeb5a5def60f
      Signed-off-by: default avatarSon Nguyen <son.nguyen@catalyst.net.nz>
      cf31e142
  11. 03 Jan, 2013 1 commit
  12. 30 Nov, 2012 1 commit
  13. 21 Nov, 2012 1 commit
  14. 20 Nov, 2012 1 commit
  15. 15 Oct, 2012 1 commit
  16. 08 Jun, 2012 4 commits
  17. 29 May, 2012 1 commit
  18. 16 Feb, 2012 1 commit
  19. 13 Feb, 2012 1 commit
  20. 11 Jan, 2012 1 commit
    • Richard Mansfield's avatar
      Cache user records in calls to display_default_name · bb91e704
      Richard Mansfield authored
      Commit 0cdaaa1d
      
       introduced a lot of calls to display_default_name.
      Unfortunately this bypasses the user record caching that happens
      inside display_name, so it produced a lot of new queries, most notably
      on profile pages, where a single user's name gets displayed several
      times.
      
      This change moves the caching of user records into another function,
      so it can be shared by display_name, display_default_name, and
      profile_icon_url.
      
      The search_user function is also modified to fetch the admin status
      and profileicon id, to stop profile_icon_url producing more queries.
      
      Change-Id: Id1993decf164e7d0563a7d277444402fc6350b3a
      Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
      bb91e704
  21. 02 Dec, 2011 1 commit
  22. 12 Sep, 2011 3 commits
  23. 06 Sep, 2011 2 commits
  24. 01 Sep, 2011 1 commit
    • Richard Mansfield's avatar
      Add more flexible group jointypes (bug #610690) · 027ffc0d
      Richard Mansfield authored
      
      
      The four existing jointypes, 'open', 'controlled', 'request' and
      'invite' are mutually exclusive, but they don't need to be so strict.
      This patch introduces more flexibility in the way groups allow new
      members to join.
      
      * Group admins can always send membership invitations to a group, even
        if it's open or controlled
      * Membership requests can be enabled for any group unless it has open
        membership.
      * The grouptype now determines the set of roles available to a group,
        but no longer restricts the available join types.
      
      The db upgrade will preserve existing behaviour apart from enabling
      invitations on open, request, and controlled groups.
      
      Change-Id: I8bb0940a37f3c0c36366c1d5b8d27e8b9914a7e3
      Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
      027ffc0d
  25. 03 Aug, 2011 1 commit
  26. 19 Jul, 2011 1 commit
  27. 28 Jun, 2011 2 commits
  28. 27 Jun, 2011 1 commit
  29. 26 Jun, 2011 1 commit
    • Hugh Davenport's avatar
      Update institution search to search user tags · 0df6205e
      Hugh Davenport authored
      
      
      The search query is tested against user tags as well now
      
      This search query only works for the following pages:
      - Institutions -> Members
      
      For example, one can search for
      lastinstitution:Foo Bar Institution
      and the results would be all the users that were in the
      Foo Bar Institution for their last insitution
      
      Change-Id: I2af823911346af5b9fdc8ae64b92d329f03dff5c
      Signed-off-by: default avatarHugh Davenport <hugh@catalyst.net.nz>
      0df6205e
  30. 21 Jun, 2011 3 commits