Line 9: |
Line 9: |
| # support for uploading Journal entries to a local server (tch). | | # support for uploading Journal entries to a local server (tch). |
| # [https://github.com/ignaciouy/upload-webservice support for uploading files to PutLocker] (ignacio) | | # [https://github.com/ignaciouy/upload-webservice support for uploading files to PutLocker] (ignacio) |
| + | # [https://github.com/ignaciouy/sugar-gdrive support for uploading files to Google Drive] (ignacio) |
| + | # [https://github.com/walterbender/sugarservices support for accessing the Sugar shell from Sugar activities] (walter and tch) |
| | | |
− | [[File:Webservices.png|200px|A new controlpanel widget for managing services]] | + | [[File:Webservices.png|300px]] |
| | | |
− | [[File:Configpastebin.bmp|200px|An extra icon appears in "My Settings"; Example, configuring Pastebin]]
| + | A new controlpanel widget for managing services |
| | | |
− | [[File:Copypastebin.png|200px|The Journal menu now allows you to copy an entry to your web service e.g. Pastebin]] | + | [[File:Configpastebin.bmp|300px]] |
| + | |
| + | An extra icon appears in "My Settings"; Example, configuring Pastebin |
| + | |
| + | [[File:Copypastebin.png|300px]] |
| + | |
| + | The Journal menu now allows you to copy an entry to your web service e.g. Pastebin |
| | | |
| We are working with community members on other extensions based on the framework and encourage other community members to work with us on additional services. | | We are working with community members on other extensions based on the framework and encourage other community members to work with us on additional services. |
Line 23: |
Line 31: |
| | | |
| We don't yet have a simple installer for web services, so for the time being: | | We don't yet have a simple installer for web services, so for the time being: |
| + | |
| + | === Using a Sugar activity === |
| + | |
| + | See http://activities.sugarlabs.org/en-US/sugar/addon/4723 |
| | | |
| === Using git === | | === Using git === |
Line 104: |
Line 116: |
| └── service.py | | └── service.py |
| | | |
| + | </pre> |
| + | |
| + | == Sugar Google Drive == |
| + | * tar file: [http://people.sugarlabs.org/ignacio/sugarupload.tar.gz] |
| + | * git repo: [https://github.com/ignaciouy/sugar-gdrive] |
| + | |
| + | <pre> |
| + | ~/.sugar/default/extensions/webservice/ |
| + | ├── apiclient |
| + | │ ├── channel.py |
| + | │ ├── discovery.py |
| + | │ ├── errors.py |
| + | │ ├── http.py |
| + | │ ├── __init__.py |
| + | │ ├── mimeparse.py |
| + | │ ├── model.py |
| + | │ ├── sample_tools.py |
| + | │ └── schema.py |
| + | ├── httplib2 |
| + | │ ├── cacerts.txt |
| + | │ ├── __init__.py |
| + | │ ├── iri2uri.py |
| + | │ └── socks.py |
| + | ├── __init__.py |
| + | ├── oauth2client |
| + | │ ├── anyjson.py |
| + | │ ├── appengine.py |
| + | │ ├── client.py |
| + | │ ├── clientsecrets.py |
| + | │ ├── crypt.py |
| + | │ ├── django_orm.py |
| + | │ ├── file.py |
| + | │ ├── gce.py |
| + | │ ├── __init__.py |
| + | │ ├── keyring_storage.py |
| + | │ ├── locked_file.py |
| + | │ ├── multistore_file.py |
| + | │ ├── old_run.py |
| + | │ ├── tools.py |
| + | │ ├── util.py |
| + | │ └── xsrfutil.py |
| + | ├── sugargdrive |
| + | │ ├── account.py |
| + | │ ├── icons |
| + | │ │ └── sugargdrive.svg |
| + | │ ├── __init__.py |
| + | │ └── sugargdrive |
| + | │ ├── __init__.py |
| + | │ └── sugargdrive.py |
| + | └── uritemplate |
| + | └── __init__.py |
| + | |
| + | ~/.sugar/default/extensions/cpsection/ |
| + | ├── __init__.py |
| + | └── webaccount |
| + | ├── __init__.py |
| + | └── services |
| + | ├── __init__.py |
| + | └── sugargdrive |
| + | ├── __init__.py |
| + | └── service.py |
| </pre> | | </pre> |
| | | |
Line 111: |
Line 184: |
| ==See also== | | ==See also== |
| See also [[features/Web_services]] | | See also [[features/Web_services]] |
| + | |
| + | There is a Sugar activity for installing web services: [http://activities.sugarlabs.org/en-US/sugar/addon/4723] by ignacio. |