1. 30 Sep, 2018 1 commit
  2. 28 Jun, 2018 1 commit
  3. 27 Jun, 2018 1 commit
  4. 09 Feb, 2017 1 commit
  5. 11 Jan, 2017 1 commit
  6. 07 Sep, 2016 1 commit
  7. 15 Jul, 2016 1 commit
  8. 27 Apr, 2016 1 commit
  9. 29 Mar, 2016 1 commit
  10. 23 Mar, 2016 1 commit
    • Aaron Wells's avatar
      Bug 1558361: Remove "_blank" from note block · 0a07de26
      Aaron Wells authored and Robert Lyon's avatar Robert Lyon committed
      Also setting the note block's form change checker state to
      "dirty" by default, so that users will get a warning before
      navigating away to the other page.
      
      Change-Id: I20f586781df63e942a7a1c82e5e74fd5214c233f
      0a07de26
  11. 16 Dec, 2015 1 commit
  12. 09 Dec, 2015 1 commit
  13. 24 Nov, 2015 1 commit
    • Aaron Wells's avatar
      Display icons for 3rd-party blocktypes plugins · 4f849ed2
      Aaron Wells authored
      Bug 1510421
      
      Defines a new static PluginBlocktype method, get_css_icon(), which
      fetches the name of the CSS icon to use for this blocktype. It returns
      false by default, which tells the theme to "fall back" to the old
      thumbnail.png instead. 3rd-party plugins can override this to
      specify a particular icon to use.
      
      All the core blocktypes have been refactored to extend
      MaharaCoreBlocktype, which uses the blocktype name as the name
      of the CSS icon to use. I also deprecated the "SystemBlocktype"
      class while I was at it.
      
      PluginBlocktype::get_blocktypes_for_category() now returns both
      the results of get_css_icon() and the thumbnail.png path, so that
      themes can decide which they want to use. (And of course
      thumbnail.png is served via thumbnail.php, so 3rd party themes
      can provide their own custom image files if they wish.)
      
      behatnotneeded: Requires installing third-party plugins to test
      
      Change-Id: Idb1ecfc7b21175913708e695788906c11133b0c0
      4f849ed2
  14. 11 Nov, 2015 1 commit
  15. 19 Oct, 2015 1 commit
  16. 17 Sep, 2015 1 commit
  17. 14 Sep, 2015 1 commit
    • Pat Kira's avatar
      Amend text colour class names · 5a0aba99
      Pat Kira authored and Robert Lyon's avatar Robert Lyon committed
      Task no: 23515
      Modify subthemestarter to inherit these value properly
      behatnotneeded: Styling only
      
      Change-Id: I61e1d976e4075eadad5d206820b219fdff3a7545
      5a0aba99
  18. 09 Aug, 2015 1 commit
  19. 07 Aug, 2015 1 commit
  20. 15 Jun, 2015 2 commits
  21. 03 Jun, 2015 1 commit
    • Robert Lyon's avatar
      Lazy-load list of textboxes when opening textbox form (Bug 1393734). · 0a1e5e0e
      Robert Lyon authored
      
      
      The query to load other textboxes when displaying textbox config. forms
      is very heavy in a large instance of Mahara. This patch postpones the
      listing of other textboxes in the textbox config. form, until the link
      to display them is clicked.
      This enables the textbox config. form to load and display quickly.
      
      TODO: optimise loading speed of list of textboxes. This process is still
      as slow as it was before - all this patch does is defer it until it's
      actually required!
      
      Change-Id: I92c77e22753882a2b9ed5be3738b8d26b7f5709d
      Signed-off-by: default avatarMike Kelly <m.f.kelly@arts.ac.uk>
      0a1e5e0e
  22. 06 Apr, 2015 1 commit
  23. 14 Mar, 2015 1 commit
  24. 26 Feb, 2015 2 commits
  25. 12 Feb, 2015 1 commit
    • Nigel Cunningham's avatar
      Bug1051844: Fix block configure dialog width. · 141ee71b
      Nigel Cunningham authored
      The configure dialog for blocks is currently set to a fixed width via
      Javascript, but there is no handler for browser resizing and it results in the
      dialogue being very wide for the sake of just one line when a license agreement
      is enabled.
      
      Fix this issue by making all dimensions percentages, and using a combination of
      max-width: 90% and width: max-content. In addition, make the dialog fixed
      position with its own scrollbars as needed (the body's scrollbar is disabled
      when the dialog is shown).
      
      Contextual help's width code and CSS is also adjusted so that it wraps within
      dialog boxes rather than pushing the width out.
      
      Change-Id: If2a40739f1510cedcf9a6133ccfb8f0a18257356
      141ee71b
  26. 04 Feb, 2015 1 commit
  27. 28 Jan, 2015 1 commit
    • Robert Lyon's avatar
      Don't expand the comment lists on page edit screen (Bug #1317343) · 1b663910
      Robert Lyon authored
      
      
      This was causing some problems with tagged posts
      - also hiding the 'add comment' link on page edit screen.
      
      And making the comments info show when no comments were on item and
      allow comments for artefact was enabled. This is an issue with newer
      versions of php.
      
      Also placing some of the template files in the new correct location
      
      Change-Id: I599e16b0899559a3ebcdf68cff53220b1d83f2d6
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      1b663910
  28. 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
  29. 03 Dec, 2014 1 commit
  30. 16 Nov, 2014 3 commits
  31. 09 Sep, 2014 1 commit
  32. 08 Sep, 2014 1 commit
    • Robert Lyon's avatar
      Changing the display name of 'text box' to note (Bug #1339113) · 6a190784
      Robert Lyon authored
      
      
      So as to seperate the 'text' block from the 'note' block
      
      I figured just changing the viewable text from 'text box' to 'note' will
      be fine as we have in another occasion changed blog to journal but
      still have the info in the db recorded as blog.
      
      I've also replaced the hardcoded 'textbox/note' block option to with
      the new 'text' block option at top of chooser list.
      
      And forced the site upgrade to install this new 'text' block.
      
      Change-Id: Ib40815cc359fc0d4eb715009e506f5fd3e36ee57
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      6a190784
  33. 21 Aug, 2014 1 commit
  34. 05 Jun, 2014 1 commit
  35. 09 May, 2014 1 commit
    • Yuliya Bozhko's avatar
      Some artefact refactoring (Bug #1298646) · 3ba72d71
      Yuliya Bozhko authored and Robert Lyon's avatar Robert Lyon committed
      
      
      Fixes in this patch:
      
      - Moved artefact.php to artefacts directory to separate it from pages.
      - Fixed reference to a wrong 'artefactonlyviewableinview' string.
      - Removed add_to_render_path() and its calls which have no purpose at all.
      - Removed 'artefact_parent_cache' table.
      - Removed cron jobs related to 'artefact_parent_cache' from DB.
      - Added 'path' column in 'artefact' table to easier calculate hierarchy.
      - Added ArtefactTest.php for artefacts unit tests
      
      Change-Id: Ia14cd85b94c32a950354446ee3565bd2964c625c
      Signed-off-by: default avatarYuliya Bozhko <yuliya.bozhko@totaralms.com>
      3ba72d71
  36. 11 Mar, 2014 1 commit
    • Robert Lyon's avatar
      Displaying textbox attachments to view/artefact.php page (Bug #1279943) · 766ef005
      Robert Lyon authored
      
      
      - and getting the notes page to display the attachment count
      
      -- now cherry-picked on earlier expander fixing patches and having the
      new html format
      
      - also fixed bugs:
      -- where expander was not closing after editing block on view/blocks.php page
      -- where block edit was not keeping attached the attachments that
      were attached when adding attacments via notes page.
      -- where block edit was dropping attachments from all textbox
      instances of the same artefact if one selected to 'use content from
      another text box' - now the editor should auto 'select' the attachments
      related to the textbox chosen.
      
      Change-Id: I97101c2065a4daff22f82bb472c37d46d60e4c08
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      766ef005