Index users and add them to the search results.

Review Request #7058 — Created March 13, 2015 and submitted

Information

Review Board
release-2.0.x
3b3a29f...

Reviewers

In order to create parity with the quick search drop-down, we now index
all users and display any matches in the search results. These are shown
with the gravatar (if enabled), full name, username, e-mail address,
groups they're a member of, and a link to their review requests.

These results respect the user's private profile settings.

Tested with different users I have on my server. Saw their entries whenever
I matched the username, e-mail address, or full name.

Tested all links.


Description From Last Updated

Needs a docstring.

daviddavid

Needs a docstring.

daviddavid
reviewbot
  1. Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/accounts/search_indexes.py
        reviewboard/reviews/views.py
    
    Ignored Files:
        reviewboard/templates/search/results.html
        reviewboard/static/rb/css/search.less
        reviewboard/templates/search/_user.html
        reviewboard/templates/search/_review_request.html
        reviewboard/templates/search/indexes/auth/user_text.txt
    
    
    
    Tool: Pyflakes
    Processed Files:
        reviewboard/accounts/search_indexes.py
        reviewboard/reviews/views.py
    
    Ignored Files:
        reviewboard/templates/search/results.html
        reviewboard/static/rb/css/search.less
        reviewboard/templates/search/_user.html
        reviewboard/templates/search/_review_request.html
        reviewboard/templates/search/indexes/auth/user_text.txt
    
    
  2. 
      
david
  1. 
      
  2. reviewboard/accounts/search_indexes.py (Diff revision 1)
     
     
    Show all issues

    Needs a docstring.

  3. reviewboard/accounts/search_indexes.py (Diff revision 1)
     
     
    Show all issues

    Needs a docstring.

  4. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-2.0.x (c6c804b)
Loading...