1. 24 Oct, 2011 2 commits
  2. 20 Aug, 2011 1 commit
  3. 11 Aug, 2011 1 commit
  4. 22 Jun, 2011 1 commit
  5. 17 May, 2011 2 commits
  6. 27 Apr, 2011 2 commits
  7. 13 Apr, 2011 2 commits
  8. 11 Mar, 2011 1 commit
  9. 10 Mar, 2011 1 commit
  10. 04 Mar, 2011 2 commits
  11. 23 Feb, 2011 1 commit
  12. 21 Feb, 2011 1 commit
  13. 09 Oct, 2010 1 commit
  14. 02 Oct, 2010 1 commit
  15. 17 Apr, 2010 1 commit
  16. 21 Feb, 2010 1 commit
  17. 25 Jun, 2009 1 commit
  18. 19 Jan, 2009 1 commit
  19. 31 Dec, 2008 1 commit
  20. 22 Dec, 2008 1 commit
  21. 21 Dec, 2008 2 commits
  22. 12 Dec, 2008 1 commit
  23. 25 Nov, 2008 1 commit
  24. 13 Nov, 2008 1 commit
  25. 08 Jul, 2008 1 commit
  26. 17 Jun, 2008 1 commit
  27. 07 Jun, 2008 1 commit
  28. 04 Apr, 2008 1 commit
  29. 23 Mar, 2008 2 commits
  30. 20 Jan, 2008 4 commits
    • Loui Chang's avatar
      Several functions added to web/lib/acctfuncs.inc Weeere back! · e9de4595
      Loui Chang authored
      
      
      try_login() to login users
      
      valid_username() checks if a new username fits criteria
      
      valid_user() checks if the user exists in the database
      
      good_passwd() only checks for minimum password length for now.
      can be later expanded to tell a user to make a stronger password.
      
      valid_passwd() checks if the password for the specified user is correct
      
      user_suspended() checks if the user is suspended (or not)
      
      user_delete() deletes a user (it doesn't orphan PKGs yet though)
      
      user_is_privileged() returns privilege level User (0) TU (2) Dev (3) of
      user ID. 0 is used for a regular user for ease in conditionals.
      
      Also:	Enforce proper usernames on account creation or editing
      	Fix bug where $SUPPORTED_LANGS needs to be reset on account creation
      	Fix bug where an account could be created with an empty passwd
      	Display (required) beside password fields on account creation
      	Enforce good_passwd() on account creation
      
      	TUs and Devs can edit a user to have a username that doesn't conform to
      	the standard valid_username(). This is to allow them to edit old
      	accounts without messing up the user name.
      
      Signed-off-by: default avatarLoui Chang <louipc.ist@gmail.com>
      e9de4595
    • Loui Chang's avatar
      Revert "Several functions added to web/lib/acctfuncs.inc" · c404c278
      Loui Chang authored
      This has a couple of bugs I just discovered arrgh. We shall return
      This reverts commit 5e7e9f1b21d8803c718ac8551f8e0e25709fcd6f.
      c404c278
    • Loui Chang's avatar
      Several functions added to web/lib/acctfuncs.inc · 6b3e9028
      Loui Chang authored
      
      
      try_login() to login users
      
      valid_username() checks if a new username fits criteria
      
      valid_user() checks if the user exists in the database
      
      good_passwd() only checks for minimum password length for now.
      can be later expanded to tell a user to make a stronger password.
      
      valid_passwd() checks if the password for the specified user is correct
      
      user_suspended() checks if the user is suspended (or not)
      
      user_delete() deletes a user
      
      Also:	Enforce proper usernames on account creation
      	Fix bug where $SUPPORTED_LANGS needs to be reset on account creation
      	Fix bug where an account could be created with an empty passwd
      	Display (required) beside password fields on account creation
      	Enforce good_passwd() on account creation
      
      Signed-off-by: default avatarLoui Chang <louipc.ist@gmail.com>
      6b3e9028
    • Loui Chang's avatar
      8f7fb2b1