Roundcube Community Forum

Third Party Contributions => API Based Plugins => Topic started by: cosmomill on February 06, 2012, 08:32:20 AM

Title: cloudview - online attachment viewing for Office docs
Post by: cosmomill on February 06, 2012, 08:32:20 AM
I am happy to announce that the first beta version of cloudview is available for download.

This Roundcube Plugin will let you have the option to view and edit documents, spreadsheets, presentations and images in the browser itself. This one click solution gives you a huge advantage over the traditional way of doing it: downloading the document from Roundcube, saving it, launching a office application to open it.

You can see it in action at:
cloudview a new Roundcube plugin | cosmomill on Blip (http://blip.tv/cosmomill/rc-cloudview-plugin-5935069)

cloudview v0.1a Download: http://goo.gl/ywYZV (http://goo.gl/ywYZV)
Installing cloudview: http://goo.gl/0OBoR (http://goo.gl/0OBoR)

I hope you like the plugin and as usually all comments and suggestions
are very welcomed.

Bye
Rene
Title: cloudview - online attachment viewing for Office docs
Post by: tparvais on February 08, 2012, 03:45:32 PM
Hello

I tried this plugin. I create an account on Zoho. Copy the zoho-api key (not the secret key) in config.inc.php and add cloudview as plugin

when I open a mail with pdf or xlsx file, I see a line with the attach at the bottom of the mail, but no logo and not clickable.

There is no debug in log file

any idea ?

Thomas
Title: cloudview - online attachment viewing for Office docs
Post by: Volnhar on February 09, 2012, 12:17:32 AM
Yes, I've done the same and I noticed some other settings under "Server Settings" that I have updated.

Publicly accessible URL to store documents    
Publicly accessible URL to store images    
Document store access key    
Enable edit mode

I've added my key again to "Document store access key" and checked the "Enable edit mode" check box, but still can't seem to get the documents to be editable.

Is there something else we need to do, I don't know what other values to enter. I am running the latest 0.7.1, plus a host of other plugins as well. I do have my mail site set up under SSL, not sure if that matters or not.

Thanks.
Title: cloudview - online attachment viewing for Office docs
Post by: cosmomill on February 29, 2012, 06:48:01 PM
Hello

Sorry for the terribly late reply.
In the meantime I have improved the mime-type handling so the missing icon at the bottom should no longer be a problem.
Furthermore I added some documentation to the new options in Server Settings.

Please download the latest cloudview version:
https://bitbucket.org/cosmomill/cloudview/get/1f515fc7c17c.tar.bz2
Just simply copy over the new files to the cloudview directory.

All the new settings explained

In "Server Settings" -> "Main Options" you will find a slew of new options.
All these settings are optional and can be left blank.

-Publicly accessible URL to store documents:
If you have enabled the edit mode, here you can specify the URL of the server
to which the documnet shall be saved to. For more information please read the
Zoho API Guide.
https://apihelp.wiki.zoho.com/Save-Document.html#SaveURL
If you just need a ready to use solution please try my KnowlegeTree plugin.
http://forge.knowledgetree.com/gf/project/vao/

-Publicly accessible URL to store images:
If you have enabled the edit mode, here you can specify the URL of the server
to which the image shall be saved to. For more information please read the
Pixlr API Documentation.
The Pixlr API (http://pixlr.com/developer/api)

-Document store access key:
The secret key to access your document/image server.

-Enable edit mode:
If enabled documents will be opened with Zoho Writer, Sheet or Show instead of
Zoho Viewer.

Bye
Rene
Title: Re: cloudview - online attachment viewing for Office docs
Post by: AlexK on March 26, 2012, 04:45:37 AM
The plugin seems to work fine on my test-setup.

Note - I think it requires CURL (perhaps that was mentioned somewhere, but if so - I missed it :P)
Title: Re: cloudview - online attachment viewing for Office docs
Post by: cosmomill on December 15, 2012, 08:55:32 PM
Hello

I made a small update on cloudview to get it work with Roundcube 0.8

Please download the latest cloudview version:
http://goo.gl/ywYZV (http://goo.gl/ywYZV)
Just simply copy over the new files to the cloudview directory.

Bye
Rene
Title: Re: cloudview - online attachment viewing for Office docs
Post by: oldschool on December 16, 2012, 09:10:04 AM
Hi!

Interesting thing.

My first look at zoho sheet examples crashes the flash plugin.
And what is if zoho sheet quits?


Rgds.
Title: Re: cloudview - online attachment viewing for Office docs
Post by: luisbp on January 28, 2013, 12:43:45 PM
Hello,

I just installed this plugin, but when I click on any type of attachment it shows: "An error occurred! []"

Don't know what could be the issue.

Thank you in advance for any help,

Luis,
Title: Re: cloudview - online attachment viewing for Office docs
Post by: cosmomill on May 12, 2013, 07:40:58 PM
Hello

I had some time to spend today and worked through some of the outstanding issues.

Please download the latest cloudview version:
http://goo.gl/ywYZV
Just copy over the new files to your cloudview plugin directory.

Bye
Rene
Title: Re: cloudview - online attachment viewing for Office docs
Post by: cosmomill on May 27, 2013, 08:02:56 PM
changeset: 7:864c784e82b7 (https://bitbucket.org/cosmomill/cloudview/commits/864c784e82b7cc354f1ea80d382af787c4b7cd24)
tag: tip (download) (https://bitbucket.org/cosmomill/cloudview/get/864c784e82b7.zip)
user: cosmomill
date: Tue May 28 01:50:55 2013 +0200
files: cloudview.php js/showPdf.js
description: Fix to display multiple PDF attachments.
Title: Re: cloudview - online attachment viewing for Office docs
Post by: madzoni on February 28, 2014, 09:21:44 PM
Hello cosmomill,

This seems to be a great plugin however it doesnt work for me.

I am running roundcube 0.9.5 and I get an internal server error when trying to open a document:

PHP Parse error:  syntax error, unexpected '{' in /roundcubemail/plugins/cloudview/lib/openDocument.php on line 27

I have PHP 5.4.

Do you still support this plugin?

Thank you!
Title: Re: cloudview - online attachment viewing for Office docs
Post by: p2p2009 on April 03, 2014, 04:36:11 AM
Hello,
  I have the same problem. Do you still support this plugin?

Quote from: madzoni on February 28, 2014, 09:21:44 PM
Hello cosmomill,

This seems to be a great plugin however it doesnt work for me.

I am running roundcube 0.9.5 and I get an internal server error when trying to open a document:

PHP Parse error:  syntax error, unexpected '{' in /roundcubemail/plugins/cloudview/lib/openDocument.php on line 27

I have PHP 5.4.

Do you still support this plugin?

Thank you!
Title: Re: cloudview - online attachment viewing for Office docs
Post by: sandwormusmc1 on May 19, 2014, 08:17:56 PM
I fixed the error on line 45 of plugins/cloudview/lib/openDocument.php, but image editing and viewing a .doc file don't appear to work anyway.  I think Zoho has changed their service so much that this plugin would have to be completely rewritten.

line 45:
-                        mimeHelper::isMimeTypePresentation($sMimeType) {
+                       mimeHelper::isMimeTypePresentation($sMimeType) ){

Notice the extra ")" before the curly brace.

Maybe someone else can get it going with that bit of info...
Title: Re: cloudview - online attachment viewing for Office docs
Post by: mckaygerhard on May 26, 2014, 12:04:18 PM
there's sopme plans to not use soho api9, due in massive networks with interna security mayority of url's are blockeds and this plugin not have any sense if the network let pass all soho api to intenals