summaryrefslogtreecommitdiffstats
path: root/install/ui/sudo.js
Commit message (Collapse)AuthorAgeFilesLines
* Fixed sudo rule association dialogs.Endi S. Dewata2011-09-091-4/+7
| | | | | | | | | | | | 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
* Fixed layout problem in permission adder dialog.Endi S. Dewata2011-09-091-11/+11
| | | | | | | | | | | | | 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
* Modifying sudo options refreshes the whole pagePetr Vobornik2011-08-291-8/+33
| | | | | | https://fedorahosted.org/freeipa/ticket/1689 Currently adding or deleting sudo options will refresh the entire page. It's not a problem but the code could be optimized to refresh only the sudo options table
* Removed unnecessary HBAC/sudo rule category modification.Endi S. Dewata2011-08-231-18/+9
| | | | | | | | | | 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-156/+66
| | | | | | | | | | 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/+1
| | | | https://fedorahosted.org/freeipa/ticket/1639
* Linked entries in HBAC/sudo details page.Endi S. Dewata2011-08-041-11/+5
| | | | | | | The association tables in HBAC/sudo details page have been modified to link the entries to the appropriate details page. Ticket #1535
* Added association facets for HBAC and sudo.Endi S. Dewata2011-07-281-69/+47
| | | | | | | The HBAC service, HBAC service group, sudo command and sudo command group have been modified to show the associations as facets. Ticket #1536
* Fixed missing section header in sudo command group.Endi S. Dewata2011-07-281-1/+1
| | | | | | | The sudo command group details page has been fixed to use the correct label name. Ticket #1537.
* removing setters setup and initAdam Young2011-07-281-508/+275
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 labels in sudo rules.Endi S. Dewata2011-07-281-6/+10
| | | | | | | The sudo rule interface has been modified to remove unused labels and use translated dialog box title. Ticket #1518
* Removed custom layouts using HTML templates.Endi S. Dewata2011-07-211-26/+6
| | | | | | | 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
* Fixed problem loading data in HBAC/sudo details page.Endi S. Dewata2011-07-211-13/+26
| | | | | | | | In a recent change the details page was changed to create and locate field containers with 'details-field' CSS class. The HBAC and sudo custom details pages have been modified to use the same CSS class. Ticket #1508
* Fixed label capitalizationEndi S. Dewata2011-07-141-1/+0
| | | | | | | | 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-12/+224
| | | | | | | 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-92/+38
| | | | | | | The update() in HBAC/Sudo details facet has been fixed to call the callback function which will show the dirty dialog properly. Ticket #1439
* shorten url cache state in a javascript variable, and leave on information ↵Adam Young2011-06-281-6/+6
| | | | | | | | | | | | | | 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 self-service links.Endi S. Dewata2011-06-161-2/+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
* Entitlement status.Endi S. Dewata2011-06-131-8/+0
| | | | | A new facet has been added to show entitlement status and download the registration certificate.
* Added pagination for associations.Endi S. Dewata2011-05-311-1/+8
| | | | | | | | | The association facet has been modified to support pagination. The UI will show 20 members per page. There are buttons to go to a previous or next page. There is also an input text to jump directly to a certain page. Ticket #1011
* Fixed problem deleting value in text field.Endi S. Dewata2011-05-271-15/+20
| | | | | | | | | | | | 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
* Added Update and Reset buttons into Dirty dialog.Endi S. Dewata2011-05-271-2/+1
| | | | | | | | | | | | 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.
* Fixed URL parameter parsing.Endi S. Dewata2011-05-261-6/+6
| | | | | | | The $.bbq.getState() invocations have been modified not to coerce URL parameter values to avoid parsing error. Ticket #1208
* Fixed problem disabling HBAC and SUDO rules.Endi S. Dewata2011-05-201-1/+1
| | | | | | The method names for disabling HBAC and SUDO rules have been fixed. Ticket #1237.
* jQuery ordered map.Endi S. Dewata2011-05-201-4/+6
| | | | | | | | | 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
* Read-only association facet.Endi S. Dewata2011-05-161-3/+2
| | | | | | | | | The IPA.association_facet has been modified to take a read_only parameters. If the parameter is set to true, the Enroll and Delete buttons will not be shown. All facets under the memberindirect and memberofindirect facet groups are marked as read-only. Ticket #1030
* Moved adder dialog box into entity.Endi S. Dewata2011-04-211-6/+12
| | | | | The adder dialog box definition has been moved from search facet into entity to make it accessible from other facets.
* Merged IPA.cmd() into IPA.command().Endi S. Dewata2011-04-131-40/+53
| | | | | | | The IPA.cmd() has been merged into IPA.command(). All invocations and test cases have been converted. Ticket #988
* Refactored builder interface.Endi S. Dewata2011-04-111-2/+3
| | | | | | | 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.
* code review fixesAdam Young2011-03-311-8/+8
| | | | this version includes using spec for detail_facets
* define entities using builder and more declarative syntaxAdam Young2011-03-311-0/+1276
merged hbac and sudo in to single files associaton facet and table supports linking