[FR] Support for Thunderbird's Filelink feature
Filelink is a Thunderbird feature that makes it easy for users to upload large attachments to web-based storage services. Thunderbird supports Box, Dropbox and Yousendit out of the box.
There is already an extension which supports uploading files to a WebDAV server https://addons.mozilla.org/en-US/thunderbird/addon/webdav-for-filelink/
but there is no way to automatically share the file publicly or to a certain audience.
Is it possible to change file permissions remotely and get a reference to the URL?
Here is the Mozilla documentation https://developer.mozilla.org/en-US/docs/Thunderbird/Filelink_Providers
I think this is a really important topic! @MTGap ?
I was also trying to do a small bash/curl script to upload to OC, but the part to configure the sharing was ugly... (html parsing to get the file id, ...) i don't know if it's planed or already on track but i think this is an important topic (and for other clients as well qt, ios, android, ...)
Uploading works perfectly with that WebDAV addon, including the display of the space quota in the Thunderbird Filelink preferences.
All we need is a publicly accessible Share API with a single function: create and return a public share link to a given file.
Once this functionality is available, it will be simple to fork the existing WebDAV addon, add ownCloud branding and the correct share link, and voilà: Thunderbird Filelink support for ownCloud!
Exactly :)
the provisioning API from @tomneedham may be a good start for a broader http api ...
The provisioning API is used by ownCloud providers to manage users mainly. However the external API (that follows the OCS spec) can be used by applications for scenarios like this.
At the Berlin dev meeting I coded a method to allow creation of public shares remotely. The work is being done in the ocs_api branch which will hopefully be merged into master before Christmas. See the method definition here: https://github.com/owncloud/core/blob/ocs_api/apps/files_sharing/appinfo/routes.php#L22
You can swap to the ocs_api branch and try it out. Documentation for the external API is in progress :)
That's great news @tomneedham :). I hope it will also be possible to select the type of share, although I suspect Thunderbird might be the limiting factor here.
It would also be great if the same provider could be used several times. A use case might be that a user has configured both a personal and a professional account in TB and would like to send files to 2 different instances of owncloud.
I am unsure of how the Thunderbird application works. However, yes, the file_sharing app will let you create any type of share, I just started with public shares at the dev meeting. @MTGap when do you think you will have some time to work on the others with me?
December 22nd
If you want to vote for features on the TB side.
Bug 748437 - Let users have more than one instance of each Filelink account type
Bug 817851 - Make it possible to define how to share files uploaded via Filelink
@MTGap OK I'll try and finish the external API work and get it into master before then.
https://bugzilla.mozilla.org/show_bug.cgi?id=770256
cc @mr-gosh
this is a highly demanded feature of our customers!
I'd like to see that feature too!
+1 for this
+1 from me too
+1
+1 from me as well!
Gentlemen all these +1 will not help this to be ever implemented. Either step up and implement this or be quite.
Thanks a lot!
What an unhelpful and cynical comment, DeepDiver1975. Why don't you be quiet.
+1 :-)