Commit Graph
100 Commits
Author SHA1 Message Date
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
Adam Young e903f43d48 action-panel adjustments
tweak the tabs padding
2011-01-10 13:01:37 -05:00
Adam Young 340d0d685c remove permissions checkbox
self service defaults to write permission, the only acceptable one.
By removing the checkbox, we stop sending invalid permissions
2011-01-08 04:45:07 -05:00
Adam Young f717d7d2e7 fix entity unit tests unit tests updated to accoount for the facet_group title 2011-01-08 04:45:00 -05:00
Adam Young 5c9c006af1 Validate add-dialog text fields 2011-01-08 04:44:51 -05:00
Adam Young 575d014ac5 bad request workaround not a permanent fix, but makes the web server accept valied request. https://fedorahosted.org/freeipa/ticket/691 2011-01-07 06:14:54 -05:00
Adam Young ecd2573e09 metatdata for facet_groups
THis patch updates the metadata with the changes for the facet groups names.  It is a large patch only in that the metadata is huge, but the change is trivial
2011-01-07 04:45:08 -05:00
Adam Young b730eb356f facet nesting
correctly nest the facet groups
change 'parent' to 'member of' for facet group
2011-01-07 04:44:56 -05:00
Adam Young 728a1d8361 dns record style
THe client aread class is added after the create call.  THe logic assumes that there are two divs under the tabs.  THe records facet broke that assumption.  THis fixes it
2011-01-07 03:48:08 -05:00
Adam Young 79c0b1e14b remove list header 2011-01-06 12:52:17 -05:00
Adam Young 3920b36b4a action panel style
make clickable links blue
change spacing to keep headers from wrapping
convert most px values to em, to support scaling
indent action controls and place them under the active facet
set default font size to 11px
2011-01-06 12:39:16 -05:00
Adam Young 7474a2cf3f add missing files in rpm
Fonts, header images, and json.js
2011-01-05 14:54:18 -05:00
Adam Young 69de8b317a remove UID field
we are only doing global policy on the krbtpolicy page
2011-01-05 13:31:21 -05:00
Adam Young e66e29be7d fix krbtpolicy update
krbtpolicy requires null pkey, and without it, update breaks.
2011-01-05 13:18:29 -05:00
Adam Young 553e08afa6 posix checked check box for posix groups selected by default 2011-01-05 10:39:45 -05:00
Adam Young 0fc1d260c0 metadata update 2011-01-05 10:27:45 -05:00
Adam Young 3390319f4c user associations
user assocaitions had been removed.  This adds them back in.
2011-01-04 22:58:27 -05:00
Adam Young c2a2433657 fail clean add and edit
Don't close the dialog if the add fails and the user clickes
add and edit
fixes. https://fedorahosted.org/freeipa/ticket/663
2011-01-03 11:42:39 -05:00
Adam Young 590eef2936 status label
Change the label for the account status field IAW https://fedorahosted.org/freeipa/ticket/677
2010-12-23 15:12:45 -05:00
Adam Young e0c95e235c Remove description field from config
This field does not exist

https://fedorahosted.org/freeipa/ticket/677
2010-12-23 14:57:59 -05:00
Adam Young 247e2a263b fix reset passwrod
The way we store the user object returned from user-find --whoami changed, and this code was not updated
2010-12-23 14:12:33 -05:00
Adam Young eb6f215246 hide autommount
since automount is not yet implemented, remove it from the menu
2010-12-23 09:57:58 -05:00
Adam Young 82b03ddfc1 hidden filter
The filter field on aci add is hidden, and prefilled with an object class that doesn't exist.

Fixed the error where the other fields were removed
2010-12-22 12:48:26 -05:00
Adam Young 2cb53ec8d0 populate the group select upon initial creation
Fixes the delegation add dialog
2010-12-21 13:37:23 -05:00
Adam Young 023f92f517 additions to patch 118 2010-12-20 23:32:06 -05:00
Adam Young 07ace112af aci ui
Implements the role, privilege, permission, delegation and selfservice entities ui.

Targetgroup has been added to the object types.
The groups lists need to be filter.  The filter is currently hidden, with a
hyperlink that reads 'filter' to unhide it.  Each keystroke in this filter
performs an AJAX request to the server.

There are bugs on the server side that block some of the functionality from
completing

Creating a Permission requires one of 4 target types. The add dialog in this
version assumes the user will want to create a filter type. They can change
this on the edit page.

Most search results come back with the values as arrays, but ACIs seem not to.
Search and details both required special code to handle non-arrays.

The unit tests now make use of the 'module' aspect of QUnit.  This means that
future unit test will also need to specify the module.  The advantage is that
multiple tests can share a common setup and teardown.

Bugs that need to be fixed before this works 100% are
https://fedorahosted.org/freeipa/ticket/634
https://fedorahosted.org/freeipa/ticket/633
2010-12-20 23:32:06 -05:00
Adam Young fc4ce7dc8c cusor pointer for undo link 2010-12-20 22:58:16 -05:00
Adam Young 67d1c07112 kinit typo
Was origially KInit  but the command is kinit
2010-12-17 16:36:48 -05:00
Adam Young 00ebf8c4e3 error link
Change the link in the error message to the one that will actually fix the problem
2010-12-17 16:27:11 -05:00
Adam Young 22b2cbbe44 type prevented rendering on firefox4 2010-12-17 16:07:09 -05:00
Adam Young 2884bce276 relabel role
no longer calling them role groups.
2010-12-13 15:10:20 -05:00
Adam Young 6a5b308c9b remove URL from error messages.
URL was always ipa/json. This means nothing to the end user.
2010-12-08 16:41:31 -05:00
Adam Young 78786a6995 nested entity navigation Made the mechanism for caluculating nested eneties more general, so that we don't have to hard code for SUDO and HBAC, and now to support ACI 2010-12-07 14:05:52 -05:00
Adam Young 10f3c0825b entity i18n
Updated the user,group,host, hostgroup, netgroup, service, and all policy
entities to use the newer framework functions, in order to
replaced the old array style definitions which did not support i18n.
update a few of the newer framerwork functions to get the lables from the
meta data.

