1. 04 Oct, 2019 1 commit
    • Cecilia Vela Gurovic's avatar
      Bug 1813987: checking old layout tables exists before using them · 279c2d49
      Cecilia Vela Gurovic authored
      - when deleting an institution
      - added a function to simulate the content of
      view_layout_column table that was deleted.
      This is needed when importing a portfolio with
      old layout
      - removed function addcustomlayout and some
      other code not used anymore
      - removed function get_layoutrows that was used
      when editing old layouts
      
      behatnotneeded
      
      Change-Id: Ibebf50103bf1811894e75a21a668c4700283e703
      279c2d49
  2. 23 Apr, 2019 1 commit
    • Doris Tam's avatar
      Bug 1824684: Tags for folders and files appearing for non-personal files · a8ccbf09
      Doris Tam authored
      Separated the show tags from the user id of who is owning the tags
      
      Also, removed help icon for Institiution tags in the settings as there
      was no linked help text for the icon and the existing description
      is intuitive enough.
      
      behatnotneeded
      
      Change-Id: I1a980413fbb94fb290ffe21bd832c0a8dafe6756
      a8ccbf09
  3. 30 Mar, 2019 1 commit
    • Gregor Anzelj's avatar
      Bug 717196: Isolated institutions · 258c4744
      Gregor Anzelj authored
      Isolated institutions is a feature that allows locking down
      access for members of institutions so that they are separated
      entirely and disallow contact between members of one
      institution with members of another institution.
      
      behatnotneeded
      
      Change-Id: Ib94681aff5543ad26887f24b2eb7fce9d0c8b8d2
      258c4744
  4. 25 Mar, 2019 1 commit
  5. 26 Feb, 2019 2 commits
  6. 04 Feb, 2019 1 commit
  7. 31 Aug, 2018 1 commit
  8. 07 Aug, 2018 1 commit
    • Cecilia Vela Gurovic's avatar
      Bug 1741987: Update jquery - Events · 3d1abcc2
      Cecilia Vela Gurovic authored
      Event
         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)
      
      behatnotneeded
      
      Change-Id: I1a50050f882b864ad63d273de160e0b441a77705
      3d1abcc2
  9. 19 Jul, 2018 1 commit
    • Rebecca Blundell's avatar
      Bug 1760732: Add warning for upgrade of configurable themes · 8cac996b
      Rebecca Blundell authored
      Add 'customthemeupdate' flags for any institution to the
      institution_config table if:
      - the upgrade is from 16.10 or before
      - and the institution is using a configurable theme
      
      If there are institutions with 'customthemeupdate' set we add a warning
      that the institution settings need to be re-saved.
      
      Once the settings for an institution have been re-saved we clear the
      flag for that institution
      
      Steps to test:
      1) Have a 16.04 version site
      2) Create three institutions, two with a configurable themes
      3) Checkout the patch and run upgrade
      4) On clicking 'Continue' you should see the warning message
      5) On going to Admin dashboard you should see message there also
      6) Edit / save one of the institions
      7) Confirm that institution is not listed
      8) Do for the other and see warning now gone
      
      behatnotneeded
      
      Change-Id: I844d8e8bcb9be81a29f36cb101da1c61b41b10a9
      8cac996b
  10. 20 Jun, 2018 1 commit
  11. 17 Jun, 2018 2 commits
  12. 27 Mar, 2018 1 commit
    • Kristina Hoeppner's avatar
      Bug 1754208: Some more small language fixes · 6d41a92d
      Kristina Hoeppner authored
      Correct plural form for "Review accounts before
      self-deletion" as this is now an institution
      setting and not a user settings.
      
      Also remove the word "user" from the account
      deletion screen.
      
      behatnotneeded
      
      Change-Id: I57f38d68d487dbb9039a5a6fb602230a846281a1
      6d41a92d
  13. 08 Mar, 2018 1 commit
  14. 06 Mar, 2018 1 commit
  15. 04 Mar, 2018 1 commit
    • Kristina Hoeppner's avatar
      Bug 1734164: Update default legal statements · 00c18420
      Kristina Hoeppner authored
      Removed the template text so as not to imply
      that it is sufficient for an institution. Every
      site admin will need to check with the institution's
      legal team on what needs to be provided in the
      "Terms and conditions" and "Privacy statement".
      
      Template text was also removed for the default
      homepage and dashboard to encourage institutions
      to write their own text.
      
      behatnotneeded
      
      Change-Id: I81481dca7f16b29c57dfcdd3d211e8c7b76432dc
      00c18420
  16. 23 Feb, 2018 1 commit
    • Glenn Walbran's avatar
      Bug 1729079: Create a mechanism to build manual links · dbf1ef2b
      Glenn Walbran authored
      This commits adds a mechanism that will build links to the manual pages
      such that:
      
      - user's language is used if manual exists in that language, else en
      - the manual for this mahara/series is used
      
      The key -> manual page map will need to be populated and these links added to
      pages.
      
      Change-Id: Id7871395821dce660841341dda200f231e75de16
      dbf1ef2b
  17. 16 Feb, 2018 1 commit
    • Cecilia Vela Gurovic's avatar
      Bug 1734178: allow user to delete own account · 9837f182
      Cecilia Vela Gurovic authored
      added settings
      
      - institution level: reviewselfdeletion
          0 if the institution does not require approval
            from an admin to delete an account
          1 if the institution requires an admin to approve
            account deletion requests from users
          if not set, it takes the value from the site's
          default
      
      - site level: defaultreviewselfdeletion
        (Site options->User Settings -> Review account before self-deletion)
          1 if the site's default is requiring approval
          null otherwise
      
      Account deletion by a user
      
      when a user accesses to the account settings, a
      'Delete account' button is displayed.
      
      This will:
      - If the user belongs to an institution that requires
        approval (or does not have the settings but the site
        requires approval by default)
          then a notification will be sent to the admins
          of the institutions that require approval that
          the user belongs to
      - if the user belongs to institutions and none of them
        require approval (or does not have the setting
        but the site does not require approval by default)
          then the account is deleted
      - if the user does not belong to any institution
          then the action will depend on the setting of
          the 'mahara' institution or sites default if
          'mahara' doesn't have the setting
      
      Approval by institution admins
      
      An institution admin can see the pending deletion
      requests in Admin menu-> Institution -> Pending deletions
      After approving/denying a request, the user
      that requested the account deletion will receive
      a notification
      
      behatnotneeded
      Change-Id: I4ccd9c798cab065ec557eaddf7dfc3a51920b6d0
      9837f182
  18. 23 Jan, 2018 1 commit
  19. 09 Jan, 2018 1 commit
  20. 29 Jun, 2017 1 commit
  21. 21 Mar, 2017 1 commit
    • Cecilia Vela Gurovic's avatar
      Bug 1657565: App-style navigation · bf6d8b64
      Cecilia Vela Gurovic authored
        Hide the dropdown menu site and institution level adding option
          to enable in config.php
          $cfg->dropdownmenuenabled= true
      
        Separate normal navigation menu from admin navigation menu
          and place it next to user menu at the top right
      
        Make the navigation changes in all themes but keep old raw theme
          unchanged in raw_old directory
      
      behatnotneeded: Are added in a separate commit
      Change-Id: If15680e17486f5bf607c3b0bf84d9086f4179e7d
      bf6d8b64
  22. 14 Feb, 2017 1 commit
    • Robert Lyon's avatar
      Bug 1650995: Auth saml idp metadata fix · 8665b925
      Robert Lyon authored
      
      
      This patch allows the dataroot/metadata/*.xml file to be named after
      the idp rather than the Mahara institution.
      
      Also added
      - A select dropdown so that institution can pick existing auth to be
      paired to
      - Upgrade to rename the dataroot/metadata/*.xml file
      - Check to stop being able to add blank metadata field
      - An alert for user when updating metadata if other institutions are also being effected
      - Delete the metadata if deleted institution is only one using it
      
      behatnotneeded
      
      Change-Id: Ie3f5cdc523404b1081352ede67aab591e79b6dbb
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      8665b925
  23. 26 Jan, 2017 1 commit
  24. 20 Jan, 2017 1 commit
  25. 19 Dec, 2016 1 commit
  26. 10 Oct, 2016 1 commit
  27. 05 Oct, 2016 1 commit
    • Cecilia Vela Gurovic's avatar
      Bug 1304146: Delete remote user when delete institution · 933fc266
      Cecilia Vela Gurovic authored
      If a user has manually assigned a remote authorization method
      from an institution and he is not a member of that institution
      when we try to delete the institution there will still be
      a record in auth_remote_user table.
      
      When the institution is deleted, so is the authorization method,
      and so should be the remote user record.
      
      behatnotneeded
      
      Change-Id: I91dcadc5fbfddc8941c60adc78f304996591b3b8
      933fc266
  28. 26 Sep, 2016 1 commit
  29. 01 Sep, 2016 2 commits
  30. 26 Jul, 2016 1 commit
  31. 25 Jul, 2016 1 commit
    • Aaron Wells's avatar
      Bug 1606094: Stop sending quota notifications to everyone · 2c262cdf
      Aaron Wells authored
      This patch changes that bad left (outer) join to an inner
      join, so that we only check for notifications for users
      who are in the affected institution.
      
      As a further safeguard, it also removes the line that
      compared each user's file usage to the institution's
      new quota. Now, we'll instead compare each user's
      file usage to that user's current quota (which, for
      members of the institution, will be the institution's
      new quota.)
      
      Change-Id: I4db6068221d1238c8a755434e78e6cc006a84aa8
      behatnotneeded: Test to come later
      2c262cdf
  32. 21 Jul, 2016 2 commits
  33. 26 Jun, 2016 1 commit
  34. 12 May, 2016 1 commit
  35. 21 Mar, 2016 1 commit
    • 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
  36. 16 Dec, 2015 1 commit