1. 16 Dec, 2011 5 commits
  2. 13 Dec, 2011 1 commit
  3. 09 Dec, 2011 1 commit
    • Richard Mansfield's avatar
      Limit parent cache artefacts processed at one time (bug #820727) · 042f0da9
      Richard Mansfield authored
      In commit 28599c24
      
      , the
      rebuild_artefact_parent_cache_complete cron job was rewritten to
      process artefacts in groups of 5000 owners.  This limit is too high;
      I've seen the cron script run out of memory when trying to process
      ~50000 artefacts in memory at once.
      
      This change makes the memory usage more predictable by trying to limit
      the number of artefacts pulled into memory rather than the number of
      owners, which is often not a good approximation.
      
      Change-Id: If63dec213e9794e86f37461166eb0530a407e086
      Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
      042f0da9
  4. 05 Dec, 2011 1 commit
  5. 02 Dec, 2011 1 commit
    • Richard Mansfield's avatar
      Update navigation blocks when copying collections (bug #898923) · 480b38d4
      Richard Mansfield authored
      
      
      When copying a collection, navigation blocks in the copied pages
      should be updated to point at the new copy of the collection.
      
      After all the pages are copied, all the newly copied navigation blocks
      are examined to see if they navigate the collection being copied.  If
      so, they are updated to navigate the new copy of the collection.  When
      a navigation block points at some collection other than the one being
      copied, it is left alone.
      
      Change-Id: I4b817acfa2cbefafc37f98f3f3f7fc12e54f61c0
      Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
      480b38d4
  6. 01 Dec, 2011 3 commits
  7. 30 Nov, 2011 3 commits
  8. 29 Nov, 2011 2 commits
  9. 28 Nov, 2011 2 commits
  10. 27 Nov, 2011 2 commits
  11. 25 Nov, 2011 6 commits
  12. 24 Nov, 2011 2 commits
    • Melissa Draper's avatar
      Add pseudoheaders to forums mail messages (bug 882894) · 93c012f2
      Melissa Draper authored
      
      
      We removed info from the email subject and added it to headers. However
      people generally don't see the headers, so this patch adds the info back
      as pseudoheaders, while removing duplicate info such as poster name,
      topic and time.
      
      Change-Id: I1063c70693e3b6345d41225b8fed53e0c20e7d95
      Signed-off-by: default avatarMelissa Draper <melissa@catalyst.net.nz>
      93c012f2
    • Richard Mansfield's avatar
      Remove wwwroot from notification urls (bug #849716) · 4384e747
      Richard Mansfield authored
      
      
      Urls stored in the url field of notification_internal_activity contain
      the site's wwwroot.  This leads to broken links when the wwwroot is
      changed.  It also dangerously turns what should be local links into
      remote ones when for example a production database is copied into a
      test Mahara instance.
      
      This patch does three things:
      - Removes the wwwroot from urls passed to ActivityType constructors
      - Adds the wwwroot back on the url when sending email and emaildigest
        notifications, and when displaying them on the site.
      - Removes the wwwroot from the url in all existing rows of
        notification_internal_activity.
      
      Change-Id: I00ae1abc65be79030ed4c572ce951edc43f7a034
      Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
      4384e747
  13. 23 Nov, 2011 1 commit
  14. 22 Nov, 2011 2 commits
  15. 21 Nov, 2011 2 commits
  16. 18 Nov, 2011 3 commits
  17. 17 Nov, 2011 3 commits