Commit Graph

1600 Commits

Author SHA1 Message Date
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
Endi S. Dewata
8cff0812d5 Fixed attribute name for delegation member group. 2011-02-01 12:03:45 -05:00
Endi S. Dewata
613a3d0f56 Added undo for permission rights.
https://fedorahosted.org/freeipa/ticket/884
2011-02-01 08:30:35 -05:00
Endi S. Dewata
7c23d5aff9 Fixed missing object reference. 2011-01-31 23:29:07 -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
Endi S. Dewata
a629f3f4c7 Removed permission description from UI
https://fedorahosted.org/freeipa/ticket/877
2011-01-31 15:06:47 -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
Endi S. Dewata
987507efd0 Fixed IPA.widget's load, save, and is_dirty.
This patch fixes the problem leaving the user details page.
2011-01-30 15:32:59 -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
Endi S. Dewata
f5e6d01916 Fixed permission reset and is_dirty unit test
The reset and is_dirty functionality for permission has been fixed.
New widgets have been created for select and a collection of checkboxes.
New test data files have been added for each target type.
2011-01-29 22:13:15 -05:00
Adam Young
20e742d355 populate attribute table for delegation add 2011-01-29 22:08:27 -05:00
Endi S. Dewata
8df5202940 Fixed permission reset and is_dirty.
The reset and is_dirty functionality for permission has been fixed.
New widgets have been created for select and a collection of checkboxes.
New test data files have been added for each target type.
2011-01-29 21:23:01 -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
Endi S. Dewata
e806f32cae Add permission dialog adjustments.
The IPA.dialog has been modified to support sections. The add
dialog for permission has been modified to include the target
section. The base dialog classes have been moved from widget.js
into a new file called dialog.js.

This patch also includes ayoung's fix for parameter name and
format for the permission attributes.

https://fedorahosted.org/freeipa/ticket/791
2011-01-29 13:36:03 -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
Endi S. Dewata
b96138ba56 Fixed delegation UI issues
This patch fixes several issues in delegation UI:

When adding a new delegation, only the first attribute selected
was saved. Now all attributes will be saved properly.

When loading the details page, the custom widgets did not store
the original values properly so is_dirty() did not work correctly.
Now this has been fixed except for the memberof attribute because
of these issues:
 - https://fedorahosted.org/freeipa/ticket/869
 - https://fedorahosted.org/freeipa/ticket/870

When saving the details page, the attrs were saved as an array
which was rejected by the server. Now it is stored as comma-
separated list.
2011-01-28 14:15:43 -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
Kyle Baker
7462a852bd Adjusted aci's target feilds, adjusted action panel styles, adjusted Delegation and Configuration. 2011-01-27 16:54:20 -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
Endi S. Dewata
add7d701c6 Check field's validity before executing add. 2011-01-26 16:42:55 -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
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
System Administrator
7262884706 Modal Panel Changes 2011-01-25 16:48:44 -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
Kyle Baker
02803be1ba Main UI, migration, and html Style updates 2011-01-25 16:46:59 -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
Endi S. Dewata
9319385c7e Removed 'name' from 'Sudo Command Group name'. 2011-01-24 13:33:00 -05:00
Endi S. Dewata
fa5ae89d7f Added scrollable panel for delete dialog box. 2011-01-24 13:32:55 -05:00
Endi S. Dewata
5ef7b8adb8 Added spaces around radio buttons. 2011-01-24 13:32:50 -05:00
Adam Young
b9ad279ad2 rename static to ui
Directory rename
2011-01-20 14:12:47 +00:00