Commit Graph
100 Commits
Author SHA1 Message Date
Adam Young e0238b5218 entity_select naming
http://fedorahosted.org/freeipa/ticket/1467
2011-07-12 11:01:18 -04:00
Adam Young 0475340344 indirect admins
https://fedorahosted.org/freeipa/ticket/1465
2011-07-11 16:08:09 +00:00
Adam Young 30492ef3fa clear errors on reset
https://fedorahosted.org/freeipa/ticket/1446
2011-07-08 17:34:55 +00:00
Adam Young 0a5f103733 check required on add
previsouly was checked on key down, but that does the check too soon.
Next attempt was on blur, but that had numerous problems.  This now checkes when the add button is clicked.
works for entity_select widget, too
Checks upon form submission

https://fedorahosted.org/freeipa/ticket/1437
2011-07-08 01:36:52 +00:00
Adam Young e4a444ba81 HBAC deny warning
shows dialog if there are any HBAC deny rules.  Dialog provides option to navigate to the HBAC page.  Deny rules have their rule type value show up in red.

Only shows up fro administrators, not for self service users.

https://fedorahosted.org/freeipa/ticket/1421
2011-07-06 21:52:00 +00:00
Adam Young a38ad1d433 password expiration label 2011-07-05 18:00:05 -04:00
Adam Young a3a9267334 validate ints
validate integers whether meta comes from metadata or param_info

https://fedorahosted.org/freeipa/ticket/1415
2011-07-05 20:31:00 +00:00
Adam Young 7a25523d63 entity link for password policy
https://fedorahosted.org/freeipa/ticket/1111

reset() now hides both the link and the label
calucalating  should_link is now a function that can be overloaded.
2011-07-01 16:49:49 -04:00
Adam Young 9d8ddb5d46 config widgets entity select default group checkbox for migration 2011-06-30 22:26:19 -04:00
Adam Young 21dd4a2a82 ipadefaultemaildomain 2011-06-30 12:39:56 -04:00
Adam Young 2352fcbcc3 config fields
https://fedorahosted.org/freeipa/ticket/1403
https://fedorahosted.org/freeipa/ticket/1404
https://fedorahosted.org/freeipa/ticket/1405
https://fedorahosted.org/freeipa/ticket/1406

fields and sections for config screen
Using multivalue controls for object classes
2011-06-30 11:23:58 -04:00
Adam Young 870e430b65 undefined pkeys https://fedorahosted.org/freeipa/ticket/1399
Thereis not metatdata defined pkey for config, so we need to short circuit the logic that uses the metatdata pkey to look up the key from the hashurl.
2011-06-29 21:14:16 +00:00
Adam Young b8b2ac5357 containing entity pkeys
Instead of looking for a match on the entity name, use the nesting structure
of containing entites to grab their pkeys.

Code review fixes

https://fedorahosted.org/freeipa/ticket/674
2011-06-29 17:09:57 -04:00
Adam Young 66eeaceb8c shorten url cache state in a javascript variable, and leave on information about the current entity in the URL hash params
https://fedorahosted.org/freeipa/ticket/674

decrement depth for hidden tabs.

Initialize state from url
useing delete for removing state
stricter attribute matching
not incrementing depth for all hidden tabs.
whitespace cleanup
2011-06-28 22:40:42 +00:00
Adam Young acc00afa4c Generate record type list from metadata https://fedorahosted.org/freeipa/ticket/945
now matches record at the end of the string
2011-06-28 18:10:02 +00:00
Adam Young 6e967d8fe7 validate required fields https://fedorahosted.org/freeipa/ticket/1329
overides required with optional.
2011-06-27 20:15:56 -04:00
Adam Young d2d5278c52 optional uid
Make the uid field optional
2011-06-27 16:33:35 -04:00
Adam Young 800cb7f46e identify target as section for permissions 2011-06-27 12:14:49 -04:00
Adam Young cbffe1d65d automountkey details
Adds hooks for navigation to the show page due to the unusual way that keys are accessed.

https://fedorahosted.org/freeipa/ticket/1257
2011-06-23 20:24:14 -04:00
Adam Young 3a36eced53 tooltips for host add
https://fedorahosted.org/freeipa/ticket/1363
https://fedorahosted.org/freeipa/ticket/1361
2011-06-22 02:12:25 +00:00
Adam Young 5f23c29d70 entity select for password policy http://fedorahosted.org/freeipa/ticket/1110 2011-06-21 01:14:57 +00:00
Adam Young eeed975bc6 ipaddress for host add
updated label triggered an API change
2011-06-20 20:53:15 -04:00
Adam Young d3bf7e4284 editable entity_select
jsl fixes

https://fedorahosted.org/freeipa/ticket/1043

