core icon indicating copy to clipboard operation
core copied to clipboard

[FR] Support for Thunderbird's Filelink feature

Open oparoz opened this issue 13 years ago • 35 comments

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

oparoz avatar Dec 03 '12 20:12 oparoz

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, ...)

eMerzh avatar Dec 03 '12 20:12 eMerzh

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!

lasselasse avatar Dec 03 '12 21:12 lasselasse

Exactly :)

the provisioning API from @tomneedham may be a good start for a broader http api ...

eMerzh avatar Dec 03 '12 21:12 eMerzh

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 :)

tomneedham avatar Dec 03 '12 21:12 tomneedham

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.

oparoz avatar Dec 03 '12 22:12 oparoz

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?

tomneedham avatar Dec 03 '12 22:12 tomneedham

December 22nd

MTGap avatar Dec 03 '12 22:12 MTGap

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

oparoz avatar Dec 03 '12 23:12 oparoz

@MTGap OK I'll try and finish the external API work and get it into master before then.

tomneedham avatar Dec 05 '12 13:12 tomneedham

https://bugzilla.mozilla.org/show_bug.cgi?id=770256

AntoineTurmel avatar Dec 17 '12 10:12 AntoineTurmel

cc @mr-gosh

butonic avatar Apr 16 '13 08:04 butonic

this is a highly demanded feature of our customers!

mr-gosh avatar Apr 16 '13 08:04 mr-gosh

I'd like to see that feature too!

afics avatar Apr 28 '13 12:04 afics

+1 for this

johndevs avatar May 25 '13 08:05 johndevs

+1 from me too

iromeister avatar Aug 06 '13 08:08 iromeister

+1

ghost avatar Aug 19 '13 07:08 ghost

+1 from me as well!

tripflex avatar Aug 20 '13 15:08 tripflex

Gentlemen all these +1 will not help this to be ever implemented. Either step up and implement this or be quite.

Thanks a lot!

DeepDiver1975 avatar Aug 20 '13 16:08 DeepDiver1975

What an unhelpful and cynical comment, DeepDiver1975. Why don't you be quiet.

RonGee avatar Sep 05 '13 03:09 RonGee

+1 :-)

tafkey avatar Sep 12 '13 18:09 tafkey