summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/_base
Commit message (Collapse)AuthorAgeFilesLines
* Change lang.hitch to javascript bind methodPavel Vomacka2016-06-031-7/+6
| | | | | | | | Also remove the dojo/_base/lang module in cases it is not needed any more. https://fedorahosted.org/freeipa/ticket/5702 Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
* Fix minor typosYuri Chornoivan2015-07-171-1/+1
| | | | | | | | | | | | | <ame> -> <name> overriden -> overridden ablity -> ability enties -> entries the the -> the https://fedorahosted.org/freeipa/ticket/5109 Reviewed-By: Petr Vobornik <pvoborni@redhat.com> Reviewed-By: Christian Heimes <cheimes@redhat.com>
* webui: better error reportingPetr Vobornik2015-06-052-0/+5
| | | | | | | - ActionDropdownWidget - report error if required action is missing - report build errors to console Reviewed-By: Martin Basti <mbasti@redhat.com>
* webui: register construction spec based on existing specPetr Vobornik2015-05-202-23/+50
| | | | | | | | Useful for declarative inheritance. E.g. base new facet on details facet with all registered preops and default spec object. Reviewed-By: David Kupka <dkupka@redhat.com> Reviewed-By: Thierry Bordaz <tbordaz@redhat.com>
* webui: make Evented a part of base IPA.objectPetr Vobornik2014-10-202-7/+3
| | | | | | | 1. All framework objects to use event interface 2. Framework objects can be part of specification objects but they are not deep-cloned as the rest of specification objects - usually it would cause infinite loop. This make easier to add context as a $pre-op object without a need for $pre-op function. Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
* webui: new ID views sectionPetr Vobornik2014-09-301-0/+17
| | | | | | https://fedorahosted.org/freeipa/ticket/4535 Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
* webui: standalone facetPetr Vobornik2014-04-151-0/+12
| | | | | | | | | | `facet.Facet` is a new base class for facets. It doesn't have any dependencies on entities so it's usable for general purpose facets, e.g., future API browser, load facet or login facet. https://fedorahosted.org/freeipa/ticket/3903 Reviewed-By: Adam Misnyovszki <amisnyov@redhat.com>
* webui: field and widget binding refactoringPetr Vobornik2014-04-033-3/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Fixed doc examples in Spec_modPetr Vobornik2014-03-121-1/+3
| | | | Reviewed-By: Adam Misnyovszki <amisnyov@redhat.com>
* Declarative replacement of array item in specification objectPetr Vobornik2014-03-121-1/+49
| | | | | | | | This patch adds option to define which item of which array attribute of specification object will be replaced by a new value. The difference between combination of $add and $del is that it keeps position of that item in the array. Reviewed-By: Adam Misnyovszki <amisnyov@redhat.com>
* Web UI source code annotationPetr Vobornik2013-10-169-151/+279
| | | | Part of ongoing Web UI documentation effort. Source code is annotated in a way that it can be processed by documentation generator.
* Web UI: move ./_base/metadata_provider.js to ./metadata.jsPetr Vobornik2013-05-171-62/+0
| | | | | | Metadata provider is IPA specific object, not a framework object, so it should not be in _base directory. https://fedorahosted.org/freeipa/ticket/3604
* Fix: HBAC Test tab is missingPetr Vobornik2013-05-141-1/+1
| | | | | | | | Caused by typo in metadata provider source path. No metadata -> no HBAC test entity -> no tab https://fedorahosted.org/freeipa/ticket/3627
* Builder: Singleton_registry: return null when construction spec not availablePetr Vobornik2013-05-062-6/+6
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Builder: fix join of pre_ops and post_ops arraysPetr Vobornik2013-05-062-4/+4
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Builder: handle expected errors in post_opsPetr Vobornik2013-05-061-5/+5
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Builder: allow registration without factory or ctorPetr Vobornik2013-05-061-4/+0
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Builders: allow pre_ops and post_ops in build overridesPetr Vobornik2013-05-061-3/+26
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Builder: allow string spec as spec property instead of typePetr Vobornik2013-05-061-2/+40
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Builder: create Construct_registry by default in builderPetr Vobornik2013-05-061-1/+3
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Phases: warn when adding task for nonexistent phasePetr Vobornik2013-05-061-0/+5
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Builder: build type without prior registrationPetr Vobornik2013-05-061-7/+7
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Builder: add set method to Singleton_registryPetr Vobornik2013-05-061-0/+10
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Builder: fix inner array and obj referencesPetr Vobornik2013-05-062-2/+6
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Builder: remove item from singleton registryPetr Vobornik2013-05-061-0/+12
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Builder: do not break on expected errorsPetr Vobornik2013-05-061-9/+22
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Fix construct registry map referencePetr Vobornik2013-05-061-1/+5
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Builder: allow to use custom factory/ctor when using typePetr Vobornik2013-05-061-9/+4
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Report phase errorsPetr Vobornik2013-05-061-2/+10
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Handle built object in specPetr Vobornik2013-05-063-12/+46
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Builder: return object when it's already builtPetr Vobornik2013-05-062-2/+19
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Builder: fix infinite loop when using spec with circular dependencyPetr Vobornik2013-05-062-3/+6
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Builder: fix overrides names - add $Petr Vobornik2013-05-061-4/+4
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Builder: return null if no spec suppliedPetr Vobornik2013-05-061-0/+4
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Rename build constructor to ctorPetr Vobornik2013-05-064-31/+33
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Builder: factory,ctor overrides, mass buildPetr Vobornik2013-05-061-4/+59
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Builder: added pre_ops and post_opsPetr Vobornik2013-05-061-27/+44
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Spec modification by diff objectPetr Vobornik2013-05-062-2/+194
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Add pre and post build operationsPetr Vobornik2013-05-063-31/+190
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Limit Provider reportingPetr Vobornik2013-05-061-3/+5
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Metadata and text providersPetr Vobornik2013-05-064-33/+408
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Add phase on exact positionPetr Vobornik2013-05-061-4/+35
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Phases - application lifecyclePetr Vobornik2013-05-061-0/+164
| | | | https://fedorahosted.org/freeipa/ticket/3235
* i18n - internationalized text providerPetr Vobornik2013-05-061-0/+57
| | | | | https://fedorahosted.org/freeipa/ticket/3235 https://fedorahosted.org/freeipa/ticket/3236
* Basic implementation of registersPetr Vobornik2013-05-064-0/+412
https://fedorahosted.org/freeipa/ticket/3235