1. 25 Sep, 2012 1 commit
    • Hugh Davenport's avatar
      Add option to disable device detection · 109eb4a5
      Hugh Davenport authored
      Also add a few theme changes that allow some more
      features on small devices.
      - Printing links
      - Settings link in top right corner
      - Create/copy page/collection link
      - Edit/delete buttons
      - Remove group members button
      - Help icons
      - Administration link
      Also made the admin link show in full
      The items that are disabled when device detection is on
      and user is on a mobile device are:
      - TinyMCE editor
      - Adding new blocks to pages, this is now a non-js version
      - Dropdown menu's
      - Export functionality
      Bug #1052060
      Change-Id: I5a8fe3cf136bb0c3e76e50a2b3bc48179c675b6a
      Signed-off-by: default avatarHugh Davenport <hugh@catalyst.net.nz>
  2. 09 Sep, 2012 1 commit
  3. 06 Sep, 2012 2 commits
  4. 02 Sep, 2012 1 commit
  5. 30 Aug, 2012 1 commit
  6. 20 Aug, 2012 2 commits
  7. 17 Aug, 2012 1 commit
  8. 16 Aug, 2012 1 commit
  9. 01 Aug, 2012 1 commit
  10. 31 Jul, 2012 1 commit
  11. 28 Jul, 2012 1 commit
  12. 24 Jul, 2012 2 commits
  13. 03 Jul, 2012 2 commits
  14. 29 Jun, 2012 5 commits
  15. 01 Jun, 2012 1 commit
    • Richard Mansfield's avatar
      Add admin page to generate clean URLs · bc80fa0a
      Richard Mansfield authored
      Bug #1006634, part 1
      Clean urls can be enabled at any time.  Initialisation for existing
      users should not be tied to a site upgrade, because it is slow, and
      most sites won't ever enable it.  Instead, add an admin page with a
      button to regenerate all clean urls based on existing usernames, group
      names, and page titles.
      Change-Id: Id8bae56a6500b1b0038fc20aacadf4817e6e922a
      Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
  16. 07 May, 2012 1 commit
  17. 04 May, 2012 1 commit
  18. 13 Apr, 2012 1 commit
  19. 12 Apr, 2012 1 commit
    • Richard Mansfield's avatar
      Admin page to manage SafeIframe sites (bug #971282) · f3182dd6
      Richard Mansfield authored
      Adds a new page for Site admins to manage the list of sites for which
      iframes are allowed by htmlpurifier.  Whenever an item is added,
      edited, or deleted, the regex used by HTMLPurifier is updated.  Sites
      are identified by favicon, and by a string entered by the Admin to be
      used as the alt/title text for the favicon image.  The source of the
      favicon image can be modified in config.php, but the google service is
      used by default.
      Change-Id: I4117de82691a002bf250ea71622eccfad4d5f8df
      Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
  20. 03 Apr, 2012 1 commit
  21. 29 Mar, 2012 1 commit
    • Richard Mansfield's avatar
      Fix get_string calls for duplicate remote username message (bug #968697) · 938fa7db
      Richard Mansfield authored
      When uploading users from a csv file, the remote usernames given in
      the file are checked for duplicates.  When a duplicate is found,
      get_string is called to generate the error message using the string
      key 'uploadcsverrorremoteusertaken', but in two of three instances, it
      is called with too few arguments to sprintf.  Sometimes this results
      in no error being reported to the user at all.
      The error is fixed here by creating a new string without the second
      argument for the first call, and by passing the additional argument in
      the second call.
      Change-Id: Iff93385dee206394c74b1d6b1ad9484e90026dd4
      Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
  22. 02 Mar, 2012 1 commit
  23. 24 Feb, 2012 1 commit
  24. 23 Feb, 2012 1 commit
  25. 19 Feb, 2012 1 commit
  26. 16 Feb, 2012 1 commit
  27. 13 Feb, 2012 1 commit
    • Richard Mansfield's avatar
      Add a maximum number of users for csv files (bug #823048) · 7f231697
      Richard Mansfield authored
      This allows $cfg->maxusercsvlines to be specified in config.php to
      stop admins and institutional admins from uploading large csv files.
      This is potentially useful on large multi-user sites.
      And until such time as we can reduce the amount of memory used by the
      create_user function, setting this option will provide the user with
      some feedback on csv upload failure (because we can't easily trap the
      php out-of-memory error).
      See also bug #548042.
      This commit also adds a call to set_time_limit() after processing each
      user, so that the script doesn't fail due to php's max. execution
      Change-Id: I662231288c7d0c6e70602c548123f12c63427a97
      Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
  28. 07 Feb, 2012 1 commit
    • Richard Mansfield's avatar
      Add admin report on access lists of user pages (bug #919009) · 6266cae9
      Richard Mansfield authored
      Adds a new "User reports" page to the admin section, accessible by
      admins, which produces a list of all the pages owned by a given set of
      users, and a list of who is on the access list for each page.
      The users are selected using the checkboxes on the admin user search
      page, and the page is reachable from admin user search using a new
      "View reports" button on that page.
      The CSV download that previously appeared on the Bulk actions page is
      more appropriate on a reports page, so CSV download is also moved from
      Bulk actions to User reports.  Email and remoteuser fields are only
      displayed to site and institution administrators.
      Because some sites will not want to allow staff to see the page access
      lists of all users in their institutions, access to this page by staff
      is controlled by a new "Staff report access" site setting.
      Change-Id: Id02b58416e3dfb28fd39c1170426ddefe6669efe
      Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
  29. 31 Jan, 2012 1 commit
    • Richard Mansfield's avatar
      Allow staff to access the admin user search page (bug #919009) · 2f43bf94
      Richard Mansfield authored
      Staff members will be able to search through all users in their
      institutions, but they cannot edit a user unless they are also an
      administrator for them (institution or site administrator).
      Links from the usernames to the account settings page are only
      displayed when the logged-in user is an administrator for the listed
      The "edit selected users" button is only displayed to site and
      institutional admins, and the bulk actions page it links to now
      explicitly states which users have been filtered out due to lack of
      institutional admin privileges.
      Email addresses are removed from the list for staff users.
      If the logged-in user is an admin in one institution, and staff in
      another, email is displayed and usernames linked only for the
      'adminned' users.  The bulk actions page is still reachable, but any
      selected users who are not adminned by the logged-in user will be
      Change-Id: Ia65a960df9af7c5794002007e7580ba5f9a4c9d7
      Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
  30. 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>
  31. 10 Jan, 2012 1 commit
  32. 06 Jan, 2012 1 commit