1. 30 Sep, 2018 2 commits
  2. 24 Sep, 2018 1 commit
  3. 09 Sep, 2018 4 commits
    • Robert Lyon's avatar
      Bug 1782954: Adding new menu layout · 91747fb7
      Robert Lyon authored
      Change-Id: I523b7989df426670690b0a086c553149dba26d84
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
    • Robert Lyon's avatar
      Bug 1788296: Adjusting icons in Content section · 0401ddc9
      Robert Lyon authored
      Change the Plan icon from 'checkbox' to 'map' as signoff plugin makes more
      sense to use the 'checkbox' icon in page editor
      Also adding icons to the titles of the pages
      in content/portfolio/group sections
      Change-Id: I6b2ab5945dca1e6e26d5b1a9c23d59e39ee057ce
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
    • Cecilia Vela Gurovic's avatar
      Bug 1790543: Display portfolio instructions · 5cedce1f
      Cecilia Vela Gurovic authored
      1) Add an 'instructions' field to view table via install / update.
      2) Add 'Instructions' textarea / wysiwyg field to view settings page and
      have it save to the database
      3) Move generic "This area shows a preview of what your page looks like.
      Changes are saved automatically. Drag blocks onto the page to add them.
      You can then also drag them around the page to change their position."
      text in edit page to the help icon and in it's place have an expandable
      area to display the saved 'instructions' message.
      4) On view display page have an expandable area to display the saved
      'instructions' message
      5) in view edit mode, collapsing/uncollapsing the Instruction section
      is remebered automatically for next time the view is edited
      Change-Id: Ia56323b9b734b8ebe9498c54dce5a3b934d1fd29
    • Robert Lyon's avatar
      Bug 1784778: Peer assessment block · d1d6880e
      Robert Lyon authored and Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic committed
      A new block is created that can only be filled with content from a
      person who has the “Peer assessment” role for a portfolio. The block's
      content is not visible to the page owner until the peer published it.
      The block can be selected by the portfolio author for inclusion on any
      page, but it can only be used in conjunction with the peer assessor role.
      If no peer assessor is selected for a portfolio, the block stays empty.
      It is also available on the site and institution level for inclusion into
      portfolio pages there (for the creation of templates).
      behatnotneeded: will be added in patch 9063
      Change-Id: I6f9945f184b4512c345402e1a73f6fc6f21572a7
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
  4. 06 Sep, 2018 1 commit
  5. 31 Aug, 2018 1 commit
  6. 16 Aug, 2018 1 commit
  7. 14 Aug, 2018 2 commits
  8. 09 Aug, 2018 1 commit
    • Robert Lyon's avatar
      Bug 1785938: Fixing gallery and changing slimbox2 to fancybox3 · 66e7468a
      Robert Lyon authored
      Things done with this patch:
      1) Changed the 'Use photo frame' option from being a plugin variable
         to being an instance config variable
      2) Added back in the css for the giving the gallery images photo frame
      3) Get the non-square thumbs to render correctly spaced on load
      4) Swapped the slimbox2 to fancybox3 and allowed the block itself to
      control when to put content into head data
      Change-Id: I397be45f2347588988b663b25b560d8ab876afe1
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
  9. 07 Aug, 2018 2 commits
    • Cecilia Vela Gurovic's avatar
      Bug 1741987: Update jquery - Core · 841c042b
      Cecilia Vela Gurovic authored and Robert Lyon's avatar Robert Lyon committed
      Deprecated: document-ready handlers other than jQuery(function)
      Breaking change: Deprecated .size() removed
      Change-Id: I7c61090a3362586571855fc081847c084e398c33
    • Cecilia Vela Gurovic's avatar
      Bug 1741987: Update jquery - Events · 3d1abcc2
      Cecilia Vela Gurovic authored and Robert Lyon's avatar Robert Lyon committed
         Breaking change: .load(), .unload(), and .error() removed
         Breaking change: .on("ready", fn) removed
         Breaking change: event.pageX and event.pageY normalization removed
         Breaking change: jQuery.event.props and jQuery.event.fixHooks removed
         Breaking change: Delegated events with bad selectors throw immediately
         Deprecated: .bind() and .delegate()
           no calls to .bind() for events in core.
           Only calls to bind() refer to the js bind of arguments to functions.
           no calls to unbind() for event in core.
           Only calls to unbind refer to the unbind method defined in
           formChangeManager not related to the jQuery method.
          Warnings fix
          JQMIGRATE: jQuery.fn.click() event shorthand is deprecated
          - also applies to the other event shorthands, including:
           blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown,
           mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave,
           change, select, submit, keydown, keypress, keyup, and contextmenu.
          JQMIGRATE: jQuery.fn.hover() is deprecated
          JQMIGRATE: jQuery(window).on('load'...) called after load event occurred
      	(for FileBrowser we can see this error when editing a block in a page)
      Change-Id: I1a50050f882b864ad63d273de160e0b441a77705
  10. 28 Jul, 2018 1 commit
    • Robert Lyon's avatar
      Bug 1782729: Adjust skin form to submit via javascript · 6c5373d6
      Robert Lyon authored
      In the past there was 2 filebrowser fields, body background and view
      background, in the skin edit form and this meant we couldn't submit
      the form by js as it confused things.
      But now we only have the body background image option so I've altered
      the form so that it submits via javascript.
      In doing so it gets the changing folder to work as expected as well.
      I've also restricted the images one can use to non-profile ones as
      that was causing an error on valid image check.
      Change-Id: Ia11d3ce6073d15d2c60727d3abbdf31b6a93993b
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
  11. 09 Jul, 2018 1 commit
    • Cecilia Vela Gurovic's avatar
      Bug 1779600: removing slideshow.js · dd7ca4d4
      Cecilia Vela Gurovic authored
      This js file was loaded when calling
       function get_instance_javascript() in
      The line that included that file was removed when adding bootstrap
      There are no calls to the only function defined in slideshow.js,
      I think is safe to remove the file.
      Change-Id: Iddcc6419a06cfccebdd3d243680ee653fd5cae2d
  12. 19 Jun, 2018 2 commits
  13. 18 Jun, 2018 1 commit
    • Kenneth Hendricks's avatar
      Bug 1776364: Add generateifpossible flag to get_local_path · 63d04fd1
      Kenneth Hendricks authored
      This flag will set whether the function should
      attempt to create the file if it doesn't exist.
      E.g. image resizes.
      This allows an external file system to call
      get_local_path with this flag set to false to
      skip the processing. This allows an external
      file system to avoid an infinate loop when calling
      get_local_path to check local file availibility.
      Sponsored by Central Queensland University
      Change-Id: Iaade0b06fcc2cd1755467231e0bafea6b90a99ec
  14. 24 May, 2018 1 commit
  15. 22 May, 2018 1 commit
  16. 07 May, 2018 2 commits
  17. 19 Apr, 2018 1 commit
  18. 10 Apr, 2018 1 commit
  19. 04 Apr, 2018 1 commit
  20. 19 Mar, 2018 1 commit
    • Robert Lyon's avatar
      Bug 1755919: Adding related tags page and adjusting tag filter · 0ad5b688
      Robert Lyon authored
      This patch contains the following:
      - created a relatedtags.php page + json file + template to handle the
      viewing of related tags for a user, the differences for this to
      tags.php page are:
      -- it can be viewed publically
      -- it requires a tag and viewid
      - Adjusted the filters for blog/blogpost, plan/task so they appear
      under their own filters as well as 'text' filter
      - adjusted the dwoo function list_tags so that we can pass an array of
      viewids/tags and/or just a view id
      -adjusted the portfolio_search_* functions so they would work for both
      my tags and related tags pages
      - fixed a filter js problem for tags.php where choosing the filter was
      not updating the displayed filter string
      Change-Id: Ie3a2c3cb56e94ced0e021265bce88e35a9cfba5d
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
  21. 13 Mar, 2018 2 commits
  22. 08 Mar, 2018 1 commit
  23. 07 Mar, 2018 1 commit
  24. 19 Nov, 2017 1 commit
    • Ilya Tregubov's avatar
      Bug 1685049: Remote file system modification · 78c87713
      Ilya Tregubov authored
      Enables Mahara to save files to an external file system
      - object storage (such as AWS's S3) -
      which can reduce the cost of storage
      Change-Id: I76822612f2922ba0ef2a0b7a4efb9cd2b96979a6
  25. 17 Nov, 2017 1 commit
  26. 16 Nov, 2017 1 commit
  27. 30 Oct, 2017 1 commit
    • Cecilia Vela Gurovic's avatar
      Bug 1660237: removed old mobile api · d7018426
      Cecilia Vela Gurovic authored and Robert Lyon's avatar Robert Lyon committed
      removed code from htdocs/api/module/ files and replace it with a json reply error message.
      removed the 'allowmobileuploads' config variable since it is only used by the old mobile api.
      removed the 'mobileuploadtoken' values in usr_account_preferences since they are only used by old mobile api. The new mahara mobile uses external_tokens table to store its access tokens.
      Change-Id: I02e94079fc83aa6a81534b70446f7e8ab2ebd7a4
  28. 16 Oct, 2017 1 commit
  29. 09 Oct, 2017 1 commit
    • Robert Lyon's avatar
      Bug 1722132: Video mimetype not set correctly due to fetch by assoc · e978112e
      Robert Lyon authored
      Rather than fetching by array now that we have multiple extensions
      using the 'video/mp4' mimetype.
      This would cause problems for older sites where the file was correctly
      saved as 'video' artefacttype but where the fetching from db of the
      mimetypes to compare would associate a different extension to
      'video/mp4', eg 'm4v'.
      This also meant that videos uploaded after commit
       could end up being saved as
      atefacttype 'file' rather than 'video'
      This patch fetches mimetypes as array and tidies things up for video
      Change-Id: I53dc2d5ddb573d630f1de408cc9c027e488cd99e
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
  30. 26 Sep, 2017 1 commit
  31. 09 Sep, 2017 1 commit
    • Robert Lyon's avatar
      Bug 1692385: Adjusting the event_log table · ebd928b1
      Robert Lyon authored
      Add 5 new new columns to event_log table make searching over the
      data easier and also record the id of any parent/related info as well
      Eg, if one deletes an image block from a page we now record:
      id - the event id
      resourceid - the block id
      resourcetype - the blocktype, eg image
      parentresourceid - the id of the parent, eg view id
      parentresourcetype - the type of parent, eg 'view'
      Because we would not be able to find related view info from just the
      block id anymore.
      Also added the ability to index and search over event information in
      elasticsearch search type event_log
      Change-Id: I280c1c75c35a6c58f42d8acb36cf5c24c70b902d
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>