1. 20 Nov, 2015 1 commit
  2. 26 Oct, 2015 1 commit
    • Aaron Wells's avatar
      Fix crash during upgrade (Bug 1494152) · ea8ae38b
      Aaron Wells authored and Robert Lyon's avatar Robert Lyon committed
      If you're upgrading from 1.4 or earlier, view_access.ctime
      is sometimes NULL.
      
      behatnotneeded: Covered by existing tests
      
      Change-Id: I33ef7f80a3a0c4dde2787fc1ad4d3c05e60ba8eb
      (cherry picked from commit 0a597879)
      ea8ae38b
  3. 01 Oct, 2015 1 commit
  4. 18 Aug, 2015 1 commit
  5. 14 Aug, 2015 1 commit
  6. 13 Aug, 2015 2 commits
  7. 28 May, 2015 1 commit
  8. 05 Mar, 2015 1 commit
  9. 12 Jan, 2015 1 commit
    • Aaron Wells's avatar
      Even quicker way to fill in artefact paths · dc478caf
      Aaron Wells authored
      Bug 1400524: On a large site, the database queries to retrieve
      all records from the artefact table can take too long to execute
      and cause the PHP script to time out.
      
      This optimization attempts to fix that by filling in the paths
      with an iterative series of UPDATE queries instead.
      
      Change-Id: I46c13cc97bac8a6d2bc626e3b2dc8e4cdeecd2bb
      dc478caf
  10. 16 Dec, 2014 1 commit
    • Robert Lyon's avatar
      Fixing up group homepage problem (Bug #1396565) · c1f8e419
      Robert Lyon authored and Aaron Wells's avatar Aaron Wells committed
      
      
      A mistake was made where a user was allowed to add more than one
      "group pages" block to the group homepage. This wasn't a problem until
      we added pagination to the "group pages" block.
      
      This patch attempts to clean up that error and merge any existing
      multiple block instances into one "group pages" block instance.
      
      Change-Id: I38acada835a4c245c97f0008543519a9dd2072a3
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      c1f8e419
  11. 09 Dec, 2014 1 commit
    • Aaron Wells's avatar
      Performance improvements for the code that fills in artefact.path · 2656482a
      Aaron Wells authored
      Bug 1400524: On a large site, the database queries to retrieve
      all records from the artefact table can take too long to execute
      and cause the PHP script to time out.
      
      This optimization attempts to fix that by separately handling
      the simpler case of parentless artefacts, and by removing
      a redundant "select * from artefact"
      
      Change-Id: Iddcfea3161fbfe804ec808119fe771757e7cdd5e
      2656482a
  12. 24 Nov, 2014 1 commit
  13. 06 Nov, 2014 1 commit
  14. 05 Nov, 2014 1 commit
  15. 16 Oct, 2014 2 commits
  16. 15 Oct, 2014 1 commit
    • Robert Lyon's avatar
      Making sure core message notifications are correct on upgrade · c9aefd3c
      Robert Lyon authored
      
      
      Bug 1380200 - make sure main two do not have 'none' option
      Bug 1380829 - make sure the previous default email method is respected
      
      On upgrade from 1.9 the default core notifications 'System message'
      and 'Message from other users' can be set to 'none' - which is not
      allowed.
      
      This patch will fix that problem by making sure the default core
      notifications are set to email and that any users are also updated to
      beusing the newly set default method.
      
      Also deals with setting the default email method correctly - the prev
      change to notifications didn't set the default email method with the
      correct currently being used method.
      
      Change-Id: I98dcc8374876e20cb5c2952121b69dab99c7cf19
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      c9aefd3c
  17. 25 Sep, 2014 2 commits
  18. 24 Sep, 2014 1 commit
  19. 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
  20. 16 Sep, 2014 2 commits
    • 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
    • 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
  21. 08 Sep, 2014 1 commit
    • Robert Lyon's avatar
      Changing the display name of 'text box' to note (Bug #1339113) · 6a190784
      Robert Lyon authored
      
      
      So as to seperate the 'text' block from the 'note' block
      
      I figured just changing the viewable text from 'text box' to 'note' will
      be fine as we have in another occasion changed blog to journal but
      still have the info in the db recorded as blog.
      
      I've also replaced the hardcoded 'textbox/note' block option to with
      the new 'text' block option at top of chooser list.
      
      And forced the site upgrade to install this new 'text' block.
      
      Change-Id: Ib40815cc359fc0d4eb715009e506f5fd3e36ee57
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      6a190784
  22. 30 Jul, 2014 2 commits
  23. 07 Jul, 2014 1 commit
  24. 01 Jul, 2014 1 commit
    • Robert Lyon's avatar
      Allowing feedback notifications on group pages (Bug #1307247) · 3b0382ef
      Robert Lyon authored
      
      
      In this patch:
      - Changed the Group Edit 'General' section and added the 'Feedback
      notifications' options.
      - Changed the Group Edit 'General' section and altered the 'Shared
      page' option from tickbox to select options.
      - Changed the CommentFeedback to be able to notify multiple users in a
      group
      - Changed the CommentFeedback to be able to send message in the
      institution lang if needed.
      - Adjusted group_get_editroles_options() to allow it to return a non
      associative array
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      
      Change-Id: Ia2e995c51aa08610945788e55c809b3c650dcd17
      3b0382ef
  25. 30 Jun, 2014 1 commit
  26. 24 Jun, 2014 1 commit
  27. 19 Jun, 2014 1 commit
  28. 15 Jun, 2014 1 commit
  29. 13 Jun, 2014 1 commit
  30. 08 Jun, 2014 1 commit
  31. 05 Jun, 2014 3 commits
  32. 12 May, 2014 1 commit
  33. 09 May, 2014 1 commit
    • Yuliya Bozhko's avatar
      Some artefact refactoring (Bug #1298646) · 3ba72d71
      Yuliya Bozhko authored and Robert Lyon's avatar Robert Lyon committed
      
      
      Fixes in this patch:
      
      - Moved artefact.php to artefacts directory to separate it from pages.
      - Fixed reference to a wrong 'artefactonlyviewableinview' string.
      - Removed add_to_render_path() and its calls which have no purpose at all.
      - Removed 'artefact_parent_cache' table.
      - Removed cron jobs related to 'artefact_parent_cache' from DB.
      - Added 'path' column in 'artefact' table to easier calculate hierarchy.
      - Added ArtefactTest.php for artefacts unit tests
      
      Change-Id: Ia14cd85b94c32a950354446ee3565bd2964c625c
      Signed-off-by: default avatarYuliya Bozhko <yuliya.bozhko@totaralms.com>
      3ba72d71