1. 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
  2. 30 Jul, 2015 1 commit
  3. 15 Jun, 2015 1 commit
  4. 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
      user-friendly.
      
      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>
      36bc9f7d
  5. 04 Dec, 2014 1 commit
  6. 10 Jul, 2014 1 commit
  7. 20 May, 2014 1 commit
    • Ruslan Kabalin's avatar
      Add forum objectionable content reporing functionality (bug #1024872). · 00e0488a
      Ruslan Kabalin authored and Robert Lyon's avatar Robert Lyon committed
      
      
      The feature allows to report objectionable content in the forum posts and
      topics. When post is reported, the notification is sent to site admins,
      group admins and forum moderators. Any of above can take action and either
      mark the post as not objectionable or delete it. In both cases the
      notification about action will be sent to users who were originally
      notified about objectionable content, so that they will be aware on other
      person action and outcomes. Site admin normally can't access the content of
      the forum he/she is not a member of, however in the case of objectionable
      content, site admin will be able to have temporary rights similar to group
      admins, making possible to delete or edit any post in the given forum. Once
      the issues is resolved (forum no longer contains objectionable content),
      admin will not longer be able to access forum in the group he/she is not a
      member.
      
      Change-Id: I12e459e2f754fcc7f5eeb0bad2f646927ad03cf8
      Signed-off-by: default avatarRuslan Kabalin <r.kabalin@lancaster.ac.uk>
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      00e0488a
  8. 18 Feb, 2014 1 commit
  9. 14 Oct, 2013 1 commit
  10. 06 Aug, 2012 1 commit
  11. 13 May, 2011 1 commit
  12. 09 Feb, 2011 1 commit
  13. 28 Mar, 2010 1 commit
  14. 15 Sep, 2009 1 commit
  15. 15 Jul, 2009 1 commit
  16. 23 May, 2009 1 commit
  17. 03 Sep, 2008 1 commit
  18. 31 Aug, 2008 2 commits
  19. 23 Jun, 2008 1 commit
  20. 19 Mar, 2008 1 commit
  21. 22 Feb, 2008 1 commit
  22. 16 Feb, 2008 3 commits
  23. 12 Feb, 2008 1 commit
  24. 15 Jan, 2008 1 commit
  25. 14 Jan, 2008 1 commit
  26. 09 Jan, 2008 2 commits
  27. 06 Jan, 2008 1 commit
  28. 23 Dec, 2007 1 commit
  29. 21 Dec, 2007 1 commit
  30. 20 Dec, 2007 1 commit
  31. 18 Dec, 2007 2 commits
  32. 14 Dec, 2007 2 commits
  33. 13 Dec, 2007 1 commit
  34. 05 Dec, 2007 1 commit