summaryrefslogtreecommitdiffstats
path: root/install/ui/dialog.js
Commit message (Collapse)AuthorAgeFilesLines
* Fixed missing optional field.Endi S. Dewata2011-09-131-6/+10
| | | | | | | | | | | | The optional uid field in user's adder dialog did not appear when the link is clicked to show the field. This is a regression introduced in the patch for ticket #1648. The click handler for the link field has been moved into a new closure so that the variables point to the correct elements. Note: the duplicate code in IPA.details_table_section.create() and IPA.dialog.create() will be addressed separately in ticket #1394.
* Fixed layout problem in permission adder dialog.Endi S. Dewata2011-09-091-28/+30
| | | | | | | | | | | | | 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 problem with combobox.Endi S. Dewata2011-08-311-0/+1
| | | | | | | The entity select widget has been modified to handle timing issue in both dialog box and details page. Ticket #1736
* Fixed default map type in automount map adder dialog.Endi S. Dewata2011-08-251-0/+1
| | | | | | | The adder dialog for automount map has been modified to select the direct map by default. Ticket #1698
* Removed 'Hide already enrolled' checkbox.Endi S. Dewata2011-08-191-14/+0
| | | | | | | | The 'Hide already enrolled' has been removed from the enrollment dialog because it is checked by default and entries that are already enrolled cannot be enrolled again. Ticket #1638
* Fixed problem with buttons in enrollment dialog.Endi S. Dewata2011-08-151-20/+20
| | | | | | | The panel for selection buttons (i.e. ">>" and "<<") has been re- positioned to avoid being covered by the adder-dialog-right panel. Ticket #1626
* Fixed DNS zone adder dialog.Endi S. Dewata2011-08-101-0/+1
| | | | | | | The DNS zone adder dialog has been modified to use radio buttons to select whether to enter a zone name or a reverse zone IP network. Ticket #1575
* Fixed adding host without DNS reverse zonePetr Vobornik2011-08-051-1/+31
| | | | | | | | | | https://fedorahosted.org/freeipa/ticket/1481 Shows status dialog instead of error dialog (error 4304 is treated like success). Refactored error dialog. Added generic message dialog (IPA.message_dialog) Modified core tests to work with dialog.
* Resizable adder dialog box.Endi S. Dewata2011-08-021-46/+58
| | | | | | | | | The tables in the adder dialog have been modified to expand according to the size of the dialog. This patch also fixes the problem with row height on IE. Ticket #1542
* use other_entity for adder columnsAdam Young2011-07-291-1/+5
| | | | | delay creation of the table until the columns have been set https://fedorahosted.org/freeipa/ticket/1544
* removing setters setup and initAdam Young2011-07-281-94/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fixed hard-coded label in Find button.Endi S. Dewata2011-07-281-1/+1
| | | | | The IPA.adder_dialog has been modified to use translated label for the Find button.
* Removed custom layouts using HTML templates.Endi S. Dewata2011-07-211-35/+13
| | | | | | | The code for supporting custom layouts using HTML templates has been removed. If it's needed again in the future the code can be restored. Ticket #1501
* Added checkbox to remove hosts from DNS.Endi S. Dewata2011-07-201-1/+3
| | | | | | | A custom deleter dialog for hosts has been added to provide an option whether to remove the hosts from DNS. Ticket #1470
* Entity select widget improvementsEndi S. Dewata2011-07-181-3/+3
| | | | | | | | 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
* Added sudo options.Endi S. Dewata2011-07-111-1/+1
| | | | | | | A table has been added into sudo rule details page for managing sudo options. Ticket #1447
* validate required fields https://fedorahosted.org/freeipa/ticket/1329Adam Young2011-06-271-2/+0
| | | | overides required with optional.
* optional uidAdam Young2011-06-271-0/+19
| | | | Make the uid field optional
* Converted entity header into facet header.Endi S. Dewata2011-06-231-0/+3
| | | | | | | | | | | The content and the size of entity header changes depending on the facet being displayed, so the entity header has been converted into a facet header to allow better control via CSS. The DNS record facet has been updated to use the same styling and support scrolling. To help styling and testing, all buttons have been assigned a name.
* Fixed self-service links.Endi S. Dewata2011-06-161-0/+2
| | | | | | | | | | | | In self-service mode the user's association facets have been modified such that the entries are not linked since the only available entity is the user entity. A 'link' parameter has been added to IPA.association_facet and IPA.column to control whether to link the entries. The link_handler() method can be used to define how to handle the link. Ticket #1072
* Fixed resizing issues.Endi S. Dewata2011-06-131-6/+0
| | | | | | | | | | The UI has been modified to fix some resizing issues: Previously the height of facet content was roughly calculated using resize(). Now the height can be more accurately defined in CSS. Previously the UI width was fixed. The HTML layout and background images have been modified to support horizontal expansion if needed.
* dialog scrolling tableAdam Young2011-06-031-0/+6
| | | | 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.
* automount delete keyAdam Young2011-06-011-2/+49
| | | | | | | | | | | | | | | | | | 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
* Fixed problem deleting value in text field.Endi S. Dewata2011-05-271-15/+21
| | | | | | | | | | | | Previously deleting a value in a text field did not work because the field is not included in the modify operation when the value is empty. The details facet's update() method has been modified to update only dirty fields. The section lists in details facet and dialog have been converted into ordered maps. Ticket #1256
* jQuery ordered map.Endi S. Dewata2011-05-201-28/+31
| | | | | | | | | The ordered map is a jQuery extension for creating a collection which can be accessed both as an ordered list and as a map. This collection can be used to store various objects including entities, fields, columns, and dialogs. A test suite for this class has been added as well. Ticket #1232
* Entitlement quantity validation.Endi S. Dewata2011-04-271-1/+9
| | | | | | The widget base class has been modified to validate integer value if the type is specified in the metadata. This is used to validate entitlement quantity.
* Moved adder dialog box into entity.Endi S. Dewata2011-04-211-4/+15
| | | | | The adder dialog box definition has been moved from search facet into entity to make it accessible from other facets.
* Entitlement download.Endi S. Dewata2011-04-181-5/+2
| | | | A Download link has been added to download entitlement certificates.
* Entitlement registration.Endi S. Dewata2011-04-141-0/+3
| | | | | | The entitlement facet will show buttons according to the entitlement status. If it's unregistered, the facet will show a Register button. If it's registered, the facet will show a Consume button.
* Refactored builder interface.Endi S. Dewata2011-04-111-0/+19
| | | | | | | The IPA.entity_builder has been modified to take a 'factory' parameter in custom facet's and custom dialog's spec. The IPA.dialog has been modified to take an array of fields in the spec. The IPA.search_facet has been modified to take an array of columns in the spec.
* define entities using builder and more declarative syntaxAdam Young2011-03-311-0/+9
| | | | | | merged hbac and sudo in to single files associaton facet and table supports linking
* Fixed memory leak caused by certificate dialogs.Endi S. Dewata2011-03-071-1/+6
| | | | Ticket 1054
* Fixed memory leak caused by IPA.dialog.Endi S. Dewata2011-03-041-6/+8
| | | | Ticket 1054
* I18n update for dialog box buttons.Endi S. Dewata2011-02-221-12/+6
| | | | https://fedorahosted.org/freeipa/ticket/899
* I18n update.Endi S. Dewata2011-02-211-4/+4
| | | | | Hard-coded messages through out the code have been replaced by i18n messages obtained from json_metadata and i18n_messages.
* Added expand/collapse all.Endi S. Dewata2011-02-171-2/+2
| | | | | | | | A link has been added into the details page to expand/collapse all sections. Previously each section's <div> container is identified using a long ID. It is now identified using the section name.
* Fixed association facets.Endi S. Dewata2011-02-151-2/+1
| | | | | | | | 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
* Fixed add service dialog box.Endi S. Dewata2011-02-111-0/+1
| | | | | | Previously the add service dialog box shows a 'Principal:' label with no text field next to it. It now has been removed. The dialog box has been widened to avoid line wrapping of the buttons.
* target section without radio buttons ACI target section refactored into an ↵Adam Young2011-02-111-0/+3
| | | | array of widget-like objects. The radio buttons have been replaced by a select box. THe select is not visible on the details page.
* Added undo for permission target.Endi S. Dewata2011-02-021-1/+1
| | | | https://fedorahosted.org/freeipa/ticket/885
* Add permission dialog adjustments.Endi S. Dewata2011-01-291-0/+553
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