Merge lp:~mikemc/unity-scope-click/remove-invalid-account-and-sync into lp:unity-scope-click
Status: | Merged |
---|---|
Approved by: | Mike McCracken |
Approved revision: | 86 |
Merged at revision: | 93 |
Proposed branch: | lp:~mikemc/unity-scope-click/remove-invalid-account-and-sync |
Merge into: | lp:unity-scope-click |
Diff against target: |
362 lines (+210/-28) 5 files modified
src/click-scope.vala (+11/-7) src/click-webservice.vala (+1/-1) src/download-manager.vala (+3/-3) src/test-click-webservice.vala (+177/-16) src/ubuntuone-credentials.vala (+18/-1) |
To merge this branch: | bzr merge lp:~mikemc/unity-scope-click/remove-invalid-account-and-sync |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Roberto Alsina (community) | Approve | ||
dobey (community) | Approve | ||
PS Jenkins bot | continuous-integration | Approve | |
Review via email: mp+199352@code.launchpad.net |
Commit message
- Handle invalidated tokens by removing UOA account. (LP: #1248326)
Description of the change
- Handle invalidated tokens by removing UOA account. (LP: #1248326)
Responds to an invalid-token error received while attempting to download an app by deleting the UOA account.
This is currently the best way to remove the token, as the U1 custom UI is required to correctly re-auth and it is not included in a signon plugin, which would be the officially supported way to use the UOA architecture.
Includes improved test coverage for ClickScope.
Removed outdated TODO comment about caching webservice - caching is
already done in click-webservic
NOTE: the change in this branch to using a single ClickWebservice
member of the ClickScope object does not affect or effect caching.
Removed test_fetch_
tested the fake class.
PASSED: Continuous integration, rev:86 jenkins. qa.ubuntu. com/job/ unity-scope- click-ci/ 130/ jenkins. qa.ubuntu. com/job/ unity-scope- click-trusty- amd64-ci/ 28 jenkins. qa.ubuntu. com/job/ unity-scope- click-trusty- armhf-ci/ 28
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/unity- scope-click- ci/130/ rebuild
http://