remove redundant call to focus.
2011-06-20 15:36:30 -04:00
Adam Young 38f4368e30 no redirect on unknown error If the error name is indicates a server wide error, do not attempt to redirect.
this variation has a whitelist of errors on which to redirect.

https://fedorahosted.org/freeipa/ticket/1281
2011-06-20 18:46:48 +00:00
Adam Young 0399c140d9 entity select undo
Tests for dirty after the RPC call has completed and the select has updated
Passes the original value to the RPC completion, so it isn't lost upon RPC completion

https://fedorahosted.org/freeipa/ticket/1340
2011-06-20 17:24:21 +00:00
Adam Young 42d7ffbed1 service host entity select Use the entity select widget for add service 2011-06-20 16:50:28 +00:00
Adam Young d72fed190e hide automount tabs.
the tabs are required for natigation, but they should not be visible, as the breadcrub provides the navigation for them instead.

Moved the automount tabs up one level so that it uses the  two level style
2011-06-20 16:39:47 +00:00
Adam Young 4ea381649d entity select widget for manager https://fedorahosted.org/freeipa/ticket/1149 2011-06-20 16:27:31 +00:00
Adam Young dbeae4e3f4 test dirty onchange
instead of blindly setting dirty, check if the filed has a different value than it originally did.

https://fedorahosted.org/freeipa/ticket/1337
2011-06-16 20:29:14 +00:00
Adam Young c03fab1095 test dirty multivalue test the multivalue widgets for changes before showing the undo link. https://fedorahosted.org/freeipa/ticket/1337 2011-06-16 20:29:10 +00:00
Adam Young c610a17383 test dirty textarea
runs the testdirty check before setting the undo tag for a textarea
2011-06-16 14:36:04 -04:00
Adam Young f02b544aaf test for dirty
instead of always setting dirty, we do the original test, and then set the flag and show the link.

https://fedorahosted.org/freeipa/ticket/1337
2011-06-16 17:21:22 +00:00
Adam Young 17dccbdecc no redirect on search
https://fedorahosted.org/freeipa/ticket/1281
2011-06-15 14:09:33 -04:00
Adam Young 7d72eb291a dns multiple records show multiple records that share the same dnsname 2011-06-14 23:28:19 +00:00
Adam Young 6f1b62fb1a JSON marshalling list
Lists are sometimes marshalled as arrays.  Before, we assumed they were CSV strings.
2011-06-10 14:37:54 -04:00
Adam Young 4080a03051 dialog scrolling table
Tables on the dialog page need to have the scrolling set but should not resize with the main window, since their window is a JQuery UI dialog.
2011-06-03 19:54:14 +00:00
Adam Young 7486a33221 scrollable content areas
Turn off the side scroll bars for pages.

Resizes the table when the browser resizes

For stables, the rows scroll, but not the header.
For details, the content area scrolls.
Reserves 400 picesl for the header/ footer.   Resize is only done on reload
2011-06-02 14:28:24 -04:00
Adam Young c0f155bbfe automount delete key
indirect automount maps

code review changes for automount:

Removed: fields for mount and parentmap in maps details since they are not present in show or mod

Hid undo link for adder dialog

set up click handler for checkboxes when row does not have primary key

removed add override in automountmap_adder_dialog

moved 'var input...' in automount.js  line 158 to start of method.

changed logic in if statmenet ,dialog.js line 628 it if (!first) as suggested
2011-06-01 22:15:11 -04:00
Adam Young 6039fdd6b3 redirect on error Code for redirecting on error has been moved to IPA.facet so it can be called from both details and assocaiton facets. 2011-06-01 14:56:58 +00:00
Adam Young 554bda2a85 redirect on show error. 2011-05-31 22:28:31 +00:00
Adam Young 1636d64926 automount UI
automount implemented using standard facets and containing_entity pkey generation

sample data fixtures for automount.

messages for automount and HBAC.

modified form of the search facet used to nest the automount entities

Add works for nested entities.  Delete works for all but keys.  Since the API for this is going to change, I'm not going to fix it pre-checkin.

All the places the PKEY prefix is needed uses a single function. Added breadcrumb trail into title.

update ipa_init sample data

add redirect logic for pages without pkeys.

add and delete link to appropriate entities for nested search facet.

Using on demand entities.  Fixed breadcrumbs.
2011-05-26 14:53:40 -04:00
Adam Young 0330339003 create entities on demand.
fixed changes from code review

