Kevin McCarthy
24c22a2ebc
Misc small fixes:
...
- Members of groups are clickable
- Combine name and uid into a single column in find users
- Remove license plate from searching
- Mailto links on user emails
- Add timelimit to finds. This is experimental...
- Fix usersearch to only search on objectClass=Person
- Change search to use get parameter
2007-09-25 11:25:48 -07:00
Kevin McCarthy
1725397a53
Adds methods to manipulate groups by dns.
...
Renamed some of the user_group parameters to be self-evident.
Binary wrapping isn't necessary on strings, so removed from xmlrpc calls.
2007-09-26 15:47:34 -07:00
Kevin McCarthy
1a7ef0d135
patch queue: helptext.patch
2007-09-26 13:08:29 -07:00
Kevin McCarthy
313f9bc4a0
Add IPA icon file.
2007-09-25 16:54:19 -07:00
Kevin McCarthy
fa7759684f
Adds manager and direct reports to usershow page.
...
Fixes a bug with the group by member where is wasn't trapping not found errors.
2007-09-25 15:44:49 -07:00
Kevin McCarthy
765279d82b
Show the list of groups a user belongs to.
2007-09-25 13:35:43 -07:00
Kevin McCarthy
5cdfc5bd3b
Add set_krbccache() calls to new controller methods.
...
Small fix to proxyprovider for anonymous case.
2007-09-20 14:53:23 -07:00
Kevin McCarthy
4e79c37c60
Add password changing call to web gui.
2007-09-19 15:59:01 -07:00
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
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
9bb9dbae42
Add required packages to README
2007-09-07 15:18:51 -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
00e299467c
Add account deactivation checkbox.
...
Fix genModList to lowercase all keys and use CIDict.
2007-08-31 10:59:26 -07:00
Kevin McCarthy
c85c8eede3
Add 'test' target to makefiles. Hook up ipautil tests to run.
2007-09-04 10:22:45 -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
Kevin McCarthy
c7c8aa0926
Add ipautil, which contains CIDict - a case insensitive dict.
...
This version of the cidict extends the dict class, which allows it to
play nicely with turbogears.
Also includes extensive tests.
2007-08-24 10:31:45 -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
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
4c8f2346a0
Improved modlist generator.
2007-08-20 16:18:12 -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
a0e2fa00f1
Manual merge changes in for the cidict/ipaclient add_user()
2007-08-17 14:27:54 -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
a57fe697a7
Fix python-ldap attribution for cidict.
2007-08-27 09:49:35 -07: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
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
945713ca30
Fix dsinstance.py and krbinstance.py imports
2007-09-06 16:21:07 -07:00
Kevin McCarthy
3afd023c3a
Generalized Time parser and tests, for use in krbPasswordExpiration
2007-09-04 13:44:59 -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
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
kmccarth@redhat.com
84d3b7be58
Change server to not be global nor reused.
2007-08-02 14:15:40 -07:00
kmccarth@redhat.com
88ab86fa37
Rename 'gn' to 'givenName'
2007-08-02 15:01:59 -07:00