summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/host.js
Commit message (Collapse)AuthorAgeFilesLines
* webui: move host action panel actions to action dropdownPetr Vobornik2014-06-101-14/+2
| | | | Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
* webui: remove select actionPetr Vobornik2014-06-101-2/+2
| | | | Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
* webui: adjust styles to PatternFlyPetr Vobornik2014-06-101-3/+4
| | | | | | | side effect partially fixes: https://fedorahosted.org/freeipa/ticket/3435 Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
* webui: change widget updated event into value change eventPetr Vobornik2014-04-031-4/+2
| | | | | | | | | | 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-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-4/+5
| | | | | | | Replace all IPA.command, IPA.batch_command and IPA.concurrent_command usages by equivalents from rpc module. Reviewed-By: Adam Misnyovszki <amisnyov@redhat.com>
* webui: Datetime parsing and formattingPetr Vobornik2014-03-131-12/+13
| | | | | | | | | | | | | | | this patch implements: - output_formatter in field. It should be used in par with formatter. Formatter serves for datasource->widget conversion, output_formatter for widget->datasource format conversion. - datetime module which parses/format strings in subset of ISO 8601 and LDAP generalized time format to Date. - utc formatter replaced with new datetime formatter - datetime_validator introduced - new datetime field, extension of text field, which by default uses datetime formatter and validator Dojo was regenerated to include dojo/string module https://fedorahosted.org/freeipa/ticket/4194 Reviewed-By: Adam Misnyovszki <amisnyov@redhat.com>
* Use general password dialog for host OTPPetr Vobornik2014-03-121-136/+16
| | | | Reviewed-By: Adam Misnyovszki <amisnyov@redhat.com>
* Use fluid layout in host adder dialog fqdn widgetPetr Vobornik2014-01-211-54/+31
|
* Status widgets iconsPetr Vobornik2014-01-211-38/+34
| | | | https://fedorahosted.org/freeipa/ticket/3904
* Dojo event support in widgetsPetr Vobornik2014-01-211-0/+2
| | | | | | | | - 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-5/+5
| | | | https://fedorahosted.org/freeipa/ticket/3904
* Always create radio and checkbox with labelPetr Vobornik2014-01-211-5/+3
| | | | https://fedorahosted.org/freeipa/ticket/3904
* WebUI: Add userClass attribute to user and host pagesAna Krivokapic2013-11-191-0/+2
| | | | | | | | | Add userClass attribute to: - user and host adder dialogs - user and host detail facets Design page: http://www.freeipa.org/page/V3/Integration_with_a_provisioning_systems https://fedorahosted.org/freeipa/ticket/3590
* Add automember rebuild command to the web UIAna Krivokapic2013-11-151-1/+17
| | | | | Design: http://www.freeipa.org/page/V3/Automember_rebuild_membership https://fedorahosted.org/freeipa/ticket/3928
* Allow edit of ipakrbokasdelegate in Web UI when attrlevelrights are unknownPetr Vobornik2013-09-261-1/+2
| | | | | | | | Old host entries are missing object class with krbticketflags attribute. Therefore UI does not receive attrlevelrights for it. This OC is added when ipakrbokasdelegate is set. This patch adds the usual hack for such cases. https://fedorahosted.org/freeipa/ticket/3940
* Fix container element in adder dialogsPetr Vobornik2013-07-161-4/+4
| | | | | | | | Host and DNS adder dialogs used span element as container for block elements. It's not valid nor consistent with other forms. 'span' was replaced by 'div' https://fedorahosted.org/freeipa/ticket/3744
* Fix crash on host deleletionPetr Vobornik2013-05-061-1/+1
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Add widget updated eventPetr Vobornik2013-05-061-0/+2
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Replace IPA.metadata.objects... with declarative definitionsPetr Vobornik2013-05-061-1/+1
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Convert definitions of entities to spec objectsPetr Vobornik2013-05-061-72/+74
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Replace IPA.get_command_option calls in specs with provider stringsPetr Vobornik2013-05-061-2/+2
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Make facet and entity policies declarativePetr Vobornik2013-05-061-8/+10
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Replace usage of action factories with typesPetr Vobornik2013-05-061-8/+8
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Builder and registry for actionsPetr Vobornik2013-05-061-2/+6
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Builder and registry for validatorsPetr Vobornik2013-05-061-3/+4
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Replace formatter creation with definition in specsPetr Vobornik2013-05-061-1/+1
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Replace build logic in widget and field builder by new builderPetr Vobornik2013-05-061-14/+14
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Replace IPA.widget_factories and IPA_field_factories with registryPetr Vobornik2013-05-061-17/+28
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Rename factory to $factory in spec objectsPetr Vobornik2013-05-061-9/+9
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Replace remaining IPA.messages with text.get callsPetr Vobornik2013-05-061-11/+11
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Use text.get in IPA.notify_successPetr Vobornik2013-05-061-2/+2
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Replace IPA.messages with @i18n definition for label specsPetr Vobornik2013-05-061-14/+14
| | | | | | | 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-3/+3
| | | | 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
* get_primary_key function usages removedPetr Vobornik2013-05-061-3/+3
| | | | https://fedorahosted.org/freeipa/ticket/3236
* Remove IPA.nav usage, obsolete entity.get_primary_keyPetr Vobornik2013-05-061-1/+1
| | | | https://fedorahosted.org/freeipa/ticket/3236
* Add ipakrbokasdelegate option to service and host Web UI pagesPetr Vobornik2013-04-041-0/+5
| | | | https://fedorahosted.org/freeipa/ticket/3329
* 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/+947
SSIA https://fedorahosted.org/freeipa/ticket/112