1. 28 Nov, 2011 1 commit
    • Richard Mansfield's avatar
      Add notice & disable new secret urls when publicviews is off (bug #794385) · 7a164a56
      Richard Mansfield authored
      
      
      When the site or institution has disabled public views, there's a
      notice on the view access page to that effect, but the user can
      happily create new secret urls with no indication that they won't
      work.  This patch removes the generate new secret url button, and adds
      a notice to the secret url page to inform the user when they're not
      allowed to create public pages.  Also adds a sentence to the site
      setting to make it clearer that disabling public pages also disables
      secret urls.
      
      Change-Id: I93a36df425bf06c4748cfdbfaf62613017518872
      Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
      7a164a56
  2. 24 Nov, 2011 1 commit
    • Richard Mansfield's avatar
      Remove wwwroot from notification urls (bug #849716) · 4384e747
      Richard Mansfield authored
      
      
      Urls stored in the url field of notification_internal_activity contain
      the site's wwwroot.  This leads to broken links when the wwwroot is
      changed.  It also dangerously turns what should be local links into
      remote ones when for example a production database is copied into a
      test Mahara instance.
      
      This patch does three things:
      - Removes the wwwroot from urls passed to ActivityType constructors
      - Adds the wwwroot back on the url when sending email and emaildigest
        notifications, and when displaying them on the site.
      - Removes the wwwroot from the url in all existing rows of
        notification_internal_activity.
      
      Change-Id: I00ae1abc65be79030ed4c572ce951edc43f7a034
      Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
      4384e747
  3. 17 Nov, 2011 2 commits
  4. 06 Oct, 2011 2 commits
  5. 30 Sep, 2011 1 commit
  6. 27 Sep, 2011 1 commit
  7. 16 Sep, 2011 1 commit
    • Melissa Draper's avatar
      Add check for query string on tags page (bug 849898) · 884ccae4
      Melissa Draper authored
      
      
      If the tags page was visited with "tags.php" via, say,
      the sidebar heading, the urls made with the template
      were broken; the query string was joined to the baseurl
      with a & rather than a ?. This patch checks if the last
      8 characters are tags.php and sets a queryprefix value
      based on the result.
      
      Change-Id: I56f87b76e9fb82472fda2c6cb2c5315bb3f79c05
      Signed-off-by: default avatarMelissa Draper <melissa@catalyst.net.nz>
      884ccae4
  8. 13 Sep, 2011 3 commits
    • 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
    • Richard Mansfield's avatar
      Hide member counts when user can't list members · 9f8cf990
      Richard Mansfield authored
      
      
      When the logged-in user can't get to the member listing for a group
      (bug #845287, bug #504830), it seems like a good idea to also hide
      the number of members.
      
      Member counts are hidden in the group info block and copy a view page
      by moving member & view counting into the group_get_groupinfo_data
      function, and performing the permission check in one place for both
      pages.
      
      Member counts are hidden on My Groups and Find Groups inside the
      group_prepare_usergroups_for_display function.
      
      Change-Id: Ibe5675861040cedf67c2ddff7647117cd155722a
      Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
      9f8cf990
    • Richard Mansfield's avatar
      Fix secret url link on access page (bug #823789) · 82cd0c3f
      Richard Mansfield authored
      
      
      When editing access for group and institution views, this link went
      to the share page for the individual logged-in user.  It should go
      to the group's share page, or the institutions share page instead.
      
      Change-Id: I1af2b645fb2fcbee6cbb67306605dca5215256f2
      Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
      82cd0c3f
  9. 12 Sep, 2011 4 commits
  10. 09 Sep, 2011 1 commit
    • Evonne Cheung's avatar
      Theme updates · 38bc7e0b
      Evonne Cheung authored
      
      
      Changes to templates and css for: Forums list, Site statistics,
      Admin user search, Group members, Search boxes, My Views.
      
      Adds a few extra DIVs to make it possible to customize the layout
      further in themes that inherit from the raw theme.
      
      Change-Id: Ib534b2949f93277fd48c9168797c852f12801b7d
      Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
      38bc7e0b
  11. 07 Sep, 2011 1 commit
    • Melissa Draper's avatar
      Add help text for finding place to set secreturls (Bug #823789) · e9a0383f
      Melissa Draper authored
      
      
      When the view acl screen was changed to streamline the setting of
      access permissions to multiple views/collections at once, secreturls
      moved out of this screen. As it is still in the share tab, it is not
      obvious to users that they should return to the list of views and
      collections to find the secreturl screen. This text guides them there
      with a handy link and explanation of the screens.
      
      Change-Id: I47406747a374d5d210c46473a0b4c28134f829aa
      Signed-off-by: default avatarMelissa Draper <melissa@catalyst.net.nz>
      e9a0383f
  12. 06 Sep, 2011 1 commit
  13. 01 Sep, 2011 4 commits
  14. 24 Aug, 2011 3 commits
  15. 23 Aug, 2011 1 commit
  16. 15 Aug, 2011 1 commit
  17. 28 Jul, 2011 1 commit
  18. 27 Jul, 2011 3 commits
  19. 26 Jul, 2011 1 commit
  20. 15 Jul, 2011 2 commits
  21. 12 Jul, 2011 1 commit
  22. 05 Jul, 2011 1 commit
  23. 04 Jul, 2011 1 commit
  24. 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
  25. 28 Jun, 2011 1 commit
    • Richard Mansfield's avatar
      Remove requested/invited users from the admin search · 6ba72658
      Richard Mansfield authored
      
      
      See bug #799617
      
      This change fixes the pagination on the admin user search page for
      institutional admins with more than one institution when users can
      belong to multiple institutions.
      
      As part of the fix, the behaviour of the page has been changed so
      that requested and invited users are no longer displayed.
      
      Institutional admins are already able to find users with open requests
      on the institution members page, and will soon be able to find invited
      users on that page too.
      
      Change-Id: I2460bcf54e0e0ca96a51dd592c04aa0a2229cc7d
      Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
      6ba72658