Commit Graph
100 Commits
Author SHA1 Message Date
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
Adam Young f904df0f0d declarative defintions
Delay the creation of entities until after ipa init is called
made the user and group entity definitions declarative
removed unused facet from groups
adjusted unit tests

made review changes:

factories are now in an associative array
entity init called right after factory
init dialogs in entity init
fixed type on search
2011-01-27 16:46:44 -05:00
Adam Young 5ca58d58b3 target style cleanup
Target section had radio buttonsreversed, and a few other style changes
Note that this has the styling removed for the aci-target dl items
2011-01-26 16:23:12 -05:00
Adam Young de46427e81 assoc entity selected class
Iassociation entities should look differnt than Details when they are selected
2011-01-26 14:58:35 -05:00
Adam Young b871b90ef0 api version update 2011-01-26 10:12:04 -05:00
Adam Young dcb796df6e dns visible if enabled
use the result of the is_dns_enabled command to show or hid the dns tab

Also, Javascript lint cleanup from recent patches.
2011-01-26 10:07:21 -05:00
Adam Young aa61337221 dns container
the dns records page was adding controls to the wrong tag.  This pushes everything down one level, fixing the formatting.
2011-01-26 10:07:21 -05:00
Adam Young 2b8cdb2c8d Tab I18N
Makes the values for the Top level tabs internationizable, and no longer just
passes through their names

Also uses the I18N values for SUDO and HBAC as the static text in the Action p[anel title
2011-01-26 10:07:21 -05:00
Adam Young c1799c8366 js lint fix 2011-01-25 17:30:46 -05:00
Adam Young fd1e78d2b2 error handling style
modifying the directories so they find the assets in the right locations
2011-01-25 16:47:09 -05:00
Adam Young bc7ed9b1e3 action panel select for multiple entities 2011-01-25 13:54:57 -05:00
Adam Young 5058c4c978 unselected facets Facets that were not selected were getting the class indicating that they were sselected 2011-01-25 13:28:47 -05:00
Adam Young 4fa04942df action buttons for dns 2011-01-25 13:11:55 -05:00
Adam Young 32c74fccef aci attribute table two columns 2011-01-25 13:11:43 -05:00
Adam Young 485e4a097f remove icons from association buttons 2011-01-25 13:11:37 -05:00
Adam Young b9ad279ad2 rename static to ui
Directory rename
2011-01-20 14:12:47 +00:00
Adam Young 902bd906a5 enroll dialog layout
we were squeezing the buttons in the middle of the page.  This patch shrinks the two boxes on either side and centers the buttons.
2011-01-19 04:58:56 -05:00
Adam Young bc27191db6 background into Makefile 2011-01-18 21:23:59 -05:00
Adam Young cbd121333a update API removal of idnssoamaximum from dns APIs broke the build. THis fixes it. 2011-01-18 14:43:19 -05:00
Adam Young c596b92591 dns action controls
was adding the action controls to multiple lines. Now only one
2011-01-18 10:32:02 -05:00
Adam Young ec3e7f1202 search unit tests Unit tests were by the hiding of the search, and elements from the action panel. 2011-01-18 01:46:56 -05:00
Adam Young 2b50853492 jslint cleanup 2011-01-18 01:46:47 -05:00
Adam Young 6650dbf6a4 no entry for search if the search facet is selected, don't put an entry in the action panel for the search 2011-01-15 04:46:43 +00:00
Adam Young 285ee9db0c Details to Settings
Using I18N messages for most of the details
2011-01-15 04:42:49 +00:00
Adam Young f92c831a32 arrow icons Use Unicode characters for the arrow icons 2011-01-15 04:42:06 +00:00
Adam Young d49cf9ee61 lint clean added a config file for running jsl. run 'jsl -conf jsl.conf' and see that there are no error messages. 2011-01-15 03:35:42 +00:00
Adam Young a68b2d2aa3 hide unselectable options
If an option is not selectable from the action panel, hide it until it is selectable
addresses https://fedorahosted.org/freeipa/ticket/747
2011-01-14 13:32:03 -05:00
Adam Young 91fae67fa4 null pkey
If the pkey is null, send an empty array.
If the pkey is not null, send and array of length 1 with the pkey in it.

Addresses:  https://fedorahosted.org/freeipa/ticket/767
2011-01-14 13:19:56 -05:00
Adam Young c385db4fc0 spinning wheel display a spinning icon gif during network traffic. Fixes the following from first patch: 1 primary key set in span as opposed to appended, so it only appears once. 2. call hide for the network activity icon only in success or failure functions, not multiple times 2011-01-14 11:42:27 -05:00
Adam Young 680148ed03 scoping functions
converting function of the form ipa_<name> to IPA.<name> to remove them from the global namespace.

https://fedorahosted.org/freeipa/ticket/212
2011-01-14 04:03:47 -05:00
Adam Young 406a52edae metadata update
Static viewing was broken due to recent hbac changes.
2011-01-13 15:55:47 -05:00
Adam Young b79bf4ab17 javascript lint cleanup 2011-01-12 21:47:05 -05:00
Adam Young 380fed3bb1 enroll button
This was removed in several places where it should still be visible
2011-01-11 23:04:38 -05:00
Adam Young 75078c0bd4 header style fix
minor tweak to the header and gradient for the header
2011-01-10 11:26:10 -05:00
Adam Young c69f4d0fed center page
fixes issues from
 https://fedorahosted.org/freeipa/ticket/507
2011-01-10 09:26:32 -05:00