Zimbra and seafile attachments


#1

Hi,

I noticed that you made a Git project on a Seafile zimlet for Zimbra


Is this code experimental or is it to be used on a production server ?
What are the requirements (Zimbra and Seafile versions) ?
What are the features ? Is is limited to file attachements when editing messages ?
Are the files only attached to the message or can we also send sharing links (for files and folders) ?

Regards,

Gautier


#2

this code is production ready, but the document is not completed right now, you can try if you are familiar with zimbra zimlet development :slight_smile:

Features including:

  1. attach files/folders from seafile(sharing links) to messages when composing;
  2. save attachment to seafile library.

#3

Hi,

This devloppement has been initiated/sponsorised by University of Auvergne France.
It is installed on our production Zimbra 8.6. (40.000 users)

we need to fix a small problem on the “save attachment” before open it for all ours users.

regards

Pierre


#4

Hi,

Thanks to all, i’ll keep in mind that the code has to be fixed before production use.
But this is as feature that we’ll probably need.

Regards,
Gautier


#5

What problem do you have now? Is it related to the code or is it related to the configuration?


#6

we have to investigate the problem

on some cases (really frequent) the attachment appear as a “blob” file on the seafile share.

i think it occurs only at the first use of the zimlet in the Zimbra session.
the blog contain an zimbra error 404 html page.


#7

We will look into the problem in October. Once it is reproduced, we will fix it.


#8

We are testing a small patch against the “blob” problem.
It seems that when the frame for shibboleth authentication is displayed,
the showAttachementSaveDlg function is called a second time but with empty arguments.
We’ll give our small (and dirty) code if it is confirmed.


#9

Any news about the fix? We can test it in the next month.


#10

Hi, it is dirty and surely must be written another way but it solves:

/********** hack CAS***********/
var globalUrl = ‘’;
var globalName = ‘’;
/*************************************/
/

  • This method list seafile libraries and show saves Attachment dialog.

*/
SeafileZimlet.prototype.showAttachementSaveDlg =
function(name,url){

/********** hack CAS***********/
if(url != null)
    globalUrl = url;

if(url == null && globalUrl != '')
{
    url = globalUrl;
    globalUrl = '';
}

if(name != null)
    globalName = name;

if(name == null)
{
    name = globalName;
    globalName = '';
}
/*****************************************/

#11

Thanks. We will check it and update the repo on Github in November.


#12

Hi @daniel.pan,

I had a look at the Zimlet on Github : did you work on it ?


We’ll migrate on mail server on a multi-domain instance and would like the zimlet to be domain - independant.
Regards,
Gautier


#13

Hi

zimbra supports NextCloud and OwnCloud the project on git: https://github.com/haiwen/seafile-zimlet for Seafile did not change since 2016. Has someone a working konfiguration or integration ?

cheers Manuel