thegooddata / social

GNU General Public License v2.0
0 stars 0 forks source link

Integration with Google Drive or Dropbox #2

Closed marcosmenendez closed 9 years ago

marcosmenendez commented 10 years ago

Is there a feature to integrate Google Drive or Dropbox files with Open Atrium, so when attaching files into a document, you can refer to the original one in the cloud storage system?

Have a look for instance at https://drupal.org/project/Droogle Not sure if depreciated

josereyero commented 10 years ago

Giving a try to OG Drive, it seems it works and integrates pretty well with OA, https://www.drupal.org/project/og_drive

It needs a Google drive (gmail) account for each Group (Space). Each user needs also to set up its own google account on the group settings -so group's google docs are shared with the user account, otherwise they will only be able to see the document title, not the content.)

@marcos, I would need at least two dedicated google accounts (is @thegooddata.org possible) to set it up on PRE, you can post me the credentials

marcosmenendez commented 10 years ago

Sent by email

josereyero commented 10 years ago

Some progress and issues with this one:

  1. Created all the apps/keys/etc for PRE and PROD, added to google docs: TGD - PRIVATE - Google Drive - API Keys
  2. Done a quick deployment to PRE, and enabled the "og drive" module
  3. Got some errors when trying to configure google drive, these ones seem to be related to nginx/Drupal configuration.

[Stuck at this point, may need some help with nginx set up, postponing for now, maybe for next release?]

Anyway, for the record, this is the error I got:

References:

So postponing for now, if the person who did the nginx + Drupal set up can help great, otherwise I'll give it a try, though I'll need to get started with nginx configuration first.....

josereyero commented 10 years ago

Postponing for next release (re-tagging).

josereyero commented 10 years ago

After looking into this one again, it will be easier just fixing the module and posting the patch to their queue. So back to active, I'll be taking care of this.

josereyero commented 10 years ago

Fixed the module (Patch committed and posted here https://www.drupal.org/node/2306555#comment-9066165)

Enabled drive in PRE for Data and Corporate groups, uploaded some example docs, it seems to work See example:

Usage Notes:

Deployment notes:

TO DO:

josereyero commented 10 years ago

Done prod deployment.

TODO: Integrate OA Docs & Google Drive docs:

josereyero commented 10 years ago

Done with the new OA Doc for each Google Drive Doc. However, I've had to keep the "Google Drive" tab because uploading files is not such a straight workflow, user's google drive account needs to be checked / edited first.

So when uploading new Google Drive files through the "Google Drive" tab, a new document is created. Added title and description fields in the tab for that purpose. Then if the document is deleted, the google doc is deleted too.

This should be working in PRE.

Devel / Deployment notes:

This can be deployed if working, though still to do:

josereyero commented 10 years ago

This first part has been deployed to PRODUCTION.

josereyero commented 10 years ago

TODO (From Skype meeting):

josereyero commented 10 years ago

Done a half rework of this feature:

This has been deployed to PRE, for testing.

josereyero commented 9 years ago

Deployed to PROD