summaryrefslogtreecommitdiffstats
path: root/install/ui/test
Commit message (Collapse)AuthorAgeFilesLines
* Fixed memory leak caused by IPA.error_dialog.Endi S. Dewata2011-03-061-4/+2
| | | | Ticket 1054
* Save changes before modifying association.Endi S. Dewata2011-03-022-2/+4
| | | | | | | | | | | In a details page, usually any changes done to the fields will not be applied until the user clicks the Update button. However, if the page contains an association table, any addition/deletion to the table will be applied immediately. To avoid any confusion, the user is now required to save or reset all changes to the page before modifying the association. A dialog box will appear if the page contains any unsaved changes.
* Replaced SUDO with Sudo in UI test data.Endi S. Dewata2011-03-0110-22/+22
| | | | Ticket 1005
* I18n update for dialog box buttons.Endi S. Dewata2011-02-222-4/+14
| | | | https://fedorahosted.org/freeipa/ticket/899
* Fixed error message for invalid Kerberos ticket.Endi S. Dewata2011-02-212-2/+2
| | | | https://fedorahosted.org/freeipa/ticket/490
* Updated test data files.Endi S. Dewata2011-02-213-6751/+14726
|
* I18n update.Endi S. Dewata2011-02-213-7/+7
| | | | | Hard-coded messages through out the code have been replaced by i18n messages obtained from json_metadata and i18n_messages.
* Remove WebUI identifiers from global namespaceMartin Kosek2011-02-182-48/+48
| | | | | | | | | | | Many WebUI identifiers were defined in a global namespace. This is not a good programming practice and may result in name clashes, for example with other libraries. This patch moves these variables to IPA namespace or its sub-namespaces, when meaningful. https://fedorahosted.org/freeipa/ticket/212
* Fixed association facets.Endi S. Dewata2011-02-153-32/+13
| | | | | | | | 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
* target section without radio buttons ACI target section refactored into an ↵Adam Young2011-02-111-10/+31
| | | | array of widget-like objects. The radio buttons have been replaced by a select box. THe select is not visible on the details page.
* Removed unused code.Endi S. Dewata2011-02-071-45/+0
|
* Restructuring details page.Endi S. Dewata2011-02-072-52/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 multi-valued text widget.Endi S. Dewata2011-02-032-30/+50
| | | | | | | | | | | | | | | | | | A multi-valued text widget has been created to replace the old IPA.details_field. The old code was designed to handle all data types, and it uses one <dd> tag for each value, so the code is still incomplete and complex. The new code was designed to handle only multi-valued text attributes, and it uses one <dd> tag for all values, so it's easier to maintain. There are already other widgets that can be used to handle other data types. The new code supports line-level undo and line-out for removal like the old code, but there are some changes: - Undoing a newly added line will remove the entire line. - Editing the value of a removed line will cancel the removal. - It provides 'undo all' link to reset the entire attribute. The old code will be cleaned up in a subsequent patch.
* Added undo for permission target.Endi S. Dewata2011-02-021-7/+88
| | | | https://fedorahosted.org/freeipa/ticket/885
* core widget unit tests baseline set of unit tests for checking that each ↵Adam Young2011-02-024-6583/+6677
| | | | widget conforms to the contract
* use entity select widget for permissionsAdam Young2011-02-011-1/+1
| | | | https://fedorahosted.org/freeipa/ticket/879
* widget unit testsAdam Young2011-01-315-1/+195
| | | | unit test for basic functionality, text, and checkbox widgets
* Fixed permission reset and is_dirty unit testEndi S. Dewata2011-01-291-0/+1
| | | | | | 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.
* Fixed permission reset and is_dirty.Endi S. Dewata2011-01-296-841/+200
| | | | | | 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.
* Add permission dialog adjustments.Endi S. Dewata2011-01-294-0/+4
| | | | | | | | | | | | 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
* Fixed delegation UI issuesEndi S. Dewata2011-01-281-2/+4
| | | | | | | | | | | | | | | | | | 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.
* dirtyAdam Young2011-01-271-1/+2
| | | | | If a page is dirty, do not allow additional navigation until changes are saved or committed https://fedorahosted.org/freeipa/ticket/726
* adding label for RBACAdam Young2011-01-271-18/+37
|
* declarative for aciAdam Young2011-01-273-18/+9
| | | | | | 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-273-35/+69
| | | | | | | | | | | | | | 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
* Tab I18NAdam Young2011-01-261-405/+74
| | | | | | | 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
* Removed 'name' from 'Sudo Command Group name'.Endi S. Dewata2011-01-242-4/+4
|
* Added scrollable panel for delete dialog box.Endi S. Dewata2011-01-243-3/+3
|
* rename static to uiAdam Young2011-01-20152-0/+22441
Directory rename