summaryrefslogtreecommitdiffstats
path: root/install/static
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed navigation problem with nested entities.Endi S. Dewata2010-11-295-8/+8
| | | | | Replaced _entity with -entity in IPA.tab_state(). Replaced sudo-entity with sudorule-entity.
* top nav index allows links between differnt top level tabs by calculating ↵Adam Young2010-11-294-21/+66
| | | | the index of the top level tab for the target tab. new version creats third level navigation for nested entities, such as SUDO and HBAC
* quote class memberAdam Young2010-11-291-1/+1
| | | | | the class member variable is a reserved keyword in Javascript. This patch fixes a syntax error.
* navigation format UXD guidance to cleanup navigation. adjusts the tab fontAdam Young2010-11-245-15/+18
|
* action panel formattingAdam Young2010-11-248-24/+51
| | | | | Cleans up the indentation of the action panel Puts the sudo and HBAC entries in a consistent order
* SUDO Commands and Command GroupsEndi S. Dewata2010-11-2221-31/+776
| | | | | | | | | | | | The SUDO Commands and Command Groups pages have been added under SUDO Rules tab. Similar to HBAC navigation issue, these entities do not have their own tab, so an exception has been added to the navigation code to read sudo-entity parameter to determine the entity being viewed. Fixing this issue will require framework changes. New test data for these operations have been added.
* Fixed action panel queriesEndi S. Dewata2010-11-2212-98/+215
| | | | | | | | | | | | | | | Previously the queries for action panel were done globally. Since each entity container has its own action panel, the queries will return multiple results. This is fixed by qualifying the query to run within the entity container. The query has also been moved into ipa_facet.get_action_panel(). Entities that do not have their own entity container (e.g. HBAC services and service groups) will need to override this method to get the action panel from the right entity container (e.g. HBAC rules). The facet.setup_views() has been renamed to facet.create_action_panel(). New test data for SUDO rules have been added.
* Multivalued email addressEndi S. Dewata2010-11-202-2/+2
|
* Use radio buttons for HBAC rule typeEndi S. Dewata2010-11-192-3/+35
| | | | | To be consistent with the details page, the rule type in the HBAC add dialog box has been converted into radio buttons.
* Host Enrollment via OTPEndi S. Dewata2010-11-199-114/+421
| | | | | | | | | | | | | The support for host enrollment via one-time-password has been added. When submitted, the OTP will be used to set the host's userpassword. Previously each IPA command can only have one JSON test data file. The ipa_cmd() has been modifies to accept an optional command name. When used with static files, it will pull the test data whose name is the same as the command name. The batch.json has been renamed to ipa_init.json for UI initialization. Some test data have been added for operations against specific hosts.
* Sample data for service provisioningEndi S. Dewata2010-11-191-3/+47
|
* tab widthAdam Young2010-11-191-8/+5
| | | | fixes the spacing and width for the top and second row of tabs
* SUDO Rule Search and Details PagesEndi S. Dewata2010-11-1923-547/+1027
| | | | | | | | | | | | | | | | | | | | The search and details pages for SUDO Rule have been added. Codes that are shared with HBAC have been moved to rule.js. The following methods were renamed for consistency: - ipa_details_load() -> ipa_details_refresh() - ipa_details_display() -> ipa_details_load() The ipa_details_cache has been removed because the cache is now stored in each widget. The index.xhtml has been removed. All references to it has been changed to index.html. The Unselect All checkbox has been fixed. Unnecessary parameter 'container' has been removed. The unit test has been updated and new test data has been added.
* Fix build error due to rename of index.xhtml to index.htmlRob Crittenden2010-11-191-1/+1
|
* add button the spec had three add buttons: this one is the basic, 'add and ↵Adam Young2010-11-191-0/+15
| | | | then close' https://fedorahosted.org/freeipa/ticket/471
* removed index.xhtmlAdam Young2010-11-192-59/+1
| | | | also removed language on html, as the same page should be used for all languages.
* env init call the json rpc 'env' during ipa init and cache the resultAdam Young2010-11-182-44/+118
|
* batch init this batches together the calls to json_metadata, i18n_messages, ↵Adam Young2010-11-185-529/+4464
| | | | and user-find [whoami] tostreamline the init process, and also allow us to add a call to enumerate the plugins.
* Service and Host ProvisioningEndi S. Dewata2010-11-1811-354/+790
| | | | | | | | | | | | | | | The service and host details pages have been modified to display Kerberos key provisioning status and to provide a way to unprovision. The host enrollment via OTP has not been implemented yet. The ipa_details_field has been modified to remove any old <dd> tags it created in the previous load operation. This is to support other widgets that need to perform load operation without removing <dd> tags. The certificate_status_panel has been converted into a widget. The host entity has been rewritten using the new framework. The unit tests has been updated.
* CSS cleanup post UXD discussionAdam Young2010-11-174-49/+79
|
* action selectAdam Young2010-11-177-39/+208
| | | | | if exactly one entity is selected, it enables the entity-facet links in the action panel, and sets the pkey in bbq to the pkey of the selected
* buttons to action panel puts the buttons as the top li in the action panelAdam Young2010-11-162-3/+3
|
* HBAC css cleanupAdam Young2010-11-163-7/+22
| | | | | | | | | | | The additions to the search widget have to go one level deeper, as 'container' has both the action panel and the client area Conflicts: install/static/hbac.js install/static/hbacsvc.js install/static/hbacsvcgroup.js
* demo deploy Makes it easier to deploy demos. This version will demo cleanly ↵Adam Young2010-11-161-5/+6
| | | | | | | | from html providing you just set that.use_static_files = true; in the IPA definition section
* px to emAdam Young2010-11-161-31/+37
| | | | | | Making all of the page elements based on the font size. Also, set the font to the defauklt for the browser. By default, most brosers have Font set to 16px.
* entity container sizeAdam Young2010-11-151-1/+0
| | | | No longer wastes %20 of the the page in the entity container.
* HBAC details page enhancementEndi S. Dewata2010-11-1522-710/+1360
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The HBAC details page has been enhanced to support Undo and Reset operations. The functionality is implemented in the base widget class so the behavior will be more consistent across widgets. A <span> tag now used to define the field boundary in the HTML doc. The tag contains the visual representation of the field which include the input tag and optionally the undo link. The Update method on HBAC details page has been modified so that it executes several operations using a batch command. The operations being executed depends on the changes made to the fields. These operations may include: - removing access time if access time is changed to any time - removing memberships if member category is changed to all - modifying rule attributes if description or rule type is changed - enabling/disabling the rule if rule status is changed The behavior of the Add & Remove buttons also has been changed such that it adjust the category attribute properly in addition to adding the memberships using batch command. For example, if category is initially set to all, adding a new member will also change the category to empty. The ipa_command have been modified to store the on_success and on_error handlers as properties. When the command is executed as a part of batch operation, the result of each command will be passed to the appropriate handler. The unit tests and test data have been updated as well.
* Push associate buttons to the action-panelAdam Young2010-11-151-2/+2
|
* buttons to action panelAdam Young2010-11-145-26/+32
|
* super to superiorAdam Young2010-11-1412-190/+81
|
* more css cleanup remove quick links css very close to specsAdam Young2010-11-1410-102/+63
|
* layoutAdam Young2010-11-1411-36/+95
| | | | | | Closer to the layout from the spec The facets have been moved to the action panel, to the left of the page the facets are now rendered in an area of the screen with a client class
* Added in the effective rightsEndi Sukma Dewata2010-11-114-1/+82
|
* HBAC Service GroupsEndi S. Dewata2010-11-118-105/+285
| | | | | | | | The HBAC Service Groups search, details, and association pages have been added under the HBAC tab. New test data files for HBAC Service Groups have been added. The sample metadata has been updated as well.
* HBAC ServicesEndi S. Dewata2010-11-1118-1012/+1507
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The HBAC Service search and details pages have been added under the HBAC tab. This requires some changes to the framework. Currently the navigation framework doesn't support multiple entities under one tab. As a temporary solution, an 'entity' URL parameter is used to determine the entity to be displayed. This parameter is now only used by HBAC tab, but its use might be expanded later. The navigation framework needs be redesigned to provide more flexibility. The search page in all entities except DNS records have been changed to use the ipa_search_widget. The Select/Unselect All checbox and Delete button now work correctly and consistently. The Add dialog has been enhanced to render and work in a more consistent way while still supporting custom widgets & layouts. For the search page, the Add button will refresh the search results and clear the fields in the dialog box. The framework now provides some extension points which can be overriden by the subclasses: - init(): for initialization and configuration - create(): for creating the layout dynamically or from template - setup(): for setting the look and feel - load(): for loading the data Entity and facet initialization is now done after IPA.init(). This is to ensure the metadata is loaded first so the entities and facets can use localized messages/labels/titles. The group entity has been partially converted to use the new framework. The unit tests have been updated accordingly.
* HBAC Service & Service Group test dataEndi Sukma Dewata2010-11-118-0/+138
|
* Label cleanup Also, addeed in the default shell field.Adam Young2010-11-101-13/+13
|
* Renamed button.delete to button.remove in json_metadata.json.Endi Sukma Dewata2010-11-091-1/+1
|
* Renamed button.deletes to button.remove.Endi Sukma Dewata2010-11-091-1/+1
|
* delete to remove THe keyword delete is reserved in Javascript Using it ↵Adam Young2010-11-093-5/+5
| | | | breaks the WebUI on Chrome. This fixes replaces the word with delete.
* link indications we had removed the decorations from links for previous ui ↵Adam Young2010-11-091-9/+0
| | | | approaches It is not long relevant, and hides the hyperlink underline in places where we want it to show
* Disable Enable userAdam Young2010-11-083-79/+63
| | | | | | | | | | | | | UI updated to use the enable and disable methods, and to correctly report them Implementation has a few shortcomings: 1. Status is displayed in Browser alert dialog, not JQueryUI themed 2. Upon completion of RPC, navigate back to the Search page. Still, this is much less broken than before. With whitespace cleanup, using toLowerCase for testing true and removde dual declaration of variables
* sample data with rights and lock valueAdam Young2010-11-082-18/+357
|
* HBAC Access TimeEndi S. Dewata2010-11-088-264/+575
| | | | | | | | | | | | | | | | | | | | | | | | | | | IPA commands now can be defined in these classes: - ipa_command: a single IPA command - ipa_batch_command: a batch command for executing multiple commands on the server side using the new batch plugin The dialog boxes for adding and removing entries have been refactored: - ipa_dialog: base class for dialog boxes - ipa_adder_dialog: generic adder dialog box - ipa_deleter_dialog: generic deleter dialog box - ipa_association_adder_dialog: adding entity association - ipa_association_deleter_dialog: removing entity association Dialog boxes for adding/deleting HBAC users, hosts, services, and sourcehosts are implemented using the association dialog boxes. The dialog box for adding access time is implemented using ipa_dialog and currently contains only a text field. This will be replaced with a custom dialog box in a separate patch. The dialog box for removing access time is implemented using the generic deleter class because it's not an association. Removing multiple access times is implemented using batch operations. New test data files for access times have been added.
* Ticket ExpirationAdam Young2010-11-081-2/+20
| | | | | | | | THis patch handles Kerberos ticket expiration in the UI. Additionally it removes the mod_atuh_kerb authorization for elements in the static directory, cutting down on the number of round trips required for initializing the web app Conflicts: install/static/ipa.js
* Clear fields after addAdam Young2010-11-081-4/+7
| | | | | This version corrects an error in the oriogianl patch cause by matching the wrong opening brace
* rights checkAdam Young2010-11-053-23/+99
| | | | | | if the field does not have a 'w' for writable in its rights, disable it. Merged with the HBAC/Widget changes add and remove links are managed via permissions now
* HBAC Details PageEndi S. Dewata2010-11-0432-757/+2434
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The UI framework has been extended to include a collection of widgets: - ipa_widget: base class - ipa_text_widget: text field - ipa_radio_widget: radio button - ipa_textarea_widget: textarea - ipa_button_widget: button - ipa_column_widget: column for table - ipa_table_widget: table These widgets can be used to create input controls. They can also be extended to create custom controls. The framework has also been enhanced to support custom layouts. This can be used to change the look of the application without changing the code. Initially this is only available in details section. Layout consists of a collection of HTML templates. Each template is a complete and valid HTML file representing a portion of a page. The template will be loaded and initialized by the code, then filled with the data from the server. The layouts are located in install/static/layouts/<name> folder. By default, if no templates are used, the fields in the details page are rendered vertically using dd/dt/dd tags. For pages that require different layout, a custom UI needs to be developed. There are two ways to do that: - write a custom widget to generate the UI dynamically - create an HTML template and write the initialization code For components that are quite complex or used frequently, it's might be better to use the first method. For simple pages that are used only in one location or need to support customization, the second method might be preferable. Other benefits of templates: - cleaner code and UI separation - more flexibility in customization - new pages can be developed quickly and require less coding - multiple templates can be used with the same initialization code - easier to maintain The HBAC details page has been implemented using both methods. By default it will use custom widgets to generate the page. To use a custom layout, add the following parameter to the URL, then reload the page: &layout=<name> Currently the only available layout is 'default' which produces the same look as the custom widgets. The HBAC details page is usable, but it still needs additional work. The access time is not working yet. There is no undo button, hint, or validation yet. The table in the association facet has also been changed to use ipa_association_widget which is derived from ipa_table_widget. The Makefile has been updated to include the layouts. The unit tests have been updated as well.
* jslint cleanupAdam Young2010-11-031-82/+74
|
* HBAC test dataEndi S. Dewata2010-11-0315-29/+628
|