Fixed unit tests for entity on demand changes.
2011-05-23 13:31:23 -04:00
Adam Young bc9fd7a342 whitespace and -x removal 2011-05-12 12:50:11 -04:00
Adam Young b932139b45 update ipa init a simple script to update the metatdate et alles that comes from the ipa_init batch call 2011-05-12 12:30:57 -04:00
Adam Young 660332a162 remove jquery-cookie library https://fedorahosted.org/freeipa/ticket/989 2011-04-27 14:59:30 +00:00
Adam Young 1b12a28278 action panel to top tabs
replacing the action panel with the Design for 2.1
Significantly cleaned up implementation of intra-entity navigation
requires additional CSS work
still need to integrate the search controls onto each page
cleaning up interface between entity and facet
simplified nested tabs logic

Fixed role navigation
select default tab from the search widget
fixed unit tests and jsl
keep tabs area allocated

set default tab selected whenever the pkey changes.

Removing styling that is changing positions of buttons.  The logic for that was for action-panel, but does not translate to entity-header.

change from metadata name to label for I18N

set selected tab in entity_init.

Default title for entities without search and pkeys

associations in table now link.

remove colon from title when not showing pkey

added Managed by facet group.

Removed entities that are, for some reason, invalid.
2011-04-26 16:49:23 -04:00
Adam Young e0f62248c7 Upgrade to jquery 1.5.2 https://fedorahosted.org/freeipa/ticket/768 2011-04-23 03:25:45 +00:00
Adam Young db07c374aa fix JSL error 2011-04-22 16:08:48 -04:00
Adam Young 8b0c126c6b make use of new user-find columns. 2011-04-22 15:22:31 -04:00
Adam Young 6948c0813d code review fixes
this version includes using spec for detail_facets
2011-03-31 17:29:33 -04:00
Adam Young ef57ee0d93 default all false
no longer default to all: true for searches, only specify it for user searches
2011-03-31 17:29:33 -04:00
Adam Young 4270e26adb define entities using builder and more declarative syntax
merged hbac and sudo in to single files

associaton facet and table supports linking
2011-03-31 17:29:33 -04:00
Adam Young db91321fd2 update metadata with label changes 2011-03-31 17:29:33 -04:00
Adam Young dd2d9fc1c4 Fixed labels for sudo and hbac rules 2011-03-31 17:29:33 -04:00
Adam Young e5b30a89b9 pwpolicy priority
Priority is now a required field in order to add a new password policy.  Thus, not having the field present means we cannot create one.

https://fedorahosted.org/freeipa/ticket/1102
2011-03-18 16:06:08 -04:00
Adam Young bd3e4990fe Better truncated message 2011-03-03 19:33:49 -05:00
Adam Young 8a0d0d7e15 type in default text 2011-03-03 19:33:36 -05:00
Adam Young 07c896e204 typo in truncation message 2011-03-03 17:12:40 -05:00
Adam Young 620903ff27 fix truncated message 2011-03-03 15:38:53 -05:00
Adam Young 81fd790cda Use modified entity find commands for associations
https://fedorahosted.org/freeipa/ticket/1011

Does not completely fix the problem in the ticket, but it does mitigate the failure.
2011-03-02 19:11:28 -05:00
Adam Young cd61ef61ad update API.txt 2011-03-02 12:39:31 -05:00
Adam Young 3f88bc1484 Revert "Set hard limit on number of commands in batch request to 256."
This reverts commit 79d22f8341.
2011-03-01 17:35:56 -05:00
Adam Young 49b2c0bb62 splitting banner requires new file in Makefile.am 2011-02-23 11:23:16 -05:00
Adam Young e5cda47447 split logo This allows for more flexilibity in customizing the site, as an end user can replace the logo, the banner or both 2011-02-22 17:12:24 -05:00
Adam Young 17a8aea15c Space above line in table footer 2011-02-22 14:58:47 -05:00
Adam Young 4e5cc379d5 move expand and collpase all to the right hand side 2011-02-22 14:58:42 -05:00
Adam Young 848daee92a reorder user search columns UXD found in testing that not having the clikcable link as the left most column confused users. 2011-02-22 14:58:38 -05:00
Adam Young d9ea7f077f adder dialogs with external made the styles for the internal and external classes match the styles for available. 2011-02-22 14:58:32 -05:00
Adam Young 5eca488d6a Net group to Netgroup 2011-02-22 14:58:25 -05:00
Adam Young f0577622a9 search filter focus afdter a search loads, focus moved to the search filter text box, tyhe most likely thing that the user will want to change on the page.
https://fedorahosted.org/freeipa/ticket/983
2011-02-21 18:32:29 -05:00
Adam Young 41151ae86e removed image from Makefile 2011-02-17 15:03:25 -05:00
Adam Young 1ea463eced tabs2 color from white 2011-02-17 14:29:09 -05:00
Adam Young 03e83f6cc8 DNS record search
The current version of the DNS Plugin does not support searching by record, so that is commented out.

