1. 14 Jan, 2019 1 commit
  2. 22 Oct, 2018 1 commit
    • Cecilia Vela Gurovic's avatar
      Bug 1797276: escape admin reserved word in Mysql8 · de470bec
      Cecilia Vela Gurovic authored
      reserved keyword found needing to be fixed:
      admin
      was set to reserved in mysql 8.0.2 and then changed
      back to unreserved in 8.0.12
      we need this patch for the version in between them
      
      behatnotneeded
      Change-Id: Ife693b3d490ca5fd1112d0a55ff1ae74a9579aa5
      (cherry picked from commit 06e3f6b8)
      de470bec
  3. 04 Oct, 2018 1 commit
  4. 26 Sep, 2018 1 commit
    • Rebecca Blundell's avatar
      Bug 1774106: Upgrade SAML for PHP 7.2 · d2bab9b8
      Rebecca Blundell authored
      The issue is that assert() with a string arg is deprecated.
      The patch that fixes this is currently a release candidate,
      which I have installed here to see if the patch works.
      
      Requiring people to use memcached, not memcache
      Removed checks for mcrypt, no longer required
      
      @TODO:
      Replace RC version with release version when it comes out.
      
      behatnotneeded
      
      Change-Id: I111b8cedeb3847ce585ebac0eb576107542a93a2
      d2bab9b8
  5. 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
  6. 05 Jul, 2018 2 commits
  7. 15 May, 2018 1 commit
  8. 16 Mar, 2018 1 commit
  9. 08 Mar, 2018 1 commit
    • Francis Devine's avatar
      Bug 1722435: Add support for refreshing SAML metadata regularly · eee3f965
      Francis Devine authored
      We utilise the simplesamlphp metarefresh plugin, and hook it into the
      mahara cron for the auth plugin.
      
      This adds a new field to each instance configuration form that allows
      the user to specify a url that metadata should be fetched from.
      
      This information is fed into the metarefresh plugin's config and a cron
      hook is run every hour that triggers the plugin.
      
      The simplesamlphp configuration is updated to read both the metarefresh
      target location and the normal xml config file location, with the
      metarefresh config files taking precedence.
      
      NB: because of the way that the auth/saml plugin stores the idp entity
      ids you are still required to present an XML file at least once, with
      the metadata refresh config only taking over once it's fetched in the
      next run.
      
      This gives a smooth upgrade path for all existing mahara instances,
      where they should continue to operate as normal, and then an
      administrator can add the metadata refresh url at their leisure and have
      it take precedence as soon as the metadata is available
      
      behatnotneeded
      
      Change-Id: Ib5733f7526a1c19d3150b45d90c9b675d4dd7ad2
      eee3f965
  10. 06 Mar, 2018 1 commit
  11. 15 Feb, 2018 1 commit
  12. 16 Jan, 2018 1 commit
  13. 28 Dec, 2017 1 commit
  14. 19 Nov, 2017 1 commit
  15. 25 Oct, 2017 1 commit
  16. 24 Oct, 2017 1 commit
  17. 25 Sep, 2017 2 commits
  18. 21 Sep, 2017 1 commit
  19. 12 Sep, 2017 1 commit
  20. 15 Aug, 2017 1 commit
    • Cecilia Vela Gurovic's avatar
      Bug 1710005: Custom file mapping for sp and ids in saml · bb7c7561
      Cecilia Vela Gurovic authored
      The way it worked before, to add a mapping file we
      have to edit the saml config.php code
      
      With this patch, to add a mapping file we can set the variable
      saml_custommappingfile with the path to the file
      in the mahara config.php file
      
      behatnotneeded
      Change-Id: I6396930da8dfdbe1904e469f309cdb4e38d46757
      bb7c7561
  21. 18 Jul, 2017 1 commit
    • Francis Devine's avatar
      Bug 1704887: Expose signing algorithm config to mahara · 059b0765
      Francis Devine authored
      Allows you to set the signature algorithm for simplesamlphp from the
      Mahara SAML plugin configuration screen.
      
      The default setting is sha256, with sha1 available as a fallback for
      those institutions who need it.
      
      For an already existing site the default is set to sha1 as that is what
      it would have been previously
      
      behatnotneeded
      
      Change-Id: I3eb628d837bdabbfc7641620e94fc2f127beceb9
      059b0765
  22. 14 Feb, 2017 2 commits
  23. 01 Feb, 2017 1 commit
  24. 26 Jan, 2017 1 commit
  25. 25 Jan, 2017 1 commit
  26. 20 Dec, 2016 1 commit
  27. 18 Dec, 2016 1 commit
  28. 26 Oct, 2016 1 commit
  29. 11 Oct, 2016 1 commit
    • Aaron Wells's avatar
      Bug 1620879: Make SAML auth return to initial URL after login · 2c8761b2
      Aaron Wells authored
      This is needed specifically for the
      module/mobileapi/tokenform.php script
      
      Also adding an anchor "#sso" at the extra login elements,
      to allow the app to scroll that part into view.
      
      behatnotneeded: Can't test in Behat (yet)
      
      Change-Id: I4363976522b8339542002535d8ba57fdc70496ac
      2c8761b2
  30. 21 Sep, 2016 1 commit
  31. 02 Sep, 2016 1 commit
  32. 15 Jul, 2016 1 commit
  33. 01 Jul, 2016 1 commit
    • Aaron Wells's avatar
      Bug 995681: Allow SAML account creation with remote usernames · a3782238
      Aaron Wells authored
      There's no particular reason to prevent the SAML plugin from
      creating auto-creating accounts if you're using remote usernames.
      Even in a multi-tenanted situation with many tenants using the
      same SSO, we can tell which institution a new user should go
      into because each SAML auth instance requires an institution
      identifier field from the SAML attributes.
      
      Change-Id: I7d7fd592aafe3d01cd92098977be82793f3376dd
      behatnotneeded: Requires external SAML IdP to test.
      a3782238
  34. 28 Jun, 2016 4 commits