1. 10 Feb, 2012 1 commit
  2. 01 Dec, 2011 1 commit
    • Richard Mansfield's avatar
      Allow custom templates to be added to all themes (bug #898437) · 2ab3ed09
      Richard Mansfield authored
      
      
      Sometimes it is useful for a site which has multiple themes in use to
      be able to add a custom template (for example, a custom sideblock)
      that appears in all themes, including the core themes and the raw
      theme.
      
      This patch adds local/theme/templates/ to the template search path, as
      a fallback for when a template is not found in any of the theme
      directories.
      
      It is usually possible to achieve the same thing by putting the custom
      template in the raw theme, but it is cleaner to keep them outside the
      raw theme, and custom themes should not be required to inherit from
      raw anyway.
      
      Change-Id: I4f188ae3985741183d1c04f71c6c42e3ca4675cf
      Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
      2ab3ed09
  3. 21 Nov, 2011 1 commit
  4. 17 Nov, 2011 2 commits
  5. 07 Nov, 2011 1 commit
  6. 01 Nov, 2011 1 commit
  7. 12 Oct, 2011 1 commit
    • Hugh Davenport's avatar
      Fix issue when param_... functions have default of null · 0043cc83
      Hugh Davenport authored
      Bug #872619
      
      Regression from 79810c3d
      
      
      
      Basically, a default parameter of null was given, then trim
      was called, which made it into the string '' which then failed
      the test is_null in the files it was used.
      
      This reorders the functions so that the trim is called after
      the test to see whether the default should be used. This means
      that the default value is never trimmed, and can be null.
      
      One exception to this, is the param_boolean which doesn't test
      to see whether it is the default that is returned, so a check
      is made first to see whether it is null.
      
      Change-Id: I66d7253a8414dec7eb3ea67ebd363ea068a32012
      Signed-off-by: default avatarHugh Davenport <hugh@catalyst.net.nz>
      0043cc83
  8. 07 Oct, 2011 1 commit
  9. 04 Oct, 2011 1 commit
  10. 14 Sep, 2011 1 commit
  11. 13 Sep, 2011 1 commit
    • Andrew Robert Nicols's avatar
      Bug #824445: Improve error reporting for missing plugins · 0a694de5
      Andrew Robert Nicols authored
      
      
      This set of changes attempts to handle missing plugins in a better fashion.
      Rather than throwing an uncaught error which causes a unrecoverable site
      error, which in turn means that no user can use any other plugin; this
      patch disables the problem plugin and informs administrators of the issue.
      
      To handle the case where core plugins, which under normal circumstances
      cannot be disabled, are missing and disabled; the plugins.tpl template is
      also changed to test for the contents of the activateform, instead of
      whether the plugin can ordinarily be disabled. This means that if the issue
      is then fixed, the plugin can once again be re-enabled, at which point the
      [ hide ] link will no longer appear.
      
      Change-Id: I6f9fa73ae0ac307b5f5f8f30b8205690926f54fc
      Signed-off-by: default avatarAndrew Robert Nicols <andrew.nicols@luns.net.uk>
      0a694de5
  12. 12 Sep, 2011 1 commit
  13. 09 Sep, 2011 1 commit
  14. 02 Sep, 2011 1 commit
  15. 01 Sep, 2011 1 commit
  16. 31 Aug, 2011 1 commit
    • Hugh Davenport's avatar
      Fix whitespace issues with param_... functions · 79810c3d
      Hugh Davenport authored
      
      
      bug #838429
      
      Basically param_... functions don't check for trailing whitespace
      This patch fixes this by trimming the value after it retrieves it.
      
      Also, the param_integer_list function says in the comment it allows
      optional whitespace, but the regex expression used doesn't allow it.
      This patch fixes that.
      
      Also, the param_signed_integer function didn't check on the entire value
      and you could have a value like "ab+10cd".
      This patch alters the regex to capture the start and end of string ^ and $
      
      Change-Id: Ic26cc257f0057b6b686fc8c2e3c789610e055507
      Signed-off-by: default avatarHugh Davenport <hugh@catalyst.net.nz>
      79810c3d
  17. 25 Aug, 2011 1 commit
  18. 23 Aug, 2011 1 commit
  19. 03 Aug, 2011 1 commit
  20. 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>
      34d45ce0
  21. 29 Jul, 2011 1 commit
  22. 27 Jul, 2011 1 commit
  23. 25 Jul, 2011 2 commits
  24. 20 Jul, 2011 1 commit
  25. 13 Jul, 2011 1 commit
  26. 05 Jul, 2011 1 commit
  27. 04 Jul, 2011 1 commit
  28. 01 Jul, 2011 1 commit
    • Hugh Davenport's avatar
      Add page for Group CSV Uploads · d022f93a
      Hugh Davenport authored
      
      
      You can now use the web API service for groups to upload
      a CSV file to create and update groups
      
      The new page is below, and gives all the details about the format
      /admin/groups/uploadcsv.php
      
      Bug #547688
      
      Change-Id: Ic116c836e607ae3d1f6c0f67bbbf1f9c119828a8
      Signed-off-by: default avatarHugh Davenport <hugh@catalyst.net.nz>
      d022f93a
  29. 30 Jun, 2011 1 commit
  30. 27 Jun, 2011 1 commit
  31. 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
      registration.
      
      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>
      f46e341e
  32. 21 Jun, 2011 2 commits
  33. 10 Jun, 2011 1 commit
  34. 04 Jun, 2011 1 commit
  35. 13 May, 2011 1 commit
  36. 11 May, 2011 1 commit
  37. 04 May, 2011 1 commit