summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/service.js
Commit message (Collapse)AuthorAgeFilesLines
* webui: remove cert manipulation actions from host and servicePetr Vobornik2015-07-091-10/+2
| | | | | | | | | | | | | Remove * cert_view * cert_get * cert_revoke * cert_restore These actions require serial number which is not provided to Web UI if multiple certificates are present. Reviewed-By: Martin Basti <mbasti@redhat.com>
* webui: show multiple certPetr Vobornik2015-07-091-3/+2
| | | | | | | | | | | New certificate widget which replaced certificate status widget. It can display multiple certs. Drawback is that it cannot display if the certificate was revoked. Web UI does not have the information. part of: https://fedorahosted.org/freeipa/ticket/5045 Reviewed-By: Martin Basti <mbasti@redhat.com>
* webui: cert-request improvementsPetr Vobornik2015-07-091-1/+5
| | | | | | | | | | | | | | | Certificate request action and dialog now supports 'profile_id', 'add' and 'principal' options. 'add' and 'principal' are disaplayed only if certificate is added from certificate search facet. Certificate search facet allows to add a certificate. User details facet allows to add a certificate. part of https://fedorahosted.org/freeipa/ticket/5046 Reviewed-By: Martin Basti <mbasti@redhat.com>
* webui: service: add ipakrbrequirespreauth checkboxPetr Vobornik2015-02-261-0/+5
| | | | | | Allow to configure missing krb ticket flag - ipakrbrequirespreauth from Web UI. Reviewed-By: Tomas Babej <tbabej@redhat.com>
* webui: fix service unprovisioningPetr Vobornik2014-12-091-1/+1
| | | | | | | | Missed part of field refactoring caused that service could not be unprovisioned. https://fedorahosted.org/freeipa/ticket/4770 Reviewed-By: Martin Basti <mbasti@redhat.com>
* webui: management of keytab permissionsPetr Vobornik2014-10-201-0/+84
| | | | | | https://fedorahosted.org/freeipa/ticket/4419 Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
* webui: better value-change reportingPetr Vobornik2014-09-111-1/+1
| | | | | | | | | - widget save() save method should try to always return value even if read only - report value-change event with actual value to allow processing of the value https://fedorahosted.org/freeipa/ticket/4402 Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
* webui: move RPC result extraction logic to AdapterPetr Vobornik2014-06-161-2/+4
| | | | | | | | | | | | | | | It enables declarative extraction of values from partial results of a batch commands and also further extensibility in custom adapters. The default adapter has detection logic for this extraction so it can use bare record or extract data from normal or batch RPC command. Minor change of user plugin fixed: https://fedorahosted.org/freeipa/ticket/4355 Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
* webui: move service action panel actions to action dropdownPetr Vobornik2014-06-101-13/+8
| | | | Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
* webui: change widget updated event into value change eventPetr Vobornik2014-04-031-2/+1
| | | | | | | | | | This change allow us to use proper two way binding between a field and a widget. In previous implementation field was not changed if something changed the value of a widget in 'update'. Now listeners are notified when the widget value is changed by: calling 'update', 'set_value' or by user change. Reviewed-By: Adam Misnyovszki <amisnyov@redhat.com>
* webui: field and widget binding refactoringPetr Vobornik2014-04-031-43/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a Web UI wide change. Fields and Widgets binding was refactored to enable proper two-way binding between them. This should allow to have one source of truth (field) for multiple consumers - widgets or something else. One of the goal is to have fields and widget implementations independent on each other. So that one could use a widget without field or use one field for multiple widgets, etc.. Basically a fields logic was split into separate components: - adapters - parsers & formatters - binder Adapters - extract data from data source (FreeIPA RPC command result) - prepares them for commands. Parsers - parse extracted data to format expected by field - parse widget value to format expected by field Formatters - format field value to format suitable for widgets - format field value to format suitable for adapter Binder - is a communication bridge between field and widget - listens to field's and widget's events and call appropriate methods Some side benefits: - better validation reporting in multivalued widget Reviewed-By: Adam Misnyovszki <amisnyov@redhat.com>
* webui: replace IPA.command usage with rpc.commandPetr Vobornik2014-03-271-2/+3
| | | | | | | Replace all IPA.command, IPA.batch_command and IPA.concurrent_command usages by equivalents from rpc module. Reviewed-By: Adam Misnyovszki <amisnyov@redhat.com>
* Status widgets iconsPetr Vobornik2014-01-211-18/+14
| | | | https://fedorahosted.org/freeipa/ticket/3904
* Dojo event support in widgetsPetr Vobornik2014-01-211-0/+1
| | | | | | | | - widgets has a new base class - Evented it allows raising various events - it's purpose is to replace IPA.observer events in a future - now all widget's IPA.observers events has their own counterpart https://fedorahosted.org/freeipa/ticket/3904
* RCUE dialog implementationPetr Vobornik2014-01-211-1/+1
| | | | https://fedorahosted.org/freeipa/ticket/3904
* Add widget updated eventPetr Vobornik2013-05-061-0/+1
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Convert definitions of entities to spec objectsPetr Vobornik2013-05-061-72/+69
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Replace IPA.get_command_option calls in specs with provider stringsPetr Vobornik2013-05-061-1/+1
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Make facet and entity policies declarativePetr Vobornik2013-05-061-7/+9
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Replace usage of action factories with typesPetr Vobornik2013-05-061-6/+6
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Builder and registry for actionsPetr Vobornik2013-05-061-0/+2
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Replace build logic in widget and field builder by new builderPetr Vobornik2013-05-061-10/+10
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Replace IPA.widget_factories and IPA_field_factories with registryPetr Vobornik2013-05-061-13/+24
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Rename factory to $factory in spec objectsPetr Vobornik2013-05-061-5/+5
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Replace remaining IPA.messages with text.get callsPetr Vobornik2013-05-061-3/+3
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Use text.get in IPA.notify_successPetr Vobornik2013-05-061-1/+1
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Replace IPA.messages with @i18n definition for label specsPetr Vobornik2013-05-061-12/+12
| | | | | | | Replaced by execution of ls | grep .js | xargs sed -i -r "s/label: IPA.messages\.((.\w+)+)/label: '@i18n:\1'/" https://fedorahosted.org/freeipa/ticket/3235
* Replace IPA.messages with @i18n definition in spec objectsPetr Vobornik2013-05-061-2/+2
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Use text.get for transforming values supplied by specPetr Vobornik2013-05-061-2/+2
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Add ipakrbokasdelegate option to service and host Web UI pagesPetr Vobornik2013-04-041-0/+5
| | | | https://fedorahosted.org/freeipa/ticket/3329
* Added Web UI support for service PAC type option: NONEPetr Vobornik2013-03-291-3/+27
| | | | | | | | | ipakrbauthzdata accepts [null, 'NONE', 'MS-PAC, 'PAD'] New nesting feature of radios/checkboxes was used to handle mutual exclusivity between ['MS-PAC', 'PAD'], 'NONE' and ''. https://fedorahosted.org/freeipa/ticket/3404
* Web UI:Certificate pagesPetr Vobornik2013-03-181-0/+18
| | | | | | | | | | | | | | | | | Following pages were added to Web UI: * certificated details * certificate search Certificate is not regular object so it gets no metadata. Therefore artificial metadata were created for it to allow usage of search and details facet. Search and details facet were modified to allow removing of add/remove/update/ reset buttons - certificates have no mod operation and they are not added by standard means. User can revoke and restore certificated in details facet. https://fedorahosted.org/freeipa/ticket/3419
* Change Web UI sources to simple AMD modulesPetr Vobornik2013-01-181-4/+5
| | | | | | | Web UI sources were wrapped by AMD definition. Listed dependencies were changed accordingly. https://fedorahosted.org/freeipa/ticket/112
* Move of core Web UI files to AMD directoryPetr Vobornik2013-01-181-0/+467
SSIA https://fedorahosted.org/freeipa/ticket/112