[Freeipa-devel] [PATCH] 569-583 New Login Screen

Petr Vobornik pvoborni at redhat.com
Fri Mar 28 13:04:13 UTC 2014


Attached patches replace IPA.unauthorized dialog with new Login Screen.

To make it happen, a support for standalone facets had to be developed 
because current framework was limited by facets dependent on entities 
and a container with menu. This new feature was already used for Load 
facet which is part of this patchset and also will be a basis for API 
browser and OTP sync page.

Patches should fix these tickets:
https://fedorahosted.org/freeipa/ticket/3903
https://fedorahosted.org/freeipa/ticket/4017

Depends on patches #565-#568.


[PATCH] webui: facet container
------------------------------
A widget which servers as container for facets. FacetContainer is a base
class. App is specialization.

Doing this abstraction will allow us to implement various facet containers.

[PATCH] webui: FormMixin
------------------------
a mixin used for fields validation. Basically implements a logic which
is already in details facet and dialog.

Now this logic can be used in any component.

The long term goal is to replace the logic in details facet and dialog
with this mixin.

[PATCH] webui: ContainerMixin
-----------------------------
A mixin which implements widget storing logic. Similar logic is already 
implemented
in details facet and dialog.

Long term goal is to replace that with this one.

Separating the logic into mixin makes it usable in other components.

[PATCH] webui: standalone facet
-------------------------------
`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.

[PATCH] webui: activity widget
------------------------------
A widget for showing ongoing activity.

Displays a text with changing dots.

It listens to  `network-activity-start` and `network-activity-end` topics.

[PATCH] webui: publish network activity topics
----------------------------------------------
Network activity is now published through global topics. It allows other
components like activity_widget to listen to them.

[PATCH] webui: load page
------------------------
Load page is a simple facet which is displayed up to 'runtime' phase.

On application start it tells the user that there is ongoing activity.

[PATCH] webui: validation summary widget
----------------------------------------
A widget which aggregates warnings and errors and shows them on one place.

[PATCH] webui: login screen widget
----------------------------------
Reimplementation of unauthorized dialog into separate widget. It uses RCUE
design.

New features compared to unauthorized dialog:

- reflects auth methods from `auth` module
- validation summary
- differentiates Kerberos auth failure with session expiration
- Caps Lock warning
- form based method doesn't allow password only submission

https://fedorahosted.org/freeipa/ticket/4017
https://fedorahosted.org/freeipa/ticket/3903


[PATCH] webui: login page
-------------------------
A facet with login sreen widget.

[PATCH] webui: authentication module
------------------------------------
General purpose authentication interface and state. See doc of 
'freeipa/auth' module.

[PATCH] webui: use asynchronous call for authentication

Change `IPA.login_password` and `IPA.get_credentials` to use async AJAX
and to return promise instead of blocking the code.

IPA.get_credentials is still partially blocking because of negotiate 
process.
We can't do anything about that.

It allows activity indicators to do their job.

[PATCH] webui: fix combobox styles to work with selenium testing
[PATCH] webui-ci: adapt to new login screen
[PATCH] webui: remove IPA.unauthorized_dialog
-- 
Petr Vobornik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0583-webui-remove-IPA.unauthorized_dialog.patch
Type: text/x-patch
Size: 15307 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20140328/61067291/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0582-webui-ci-adapt-to-new-login-screen.patch
Type: text/x-patch
Size: 3787 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20140328/61067291/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0581-webui-fix-combobox-styles-to-work-with-selenium-test.patch
Type: text/x-patch
Size: 1863 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20140328/61067291/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0580-webui-use-asynchronous-call-for-authentication.patch
Type: text/x-patch
Size: 8322 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20140328/61067291/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0579-webui-authentication-module.patch
Type: text/x-patch
Size: 18863 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20140328/61067291/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0578-webui-login-page.patch
Type: text/x-patch
Size: 5600 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20140328/61067291/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0577-webui-login-screen-widget.patch
Type: text/x-patch
Size: 128903 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20140328/61067291/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0576-webui-validation-summary-widget.patch
Type: text/x-patch
Size: 3840 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20140328/61067291/attachment-0007.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0575-webui-load-page.patch
Type: text/x-patch
Size: 7396 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20140328/61067291/attachment-0008.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0574-webui-publish-network-activity-topics.patch
Type: text/x-patch
Size: 1764 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20140328/61067291/attachment-0009.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0573-webui-activity-widget.patch
Type: text/x-patch
Size: 5211 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20140328/61067291/attachment-0010.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0572-webui-standalone-facet.patch
Type: text/x-patch
Size: 14000 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20140328/61067291/attachment-0011.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0571-webui-ContainerMixin.patch
Type: text/x-patch
Size: 5220 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20140328/61067291/attachment-0012.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0570-webui-FormMixin.patch
Type: text/x-patch
Size: 7808 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20140328/61067291/attachment-0013.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0569-webui-facet-container.patch
Type: text/x-patch
Size: 10315 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20140328/61067291/attachment-0014.bin>


More information about the Freeipa-devel mailing list