[Freeipa-devel] [PATCH] 720-729 OTP usability improvements

Petr Vobornik pvoborni at redhat.com
Tue Aug 5 11:31:22 UTC 2014


patches 725-728 are preparation for 729 but they can also affect the 
rest of UI (intentional). 728 is useful for non-admins. We might want to 
discuss enabling of `hide_empty_widgets` flag in patch 727.

ticket: https://fedorahosted.org/freeipa/ticket/4402

[PATCH] 720 webui: add measurement unit to token time step field
[PATCH] 721 webui: better otp token type label
[PATCH] 722 webui: add token from user page

Add 'Add OTP Token' action to user action menu.

This option is disabled in self-service when viewing other users.

[PATCH] 723 webui: add i18n for the rest of QR code strings
[PATCH] 724 webui: display fields based on otp token type

- in adder dialog


[PATCH] 725 webui: better value-change reporting

- 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

[PATCH] 726 webui: widget initialization

- used `ctor_init` instead of `init` to avoid name collision with
   existing logic
- `ctor_init` is called right after widget instantiation. Basically support
   better inheritance for the old class system which doesn't have proper
   contructors

[PATCH] 727 webui: hide empty fields and sections

Hide widgets without a value. Must be explicitly turned on. In widget by
`hidden_if_empty` flag. Or globally by `hide_empty_widgets` flag. Global
hiding can be individually turned off by `ignore_empty_hiding` flag.

[PATCH] 728 webui: hide non-readable fields

hide widgets if associated field had received attribute level rights
without 'r' right.

Explicit rights are required to avoid hiding of special widgets which
are not associated with any LDAP attribute.

[PATCH] 729 webui: hide otp fields based on token type

- uses hide empty feature

-- 
Petr Vobornik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0729-webui-hide-otp-fields-based-on-token-type.patch
Type: text/x-patch
Size: 1604 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20140805/8d178120/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0728-webui-hide-non-readable-fields.patch
Type: text/x-patch
Size: 5654 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20140805/8d178120/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0727-webui-hide-empty-fields-and-sections.patch
Type: text/x-patch
Size: 7491 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20140805/8d178120/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0726-webui-widget-initialization.patch
Type: text/x-patch
Size: 1404 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20140805/8d178120/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0725-webui-better-value-change-reporting.patch
Type: text/x-patch
Size: 8313 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20140805/8d178120/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0724-webui-display-fields-based-on-otp-token-type.patch
Type: text/x-patch
Size: 2027 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20140805/8d178120/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0723-webui-add-i18n-for-the-rest-of-QR-code-strings.patch
Type: text/x-patch
Size: 5040 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20140805/8d178120/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0722-webui-add-token-from-user-page.patch
Type: text/x-patch
Size: 5194 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20140805/8d178120/attachment-0007.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0721-webui-better-otp-token-type-label.patch
Type: text/x-patch
Size: 2856 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20140805/8d178120/attachment-0008.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0720-webui-add-measurement-unit-to-token-time-step-field.patch
Type: text/x-patch
Size: 1470 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20140805/8d178120/attachment-0009.bin>


More information about the Freeipa-devel mailing list