sugarlabs/sugar — pull request #35 by walterbender (2013-06-20 11:02:20+00:00)
Title: Add webaccount/webservice extension support

This is another patch in a series of patches for interacting with
online accounts from Sugar. The relevant feature request is [1].

This patch introduces two new sections in sugar extensions:

(1) webservice is stub for installing webservices; each web service is
installed in a subdirectory of this directory.

(2) cpsection/webaccount is a new control panel section for managing
web service accounts. Account management services are loaded into
individual subdirectories of cpsection/webaccount/services.

A new helper method was also added to
jarabe/webservice/accountsmanager and the unit test as updated accordingly.

Note that this same directory structure can be set up in
env.get_profile_path()/extensions for web services installed by the
end user.

[1] http://wiki.sugarlabs.org/go/Features/Web_services

A first pass at a unit test for the new webaccount cpsection is also
included. For naming consistency, this test was called test_webaccount
while the exsiting test_webaccount was renamed to the more appropriate
test_webservice.