The search field wasn't working either.  The search criteria had to be appended to the params array, just after the zone.

https://fedorahosted.org/freeipa/ticket/907
2011-02-14 13:28:42 -05:00
Adam Young 29cf66046a remove deprecated record types 2011-02-11 16:26:09 -05:00
Adam Young f1e46f36d2 allow null keys for show
https://fedorahosted.org/freeipa/ticket/951
2011-02-11 15:47:53 -05:00
Adam Young d14ef576c3 column formatting Allow optional formatting for columns Provide Data formate for host modificaiton
date format
2011-02-11 15:04:31 -05:00
Adam Young 6f6d50f37f target section without radio buttons ACI target section refactored into an array of widget-like objects. The radio buttons have been replaced by a select box. THe select is not visible on the details page. 2011-02-11 15:04:31 -05:00
Adam Young a6849ef2ba removed duplicate postion
olny need to specify once
2011-02-04 16:13:14 -05:00
Adam Young ff646ec3a4 favicon
adds a favicon that is the freeipa cube
2011-02-03 15:04:23 -05:00
Adam Young afce50a3e4 city and state
using approapriate lcoality and state abbreviations for the attributes: l and st
2011-02-02 16:59:44 -05:00
Adam Young 2518612b0d core widget unit tests baseline set of unit tests for checking that each widget conforms to the contract 2011-02-02 10:59:46 -05:00
Adam Young c704ae605a undo entity widget adds line level undo for the entity-select-widget now shows the undo link on filter change does JSON queries on keyup instead of keypress https://fedorahosted.org/freeipa/ticket/886 2011-02-01 16:37:42 -05:00
Adam Young ec59e618da use entity select widget for permissions
https://fedorahosted.org/freeipa/ticket/879
2011-02-01 14:56:41 -05:00
Adam Young f85771b2a7 aci association fixes
declarative priv definition
fixes role_add_privilege and privilege_add_permisison
2011-01-31 23:09:13 -05:00
Adam Young a7e89190fa association fixes
PLaces custom association facets into the proper facet groups
usesthe associators if they are specifiedfor an association
2011-01-31 20:42:09 -05:00
Adam Young f89860b77e reduce scope of remove link it was global https://fedorahosted.org/freeipa/ticket/212 2011-01-31 14:31:44 -05:00
Adam Young c281e786c8 widget unit tests
unit test for basic functionality, text, and checkbox widgets
2011-01-31 13:12:53 -05:00
Adam Young de28abc236 delegation work around
Since the delegation enityt is using membergroup as the property name at this stage, we can use that as the value until the pluing is consistant
2011-01-29 23:16:08 -05:00
Adam Young 20e742d355 populate attribute table for delegation add 2011-01-29 22:08:27 -05:00
Adam Young e633dd81dd placeholder function
ipa_target_section does not overload is_dirty, and it alwayrs returns true, meaning you can never leave the page once you visit it.

THis commit pushes a simple placeholder function that always returns fales.  Follow on work will be required to correctly inplement the is_dirty functonality
2011-01-29 14:24:00 -05:00
Adam Young fd1d0857b5 unmatched aciattrs
instead of reporting an error on unmatched aciattrs, append them to the table.
2011-01-28 17:01:19 -05:00
Adam Young 3625a1e88a services list
Declaritive Service definition
Fixed a problem with multiple calls to create breaking the link between the select box and the text box
swapped the select and the text

https://fedorahosted.org/freeipa/ticket/442
2011-01-28 14:57:06 -05:00
Adam Young 828cd5f11a jsl warnings 2011-01-28 10:37:49 -05:00
Adam Young c75f332af9 aci rights widget
Fixes is_dirty and save

https://fedorahosted.org/freeipa/ticket/77
https://fedorahosted.org/freeipa/ticket/667
2011-01-28 10:37:49 -05:00
Adam Young ffcf10c832 default disable delete 2011-01-28 10:37:49 -05:00
Adam Young 114c238a9b entity filter text 2011-01-28 10:37:49 -05:00
Adam Young d7f4d616df dirty
If a page is dirty, do not allow additional navigation until changes are saved or committed
https://fedorahosted.org/freeipa/ticket/726
2011-01-27 16:59:17 -05:00
Adam Young b1c4fc3e6d reset target section target section needed to cache results for use in results moved load logic into reset and load now calls reset 2011-01-27 16:53:02 -05:00
Adam Young 18ec29c42b adding label for RBAC 2011-01-27 16:52:52 -05:00
Adam Young c3e0658790 declarative for aci
A couple of the ACI definitions were incorrect, and the end result was that fields were not getting initialized.  USing the declarative approach cleaned up the cause.

Also fixed a few broken unit tests
2011-01-27 16:49:11 -05:00