135
|
|
|
Alberto Mardegan |
9 years ago
|
|
|
134
|
|
|
Alberto Mardegan |
9 years ago
|
|
|
133
|
|
|
Alberto Mardegan |
9 years ago
|
|
|
132
|
|
|
Alberto Mardegan |
9 years ago
|
|
|
131
|
|
|
Alberto Mardegan |
9 years ago
|
|
|
130
|
|
|
Alberto Mardegan |
9 years ago
|
|
|
129
|
|
|
Alberto Mardegan |
9 years ago
|
|
|
128
|
|
|
Alberto Mardegan |
9 years ago
|
|
|
127
|
|
|
Alberto Mardegan |
9 years ago
|
|
|
126
|
|
|
Alberto Mardegan |
9 years ago
|
|
|
125
|
|
|
Alberto Mardegan |
9 years ago
|
|
|
124
|
|
|
Alberto Mardegan |
9 years ago
|
|
|
123
|
|
|
Alberto Mardegan |
9 years ago
|
|
|
122
|
|
|
Alberto Mardegan |
9 years ago
|
|
|
121
|
|
|
Alberto Mardegan |
9 years ago
|
|
|
120
|
|
|
Alberto Mardegan |
9 years ago
|
|
|
119
|
|
|
Alberto Mardegan |
9 years ago
|
|
|
118
|
|
|
Alberto Mardegan |
9 years ago
|
|
|
117
|
|
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.
|
Alberto Mardegan |
9 years ago
|
|
|
116
|
|
|
Alberto Mardegan |
9 years ago
|
|
|