1. 09 Sep, 2018 1 commit
    • 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>
  2. 06 Sep, 2018 1 commit
  3. 31 Aug, 2018 1 commit
  4. 16 Aug, 2018 1 commit
  5. 14 Aug, 2018 2 commits
  6. 09 Aug, 2018 2 commits
    • 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>
    • Gregor Anzelj's avatar
      Bug 1743870: Moderate portfolios of regular users · 4e5e0aae
      Gregor Anzelj authored and Robert Lyon's avatar Robert Lyon committed
      Allow institution admins and site admins to immediately remove all
      sharing options from a page (or collection if the page is within
      a collection) that is deemed objectionable.
      Change-Id: I23de7ed5c4678afe8a65e51b2aec06126948c637
  7. 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
  8. 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>
  9. 18 Jul, 2018 1 commit
  10. 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
  11. 04 Jul, 2018 2 commits
  12. 28 Jun, 2018 1 commit
  13. 27 Jun, 2018 1 commit
  14. 19 Jun, 2018 4 commits
  15. 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
  16. 24 May, 2018 1 commit
  17. 22 May, 2018 1 commit
  18. 07 May, 2018 2 commits
  19. 02 May, 2018 1 commit
  20. 23 Apr, 2018 1 commit
    • Robert Lyon's avatar
      Bug 1723961: Allow update status of plan task via normal page display · f94180b4
      Robert Lyon authored
      If the viewer is the owner of the page.
      This hooks into the functionality used on the edit screen
      Also added some padding to 'tags' div within a panel
      Also changed the javascript call from being an inline html onclick to
      being done via jQuery - allowing us to capture the event and stop the
      expander event from being triggered
      Change-Id: I866486493dacb5c48878c539dbbbde3e841d8b91
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
  21. 19 Apr, 2018 2 commits
  22. 18 Apr, 2018 2 commits
  23. 10 Apr, 2018 1 commit
  24. 04 Apr, 2018 1 commit
  25. 28 Mar, 2018 1 commit
  26. 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>
  27. 18 Mar, 2018 1 commit
  28. 13 Mar, 2018 3 commits