1. 16 Feb, 2018 1 commit
    • Cecilia Vela Gurovic's avatar
      Bug 1734178: allow user to delete own account · 9837f182
      Cecilia Vela Gurovic authored and Robert Lyon's avatar Robert Lyon committed
      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
  2. 23 Jan, 2018 1 commit
  3. 09 Jan, 2018 1 commit
  4. 29 Jun, 2017 1 commit
  5. 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
  6. 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
  7. 26 Jan, 2017 1 commit
  8. 20 Jan, 2017 1 commit
  9. 19 Dec, 2016 1 commit
  10. 10 Oct, 2016 1 commit
  11. 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
  12. 26 Sep, 2016 1 commit
  13. 01 Sep, 2016 2 commits
  14. 26 Jul, 2016 1 commit
  15. 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
  16. 21 Jul, 2016 2 commits
  17. 26 Jun, 2016 1 commit
  18. 12 May, 2016 1 commit
  19. 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
  20. 16 Dec, 2015 2 commits
  21. 09 Dec, 2015 1 commit
  22. 27 Nov, 2015 1 commit
  23. 26 Nov, 2015 1 commit
  24. 23 Nov, 2015 1 commit
  25. 22 Nov, 2015 1 commit
  26. 20 Nov, 2015 1 commit
  27. 20 Oct, 2015 1 commit
  28. 19 Oct, 2015 2 commits
  29. 16 Oct, 2015 1 commit
  30. 23 Sep, 2015 1 commit
  31. 20 Sep, 2015 2 commits
    • Jen Zajac's avatar
      Custom theme reworking (Bug 1496139) · edc2bec8
      Jen Zajac authored and Aaron Wells's avatar Aaron Wells committed
      New template inherits from raw as before but limits major colour
      changes to the site header. Because there are fewer configurable
      options after the upgrade, some options from before the upgrade
      are discarded.
      
      behatnotneeded: Can't test upgrade-related issues
      
      Bug #1496139
      (For ref, original feature was BUG 814354)
      
      Change-Id: I29e9d215019916102ea47ad53678aaec97796bca
      edc2bec8
    • Jen Zajac's avatar
      Replace btn-success with btn-primary throughout · d0673575
      Jen Zajac authored and Robert Lyon's avatar Robert Lyon committed
        behatnotneeded
      
        Bug #1465107
      
      Change-Id: I27492cbc38416fd4790e1e62ec8090c19602d171
      d0673575
  32. 13 Aug, 2015 1 commit
  33. 30 Jul, 2015 1 commit
  34. 23 Jul, 2015 1 commit
    • Robert Lyon's avatar
      Bug 1467368: Allowing the main menu structure to be cached · ec41d0e0
      Robert Lyon authored and Aaron Wells's avatar Aaron Wells committed
      
      
      This will allow the rendering of the main nav to use less resources.
      
      The cached menus are saved for each institution into the
      institution_config table for these types of menus:
      
      adminnav     - site administration navigation
      instadminnav - institution admin navigation
      staffnav     - site staff admin navigation
      inststaffnav - institution staff admin navigation
      standardnav  - navigation seen in normal section of site
      
      To clear cache menus call clear_menu_cache($institution)
      
      Change-Id: I3b58090830b6d28f10f24e23abeef775c6863aa5
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      ec41d0e0
  35. 23 Jun, 2015 1 commit