lp:~mardy/ubuntu-system-settings-online-accounts/signon-ui-service

Created by Alberto Mardegan and last modified
Get this branch:
bzr branch lp:~mardy/ubuntu-system-settings-online-accounts/signon-ui-service
Only Alberto Mardegan can upload to this branch. If you are Alberto Mardegan please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Recent revisions

125. By Alberto Mardegan

Remove signon-ui provides

124. By Alberto Mardegan

Move service to signon-ui

123. By Alberto Mardegan

Fix

122. By Alberto Mardegan

Add signon-ui-service, to fix co-installation of signon-ui.

121. By Alberto Mardegan

Merge from trunk

[ CI bot ]
* Release development branch Features landing with this branch:
  Updating the ACL when applications are enabled/disabled in System
  Settings. Write profile information in the XML files installed by
  click hooks. Run tests with Python 3 autopilot. Merge signon-ui into
  online-accounts-ui .
[ Alberto Mardegan ]
* Release development branch Features landing with this branch:
  Updating the ACL when applications are enabled/disabled in System
  Settings. Write profile information in the XML files installed by
  click hooks. Run tests with Python 3 autopilot. Merge signon-ui into
  online-accounts-ui .

120. By Alberto Mardegan

When processing completes, raise the caller application

Under unity8, use QDesktopServices to raise the application which invoked OA. Also, avoid queuing requests to open OA from the System Settings.

119. By Alberto Mardegan

Use the new header design

118. By Alberto Mardegan

Fix QQmlExpression's invalid context warning

The bug was caused because we are destroying the page while the Ubuntu UI toolkit is still playing the fading out animation for the dialog which prompts for the removal confirmation.
The fix consists of emitting the closed() signal (and therefore proceed with the removal of the account) only after the dialog animation has been completed.
This is a sequential animation, whose last step is setting the "visible" property to false.

117. By Alberto Mardegan

Merge signon-ui into online-accounts-ui

This copies the implementation of the D-Bus com.nokia.singlesignonui service which is currently implemented in the signon-ui process (lp:signon-ui) into online-accounts-ui.
The com.nokia.singlesignonui interface is invoked by signond when a user interaction is required, for instance for asking a password or login into a site supporting OAuth.
By merging the functionality into online-accounts-ui we eliminate the complexity of reparenting or embedding windows (on the desktop, the Online Accounts panel is using XEMBED to show the UI coming from signon-ui).
Most of the code is coming straight from signon-ui:

signon-ui -> online-accounts-ui
src/service.{h,cpp} -> src/signonui-service.{h,cpp}
src/request.{h,cpp} -> src/signonui-request.{h,cpp}
src/ubuntu-browser-request.{h,cpp} -> src/browser-request.{h,cpp}
src/reauthenticator.{h,cpp} -> src/reauthenticator.{h,cpp}
src/indicator-service.{h,cpp} -> src/indicator-service.{h,cpp}
src/qquick-dialog.{h,cpp} -> src/dialog.{h,cpp}
src/qml/KeyboardRectangle.qml -> src/module/KeyboardRectangle.qml
src/qml/StandardAnimation.qml -> src/module/StandardAnimation.qml
src/qml/WebView.qml -> src/module/WebView.qml

with a couple of notable exceptions:

- since src/signonui-service.cpp and src/service.cpp follow a very similar logic, a new src/request-manager.{h,cpp} class has been created to collect the common functionality.

- a new RequestHandler QML class has been created (src/request-handler.{h,cpp}); account-plugins use this element (in src/module/OAuth.qml) to inform online-accounts-ui that the UI request will be handled by the plugin itself, and that online-accounts-ui must not queue it or create additional windows for it.

In the same fashion, the implementation of the D-Bus service com.canonical.indicators.webcredentials is also transplanted here. This is a simple interface which is used to query the general status of Online Accounts, that is the list of accounts needing to be reauthenticated (if any). On the desktop, this is currently used by the Online Accounts panel in the Unity Control Center and by the "Online Accounts" indicator which appears in the system menu when accounts need to be re-authenticated.
It's not clear yet how this interface will be used on the phone, but it will eventually be used.

116. By Alberto Mardegan

Run tests with Python 3 autopilot.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:ubuntu-system-settings-online-accounts
This branch contains Public information 
Everyone can see this information.

Subscribers