1. 19 Mar, 2015 1 commit
  2. 30 Jan, 2015 1 commit
    • Aaron Wells's avatar
      Make blocktype:taggedposts work with view_artefacts · 669ebe8b
      Aaron Wells authored
      Bug 1401210. The get_artefacts() method is used by the Blogpost
      artefact to find all the blocks that use a particular blogpost,
      for storing in the view_artefacts table.
      I needed to add a table, blocktype_taggedposts_tags, to store
      the tags in a manner that was easier to query than a serialized
      Change-Id: Ieef58715e404689d95848e32ccd4132ea3fbcdc5
  3. 28 Jan, 2015 2 commits
    • Aaron Wells's avatar
      Make Publish/Unpublishing a blog entry, fire saveartefact event · 66cff695
      Aaron Wells authored
      Bug 1401210. In order for a newly published blog entry (using the
      "publish" button) to be able to trigger a watchlist notification,
      it needs to fire a saveartefact event, and update the view_artefact
      table, the same as the standard route for editing/creating a blog
      entry. So the best way to do that is to use the same commit() method.
      Change-Id: I35b93d6f7415ae69ed8eede3e10306b712ea1b68
    • 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
  4. 21 Jan, 2015 1 commit
  5. 13 Jan, 2015 1 commit
  6. 12 Jan, 2015 1 commit
  7. 08 Jan, 2015 1 commit
  8. 16 Dec, 2014 1 commit
    • Mike Kelly's avatar
      Implement TinyMCE imagebrowser plugin · 36bc9f7d
      Mike Kelly authored and Aaron Wells's avatar Aaron Wells committed
      This is a TinyMCE plugin which allows for browsing and embedding of
      Mahara-hosted images as well as the embedding of external web-hosted
      images. This makes adding inline images to WYSIWYG text boxes more
      Viewing permissions for these embedded files is set by adding references
      to them to a new database table, artefact_file_embedded, then checking
      for the existence of the references in the table when serving the files
      via artefact/file/download.php. For content blocks in views, such as
      text and textboxes, any embedded images are saved as view artefacts, and
      viewing permission is granted for those files accordingly via previously
      existing checks in artefact/file/download.php.
      This patch is designed to allow image embedding in all WYSIWYG text
      boxes throughout Mahara, hence the table structure, with resourcetype
      and resourceid providing the context for checking the validity of the
      image file to be served.
      Change-Id: Idcc5ab3495eed44eea6ced171d670ba4c73884f6
      Signed-off-by: default avatarMike Kelly <m.f.kelly@arts.ac.uk>
  9. 16 Nov, 2014 4 commits
  10. 05 Jun, 2014 1 commit
  11. 04 Jun, 2014 1 commit
  12. 16 May, 2014 1 commit
  13. 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>
  14. 31 Mar, 2014 1 commit
  15. 27 Mar, 2014 1 commit
  16. 04 Mar, 2014 1 commit
  17. 18 Feb, 2014 1 commit
  18. 11 Feb, 2014 1 commit
  19. 14 Jan, 2014 1 commit
  20. 12 Nov, 2013 1 commit
    • Robert Lyon's avatar
      Artefacts still accessible when disabled/hidden (bug #646691) · 83524452
      Robert Lyon authored
      Currently we only hide links to artefact when we 'hide' them on the
      extensions page rather than have them not accessible.
      This patch will check to see if artefact is active and if it isn't
      will display a access denied message.
      note for testing: when hiding an artefact plugin it turns off the blocktypes
      associated with it - but when you re-enable the artefact it does not
      re-enable the blocktypes
      Change-Id: Ic2282ededa7e85696dcaaac0768d35c52ecf3d01
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
  21. 14 Oct, 2013 1 commit
  22. 19 Jul, 2013 1 commit
  23. 18 Jun, 2013 1 commit
    • Aaron Wells's avatar
      Making links to directory index.php files more explicit · 1c56a922
      Aaron Wells authored
      Bug #1150831: Some links to directory index.php files left off the
      trailing slash,
      i.e. "{$WWWROOT}/view". This caused unnecessary redirects and greater
      potential for
      errors in users' web server setups. While I was at it, for all links to
      other than $WWWROOT itself, I changed them to be explicitly links to
      Also fixed the Windows-style line endings in homeinfo.tpl
      Fix all implicit links
      Change-Id: I87b285713e5cb1cfe785ceedd2702e5c2578058b
  24. 02 May, 2013 1 commit
    • Aaron Wells's avatar
      Fix warnings that happen when licenses are disabled · e48c5e8c
      Aaron Wells authored
      Bug#1174540. Some warnings were because the placeholder empty elements
      returned the license_form_el_* functions were missing their "type". Others
      were because code for some content was trying to process the license elements
      even if licenses were disabled and thus the elements were missing.
      Signed-off-by: Aaron Wells's avatarAaron Wells <aaronw@catalyst.net.nz>
      Change-Id: I961fec3aa4fefb737b497638c59a0426db95d04b
  25. 14 Feb, 2013 1 commit
  26. 22 May, 2012 1 commit
  27. 17 May, 2012 1 commit
  28. 13 Sep, 2011 1 commit
  29. 03 Aug, 2011 1 commit
    • Richard Mansfield's avatar
      Generate new parent folder for each new view copied (bug #820180) · 3f4ee9b1
      Richard Mansfield authored
      Files copied during view copying were not dealt with correctly
      when more than one view was being copied in a single request.
      The copying process automatically creates a folder in which to
      put any files it needs to copy, but the id of this folder was
      declared as static, so it didn't work once copying of multiple
      views is allowed.
      There is a similar problem for blogs created during view copies
      (to hold copied blogposts).  I'm not sure if there's a way to
      copy multiple views containing blogposts that need copying (it
      can't happen in institution views).  But the default blog creation
      function is updated in this patch anyway.
      Change-Id: Id8ea2504772f49ce8f301cfc19d41ba20b587e9d
      Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
  30. 13 May, 2011 1 commit
  31. 03 May, 2011 1 commit
  32. 12 Jan, 2011 1 commit
  33. 23 Dec, 2010 1 commit
  34. 22 Dec, 2010 3 commits