1. 17 Apr, 2008 1 commit
  2. 09 Jan, 2007 1 commit
  3. 27 Nov, 2006 1 commit
    • Leigh B. Stoller's avatar
      Call this commit "Snow in Corvallis" ... · 4998b2d7
      Leigh B. Stoller authored
      The major functional change in this revision is converting from user
      selected UIDs to system selected UIDs. This is controlled by the
      variable $USERSELECTUIDS in defs/defs.php3.in which is now set to
      zero, so system selected UIDs is the default.
      
      The algo for creating the uid is to take the email address, strip the
      @whatever from it, squeeze out dots and dashes and underlines, and
      make sure any +foo tokens are removed. Then make sure it is unique by
      taking the first 5 characters and then adding a 3 digit number,
      derived by checking the DB to see what exists.
      
      Since we will want to (more often) change the UID selected, there is a
      new admin only menu option on the Show User page. It calls the backend
      script to do the work (sbin/changeuid).
      
      The login page now defaults to storing and showing the email address
      for login, rather then the UID. It will still accept either one though
      (has for a long time).
      
      Along the way I also reorg'ed a number of pages to use the new user,
      group, and project classes and moved some common functionality into
      the class defs.
      
      Also changed the way addpubkey is called, to avoid some confusion.
      4998b2d7
  4. 01 Mar, 2006 1 commit
  5. 08 Jun, 2004 1 commit
  6. 05 May, 2004 1 commit
    • Leigh B. Stoller's avatar
      Add new script to change the uid of a user, since this seems to be · 9f73d582
      Leigh B. Stoller authored
      something we are continually being asked to do! This script will only
      operate in UNAPPROVED users; once a user is approved it becomes too
      difficult to deal with cause of existing directories which might be
      exported to active experiments. We can probably deal with this, but we
      rarely do this to an approved user, so its not a big deal.
      
      Obvious: This script can get out of sync with the DB, but of course.
      9f73d582