summaryrefslogtreecommitdiffstats
path: root/install/ui/association.js
Commit message (Collapse)AuthorAgeFilesLines
* Fixed inconsistency in enabling delete buttonsPetr Vobornik2011-09-091-5/+35
| | | | | | | | | | | | https://fedorahosted.org/freeipa/ticket/1640 On the HBAC Rules page, where the rules are listed, if no rule is selected, the "Delete" button is not enabled, and cannot be clicked on. But edit a Rule, and Delete button is enabled in the available sections - regardless of, if an object is selected to be deleted or not, or even if there is no object to be selected to delete. One can click on this button...but then - there is no message indicating that something should be selected for deletion for this button to do anything. Notes: * fixed association_table_widget and association_facet
* Fixed sudo rule association dialogs.Endi S. Dewata2011-09-091-3/+5
| | | | | | | | | | | | The adder dialog for the user and host tables in sudo rule details page have been fixed to use --not-in-sudorules to avoid showing entries that are already added into the rule either directly or indirectly via groups. This does not apply to the command and run-as tables because they do not support such option. Ticket #1768
* Modify serial associator to use batchPetr Vobornik2011-08-251-17/+19
| | | | | | | | | | https://fedorahosted.org/freeipa/ticket/1688 The serial associator is used to execute a command multiple times with different parameters. This is used for adding/removing a user into/from multiple groups. It has some issues: Each command is executed one-by-one, so it could be slow. * If there's a failure the rest of the commands will not be executed. * This can be fixed by putting the commands into a batch and execute them at once.
* Removed unnecessary HBAC/sudo rule category modification.Endi S. Dewata2011-08-231-15/+14
| | | | | | | | | | Since the Add/Delete links in the association table are disabled when the category is set to 'all', it's no longer necessary to check the category before showing the add/delete dialogs and modify the category before adding entries. Thus, the IPA.rule_association_table_widget is no longer needed. Ticket #1692
* Updated add and delete association dialog titles.Endi S. Dewata2011-08-231-18/+27
| | | | | | | | | | The association table widget and facet have been modified to accept titles for the add and delete dialogs. The table and facet definitions have been modified to specify the appropriate titles. Some unused code have been removed. Ticket #1629
* Uncheck checkboxes in association after deletionPetr Vobornik2011-08-191-0/+2
| | | | https://fedorahosted.org/freeipa/ticket/1639
* Removed 'Hide already enrolled' checkbox.Endi S. Dewata2011-08-191-22/+18
| | | | | | | | 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
* Linked entries in HBAC/sudo details page.Endi S. Dewata2011-08-041-1/+2
| | | | | | | The association tables in HBAC/sudo details page have been modified to link the entries to the appropriate details page. Ticket #1535
* Resizable adder dialog box.Endi S. Dewata2011-08-021-1/+1
| | | | | | | | | 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/+1
| | | | | 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-129/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 navigation problems.Endi S. Dewata2011-07-221-6/+15
| | | | | | | | | | | | The navigation code has been modified store the facet's state separately in the facet object itself. The path state is stored in the navigation object. When the path is changed to view a new facet, only the path and the state of the new facet will be shown in the URL, thus keeping the URL short. This fixes pagination, bookmark and search filter problems as well. Ticket #1507, 1516, 1517
* Refactored IPA.current_facet().Endi S. Dewata2011-07-221-4/+2
| | | | | | | | The IPA.current_facet() has been merged into IPA.entity.setup() and replaced by IPA.entity.get_facet(). The setup() will read the current facet's name from the <entity>-facet URL parameter and store the facet object in the entity object. The get_facet() without any parameter will return the current facet object.
* Fixed label capitalizationEndi S. Dewata2011-07-141-6/+4
| | | | | | | | The CSS text-transform sometimes produces incorrect capitalization, so the code has been modified to use translated labels that already contain the correct capitalization. Ticket #1424
* Added sudo options.Endi S. Dewata2011-07-111-66/+55
| | | | | | | A table has been added into sudo rule details page for managing sudo options. Ticket #1447
* Fixed dirty dialog problems in HBAC/Sudo rules.Endi S. Dewata2011-07-071-0/+2
| | | | | | | The update() in HBAC/Sudo details facet has been fixed to call the callback function which will show the dirty dialog properly. Ticket #1439
* Fixed hard-coded messages.Endi S. Dewata2011-06-301-5/+12
| | | | | | Hard-coded messages in the UI have been replaced with I18n messages. Ticket #1396
* shorten url cache state in a javascript variable, and leave on information ↵Adam Young2011-06-281-10/+10
| | | | | | | | | | | | | | about the current entity in the URL hash params https://fedorahosted.org/freeipa/ticket/674 decrement depth for hidden tabs. Initialize state from url useing delete for removing state stricter attribute matching not incrementing depth for all hidden tabs. whitespace cleanup
* Fixed entity labels.Endi S. Dewata2011-06-271-7/+0
| | | | | | | | | | | | | | | | The entity labels in the following locations have been fixed: - search facet title: plural - details facet title: singular - association facet title: singular - breadcrumb: plural - adder dialog title: singular - deleter dialog title: plural Some entity labels have been changed into the correct plural form. Unused file install/ui/test/data/i18n_messages.json has been removed. Ticket #1249 Ticket #1387
* Added record count into association facet tabs.Endi S. Dewata2011-06-241-22/+28
| | | | | | The details and association facets have been modified to show the number of records in each association in the corresponding facet tab. Ticket #1386
* Converted entity header into facet header.Endi S. Dewata2011-06-231-5/+6
| | | | | | | | | | | 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.
* Facet icon swap and tab sizingkylebaker2011-06-231-4/+4
|
* Storing page number in URL.Endi S. Dewata2011-06-171-28/+44
| | | | | | | | The association facet has been modified to store the current page number in the browser's URL. This way page changes are stored in browser's history allowing the back button to work properly. Ticket #1264
* Merged direct and indirect association facetsEndi S. Dewata2011-06-161-3/+59
| | | | | | | | The direct and indirect associations are now displayed in the same facet. The type of association to be displayed can be selected using radio buttons. Ticket #1338
* Fixed self-service links.Endi S. Dewata2011-06-161-57/+22
| | | | | | | | | | | | 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
* Renamed associate.js to association.js.Endi S. Dewata2011-06-161-0/+1094