Fixed the unit tests which were expecting a details facet for users,
no longer automatically created
2010-12-06 12:52:47 -05:00
Adam Young e33377bc13 dns2 ui replaceing calls for the dns plugin to the dns2 plugin no has attribute permissions and all other benefits of building on the baseldap plugin 2010-12-03 11:42:38 -05:00
Adam Young e382472fce tooltips uses the doc field for tooltips on text fields on the details pages 2010-12-02 18:12:02 -05:00
Adam Young 6c2391b6b3 associate search automatically perfomr the no-args search for enrollment-adder pages 2010-12-02 13:09:13 -05:00
Adam Young 27b01cb628 remove task and role groups since these entites are no longer exposed in the Meta data, including them in the code causes breakage at initialization 2010-12-02 11:48:29 -05:00
Adam Young 85d5bfd1b1 admin determination
extends the logic for showing the admin or self service ui to admins by checking for membership in the group admins
added check for group admins
2010-12-01 20:22:30 -05:00
Adam Young 47d61e6cab action panel sibling added function to get sibling entities from the tab set. remove explicit sibling code from entity pages Modified the Label fields on HBAC and SUDO to make them appear cleaner in the UI 2010-12-01 15:21:02 -05:00
Adam Young 7b91e9d83d top nav index allows links between differnt top level tabs by calculating the index of the top level tab for the target tab. new version creats third level navigation for nested entities, such as SUDO and HBAC 2010-11-29 21:13:26 -05:00
Adam Young 5bfb1a004a quote class member
the class member variable is a reserved keyword in Javascript.
This patch fixes a syntax error.
2010-11-29 09:46:39 -05:00
Adam Young 16b935169c whoami fix
recent changes to the scope mechanism weren't propigated to the whoami call
2010-11-24 16:36:36 -05:00
Adam Young 091099480f navigation format UXD guidance to cleanup navigation. adjusts the tab font 2010-11-24 20:30:43 -05:00
Adam Young 841c290113 action panel formatting
Cleans up the indentation of the action panel
Puts the sudo and HBAC entries in a consistent order
2010-11-24 20:30:34 -05:00
Adam Young 6419186319 tab width
fixes the spacing and width for the top and second row of tabs
2010-11-19 16:59:48 -05:00
Adam Young 5a34976779 add button the spec had three add buttons: this one is the basic, 'add and then close' https://fedorahosted.org/freeipa/ticket/471 2010-11-19 02:26:01 -05:00
Adam Young 9fa855edfe removed index.xhtml
also removed language on html, as the same page should be used for all languages.
2010-11-19 02:25:50 -05:00
Adam Young 747781fa45 env init call the json rpc 'env' during ipa init and cache the result 2010-11-18 23:45:06 -05:00
Adam Young 775fc23738 batch init this batches together the calls to json_metadata, i18n_messages, and user-find [whoami] tostreamline the init process, and also allow us to add a call to enumerate the plugins. 2010-11-18 20:02:45 -05:00
Adam Young b42271c47d CSS cleanup post UXD discussion 2010-11-17 22:12:22 -05:00
Adam Young 632639b62d action select
if exactly one entity is selected, it enables the entity-facet links in the
action panel, and sets the pkey in bbq to the pkey of the selected
2010-11-17 21:50:03 -05:00
Adam Young 7abd8c6ecb buttons to action panel puts the buttons as the top li in the action panel 2010-11-16 11:20:20 -05:00
Adam Young b84b0239f8 HBAC css cleanup
The additions to the search widget have to go one level deeper, as
'container' has both the action panel and the client area

Conflicts:

	install/static/hbac.js
	install/static/hbacsvc.js
	install/static/hbacsvcgroup.js
2010-11-16 11:20:02 -05:00
Adam Young 59cc365a1d demo deploy Makes it easier to deploy demos. This version will demo cleanly from html providing you just set
that.use_static_files = true;

in the IPA definition section
2010-11-16 11:19:55 -05:00
Adam Young 455bf4d288 px to em
Making all of the page elements based on the font size.
Also, set the font to the defauklt for the browser.
By default, most brosers have Font set to 16px.
2010-11-16 11:19:34 -05:00
Adam Young 9ea16ebce5 entity container size
No longer wastes %20 of the the page in the entity container.
2010-11-15 13:54:33 -05:00
Adam Young dbd823c8d8 Push associate buttons to the action-panel 2010-11-15 10:47:02 -05:00
Adam Young 9fa543700b buttons to action panel 2010-11-14 01:53:56 -05:00
Adam Young 59a0c17c54 super to superior 2010-11-14 01:53:52 -05:00
Adam Young 828f87e4a6 more css cleanup remove quick links css very close to specs 2010-11-14 01:53:47 -05:00
Adam Young 821987fe67 layout
Closer to the layout from the spec
The facets have been moved to the action panel, to the left of the page
the facets are now rendered in an area of the screen with a client class
2010-11-14 01:53:41 -05:00
Adam Young a8637bdaa0 Label cleanup Also, addeed in the default shell field. 2010-11-10 16:16:28 -05:00