Confirmed users, Bureaucrats and Sysops emeriti
1,006
edits
| Line 31: | Line 31: | ||
'''The main objective of this feature/product is: | '''The main objective of this feature/product is: | ||
Allowing users to upload large file attachments to some storage service, be it a third party like Dropbox or YouSendIt, or a private storage service (a WebDAV server behind a corporate firewall, for example). | |||
Links to the uploaded files are then inserted into the body of the email, making it easy for the recipient to download them. | |||
'''Design Documents''': | '''Design Documents''': | ||
| Line 47: | Line 44: | ||
== Components == | == Components == | ||
Each | Each supported storage service has a corresponding XPCOM component implementing the nsIMsgCloudFileProvider interface. These components are responsible for handling authorization, file upload, file deletion, and user profile retrieval from the service (where the user profile tells us things like how much space is left for the user to fill with their files). | ||
A cloudFileAccounts component manages the creation and deletion of accounts, and instantiates instances of the appropriate nsIMsgCloudFileProviders when necessary. | |||
The mail compose window calls out to the cloudFileAccounts component to determine what storage services are supported, and when requested by the user, uses cloudFileAccounts to create the appropriate nsIMsgCloudFileProvider instance, and then uploads the selected file(s) through it. | |||
There is a pane in the Thunderbird preferences dialog that allows a user to add or delete storage accounts. We currently only allow one account per account type, but this limitation might be overcome in future versions. | |||
=== YouSendIt Provider === | === YouSendIt Provider === | ||