Created by Kyle Nitzsche on 2015-08-03 and last modified on 2016-11-10
Get this branch:
bzr branch lp:scope-aggregator
Members of scope-aggregator can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information


Recent revisions

175. By Kyle Nitzsche on 2016-11-10

merge branch that implements "featured" feature and release as 4.14

See README.md for docs

174. By Kyle Nitzsche on 2016-11-02

4.13 tag merge branch
  * refactor handle_*_child() methods for clarity
  * move them to new handle_results.cpp file
  * add support for login renderer
  * remove "shared category" from "keyword" (use "category instead")
  * to signal no departments, do not declare "departments" object

173. By Kyle Nitzsche on 2016-09-13

merge branch that implements google test and refactors code for tests
and for clarity. See subordinated merge commit log message for details.

172. By Kyle Nitzsche on 2016-09-13

rm autopilot test dir

171. By Zhang Enwei on 2016-08-04

fix empty query to clickstore issue in r170

170. By Zhang Enwei on 2016-08-04

fix lp:1524597, support showing not install scopes by clickstore for keyword aggregators

169. By Kyle Nitzsche on 2016-07-26

This is the 4.11 release.

There are two main changes, both related to the quick start help (local hints).


Currently there are two types of quick start help results:

* A login result specific to a child scope. Now, if the child scope
is not installed, the login result is not displayed.

* A button that takes the user to settings > accounts for a specific account
(for example Google) but not for any particular child scope/app. To suppress
these results in parts of the world where they are not appropriate, you
now modify hints.json for the item to specifically state the locales (ll_CC)
in which the result should NOT display. For example, the following
supresses display of Google account result in zh_CN locale:
    "items": [
            "hide_in_locales": "zh_CN",
            "_title": "<b> Review your Google sync settings</b>",
            "_description": "Adding you Google....",
            "action": {
                "_name": "Add account",
                "uri": "settings:///system/online-accounts"


Apparently 15.04.4 introduces an online accounts change that requireis a
different ServiceName (used to create an online account client).

* Previously the ServiceName was just the fully qualified scope ID, for
example: com.canonical.scopes.fbphotos_fbphotos

* With 15.04.4, the ServiceName also requires the provider, for example:
com.canonical.scopes.fbphotos_fbphotos_facebook ('facebook' is the provider)

Aggregator scopes whose quick start help provides a login button for
child scopes that are updated to 15.04.4 online accounts *must* change
the ServiceName for the specific result in the hints.json file to include
the provider.

For example, facebook photos 1.32 uses online accounts 15.04.4. photos-scope
hints.json is now (note ServiceName includes provider ("faceboook") at the end:
        "items": [
                "_title": "<b> Add your account</b>",
                "art": "facebook.png",
                "oaccount": {
                    "ServiceName": "com.canonical.scopes.fbphotos_fbphotos_facebook",
                    "ServiceType": "com.canonical.scopes.fbphotos_fbphotos",
                    "ProviderName": "facebook",
                    "QueryScope": "com.canonical.scopes.fbphotos_fbphotos",
                    "_loggedin": "<b> Successfully logged in</b>"
                "action": {
                    "_name": "Add account",
                    "uri": "settings:///system/online-accounts"

Previoulsy (before facebook photos scope switched to 15.04.4 online accounts) the
ServiceName was only the fully qualified scope ID:
                "ServiceName": "com.canonical.scopes.fbphotos_fbphotos",

167. By Kyle Nitzsche on 2016-07-13

release version 4.9. fixes fallback handling (bug 1599948)

166. By Kyle Nitzsche on 2016-06-30

remove reference to icond dir in cmake

Branch metadata

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