summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/user.js
Commit message (Collapse)AuthorAgeFilesLines
* 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: add token from user pagePetr Vobornik2014-09-111-3/+58
| | | | | | | | | | Add 'Add OTP Token' action to user action menu. This option is disabled in self-service when viewing other users. https://fedorahosted.org/freeipa/ticket/4402 Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
* webui: better authentication types descriptionPetr Vobornik2014-08-211-1/+6
| | | | | | | | | | Tooltips were added to "User authentication types" and "Default user authentication types" to describe their relationship and a meaning of not-setting a value. https://fedorahosted.org/freeipa/ticket/4471 Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
* webui: support unlock user commandPetr Vobornik2014-06-301-1/+9
| | | | | | | | | | Call user-unlock command from Web UI. It will unlock displayed user on current master. https://fedorahosted.org/freeipa/ticket/4407 Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
* webui: rebase user password dialog on password dialog and add otp supportPetr Vobornik2014-06-261-135/+52
| | | | | | https://fedorahosted.org/freeipa/ticket/4262 Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
* webui: expose krbprincipalexpirationPetr Vobornik2014-06-161-0/+5
| | | | | | https://fedorahosted.org/freeipa/ticket/3306 Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
* webui: move RPC result extraction logic to AdapterPetr Vobornik2014-06-161-44/+21
| | | | | | | | | | | | | | | 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 user reset password action to action dropdownPetr Vobornik2014-06-101-6/+1
| | | | 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: 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-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Extending user plugin with inetOrgPerson fieldsAdam Misnyovszki2014-03-281-2/+8
| | | | | | | | | | | | | | | According to http://tools.ietf.org/html/rfc2798 ipa client and web ui extended with inetOrgPerson fields: - employeenumber - employeetype - preferredlanguage - departmentnumber carlicenseplate is now multivalued https://fedorahosted.org/freeipa/ticket/4165 Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
* webui: replace IPA.command usage with rpc.commandPetr Vobornik2014-03-271-5/+6
| | | | | | | 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-1/+1
| | | | | | | | | | | | | | | 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>
* UI for managing user-auth typesPetr Vobornik2014-03-121-0/+6
| | | | | | https://fedorahosted.org/freeipa/ticket/3369 Reviewed-By: Adam Misnyovszki <amisnyov@redhat.com>
* Replace icons with the ones from Font AwesomePetr Vobornik2014-01-211-2/+2
| | | | 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
* WebUI: Add userClass attribute to user and host pagesAna Krivokapic2013-11-191-2/+7
| | | | | | | | | 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-2/+14
| | | | | Design: http://www.freeipa.org/page/V3/Automember_rebuild_membership https://fedorahosted.org/freeipa/ticket/3928
* Fix password expiration notificationPetr Vobornik2013-10-301-1/+0
| | | | | | - was broken by navigation and application controller refactoring https://fedorahosted.org/freeipa/ticket/4003
* Web UI source code annotationPetr Vobornik2013-10-161-0/+7
| | | | Part of ongoing Web UI documentation effort. Source code is annotated in a way that it can be processed by documentation generator.
* Fix: make association facets in selfservice readonlyPetr Vobornik2013-05-061-7/+7
| | | | https://fedorahosted.org/freeipa/ticket/3235
* 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-78/+72
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Replace IPA.get_entity_param calls in specs with provider stringsPetr Vobornik2013-05-061-11/+11
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Make summary conditions declarativePetr Vobornik2013-05-061-2/+2
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Replace usage of action factories with typesPetr Vobornik2013-05-061-7/+7
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Builder and registry for actionsPetr Vobornik2013-05-061-2/+19
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Builder and registry for validatorsPetr Vobornik2013-05-061-2/+3
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Replace formatter creation with definition in specsPetr Vobornik2013-05-061-3/+4
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Replace build logic in widget and field builder by new builderPetr Vobornik2013-05-061-12/+12
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Replace IPA.widget_factories and IPA_field_factories with registryPetr Vobornik2013-05-061-2/+16
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Rename factory to $factory in spec objectsPetr Vobornik2013-05-061-7/+7
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Replace remaining IPA.messages with text.get callsPetr Vobornik2013-05-061-1/+1
| | | | 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-15/+15
| | | | | | | 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
* Remove IPA.current_entity usagePetr Vobornik2013-05-061-2/+2
| | | | https://fedorahosted.org/freeipa/ticket/3236
* Remove IPA.nav usage, obsolete entity.get_primary_keyPetr Vobornik2013-05-061-17/+7
| | | | https://fedorahosted.org/freeipa/ticket/3236
* Make gecos field editable in Web UITomas Babej2013-04-251-1/+2
| | | | | | This patch exposes user entry gecos field in Web UI. https://fedorahosted.org/freeipa/ticket/3569
* Change Web UI sources to simple AMD modulesPetr Vobornik2013-01-181-4/+6
| | | | | | | 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/+663
SSIA https://fedorahosted.org/freeipa/ticket/112