Commit Graph

163 Commits

Author SHA1 Message Date
Rob Crittenden
e9dfbfa773 Enable multi-value field support for some attributes on the edit pages
Better error reporting in the GUI
Include a document describing how multi-valued fields work
2007-11-08 22:12:42 -05:00
Rob Crittenden
50c383aeed Update text to reflect new CSS code (sidebar now on right) 2007-11-06 10:22:47 -05:00
Rob Crittenden
010fb65bfd define Self-Service as editting your own record.
This has the side-effect of removing the realm from Loggin in as. This
can be changed by using user_name instead of display_name in master.kid.
2007-11-02 17:41:24 -04:00
Rob Crittenden
9d24003528 Distinguish between active and inactive users on the Find People page. 2007-11-02 11:42:38 -04:00
Rob Crittenden
dc01ea0fe6 groups come back as a list where the first element is the number of
groups returned. Skip that element.
2007-11-02 11:35:50 -04:00
Rob Crittenden
6a0ca23577 Update the UI look and feel 2007-11-01 16:15:32 -04:00
Karl MacMillan
27f0aab667 Rename memberOf to group_members in xml-rpc interface. 0001-01-01 00:00:00 +00:00
Rob Crittenden
303d5ebad9 Have the GUI use memberOf() instead of looping through the member DNs
Fix a bug in the local transport version of memberOf()
2007-10-31 10:08:16 -04:00
Kevin McCarthy
859291a706 Add delete user and group to webgui.
NOTE: this doesn't handle referential integrity.
2007-10-23 16:46:50 -07:00
Rob Crittenden
28641544e7 Set the user password when adding a user 2007-10-26 12:35:32 -04:00
Kevin McCarthy
1d746c9fc2 Rename the form fields parameter to be clearer:
user -> user_fields
group -> group_fields
delegate -> delegate_fields
2007-10-25 09:18:45 -07:00
Kevin McCarthy
358d279a53 webgui side of custom fields. 2007-10-24 16:04:17 -07:00
Rob Crittenden
04636b8ae7 Add an LDAP attribute -> label mapping function to XML-RPC layer
Move some ACI functions around in preparation for cli delegation
2007-10-22 17:06:52 -04:00
Kevin McCarthy
f881e21f7f Add add/edit/show for manager and secretary fields. 2007-10-19 15:19:28 -07:00
Karl MacMillan
1685751b1c Remove dependency between ipa-pyton and ipa-server
Current ipa-python imports and calls code from ipaserver (which is in
the ipa-server package). This makes it impossible to use the admin
tools or the ipa-python package on a system without the server bits
installed. This fixes that in a fairly minimal way.
0001-01-01 00:00:00 +00:00
Kevin McCarthy
5e651a6496 Finish the email autosuggest.
For now I've added a new API call.  The field-specific searching is
a ways off.
2007-10-18 14:33:55 -07:00
Kevin McCarthy
c4bd800b37 Fix HTML errors on empty fields. Move roomnumber to address section. 2007-10-19 09:18:51 -07:00
Kevin McCarthy
fd8690dd63 Add a flash message to the top of the page when there are validation errors. 2007-10-19 08:59:40 -07:00
Karl MacMillan
4427ff78f6 Add exception template. 0001-01-01 00:00:00 +00:00
Kevin McCarthy
12047b529a Add an exception/error handler to the web gui. 2007-10-18 09:46:13 -07:00
Rob Crittenden
d28b759e00 Fix build issues related to the autotools conversion 2007-10-18 22:03:54 -04:00
Kevin McCarthy
6249f20526 Add logger objects to each controller.
Fix up the config settings for logging.
2007-10-17 16:45:20 -07:00
Kevin McCarthy
f8a9d2021a Sort users by last name. Make labeleduri a link. 2007-10-17 13:42:45 -07:00
Kevin McCarthy
0b2b499e42 Add print media CSS. Rename delegation edit button to 'update'. 2007-10-17 13:12:43 -07:00
Karl MacMillan
31fb0033ba Merge. 0001-01-01 00:00:00 +00:00
Kevin McCarthy
8e88028417 patch queue: jslint_fixes.patch 2007-10-16 10:54:47 -07:00
Kevin McCarthy
2dcab902b8 Remove coffee-spewing color from delete button. Adjust nav-link and size. 2007-10-16 10:14:27 -07:00
Kevin McCarthy
3db0f99977 Adds deletion for delegations.
The deletion is only triggered via javascript, so they must hit confirm.
2007-10-16 10:01:30 -07:00
Kevin McCarthy
1592229c3c Fixes to acilist: make use POST, use field labels. 2007-10-15 16:21:10 -07:00
Kevin McCarthy
60e78feeba Fix for when there's a single ACI. 2007-10-15 14:55:42 -07:00
Kevin McCarthy
40930c9b11 Fix list delegations to show field labels.
Also fix script tags on delegateform.kid.
2007-10-15 14:17:51 -07:00
Kevin McCarthy
117a78f909 Rename delegatenewform to delegateform. 2007-10-15 13:17:26 -07:00
Karl MacMillan
f8fba3b7dd Autotool ipa-server - patch from William Jon McCann <mccann@jhu.edu>. 0001-01-01 00:00:00 +00:00
Kevin McCarthy
233915b780 Add basic delegation editing. 2007-10-15 13:07:39 -07:00
Kevin McCarthy
fbbdd27b53 Creates an update_entry api call, aliases update_user and update_group to it. 2007-10-15 09:04:13 -07:00
Kevin McCarthy
63f7cdf7f7 Adds delegation listing and creation to the GUI. 2007-10-12 15:11:55 -07:00
Kevin McCarthy
2b38769b50 Combine get_user/group by dn/cn into get_entry_by_cn/dn.
Also a couple double-escaping fixes I missed in the last patch.
2007-10-09 09:26:16 -07:00
Kevin McCarthy
aaa992b744 Fix the webgui to allocate a new IPAClient for each request. 2007-10-08 09:54:13 -07:00
Kevin McCarthy
9987e0e807 Small group fixes: remove index, change to use hidden_fields (like UserFields) 2007-10-08 09:22:03 -07:00
Kevin McCarthy
b73f825657 Several escaping fixes:
- illegal dn characters need to be escaped
- null characters in search filters
- dynamicedit.js was double html escaping (the python layer does it already)
2007-10-05 15:25:58 -07:00
Kevin McCarthy
60ce1db581 Fix for Internet Explorer, which is picky about commas. 2007-10-05 13:59:04 -07:00
Kevin McCarthy
d5fedb5f97 Split the controllers out into separate user and group controllers. 2007-10-04 17:10:18 -07:00
Kevin McCarthy
6f7c918e59 Fix the autosuggest ordering so faster operations go first.
Also fix a bug with the initials autosuggest code.
2007-10-04 14:23:55 -07:00
Kevin McCarthy
99c793e2ad Fixes none values in first/last name to display properly. 2007-10-04 12:20:00 -07:00
Kevin McCarthy
2ac1b39f42 Trickle the group_cn to group_dn down the layers. Fix controller calls. 2007-10-03 18:21:41 -07:00
Kevin McCarthy
1cef67e2e1 Add the rest of the user fields to the user pages. 2007-10-03 13:53:14 -07:00
Simo Sorce
cfac4acf9f Rely more on kerberos.
Don't read ipa.conf to get the realm, the kerberos libs do that for you.
Use the krbPrincipalName to change passwords
Make it possible to specify the principal at user creation.
Mail is not a required attribute so far, don't require it.
2007-10-01 17:33:16 -04:00
Kevin McCarthy
5750ebdd83 Assorted UI fixes:
- Change sort functions to be on entities, so can use on the view pages too
- Fix bug: empty ajax search on useredit blows up
- Filter illegal characters from suggest uid/email methods
- Rename first/last name fields
- Make default font family sans-serif
- Speed up effect appear/fade rendering
- Add buttons to top and bottom of pages
- Make grouplist sortable
- Add noscript warning to welcome page
2007-10-02 10:49:44 -07:00
Kevin McCarthy
050157ace0 Add group management to the newgroup page. 2007-10-01 13:27:40 -07:00
Kevin McCarthy
59ee94e378 Allow group selection on the create user page. 2007-10-01 11:26:22 -07:00
Kevin McCarthy
dbf8c1aeb9 Add group management to the user edit page.
Added a couple more API calls to make the inverse operations easier.
2007-09-28 16:01:42 -07:00
Kevin McCarthy
b02e9bfd1f Extract the shared dynamic edit code.
Rename groupeditsearch.kid to dynamiceditsearch.kid
2007-09-28 11:55:56 -07:00
Kevin McCarthy
8323959c3c Sort the group members on the view and edit group pages. 2007-09-28 09:59:04 -07:00
Kevin McCarthy
afb9a3c0a9 Refactoring to allow better member rendering.
Created a MemberDisplayInfo to hold the info needed to render a member.
Changed round trip persistance to use that class.
Created a single renderMemberInfo method to render the members.
Changed dynamic as well as static lists to use renderMemberInfo.
Lastly, render groups members in italics.
Change view group to render group members in italics.
2007-09-28 08:53:10 -07:00
Kevin McCarthy
d13c6efc40 Adds nested group handling to the view and edit group pages.
Renames the ajax seach page, because it's tightly bound to the group edit page.
This isn't super polished, but the basic functionality is there.
2007-09-27 14:51:35 -07:00
Kevin McCarthy
572b3e9fdd Make timelimit a parameter to the find methods. 2007-09-27 15:51:26 -07:00
Kevin McCarthy
d95b47232d patch queue: group_users_use_dns.patch 2007-09-27 11:27:33 -07:00
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
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
rcritten@redhat.com
919d037189 Add a failed login page. In theory it should never been seen but it makes
things nicer
Remove the login page
Remove the login link from master.kid
2007-09-21 10:58:40 -04: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
Simo Sorce
fbfefe6b0e Merge conflicts between rob and kevin patches 2007-09-20 16:58:54 -04: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
rcritten@redhat.com
b85668579e Use ticket forwarding with TurboGears. mod_proxy forwards the principal
name and location of the keytab. In order for this keytab to be usable
 TurboGears and Apache will need to run as the same user. We will also need
 to listen only on localhost in TG.
2007-09-14 17:19:02 -04: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