1. 15 Apr, 2019 1 commit
  2. 31 Jul, 2017 1 commit
  3. 30 Jun, 2017 1 commit
  4. 27 Feb, 2017 1 commit
  5. 19 Sep, 2016 1 commit
  6. 21 Mar, 2016 2 commits
    • Robert Lyon's avatar
      Bug 1539262: Removing unnecessary $smarty PAGEHEADING lines · e82c0fcb
      Robert Lyon authored
      
      
      As they are set to TITLE we can just assign TITLE to PAGEHEADING in
      the smarty function call.
      
      We can later override the PAGEHRADING with
      $smarty->assign('PAGEHEADING', string); if we need to.
      
      Have also updated a few files where TITLE was not defined.
      
      behatnotneeded - everything should work as before
      
      Change-Id: I3ea592cd37344e68c6e90a3c64947cf99db59471
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      e82c0fcb
    • Robert Lyon's avatar
      Bug 1539262: Making constant SUBSECTIONHEADING · 4d6abc2b
      Robert Lyon authored
      
      
      To make this similar to PAGEHEADING / TITLE for consistency
      
      This allows the for it to display when an AccessDeniedException is
      thrown.
      
      Also fixing up where the PAGEHEADING / SUBSECTIONHEADING were set in
      the wrong order.
      
      behatnotneeded - existing tests should be fine
      
      Change-Id: Ife016639aa8f444e6d3f3183e3753cd9f8e9aae4
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      4d6abc2b
  7. 16 Mar, 2016 1 commit
    • Aaron Wells's avatar
      Explicitly commit artefact to avoid buggy destructor (Bug 1513716) · 294fa9a4
      Aaron Wells authored
      Since this blog post object wasn't committed after having its
      description updated, it causes the destructor to try to save
      the changes to the database, and that sometimes throws a fatal
      error if PHP garbage-collects the global $db variable before it
      calls this constructor.
      
      behatnotneeded: Covered by existing "edit_journal.feature"
      
      Change-Id: I5056ecce91b823b245cb5bd29f0676a35a6afd45
      294fa9a4
  8. 09 Dec, 2015 1 commit
  9. 19 Oct, 2015 1 commit
  10. 22 Sep, 2015 1 commit
  11. 20 Sep, 2015 1 commit
  12. 25 Aug, 2015 1 commit
  13. 18 Aug, 2015 2 commits
  14. 30 Jul, 2015 2 commits
  15. 15 Jun, 2015 3 commits
  16. 14 Mar, 2015 1 commit
  17. 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
  18. 16 Oct, 2014 1 commit
    • Aaron Wells's avatar
      Restore "toggle" button to TinyMCEs with "tinymceconfig" param · 886a7463
      Aaron Wells authored and Robert Lyon's avatar Robert Lyon committed
      Bug 1381738. All the TinyMCE instances that use the "maharaimage" plugin are providing
      their own tinymceconfig param which redefines the whole list of plugins in use. So they
      didn't get the message when "tooltoggle" became one of the standard plugins.
      
      This fix is a bit of a hack. A more robust fix would provide a way for a TinyMCE to
      *add* to the list of plugins, or just specifically say it wants to use maharaimage
      instead of image.
      
      Change-Id: Ia8128e5d70bd4be1e5d4b45efae368a88174c4c5
      886a7463
  19. 04 Jun, 2014 1 commit
  20. 22 Apr, 2014 1 commit
  21. 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>
      83524452
  22. 14 Oct, 2013 1 commit
  23. 02 Oct, 2013 1 commit
  24. 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
      directories
      other than $WWWROOT itself, I changed them to be explicitly links to
      "index.php".
      
      Also fixed the Windows-style line endings in homeinfo.tpl
      
      Fix all implicit links
      
      Change-Id: I87b285713e5cb1cfe785ceedd2702e5c2578058b
      1c56a922
  25. 14 Feb, 2013 1 commit
  26. 30 Jul, 2012 1 commit
  27. 28 Jun, 2012 1 commit
    • Son Nguyen's avatar
      Add blog post directly from a page (bug #792645) · 5f5aa85a
      Son Nguyen authored
      
      
      Three blocktypes have been updated
      1. Blog block (entire journal) -> add shortcut "New entry" to this blog
      2. recentposts block (most recent journal entries):
      	if there is only one journal -> add shortcut "New entry"
      	if more than on -> display a dropdown list of blogs to select
      	(these blogs are taken from the block configuration)
      3. taggedposts block (tagged journal entries):
          all journals owned by this user will be displayed in the dropdown
      list
      
      *Note: Javascript code has been removed from the template.
      *Note: Call initialization js code of all blocks
      
      Change-Id: Ibdd63dfee39787f74d872a6a31b3286c63dee70a
      Signed-off-by: default avatarSon Nguyen <son.nguyen@catalyst.net.nz>
      5f5aa85a
  28. 15 Jul, 2011 1 commit
    • Eugene Venter's avatar
      Make profile pics available in files area · 4a7b4ac4
      Eugene Venter authored
      
      
      bug #605747 and bug #806501
      
      When a user uploads a new profile icon, it now gets added to the
      "images" folder in their files area. Profile icons are emphasised and
      descriptions aren't editable. Warning notifications, when deleting a
      default profile icon or when deleting a folder containing profile
      icons, are implemented.
      Signed-off-by: default avatarEugene Venter <eugene@catalyst.net.nz>
      Change-Id: I3f8c93c4b65814aa183f0eaa8e1739e750c87905
      4a7b4ac4
  29. 13 May, 2011 1 commit
  30. 12 Apr, 2011 1 commit
  31. 23 Dec, 2010 1 commit
  32. 05 Oct, 2010 1 commit
  33. 03 Sep, 2010 1 commit
  34. 02 Sep, 2010 1 commit
  35. 27 Aug, 2010 1 commit