summaryrefslogtreecommitdiffstats
path: root/install/ui/aci.js
Commit message (Collapse)AuthorAgeFilesLines
* Fixed layout problem in permission adder dialog.Endi S. Dewata2011-09-091-194/+183
| | | | | | | | | | | | | In order to maintain consistent layout between details page and dialog boxes the IPA.details_list_section has been replaced with IPA.details_table_section which is based on table. The IPA.target_section and other subclasses of IPA.details_list_section have been converted to use IPA.details_table_section as well. The unit tests have been updated accordingly. Ticket #1648
* Fixed missing permission filter field.Endi S. Dewata2011-09-011-19/+14
| | | | | | | | Due to a recent change, all dialog boxes are now reset initially. The IPA.target_section has been modified to show the default target (i.e. filter) and the fields properly when reset. Ticket #1748
* Fixed facet group labels.Endi S. Dewata2011-08-081-1/+10
| | | | | | | | The facet group labels have been modified according to UXD spec. Some facet groups will have more descriptive labels. Some others will not have any labels because the facet tab is self-explanatory. Ticket #1423, #1561
* removing setters setup and initAdam Young2011-07-281-22/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | change widget and widget unit tests to hold on to entity, not entity name. Replacing entity_name with entity.name in most places. The one exception is columns for table_widget. Widgets that refer to other entities have to have late resolution of the entity object, due to circular dependencies. cleanup entity assignment. removed template and layout, merged setup into create adder dialogs adjust height for external removed init from widget, isection, association, facet, host and service Make unit tests use factory. fix functional tests to click find link correctly. tweak to activation test, but still broken. moved initialization code to the end use --all for hbacrule find, so the type shows up now fixed dns exception code and exception handling for get_entity replace metadata look up with value from entity. fixed author lines removed duplicate columns in managed by facets. tweak to nav fix in order to initialize tab. more defensive code update metadata for true false one line init for entity_name in widget move init code to end of constructor functions moved constants to start of function for adder_dialog external fields for dialogs initialized at dialog creation sudo sections: move add fields and columns to widget definition. The parameter validation in IPA.column ...This is precondition checking. Note that it merely throws an exception if the entity_name is not set. I want this stuff at the top of the function so that it is obvious to people looking to use them what is required. I added a comment to make this clear, but I'd like to keep precondition checking at the top of the function. decreased the scope of the pkey_name and moved the initiailzation fof columns into the setup_column function for association_tables return false at the end of click handler removed blank labels in sudo command section fix radio buttons for sudo category fixed table side for adder dialogs with external fields comments for future direction with add_columns https://fedorahosted.org/freeipa/ticket/1451 https://fedorahosted.org/freeipa/ticket/1462 https://fedorahosted.org/freeipa/ticket/1493 https://fedorahosted.org/freeipa/ticket/1497 https://fedorahosted.org/freeipa/ticket/1532 https://fedorahosted.org/freeipa/ticket/1534
* Entity select widget improvementsEndi S. Dewata2011-07-181-13/+28
| | | | | | | | The IPA.entity_select_widget has been modified into a searchable and editable drop down list. The base functionality has been extracted into IPA.combobox_widget. Ticket #1361
* identify target as section for permissionsAdam Young2011-06-271-0/+1
|
* test dirty onchangeAdam Young2011-06-161-3/+3
| | | | | | instead of blindly setting dirty, check if the filed has a different value than it originally did. https://fedorahosted.org/freeipa/ticket/1337
* dialog scrolling tableAdam Young2011-06-031-0/+1
| | | | 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.
* Added Update and Reset buttons into Dirty dialog.Endi S. Dewata2011-05-271-4/+3
| | | | | | | | | | | | The Dirty dialogs have been combined into IPA.dirty_dialog. It provides the Update and Reset buttons with customizable callback. Previously the widget's dirty status is computed by comparing the old values with the new values. This method is sometimes inaccurate, so the is_dirty() method has been modified to simply return a flag which is set to true if the widget is changed. Ticket #896.
* Moved adder dialog box into entity.Endi S. Dewata2011-04-211-43/+54
| | | | | The adder dialog box definition has been moved from search facet into entity to make it accessible from other facets.
* Remove unwanted trimming in text fieldsMartin Kosek2011-04-211-1/+1
| | | | | | | | | | | UI trims whitespace at the beginning or at the end when user data are being saved. This confuses is_dirty function which incorrectly recognizes given field as modified. This patch fixes this issue for both general text fields and ACI filter field. https://fedorahosted.org/freeipa/ticket/1096
* code review fixesAdam Young2011-03-311-24/+25
| | | | this version includes using spec for detail_facets
* define entities using builder and more declarative syntaxAdam Young2011-03-311-233/+164
| | | | | | merged hbac and sudo in to single files associaton facet and table supports linking
* Fixed undefined label in permission adder dialog box.Endi S. Dewata2011-03-291-0/+3
| | | | | | | The IPA.rights_widget was fixed to invoke the base init() method to load the i18n labels properly. Ticket 1113
* I18n update.Endi S. Dewata2011-02-211-57/+93
| | | | | Hard-coded messages through out the code have been replaced by i18n messages obtained from json_metadata and i18n_messages.
* Fixed association facets.Endi S. Dewata2011-02-151-15/+23
| | | | | | | | The association config has been removed because it incorrectly assumes there is only one association between two entities. Now each association is defined separately using association facets. The service.py has been modified to specify the correct relationships. The API.txt has been updated. https://fedorahosted.org/freeipa/ticket/960
* column formatting Allow optional formatting for columns Provide Data formate ↵Adam Young2011-02-111-5/+12
| | | | | | for host modificaiton date format
* target section without radio buttons ACI target section refactored into an ↵Adam Young2011-02-111-264/+280
| | | | array of widget-like objects. The radio buttons have been replaced by a select box. THe select is not visible on the details page.
* Moved add dialog into search facet.Endi S. Dewata2011-02-091-65/+70
| | | | | Previously the add dialog is added into entity. The dialog is only used by the search facet, so it's now moved into the search facet.
* Restructuring details page.Endi S. Dewata2011-02-071-49/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the IPA.details_list_section can only be used with widgets that generates <dd> tag because it uses the following structure: <dl> <dt>Telephone Number:</dt> <span name="teleponenumber"> <dd>111-1111</dd> <dd>222-2222</dd> </span> </dl> The <dd> tag was previously used to handle multi-valued attributes. Since multi-valued attributes are now handled by the recently added IPA.multivalued_text_widget, the structure can be changed as follows: <dl> <dt>Telephone Number:</dt> <dd> <span name="telephonenumber"> <div>111-1111</div> <div>222-2222</div> </span> </dd> </dl> This allows IPA.details_list_section to be used with any widgets without requiring the <dd> tag.
* Added undo for permission target.Endi S. Dewata2011-02-021-163/+151
| | | | https://fedorahosted.org/freeipa/ticket/885
* use entity select widget for permissionsAdam Young2011-02-011-149/+5
| | | | https://fedorahosted.org/freeipa/ticket/879
* Fixed attribute name for delegation member group.Endi S. Dewata2011-02-011-1/+1
|
* Added undo for permission rights.Endi S. Dewata2011-02-011-80/+21
| | | | https://fedorahosted.org/freeipa/ticket/884
* aci association fixesAdam Young2011-01-311-33/+29
| | | | | declarative priv definition fixes role_add_privilege and privilege_add_permisison
* Removed permission description from UIEndi S. Dewata2011-01-311-10/+3
| | | | https://fedorahosted.org/freeipa/ticket/877
* delegation work aroundAdam Young2011-01-291-3/+10
| | | | 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
* populate attribute table for delegation addAdam Young2011-01-291-0/+4
|
* Fixed permission reset and is_dirty.Endi S. Dewata2011-01-291-215/+357
| | | | | | 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.
* placeholder functionAdam Young2011-01-291-0/+2
| | | | | | 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
* Add permission dialog adjustments.Endi S. Dewata2011-01-291-15/+15
| | | | | | | | | | | | 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
* unmatched aciattrsAdam Young2011-01-281-3/+23
| | | | instead of reporting an error on unmatched aciattrs, append them to the table.
* Fixed delegation UI issuesEndi S. Dewata2011-01-281-29/+24
| | | | | | | | | | | | | | | | | | 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.
* aci rights widgetAdam Young2011-01-281-5/+35
| | | | | | | Fixes is_dirty and save https://fedorahosted.org/freeipa/ticket/77 https://fedorahosted.org/freeipa/ticket/667
* entity filter textAdam Young2011-01-281-1/+1
|
* reset target section target section needed to cache results for use in ↵Adam Young2011-01-271-3/+6
| | | | results moved load logic into reset and load now calls reset
* declarative for aciAdam Young2011-01-271-243/+97
| | | | | | 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
* declarative defintionsAdam Young2011-01-271-14/+12
| | | | | | | | | | | | | | 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
* target style cleanupAdam Young2011-01-261-13/+11
| | | | | Target section had radio buttonsreversed, and a few other style changes Note that this has the styling removed for the aci-target dl items
* aci attribute table two columnsAdam Young2011-01-251-16/+15
|
* rename static to uiAdam Young2011-01-201-0/+876
Directory rename