1. 12 Jun, 2014 1 commit
    • Aaron Wells's avatar
      Refactor the Dwoo_Template_Mahara files · 97e96de0
      Aaron Wells authored
      Bug 1231755
      
      - Cleanup, documentation, and removing replicated code.
      
      - Not checking for whether the file exists. We'll just make a list
      of search paths and pass those through to Dwoo_Template_File, and
      let it determine which path has the file.
      
      - Eliminating the separate Dwoo_Template_Mahara classes for plugintypes,
      and moving the custom logic for how plugintypes find their template files,
      into the Plugin class itself.
      
      Change-Id: I877a4221323333e8e8b6c6df54062a0f8bf2b817
      97e96de0
  2. 04 Jun, 2014 1 commit
  3. 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
  4. 31 Mar, 2014 3 commits
  5. 27 Mar, 2014 2 commits
  6. 26 Mar, 2014 1 commit
    • Tobias Zeuch's avatar
      New watchlistnotification Plugin (Bug 1041228) · 6fe99d5f
      Tobias Zeuch authored and Robert Lyon's avatar Robert Lyon committed
      
      
      Introducing a new plugin watchlistnotification that responds to the
      events saveartefact, blockinstancecommit and deleteblockinstance. It
      stores the changed view and the blockinstance in a table watchlist_queue
      and checks via cron if there were any changes on a view and if for that
      view the last change has happened some time ago (the minutes are stored
      in config under watchlistnotification_delay, the default is 20min).
      
      If so, a message is generated that informs the watchlist recipient about
      which view and which block-instances on this view have been touched
      (added or changed).
      
      As there is no way to disable the built-in/old watchlist-notification-
      system, this is disabled in the mahara-core code, that is,
      artefact/lib.php and lib/view.php
      
      Change-Id: I039c5285cdd1b09ed9eb38a647e0c1510c3cabb9
      Signed-off-by: default avatarTobias Zeuch <tobias.zeuch@kit.edu>
      6fe99d5f
  7. 07 Jan, 2014 1 commit
  8. 06 Nov, 2013 1 commit
  9. 17 Oct, 2013 1 commit
  10. 14 Oct, 2013 1 commit
  11. 10 Oct, 2013 1 commit
  12. 30 Sep, 2013 1 commit
  13. 25 Sep, 2013 1 commit
  14. 24 Sep, 2013 1 commit
  15. 27 Jun, 2013 1 commit
  16. 14 Feb, 2013 1 commit
  17. 05 Feb, 2013 1 commit
    • Jiri Baum's avatar
      License metadata - schema change. (Bug #1095499) · a827e1c9
      Jiri Baum authored
      
      
      This feature adds standard license metadata fields on every artefact and every
      artefact edit page. This allows users to specify the license for the content
      they create or upload. For content originating elsewhere, the users can also
      enter the name of the licensor and original URL.
      
      Previously, adding license metadata to an artefact or page was achievable in an
      ad hoc fashion using a block on a page, but had many limitations.
      
      See also bug #1095499.
      
      This commit changes the database schema and the artefact abstract data type.
      
      Change-Id: Icf9143864a252b43fa91294825b24e5a65c0b4d5
      Signed-off-by: default avatarJiri Baum <jiri@catalyst-au.net>
      a827e1c9
  18. 08 Jun, 2012 1 commit
  19. 13 Feb, 2012 1 commit
  20. 01 Feb, 2012 1 commit
  21. 20 Dec, 2011 1 commit
  22. 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
  23. 17 Nov, 2011 1 commit
  24. 04 Oct, 2011 2 commits
  25. 26 Sep, 2011 1 commit
    • Richard Mansfield's avatar
      Don't update html artefact title with textbox title (bug #736665) · 047be290
      Richard Mansfield authored
      
      
      Whenever a textbox block title was changed, the html artefact inside
      it also had its title changed.  That was confusing, so instead we're
      going to set the html artefact's title once, when the textbox is first
      created (generating a title for it if the block has no title).  Once
      the html artefact has been created, the title can no longer be modified
      from the view editor again.  However, the ability to update the artefact
      title from the notes area is added, so that the user can keep the title
      in sync with the block titles if they want to.
      
      Change-Id: I98e2529e7c81759c9b22130da355e227c8f3d577
      Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
      047be290
  26. 26 Aug, 2011 1 commit
  27. 04 Aug, 2011 1 commit
  28. 05 Jul, 2011 2 commits
  29. 13 May, 2011 1 commit
  30. 19 Jan, 2011 1 commit
  31. 06 Oct, 2010 1 commit
  32. 16 Sep, 2010 1 commit
  33. 03 Sep, 2010 2 commits
  34. 12 Aug, 2010 1 commit