1. 16 Dec, 2014 3 commits
    • Mike Kelly's avatar
      Fix tabs and whitespace formatting · 0c875692
      Mike Kelly authored
      Change-Id: Iae6b20134f7426c006dcfe0200e46b2cd52279ff
      Signed-off-by: default avatarMike Kelly <m.f.kelly@arts.ac.uk>
      0c875692
    • Mike Kelly's avatar
      Delete related embedded images on deletion of artefacts · aa8d1892
      Mike Kelly authored
      Change-Id: I177f3a2eec67609181337ed4bca01fb7c40d7e8a
      Signed-off-by: default avatarMike Kelly <m.f.kelly@arts.ac.uk>
      aa8d1892
    • 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
      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
  2. 15 Dec, 2014 4 commits
  3. 14 Dec, 2014 2 commits
  4. 12 Dec, 2014 2 commits
  5. 11 Dec, 2014 17 commits
  6. 10 Dec, 2014 5 commits
  7. 09 Dec, 2014 7 commits