Commit Graph

3 Commits

Author SHA1 Message Date
David Anderson b737687660 - small tweak
svn path=/trunk/boinc/; revision=14084
2007-11-06 00:53:16 +00:00
David Anderson 17ebc7bb90 - user web: removed the "user search" option from profile_menu.php.
Added search-by-name to the user search page.

svn path=/trunk/boinc/; revision=14083
2007-11-06 00:45:45 +00:00
David Anderson c35f02e868 - user web: add a general-purpose user search mechanism.
This lets you lookup up users sorted by
        - descending join time
        - descending total credit, or
        - descending RAC
    and lets you filter them by
        - country
        - presence/absence of team
        - presence/absence of profile
    It's implemented in such a way that no more than N
    DB rows are examined
    (i.e. it doesn't necessarily show you all the results)
- PHP database: add enum_fields() member to DbConn and BoincUser.
    This is to select a limited number of fields
    e.g. to make large queries more efficient.
    Also added BoincTeam::lookup_id_cache(); this is an example
    of how to look up items likely to be repeated
    (like teams when you're showing a list of users)

svn path=/trunk/boinc/; revision=14082
2007-11-05 23:55:33 +00:00