1. 08 Jan, 2014 1 commit
    • Aaron Wells's avatar
      Introducing the institution_config table · 5be3b920
      Aaron Wells authored
      Bug 1264429: This patch creates the table, refactors the get_institution_config() method,
      the Institution class, and the institution editing page, to use the new table.
      Henceforth columns should only be added to the main "institution" table if they represent
      a required setting (like name and displayname), or they need to be accessed frequently by
      direct SQL queries.
      Change-Id: I4564240d2c55ec2b6ec90868290a61cf4321460a
  2. 17 Nov, 2013 2 commits
  3. 13 Nov, 2013 1 commit
  4. 11 Nov, 2013 1 commit
  5. 21 Oct, 2013 1 commit
  6. 14 Oct, 2013 1 commit
  7. 19 Sep, 2013 1 commit
  8. 21 Aug, 2013 1 commit
  9. 12 Jul, 2013 1 commit
    • Robert Lyon's avatar
      Drop-down navigation overridden at institutional level (Bug #1194672) · cd08104c
      Robert Lyon authored
      Create the ability for Institutions to override the site default for
      displaying drop-down navigation instead of tabs for main menu.
      Can now: Set drop-down navigation option on Administer institutions
      screen /admin/users/institutions.php
      Users who are in more than one institution will have drop-down setting
      of the institution whose theme they are using as their theme.
      If $cfg->sitethemeprefs = true, where a user can pick any theme then
      for those themes associated with an institution they will use the
      institution's setting otherwise they will use the site's setting for
      drop-down navigation.
      Can not do: Have user make their own choice for whether they see drop
      down or not for any particular theme
      Change-Id: I580953c62b35cbc8169d47781c8bf88cc94d9fe8
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
  10. 15 Feb, 2013 1 commit
  11. 17 Jan, 2013 1 commit
  12. 03 Jan, 2013 1 commit
  13. 08 Aug, 2012 1 commit
  14. 06 Jul, 2012 1 commit
  15. 31 May, 2012 1 commit
    • Richard Mansfield's avatar
      Add support in User for theme preference · c1fda6fe
      Richard Mansfield authored
      Part of bug #793308
      If a user has the 'theme' property set in their account preferences,
      this is used instead of the site or institution's theme.
      The LiveUser::reset_institutions() function, which recalculates the
      institution theme, is now called in place of LiveUser::update_theme()
      whenever a user's institutions have changed.  reset_institutions() now
      calls update_theme() if the user is a LiveUser.
      Change-Id: I75b36da85a5aa249c3098078b8588b8a20ac9b48
      Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
  16. 30 May, 2012 1 commit
  17. 02 Mar, 2012 1 commit
  18. 17 Jan, 2012 1 commit
    • Richard Mansfield's avatar
      Check for authinstances in use when deleting institutions (bug #917873) · d1310840
      Richard Mansfield authored
      When you delete an institution, and one of the institution's
      authinstances is still in use by some users, you get an sql error and
      a nonrecoverable error screen. (This can only happen when the users
      still using the authinstance are not institution members, because
      there is already a check to stop deletion of institutions with
      This patch allows the institution to be deleted anyway, reassigning
      the offending users to a 'default' authinstance.  If we can't find a
      sensible default authinstance, it will at least display a more helpful
      error message.
      Also, when attempting to delete an institution with members, set an
      error on the form rather than throwing a ConfigException.
      Change-Id: I9c85a3c8c80411e3cf526767b9142efb12907e5c
      Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
  19. 20 Dec, 2011 1 commit
  20. 24 Aug, 2011 1 commit
  21. 16 Aug, 2011 1 commit
  22. 03 Aug, 2011 1 commit
  23. 01 Aug, 2011 2 commits
  24. 31 Jul, 2011 1 commit
    • Hugh Davenport's avatar
      Allow institutions to select "None" online users · 34d45ce0
      Hugh Davenport authored
      Before it checked if the value was empty, which is true when
      the value is 0. If this was the case, set it as default to 2
      This patch checks instead if it is set, and only then sets the
      default of 2. This allows you to select the option 0 (None)
      Also makes sure that the online users block is not shown when
      there are no users to display (ie, all institutions that the user
      is in have None selected)
      Change-Id: Ib168d9796484dacbb8d58d111127c9bf21069a59
      Signed-off-by: default avatarHugh Davenport <hugh@catalyst.net.nz>
  25. 27 Jul, 2011 1 commit
  26. 05 Jul, 2011 1 commit
  27. 27 Jun, 2011 1 commit
  28. 24 Jun, 2011 1 commit
    • Darryl Hamilton's avatar
      Add optional institution registration confirmation (bug #662775) · f46e341e
      Darryl Hamilton authored
      There is now a new option in the settings for an institution to
      confirm registrations. When this is set, a new user admitting
      themselves to an institution is required to complete an extra step
      during registration, where they must provide a "reason" for their
      After email verification the user must wait until an administrator
      approves or denies their registration before they can properly
      access the site. For the administrator, this is done via a new
      admin page under Institutions, called "Pending Registrations".
      Change-Id: I2bd68e39a9f4ef89f350ac573d8232f342de6fdc
      Author: Stacey Walker <stacey@catalyst-eu.net>
      Signed-off-by: default avatarBrett Wilkins <brett@catalyst.net.nz>
      Signed-off-by: default avatarDarryl Hamilton <darrylh@catalyst.net.nz>
  29. 23 Jun, 2011 1 commit
  30. 17 Jun, 2011 1 commit
  31. 16 Jun, 2011 1 commit
  32. 15 Jun, 2011 1 commit
  33. 14 Jun, 2011 2 commits
  34. 08 Jun, 2011 1 commit
  35. 01 Jun, 2011 1 commit
  36. 13 May, 2011 1 commit
  37. 31 Aug, 2010 1 commit