1. 08 Jun, 2012 2 commits
    • Richard Mansfield's avatar
      Use clean view urls on tags page · 0fd04e12
      Richard Mansfield authored
      
      
      Bug #1006634, part 3
      
      Views and artefacts are pulled from the db together in a UNION query.
      We can't simply pass the whole list of records through to a View
      method - it's easier to generate the urls one by one in
      build_portfolio_search_html.
      
      Change-Id: I59b1ab91e141611d4a41e60b28a0bfdf13167749
      Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
      0fd04e12
    • Richard Mansfield's avatar
      Use profile_url when data is easy or inexpensive to fetch · 0d28fabc
      Richard Mansfield authored
      
      
      Bug #1006634, part 3
      
      In many places user urlids are not currently available when the
      profile url is generated, but it is trivial to get it, and then change
      the user/view.php url to a profile_url call:
      
      - Admin page access report
      - Profile links in feedback lists
      - My friends block
      - Wall posts
      - Group members block
      - Group members tab
      - Recent forum posts block
      - Group admin lists on forums page
      - Group admin lists on my groups, find groups
      - Group admin lists in group info block
      - Profile sideblock
      - My friends & find friends pages
      - Institution landing page
      - Online users page
      
      Change-Id: I33e122896982037a887aad8e3362db450e123e3f
      Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
      0d28fabc
  2. 29 May, 2012 1 commit
  3. 16 Feb, 2012 1 commit
  4. 13 Feb, 2012 1 commit
  5. 11 Jan, 2012 1 commit
    • Richard Mansfield's avatar
      Cache user records in calls to display_default_name · bb91e704
      Richard Mansfield authored
      Commit 0cdaaa1d
      
       introduced a lot of calls to display_default_name.
      Unfortunately this bypasses the user record caching that happens
      inside display_name, so it produced a lot of new queries, most notably
      on profile pages, where a single user's name gets displayed several
      times.
      
      This change moves the caching of user records into another function,
      so it can be shared by display_name, display_default_name, and
      profile_icon_url.
      
      The search_user function is also modified to fetch the admin status
      and profileicon id, to stop profile_icon_url producing more queries.
      
      Change-Id: Id1993decf164e7d0563a7d277444402fc6350b3a
      Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
      bb91e704
  6. 02 Dec, 2011 1 commit
  7. 12 Sep, 2011 3 commits
  8. 06 Sep, 2011 2 commits
  9. 01 Sep, 2011 1 commit
    • Richard Mansfield's avatar
      Add more flexible group jointypes (bug #610690) · 027ffc0d
      Richard Mansfield authored
      
      
      The four existing jointypes, 'open', 'controlled', 'request' and
      'invite' are mutually exclusive, but they don't need to be so strict.
      This patch introduces more flexibility in the way groups allow new
      members to join.
      
      * Group admins can always send membership invitations to a group, even
        if it's open or controlled
      * Membership requests can be enabled for any group unless it has open
        membership.
      * The grouptype now determines the set of roles available to a group,
        but no longer restricts the available join types.
      
      The db upgrade will preserve existing behaviour apart from enabling
      invitations on open, request, and controlled groups.
      
      Change-Id: I8bb0940a37f3c0c36366c1d5b8d27e8b9914a7e3
      Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
      027ffc0d
  10. 03 Aug, 2011 1 commit
  11. 19 Jul, 2011 1 commit
  12. 28 Jun, 2011 2 commits
  13. 27 Jun, 2011 1 commit
  14. 26 Jun, 2011 1 commit
    • Hugh Davenport's avatar
      Update institution search to search user tags · 0df6205e
      Hugh Davenport authored
      
      
      The search query is tested against user tags as well now
      
      This search query only works for the following pages:
      - Institutions -> Members
      
      For example, one can search for
      lastinstitution:Foo Bar Institution
      and the results would be all the users that were in the
      Foo Bar Institution for their last insitution
      
      Change-Id: I2af823911346af5b9fdc8ae64b92d329f03dff5c
      Signed-off-by: default avatarHugh Davenport <hugh@catalyst.net.nz>
      0df6205e
  15. 21 Jun, 2011 3 commits
  16. 26 May, 2011 4 commits
  17. 13 May, 2011 1 commit
  18. 12 May, 2011 2 commits
  19. 01 Sep, 2010 1 commit
  20. 13 Jul, 2010 1 commit
  21. 08 Jul, 2010 1 commit
  22. 07 Jul, 2010 3 commits
  23. 04 Jul, 2010 1 commit
  24. 23 Jun, 2010 1 commit
  25. 18 Jun, 2010 1 commit
  26. 10 Jun, 2010 1 commit
  27. 26 May, 2010 1 commit