1. 16 Dec, 2015 2 commits
  2. 22 Oct, 2015 1 commit
    • Son Nguyen's avatar
      Handle embedded image deletion better. Bug 1489284 · 740c0fa7
      Son Nguyen authored
      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()
      Change-Id: Ife1f9dee5ffe9eae4468eadb8f46a16a0a2a9044
  3. 21 Aug, 2015 1 commit
  4. 30 Jul, 2015 1 commit
  5. 15 Jun, 2015 5 commits
  6. 26 Mar, 2015 1 commit
  7. 10 Mar, 2015 1 commit
  8. 16 Dec, 2014 1 commit
    • Mike Kelly's avatar
      Implement TinyMCE imagebrowser plugin · 36bc9f7d
      Mike Kelly authored
      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. 26 Feb, 2014 1 commit
  10. 18 Feb, 2014 1 commit
  11. 14 Oct, 2013 1 commit
  12. 25 Sep, 2013 2 commits
  13. 19 Jul, 2013 1 commit
  14. 27 Jun, 2013 1 commit
  15. 08 Jun, 2012 1 commit
  16. 30 May, 2012 1 commit
  17. 15 Aug, 2011 1 commit
    • Richard Mansfield's avatar
      Add a page to manage html notes (bug #736665) · 4bb17cef
      Richard Mansfield authored
      Textbox blocks can now create and edit html artefacts, but they
      will never be able to provide an interface to delete them.  Because
      fragments of html will become reusable in several blocks, there will
      inevitably be some fragments that disappear from views, but still
      exist in the artefact table.  A My Notes area is added under the
      Content menu to manage these fragments.
      Change-Id: I98b410a35109f9945211329671089e45f917f38d
      Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>