summaryrefslogtreecommitdiffstats
path: root/install/ui
Commit message (Collapse)AuthorAgeFilesLines
...
* Added facet tabs coloringPetr Vobornik2011-12-144-8/+28
| | | | | | Facet tabs are now colored according to their group. https://fedorahosted.org/freeipa/ticket/1976
* Association facets are read only in self servicePetr Vobornik2011-12-121-6/+12
| | | | | | | | This patch works with assumption that user in self-service mode doesn't have rights for enrolling/un-enrolling himself to/from group, role, hbac rule, net group, sudo rule. He can only read the attributes. Therefore in self service mode all user association facets are set read only. Checkingi and working with the actual rights would require significantly bigger effort. https://fedorahosted.org/freeipa/ticket/1972
* Fixed combobox search icon position.Endi Sukma Dewata2011-12-101-1/+1
| | | | | | | A recent CSS change inadvertently changes position of the combobox search icon. This has been fixed now. Ticket #388
* Fixed combobox icon position.Endi Sukma Dewata2011-12-091-1/+1
| | | | | | | A recent CSS change inadvertently changes position of the combobox icon. This has been fixed now. Ticket #388
* Fixed unmatched checkbox name.Endi Sukma Dewata2011-12-091-1/+1
| | | | | | The name of the Unmatched checkbox in HBAC Test has been corrected. Ticket #388
* Reordered facets in ACIPetr Vobornik2011-12-091-3/+3
| | | | | | | | | Facets in ACI have new order: * Roles: members, privileges, settings * Privileges: permissions, settings, roles * Permissions: settings, privileges https://fedorahosted.org/freeipa/ticket/2104
* Additional better displaying of long namesPetr Vobornik2011-12-094-49/+53
| | | | | | | | - facet group headers, error dialog, non-scrollable tables, can manage long names Size calculation of scrollable and non-scrollable tables was united. Now these types of tables differ only by style. https://fedorahosted.org/freeipa/ticket/1821
* Fixed problem loading DNS records.Endi Sukma Dewata2011-12-091-21/+27
| | | | | | | | The DNS records list page was not loaded correctly due to a recent change in HBAC Test. The page has been updated to use the load_all() to show all records in the zone. Ticket #388
* Added HBAC Test input validation.Endi Sukma Dewata2011-12-092-1/+101
| | | | | | | The HBAC Test pages have been modified to validate required input before executing the test. Ticket #388
* Fixed matched/unmatched checkboxes in HBAC TestEndi Sukma Dewata2011-12-097-78/+1405
| | | | | | | | | The checkboxes in HBAC Test run page have been fixed to show/hide matched or unmatched rules. The New Test button has been fixed to deselect the inputs in all facets. The test data has been updated as well. Ticket #388
* Better displaying of long names in tables and facet headersPetr Vobornik2011-12-093-20/+63
| | | | | | | | | | | | | | | | | | | | | | | | | Tables columns have computed width. If value in one column is very long it widens the column and shortens others. This change causes that body columns are not aligned with header columns which makes the table less readable. Applying 'word-break: break-all' style breaks the word to multiple lines and solves the problem. Simililar problem is in details facet when displaying text values. Very long values widens the table and a horizontal slider is displayed, which is bad. Applying same solution. In facet headers and breadcrumb navigation breaking the pkey looks bad - there should be only on line of pkey. To solve this, the pkey is limited to 63 characters (empirically measured). Long pkeys are cut. Uncut pkey is set as a title to avoid losing information. Whole breadcrump could be about 140 chars (with current styles). 10 chars is reserved for entity link, 60 for pkey the rest (about 60) for parent pkeys. The assumtion is that the parent pkeys wouldn't be so long so they won't be cut anyway. Column width calculation in tables was iproved. Now it counts with cell spacing, padding, border. It uses these assumtions: cell-spacing: 2px cell-padding: 6px th:right, left; td: left cell-border: th:1px; td:0px It would be better to get these measures dynamically. Right now it is good enough - better than previous calculation. Result: data cells are aligned with their header. This alignment fails if vertical scrollbar is displayed (existing problem). Also added padding to headers in association adder dialog. https://fedorahosted.org/freeipa/ticket/1890
* Search facets show translated boolean valuesPetr Vobornik2011-12-085-8/+45
| | | | | | | | Created format method for getting translated messages for boolean values - IPA.boolean_format. Used in hosts, sudo rules, hbac rules and hbac test. https://fedorahosted.org/freeipa/ticket/2027
* Fixed I18n labels for HBAC TestEndi Sukma Dewata2011-12-073-34/+49
| | | | | | | Hard-coded labels in HBAC Test have been moved into internal.py to allow translation. Ticket #388
* Fixed CSS for HBAC TestEndi Sukma Dewata2011-12-072-43/+186
| | | | | | | The tables in HBAC Test have been modified to expand according to window size. Hard-coded CSS codes have been moved into ipa.css. Ticket #388
* Added external fields for HBAC Test.Endi Sukma Dewata2011-12-073-53/+127
| | | | | | | A text field has been added for specifying external user, host, and service for HBAC testing. Ticket #388
* Fixed search filter in HBAC Test.Endi Sukma Dewata2011-12-071-1/+8
| | | | | | The search filter in HBAC Test has been fixed to work properly. Ticket #388.
* Fixed navigation buttons for HBAC Test.Endi Sukma Dewata2011-12-076-33/+136
| | | | | | | The Back, Next, and New Test buttons in HBAC Test have been fixed to work properly. Ticket #388
* Added HBAC Test page.Endi Sukma Dewata2011-12-0613-57/+710
| | | | | | | | | | This is the initial implementation of HBAC Test page. Currently it can select user, source/target group, service, rules, and execute the test. Other functionalities to be implemented include the search filter, external users/hosts, back/next buttons, validation, styling, and internalization. Ticket #388
* Refactored facet.load().Endi Sukma Dewata2011-12-0615-420/+454
| | | | | | | | | The load() in IPA.facet has been modified to accept the complete data returned by the server instead of just the result. This is needed by HBAC Test to access other attributes returned in the test result. Ticket #388
* Fixed entity metadata resolution.Endi Sukma Dewata2011-12-0619-106/+148
| | | | | | | | | | | The current code assumes that an entity will always have a corresponding LDAPObject on the server, so it looks for the metadata in a fixed location. This assumption doesn't work for HBAC Test since it is a Command, not an LDAPObject, so the metadata has to be obtained from a different location. A new method get_default_metadata() has been added to allow each entity to find the metadata from the correct location. Ticket #388
* Added support for radio buttons in table widget.Endi Sukma Dewata2011-12-064-52/+354
| | | | | | | | | The table widget has been modified to support single-valued attribute using radio buttons needed by some facets in HBAC Test. The widget now uses 'pagination' flag to determine whether to show the pagination control. The test data has also been updated. Ticket #388
* Added commands into metadata.Endi S. Dewata2011-12-069-57/+10833
| | | | | | | | | The json_metadata command has been modified to accept some new options and return the commands metadata. The API.txt has been updated as well. The UI has been modified to use commands metadata instead of methods metadata. Ticket #388
* Removed usage of bitwise assignment operators in logical operationsPetr Vobornik2011-12-055-8/+8
| | | | | | | | | | | | | | | JavaScript &= and |= are bitwise operators. They are shortened version of: foo = foo & bar foo = foo | bar In some places they were used as shortened version of logical operation and assignment. foo = foo && bar It lead to type conversion to Number which is wrong (0 !== false). This patch replaces such occurances with full version of logical operation and asignment. https://fedorahosted.org/freeipa/ticket/2040
* Fixed unit tests after widget refactoringPetr Vobornik2011-12-0513-295/+478
| | | | https://fedorahosted.org/freeipa/ticket/2040
* Modifying automount to work with new conceptPetr Vobornik2011-12-052-6/+19
| | | | https://fedorahosted.org/freeipa/ticket/2040
* Changing definition of basic fields in section from factory to typePetr Vobornik2011-12-057-102/+125
| | | | https://fedorahosted.org/freeipa/ticket/2040
* Code cleanup of HBAC, Sudo rulesPetr Vobornik2011-12-056-1191/+1030
| | | | https://fedorahosted.org/freeipa/ticket/1515
* Modifying groups to work with new conceptPetr Vobornik2011-12-051-3/+3
| | | | https://fedorahosted.org/freeipa/ticket/2040
* Modifying ACI to work with new conceptPetr Vobornik2011-12-051-97/+212
| | | | https://fedorahosted.org/freeipa/ticket/2040
* Separation of writable update from field load methodPetr Vobornik2011-12-051-4/+9
|
* Modifying services to work with new conceptPetr Vobornik2011-12-051-60/+105
| | | | https://fedorahosted.org/freeipa/ticket/2040
* Modifying dns to work with new conceptPetr Vobornik2011-12-051-48/+93
| | | | https://fedorahosted.org/freeipa/ticket/2040
* Modifying hosts to work with new conceptPetr Vobornik2011-12-052-103/+196
| | | | https://fedorahosted.org/freeipa/ticket/2040
* Modifying users to work with new conceptPetr Vobornik2011-12-051-40/+56
| | | | https://fedorahosted.org/freeipa/ticket/2040
* Added possibility to define facet/dialog specific policiesPetr Vobornik2011-12-052-1/+79
| | | | | | | | | | After deleting section as a special type of object a new way of defining inter-field logic is needed. For this purpose a facet_policy was created. It is a simple object with init() method. Init method should contain logic for attaching to fields' or widgets' events. When a policy is added to facet or dialog its container property should be set to that facet or dialog. It gives the policy an access to fields and widgets. Init method should be called after widgets creation. https://fedorahosted.org/freeipa/ticket/2040
* Removing sections as special type of objectPetr Vobornik2011-12-0513-625/+402
| | | | | | | | | | Sections are changed into pure widget objects. Introduced IPA.composite_widget, basic widget for widget nesting (it's using IPA.widget_container). It's base class for section widgets. TODO: change old custom sections into custom fields and widgets. Note: usage of section in HBAC and SUDO is kept - whole logic will be removed in #1515 patch. https://fedorahosted.org/freeipa/ticket/2040
* Builders and collections for fields and widgetsPetr Vobornik2011-12-053-0/+373
| | | | | | | | | | | Introduced IPA.field_container and IPA.widget_container. IPA.field_container: collection for fields. Can set logical container (facet, dialog...) to fields. IPA.widget_container: collection for widgets. Has basic searching capability withing widget tree. Introduced field_builder, widget_builder, section_builder, details_builder. All are used for building fields and widgets. Field_builder and widget_builder have the main building logic. Section_builder can create content based on current section spec. Details builder defines a strategy for building content. https://fedorahosted.org/freeipa/ticket/2040
* Improved fields dirty status detection logicPetr Vobornik2011-12-051-22/+26
|
* Splitting basic widgets into visual widgets and fieldsPetr Vobornik2011-12-059-367/+495
| | | | https://fedorahosted.org/freeipa/ticket/2040
* Splitting widget into widget and fieldPetr Vobornik2011-12-055-275/+422
| | | | | | Splitting IPA.widget into IPA.field (logical part) and IPA.widget, IPA.input_widget (visual part). https://fedorahosted.org/freeipa/ticket/2040
* Added cross browser support of Array.indexOf methodPetr Vobornik2011-12-023-0/+63
| | | | https://fedorahosted.org/freeipa/ticket/2151
* Fixed entity definition in test cases.Endi Sukma Dewata2011-11-184-69/+106
| | | | | | | The test cases have been updated to use the new extensible mechanism for defining and registering entities. Ticket #2043
* Replication: Adjust replica installation to omit processing memberof ↵JR Aquino2011-11-141-0/+1
| | | | | | | | | | | | | computations https://fedorahosted.org/freeipa/ticket/1794 If the master does not yet support the total update list feature we still run the memberof fixup task and not fail to replicate due to the new attribute not being settable. Jointly-developed-with: Simo Sorce <ssorce@redhat.com> Jointly-developed-with: Nathank Kinder <nkinder@redhat.com>
* Removed develop.js.Endi S. Dewata2011-11-1416-91/+76
| | | | | | | | | | The develop.js is no longer necessary because the code in it has been merged into the main code. An empty extension.js has been added to provide a place for UI customization. Ticket #2099
* Refactored permission target section.Endi S. Dewata2011-11-148-343/+246
| | | | | | | The permission target section has been modified to use widgets to create the target selection and handle multiple fields. Ticket #2098
* Added paging on search facet.Endi S. Dewata2011-11-118-324/+335
| | | | | | | | | | | | | | | The search facet has been modified to support paging on most entities using the --pkey-only option to get the primary keys and a batch command to get the complete records. Paging on DNS records is not supported because a record may appear as multiple rows. The following entities do not have --pkey-only option: Automount Key, Self-Service Permissions, Delegation. The search and association facet have been refactored to reuse the common code from the table facet base class. Ticket #981
* Updated sample data.Endi S. Dewata2011-11-11106-1479/+6839
| | | | | | | | New sample data files have been added for search facet paging. Unused files have been removed. The names used in the files have been updated for consistency. Ticket #981
* Fixed problem changing page in association facet.Endi S. Dewata2011-11-072-4/+12
| | | | | | | The association facet has been modified to detect page change to determine whether the facet needs to be updated. Ticket #1459
* Added current password field.Endi S. Dewata2011-11-072-6/+30
| | | | | | | | The reset password dialog for user has been modified to provide a field to specify the current password when changing the user's own password. Ticket #2065
* Extending facet's mechanism of gathering changesPetr Vobornik2011-11-043-63/+286
| | | | | | | | | | | | https://fedorahosted.org/freeipa/ticket/2041 Adding option to gathering changes for update from widgets, sections, details facet. Changes are represented by update_info { fields [] ((field_info)), commands [] ((command_info)) } object. * On calling get_update_info() method widget, section and facet returns update_info object which represents all changes in nested objects. Thus usually widgets are creating update_infos, their containers are merging them. * This object can be then used in details facet update method. In order to use it command_mode = 'init' has to be set. Command mode was introduced to support backward compatibility. * command_info consists of command and priority. Priority can be set to specify exact exectuting order of commands. It can be defined on facet level by setting widget's priority. When widgit is creating command_info it should pas its priority to it.