Commit Graph

46 Commits

Author SHA1 Message Date
Kevin McCarthy
036cf58042 Handle add/remove failures a little bit better.
Still some refinements that can be done, but at least it shows the failures
now.
2007-09-19 13:43:52 -07:00
Kevin McCarthy
f17071533a Implement asynchronous search for groups.
Use the filter generation code to search on multiple fields.
2007-09-19 08:42:34 -07:00
Kevin McCarthy
6b3d1e85da Add client-side search limit parameter for user search.
Limit editgroup user ajax search.
Minor UI cleanup for editgroup.
2007-09-18 14:58:30 -07:00
Kevin McCarthy
c4998d3902 Fixes to the edit protected checkbox.
- Make checkbox sticky on round trips
- Make required fields validate when checkbox is checked.
2007-09-18 10:54:53 -07:00
Kevin McCarthy
8190404706 Prevent members from being added added twice.
Display search message while in progress.
Correctly calculate number of search results after filtering.
2007-09-17 15:24:11 -07:00
Kevin McCarthy
cc1585daff Persist adds and removes on a server round trip. 2007-09-17 11:46:48 -07:00
Kevin McCarthy
65e4d27e99 patch queue: groupmember.patch 2007-09-14 15:20:09 -07:00
Kevin McCarthy
a809d44429 Adding sort images. 2007-09-13 10:40:50 -07:00
Kevin McCarthy
0e355a734f Group edit page 2007-09-12 10:40:31 -07:00
Kevin McCarthy
c4ab64cabc Add group screen. More to come... 2007-09-11 14:51:51 -07:00
Kevin McCarthy
b4297caa8b Small fixes to proxyprovider. 2007-09-11 14:45:53 -07:00
Kevin McCarthy
5ef768484a Adds javascript table sorting for user results
Adds tablekit: http://www.millstream.com.au/view/code/tablekit/ licensed under MIT.
2007-09-13 10:26:35 -07:00
rcritten
182fbe3094 Enable mod_proxy to sit in front of TurboGears and pass along the
kerberos principal name
Add an identity an visit class to TurboGears that can handle the user
 without requiring a database
Update the UI to show the user correctly.
Note that this is currently disabled. It is hardcoded to always return the
 principal test@FREEIPA.ORG in proxyprovider.py
It doesn't handle an unauthorized request because that can never happen.
2007-09-10 16:33:01 -04:00
Kevin McCarthy
37d10e0c51 Edit protected fields checkbox on user edit page.
(Password updating still doesn't work due to ACI though)
2007-09-10 10:02:33 -07:00
Kevin McCarthy
903e11631c Fix duplicate entry error to be more descriptive.
Add TurboGears to required package list
Clear password on Edit Person page.
Change uidnumber/gidnumber on Add Person to say 'Generated by server'
2007-09-07 16:53:34 -07:00
Kevin McCarthy
78bcc22c40 small release fixes:
- Make password not required for add person
- Fix for searching on '*' or ''
2007-09-07 11:07:59 -07:00
Kevin McCarthy
c821699b64 Password changes:
- remove password generator button
  - add confirm password field
2007-09-06 14:28:21 -07:00
Kevin McCarthy
2adeed3029 Add search box in header.
Change account status to use select list and 'active'/'inactive' values.
Improve autosuggest to keep suggesting unless you overwrite a suggestion
(if you correct the name, it will re-suggest).
2007-09-06 11:09:12 -07:00
Kevin McCarthy
4e242b5dc1 Small UI tweeks
- Rename buttons
- Add fake "logged in as" text
- Increase font size and spacing for sidebar
- Fix search messages for no results
- Open ipa footer link in new window
2007-09-05 16:59:55 -07:00
Kevin McCarthy
d036eb0ac9 Add password expiration messages to user show/edit pages.
Add userhelper module to provide ui logic.
Fix uid/email suggest to lowercase first.
2007-09-05 15:54:04 -07:00
Kevin McCarthy
00e299467c Add account deactivation checkbox.
Fix genModList to lowercase all keys and use CIDict.
2007-08-31 10:59:26 -07:00
Kevin McCarthy
90a34f3865 Add auto-suggest for uid and email fields. 2007-08-30 15:10:48 -07:00
Kevin McCarthy
59f843517d Add scriptaculous effects library (will add more if they become necessary).
Scriptaculous <http://script.aculo.us/> is released under an MIT license.
2007-08-30 15:05:12 -07:00
Karl MacMillan
09621f1319 Added freeipa logo. 0001-01-01 00:00:00 +00:00
Kevin McCarthy
50450d6acb UI cleanup 2007-08-29 16:49:46 -07:00
Kevin McCarthy
e9bd8dee3b Change user search to be asynchronous.
This way it returns results even if the search times out.
The find_users() search now returns a counter as the first result, which
is set to -1 if the results are partial.
2007-08-28 16:01:07 -07:00
Kevin McCarthy
ef2dc5cefa Changes for larger data demo.
Add fields to search results
Put result() call inside try block - it's throwing an exception
Trap ADMINLIMIT and SIZELIMIT exceptions
2007-08-28 09:20:12 -07:00
Kevin McCarthy
e31b526c81 Enhanced user search:
- "configurable" fields to search on
- tokenize search words
- prioritize exact matches over partial matches
- split match filter generation into a re-usable function.
Other updates:
- use finally block to return ldap connections
- update web gui to use new get_user methods
2007-08-27 11:30:26 -07:00
Kevin McCarthy
7691653c0a Create ipaerror module.
Move LDAPError trapping/conversion into the ipaldap module.
Fix xmlrpc layer to encode/decode ipaerrors properly.
Also, implement mid-air collision exception for updates.
2007-08-22 10:30:51 -07:00
Kevin McCarthy
a8f302aa9f Move ldap search filter escaping into the funcs.py layer. 2007-08-21 14:26:36 -07:00
Simo Sorce
ac926646ea Fix escaping code, missing "unicode" string identifier in one of the value
comparisons
2007-08-21 16:25:02 -04:00
Kevin McCarthy
f5e30866d1 Escape search input. Search by uid and cn. 2007-08-20 14:23:23 -07:00
Kevin McCarthy
6b69d9cc46 Remove auto-wildcarding of uid search.
Remove list users link.
2007-08-20 13:14:00 -07:00
Kevin McCarthy
cb03961ff1 Convert add_user to take a user instead of a dict. 2007-08-20 12:10:50 -07:00
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