1. 01 May, 2016 1 commit
  2. 27 Apr, 2016 1 commit
  3. 22 Oct, 2015 1 commit
    • Son Nguyen's avatar
      Handle embedded image deletion better. Bug 1489284 · 740c0fa7
      Son Nguyen authored and Robert Lyon's avatar Robert Lyon committed
      Refactor updating embedded images
      
      Deals with the deleting of embedded images in a:
      - blog
      - forum post
      - forum topic
      - group description
      - note
      - page description
      
      Also sorts out the problem where a note embedded item can be saved
      with both 'editnote' and 'textbox' resourcetype. We only need one.
      
      Also add 'static' to EmbeddedImage::methods()
      
      behatnotneeded
      
      Change-Id: Ife1f9dee5ffe9eae4468eadb8f46a16a0a2a9044
      740c0fa7
  4. 13 Oct, 2015 1 commit
  5. 03 Sep, 2015 1 commit
  6. 20 Jul, 2015 1 commit
  7. 07 May, 2015 1 commit
  8. 23 Apr, 2015 1 commit
  9. 17 Mar, 2015 1 commit
  10. 26 Feb, 2015 1 commit
  11. 25 Feb, 2015 1 commit
  12. 12 Feb, 2015 1 commit
    • Nigel Cunningham's avatar
      (Bug1364691) Add artefact_instances_from_ids function. · ccd5e53d
      Nigel Cunningham authored
      
      
      Add support for getting multiple artefacts from an array
      of IDs, all at once. The main saving is that we then do
      one SQL query for the whole array instead of one for each
      element in the array.
      
      In testing admin/users/bulkexport.php, this reduced
      execution time for an export of 1000 users by 12 seconds
      (approx 10 percent).
      
      Change-Id: I51867cd4693a7572dd609b98b6503251e473078a
      Signed-off-by: default avatarNigel Cunningham <nigelc@catalyst-au.net>
      ccd5e53d
  13. 09 Feb, 2015 1 commit
  14. 28 Jan, 2015 1 commit
    • Aaron Wells's avatar
      Adding ArtefactType::postcommit_hook function · efb321c3
      Aaron Wells authored
      Bug 1401210. In order for watchlists to properly handle blog
      blocks, we need to give the Blog artefact a chance to update
      the view_artefacts table before the "saveartefact" event gets
      fired at the bottom of ArtefactType::commit().
      
      So I'm adding a postcommit_hook() method which gets called in
      the middle of commit(), and shifting ArtefactType's commit()
      method into there.
      
      Change-Id: I23986597fd411fa8f93da7cdbfa8d0b577de66fc
      efb321c3
  15. 16 Dec, 2014 1 commit
  16. 11 Dec, 2014 1 commit
    • Aaron Wells's avatar
      Even quicker way to fill in artefact paths · 31a19314
      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
      31a19314
  17. 08 Dec, 2014 1 commit
  18. 16 Oct, 2014 1 commit
  19. 15 Sep, 2014 1 commit
  20. 03 Sep, 2014 1 commit
  21. 21 Aug, 2014 1 commit
  22. 07 Aug, 2014 1 commit
  23. 28 Jul, 2014 1 commit
    • Robert Lyon's avatar
      Checking to make sure artefact/block library still exist (Bug #1319634) · 0f7251b3
      Robert Lyon authored
      
      
      Sometimes views will have artefacts/block instances on them but the
      plugin has been deleted. This should not stop a user being deleted.
      
      To test:
      Add a plugin to the site (eg openbadgesdisplayer block plugin, or cpds
      artefact plugin) and install it.
      Add a page and add a block to the page.
      Delete the dir from the site for the plugin
      Try to bulk delete the user
      
      Change-Id: Ib23ad79d9f1ffa0bca56ad7ccb6083333527e64c
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      0f7251b3
  24. 21 Jul, 2014 1 commit
  25. 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
  26. 04 Jun, 2014 1 commit
  27. 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
  28. 31 Mar, 2014 3 commits
  29. 27 Mar, 2014 2 commits
  30. 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
  31. 07 Jan, 2014 1 commit
  32. 06 Nov, 2013 1 commit
  33. 17 Oct, 2013 1 commit
  34. 14 Oct, 2013 1 commit
  35. 10 Oct, 2013 1 commit
  36. 30 Sep, 2013 1 commit
  37. 25 Sep, 2013 1 commit