1. 22 Jan, 2015 1 commit
  2. 21 Jan, 2015 1 commit
  3. 19 Jan, 2015 1 commit
  4. 15 Jan, 2015 2 commits
  5. 13 Jan, 2015 1 commit
  6. 12 Jan, 2015 2 commits
  7. 08 Jan, 2015 2 commits
  8. 07 Jan, 2015 1 commit
  9. 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 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
  10. 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
  11. 08 Dec, 2014 2 commits
  12. 04 Dec, 2014 2 commits
  13. 03 Dec, 2014 2 commits
  14. 20 Nov, 2014 1 commit
  15. 19 Nov, 2014 1 commit
    • Robert Lyon's avatar
      Always specify what base type we want returned from parseInt() · 3743dcf6
      Robert Lyon authored
      
      
      Bug 1394330
      
      In most places in mahara we specify that we want base 10 number
      returned (or base 16 in case of a hexidecimal css colour)
      
      But there are a few places where we don't specify the radix at all
      
      It's best practice to always include the radix because for older
      browsers it interprets leading 0 as octal by default.
      
      Also makes it clearer to developers what type of number is expected to
      be retrieved from the string.
      
      Change-Id: Iaecc85cbed875f85b313188c4e96cc1b77c77b31
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      3743dcf6
  16. 18 Nov, 2014 1 commit
  17. 16 Nov, 2014 15 commits
  18. 11 Nov, 2014 1 commit