1. 26 Jan, 2017 1 commit
  2. 10 Oct, 2016 1 commit
  3. 26 Sep, 2016 1 commit
    • Aaron Wells's avatar
      Bug 1533377: Browserid end-of-life migration script · cfef0ff9
      Aaron Wells authored
      This patch removes all authentication functionality
      from the browserid auth plugin. It adds a script,
      accessible through the plugin's configuration page,
      to migrate user accounts from browserid to
      internal auth.
      Also includes changes to allow users to be searched
      by authtype, and to prevent non-useable plugins
      from being enabled on the plugin config page.
      Change-Id: I4e8bd9fc4d2fb2ccaa1845fda533c9373ec251bd
      behatnotneeded: Can't test with behat
  4. 15 May, 2016 1 commit
  5. 21 Mar, 2016 1 commit
    • Robert Lyon's avatar
      Bug 1539262: Removing unnecessary $smarty PAGEHEADING lines · e82c0fcb
      Robert Lyon authored
      As they are set to TITLE we can just assign TITLE to PAGEHEADING in
      the smarty function call.
      We can later override the PAGEHRADING with
      $smarty->assign('PAGEHEADING', string); if we need to.
      Have also updated a few files where TITLE was not defined.
      behatnotneeded - everything should work as before
      Change-Id: I3ea592cd37344e68c6e90a3c64947cf99db59471
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
  6. 24 Feb, 2016 1 commit
  7. 09 Feb, 2016 1 commit
    • Aaron Wells's avatar
      Disable Persona/browserid auth if not in use (Bug 1541173) · 091285cf
      Aaron Wells authored
      Because Persona is going to be decommissioned by Mozilla in
      November 2016, we want to discourage new sites from using it.
      An easy way to do that, is to disable it for newly installed
      sites, or when upgrading sites where it is not yet in use.
      behatnotneeded: Can't be tested in behat
      Change-Id: I7a986d8610a7bed0e7e1968912a242320b8ac44f
  8. 16 Oct, 2015 1 commit
  9. 20 Sep, 2015 1 commit
  10. 07 Sep, 2015 1 commit
    • Pat Kira's avatar
      Block detail links - comment, add comment, detail links (BUG 1465107) · 17894563
      Pat Kira authored
      Minor fixes - style login panel,
      display block without content,
      remove some styling on block heading,
      remove get link function for wall block it was duplicated
      Style SSO and Persona login buttons
      behatnotneeded: styling only
      Task 22787, 23057, 22661
      Change-Id: I280947a17727eb1518551bfbb8ad05a0fb2fea80
  11. 08 Aug, 2015 1 commit
  12. 23 Jun, 2015 1 commit
  13. 03 Mar, 2015 1 commit
    • Nigel Cunningham's avatar
      (Bug1352028) Add a JSON progress bar for bulk operations. · 55a8deb8
      Nigel Cunningham authored
      This patch adds a JSON progress meter (I'll call it that to avoid confusion
      with progress bars) to the bulk uploading of users, groups and group
      memberships and the bulk export and import of users (LEAP), so the user can see
      the progress of the operation and not just the submit button changed to
      'Processing..' and whatever indication their browser gives while waiting for
      The bulk export and import are minor rewrites, replacing the old iframe based
      progress bar and the associated multiple pages and additional template file in
      the case of the bulk export, and the recursive redirect-to-self of the bulk
      To accomplish the display of the progress bar during the operation, we make the
      PHP session be closed (read only) except when changes need to be made. This is
      for the most part a straightforward change in session.php as it's the only
      direct accessor. In other places, we replace direct accessing of the session
      variable ($_SESSION) with use of the session class ($SESSION) so that it can
      reopen the session, make the change and close the session again.
      There is one more aspect to all of this: with previous behaviour, multiple
      requests for the same session would queue, taking the session lock in turn.
      After this patch is applied, they can proceed in parallel, allowing greater
      throughput. There is no additional locking requirement because the issues are
      the same as those already dealt with in allowing multiple PHP threads to
      process requests from different sessions at the same time.
      I have sought to make the progress meter nice and generic, so it can be used in
      the other bulk imports and exports too.
      Paradoxically, these changes don't just make the import seem to be faster, it
      actually is.. at least in the case of users and groups.
      Times for importing 1000 users, groups and memberships, averaged over 3 runs
      each (Wall time, not CPU time - but the relationship is the same).
                      Without Progress     With Progress
      Users                166s               155s
      Groups                85s                78s
      Memberships           20s                19s
      Change-Id: Iec15c57db32c77994edb80c71d65591de51a95e4
      Signed-off-by: default avatarNigel Cunningham <nigelc@catalyst-au.net>
  14. 05 Feb, 2015 1 commit
  15. 29 Dec, 2014 1 commit
  16. 03 Dec, 2014 1 commit
  17. 18 Jun, 2014 1 commit
  18. 04 Jun, 2014 1 commit
  19. 18 Mar, 2014 1 commit
  20. 14 Oct, 2013 2 commits
  21. 09 Sep, 2012 1 commit
  22. 03 Sep, 2012 1 commit
    • Son Nguyen's avatar
      Rename BrowserID to Persona (bug #1030033) · da37bcd8
      Son Nguyen authored
      - Rename BrowserID to Persona
      - Replace the login via 'BrowserID' button with standard graphical
      Persona button.
      - Add Persona logo
      - Update css style of all availlable themes: raw, aqua, default, primary
      school, fresh, sunset, and ultima.
      - Change Persona button background for aqua theme
      Change-Id: Icf7932dbf3e1dd32660280ab8e269d4b837b3536
      Signed-off-by: default avatarSon Nguyen <son.nguyen@catalyst.net.nz>
  23. 13 Aug, 2012 1 commit
  24. 17 Jul, 2012 1 commit
  25. 03 Jul, 2012 1 commit
  26. 11 Jun, 2012 1 commit
  27. 30 May, 2012 1 commit
  28. 23 May, 2012 1 commit
  29. 15 May, 2012 2 commits
    • Richard Mansfield's avatar
      Ensure users are automatically created by browserid authentication · 69eda7d7
      Richard Mansfield authored
      Previously, if the last browserid auth instance fetched from the
      database had autocreate off, then other browserid authinstances with
      autocreate on never got a chance to create the user.
      This change lets all the browserid authinstances with autocreate on
      have a go at creating users, and tries "No Institution" first.
      Change-Id: I9cc0d666515dbfb527893d0f0e1e1abd520a3037
      Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
    • Hugh Davenport's avatar
      Add ability to register with a BrowserID (bug #986004) · a5a97f21
      Hugh Davenport authored
      When a user clicks on "BrowserID Login", one of three things will happen
      1- If they have an account, they will login
      2- If they don't but there is one authinstance with browserid is present
          AND it has weautocreateusers enabled, then they will get an account
          in that institution, and login
      3- If none of the above is true, they will get redirected to a register
          page, which follows same self registration pattern as the internal
          authentication with the "confirm email" step removed.
      Change-Id: Idde3166e0664bf2acdc1da32271125e91d43af9c
      Signed-off-by: default avatarHugh Davenport <hugh@catalyst.net.nz>
  30. 14 May, 2012 1 commit
  31. 17 Feb, 2012 1 commit
    • Richard Mansfield's avatar
      Fix method names in auth plugin and instance configuration (bug #933937) · 11bcc0d0
      Richard Mansfield authored
      The validation/submission methods called during auth *plugin*
      configuration and auth *instance* configuration have the same names,
      but in each of these cases, the methods deal with completely different
      data, and are passed arguments in a different order.
      This is a problem for the saml plugin, which needs to detect where
      it's being called from, and reverse the order of the arguments if
      To fix this, the new methods validate_instance_config_options and
      save_instance_config_options are called during instance configuration,
      and the names 'validate_config_options' and 'save_config_options' are
      left for global plugin configuration, as these are the names used for
      all other plugin types.
      The old names are still usable in case any third party auth plugins
      are relying on them, but they'll produce a warning when called during
      instance configuration.
      Change-Id: I996ed7a2cdbe0e50dcb0c88560d10a2044b4e21c
      Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
  32. 15 Feb, 2012 2 commits
  33. 26 Jan, 2012 1 commit
  34. 11 Jan, 2012 2 commits
    • Francois Marier's avatar
      Fix "acount" typo in help files (bug #914809) · d607c550
      Francois Marier authored
      Change-Id: I79ced22f29ace3e4a566cb53d8ec6c2784376c56
      Signed-off-by: default avatarFrancois Marier <francois@catalyst.net.nz>
    • Francois Marier's avatar
      New BrowserID auth plugin (bug #894211) · f14c383e
      Francois Marier authored
      Existing users can now login through BrowserID using one of their
      confirmed email addresses as long as one of the institutions they
      belong to has enabled BrowserID. We are ignoring the auth
      instance that these user accounts are tied to.
      Automatic creation of accounts is enabled. The only outstanding
      issue is to figure out what authinstance we should use for
      creating accounts. However that's a general problem with the
      authentication system in Mahara, it's not specific to this
      plugin. Currently, we make sure that it is an institution that:
      - has registrations enabled
      - is not full
      When an account is automatically provisioned, the username
      is set to the user's email address since that's the only piece
      of information we can reliably get from BrowserID.
      Change-Id: I12e59271449654d2bb394511d5ce5adfb081aa11
      Signed-off-by: default avatarFrancois Marier <francois@catalyst.net.nz>