Commit Graph

12 Commits

Author SHA1 Message Date
Kevin McCarthy
c113d932b1 Move utf-8 conversion inside user.py (for updates). 2007-08-20 11:39:04 -07:00
Kevin McCarthy
66d3f1e730 Embed origiginal values inside user, and have update_user pass in a user
object.  Based on rcrit's original patch.
Push scalar to list value conversion inside funcs.py.
2007-08-20 10:50:11 -07:00
Kevin McCarthy
5f0f192ae3 change strings to be encoded using value.encode("utf-8").
fix update to set 'cn' instead of 'sn'.
remove str() in funcs.add_user().
2007-08-17 15:32:05 -07:00
Kevin McCarthy
8a0c3cb945 Change userlist into a quick search form.
Add hack to update cn using givenname+sn (for now).
Change funcs.find_users() to not error if no results.
2007-08-17 10:58:56 -07:00
Kevin McCarthy
3184b5cd97 Remove ':' from the label widgets so they can be used outside forms.
Add ':' into the edit/new/show pages.
2007-08-17 10:59:42 -07:00
Kevin McCarthy
0ddf0699a5 Add update user to gui.
Fix fields to be lowercase in web gui (server now returns them lowercase).
Fix ipaclient.py to refer to lowercase fields when adding a user.
Fix user.getValue() to check isinstance(value,list) instead of value[0].
2007-08-16 15:05:36 -07:00
Kevin McCarthy
2ef4792fd1 - Add password generator method to controller.
This uses the random.SystemRandom() method to generate an 8-digit
  alphanumeric password.
- Add ajax call to usernew and useredit forms to generate a new password
- Add the prototype javascript library: http://www.prototypejs.org/
  prototype is distributed with the MIT license.
- Add a checkbox to toggle editing (and displaying) the password.
- Change usershow template to use same field labels as the edit and new forms.
2007-08-14 09:40:13 -07:00
Kevin McCarthy
10cbfe8787 Split userform into edit and new forms.
(They will likely diverge so no sense forcing them together).
Add css for required fields.
Add "_orig" hidden fields to the edit form in prep for sending only modified
fields.
2007-08-10 16:31:59 -07:00
Karl MacMillan
0144922fd7 Merge from bundle. 0001-01-01 00:00:00 +00:00
Kevin McCarthy
b3aba86b2e Add images and empty files, which didn't seem to come through in the
hg export properly.
2007-08-12 05:59:49 -07:00
kmccarth@dhcp-172-16-25-136.sfbay.redhat.com
728e44833c Addiing initial turbogears web gui.
Contains simple user add, list, and view pages.
2007-08-12 04:53:18 -07:00
kmccarth@redhat.com
cdaee95230 Addiing initial turbogears web gui.
Contains simple user add, list, and view pages.
2007-08-12 04:53:18 -07:00