summaryrefslogtreecommitdiffstats
path: root/install/ui/test/entity_tests.js
Commit message (Collapse)AuthorAgeFilesLines
* Move spec modifications from facet factories to pre_opsPetr Vobornik2013-05-171-8/+0
| | | | | | | | Spec modifications in factories makes inheritance and extensibility more difficult. Moving them to pre_ops allows modification of their output by other pre_ops. https://fedorahosted.org/freeipa/ticket/3605
* Replace ./facets with reg.facetPetr Vobornik2013-05-061-4/+4
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Builder and registry for actionsPetr Vobornik2013-05-061-4/+12
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Replace IPA.facet_builder with facets.builderPetr Vobornik2013-05-061-3/+12
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Fix unit testsPetr Vobornik2013-05-061-19/+5
| | | | https://fedorahosted.org/freeipa/ticket/3236
* Change tests to use AMD loaderPetr Vobornik2013-01-181-0/+4
| | | | | | Test were modified accordingly to AMD changes. https://fedorahosted.org/freeipa/ticket/112
* Fixed entity metadata resolution.Endi Sukma Dewata2011-12-061-5/+5
| | | | | | | | | | | 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
* Fixed unit tests after widget refactoringPetr Vobornik2011-12-051-6/+3
| | | | https://fedorahosted.org/freeipa/ticket/2040
* Fixed entity definition in test cases.Endi Sukma Dewata2011-11-181-14/+15
| | | | | | | The test cases have been updated to use the new extensible mechanism for defining and registering entities. Ticket #2043
* Removed develop.js.Endi S. Dewata2011-11-141-6/+5
| | | | | | | | | | 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
* Fixed problem displaying special characters.Endi S. Dewata2011-09-231-5/+0
| | | | | | | | Some jQuery objects in various locations have been modified to use text() to show values obtained from the server (except messages). The text() will automatically encode special characters. Ticket #1798
* removing setters setup and initAdam Young2011-07-281-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* create entities on demand.Adam Young2011-05-231-1/+0
| | | | | | fixed changes from code review Fixed unit tests for entity on demand changes.
* Added facet container.Endi S. Dewata2011-05-051-8/+14
| | | | | | | Facet container has been added to hold facet header (i.e. title, search fields, buttons, links) and facet content. Each facet now occupies separate container, so it can be shown/hidden without having to redraw the content.
* action panel to top tabsAdam Young2011-04-261-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | replacing the action panel with the Design for 2.1 Significantly cleaned up implementation of intra-entity navigation requires additional CSS work still need to integrate the search controls onto each page cleaning up interface between entity and facet simplified nested tabs logic Fixed role navigation select default tab from the search widget fixed unit tests and jsl keep tabs area allocated set default tab selected whenever the pkey changes. Removing styling that is changing positions of buttons. The logic for that was for action-panel, but does not translate to entity-header. change from metadata name to label for I18N set selected tab in entity_init. Default title for entities without search and pkeys associations in table now link. remove colon from title when not showing pkey added Managed by facet group. Removed entities that are, for some reason, invalid.
* Moved adder dialog box into entity.Endi S. Dewata2011-04-211-4/+2
| | | | | The adder dialog box definition has been moved from search facet into entity to make it accessible from other facets.
* Refactored action panel and client area.Endi S. Dewata2011-04-111-1/+7
| | | | | | | To improve code readability and extensibility the containers for action panel and client area are now created in IPA.entity.setup(). The 'client area' has been renamed into 'content'. The IPA.facet.create() has been renamed to IPA.facet.create_content().
* code review fixesAdam Young2011-03-311-5/+0
| | | | this version includes using spec for detail_facets
* define entities using builder and more declarative syntaxAdam Young2011-03-311-118/+51
| | | | | | merged hbac and sudo in to single files associaton facet and table supports linking
* I18n update.Endi S. Dewata2011-02-211-1/+1
| | | | | Hard-coded messages through out the code have been replaced by i18n messages obtained from json_metadata and i18n_messages.
* declarative for aciAdam Young2011-01-271-9/+2
| | | | | | A couple of the ACI definitions were incorrect, and the end result was that fields were not getting initialized. USing the declarative approach cleaned up the cause. Also fixed a few broken unit tests
* declarative defintionsAdam Young2011-01-271-12/+23
| | | | | | | | | | | | | | Delay the creation of entities until after ipa init is called made the user and group entity definitions declarative removed unused facet from groups adjusted unit tests made review changes: factories are now in an associative array entity init called right after factory init dialogs in entity init fixed type on search
* rename static to uiAdam Young2011-01-201-0/+171
Directory rename