6 Commits

Author SHA1 Message Date
Roy Wetherall
f9b7237eab ALF-2703: Incorrect folder sctructure is created in Google Docs
If the transaction within which folders or documents are created within Google Docs fails then the created items will be rolledback as if part of the Alfresco transaction.  This prevents the behaviour reported in this issue.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20216 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-05-13 09:32:35 +00:00
Roy Wetherall
f827a88a31 Google Doc Integration
- improved logging



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20062 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-30 14:08:44 +00:00
Roy Wetherall
3a8e5b4cfe GoogleDoc integration
- sharing email for a person is now first taken from the googleusername property on the person object, if thisn't set it falls back to the user's email
  - if google rejects the email (with a server error) when setting the permissions on a document, this no longer rolls back the transaction, but logs the error instead
  - unit tests 
  


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20061 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-30 13:35:52 +00:00
Roy Wetherall
4678f1420f Fix up google doc tests
- Added service initialisation method to service so the "health" of the service can be determined
- Unit tests do not fail if the google doc service has not been configured correctly



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20046 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-30 09:04:09 +00:00
Roy Wetherall
6563c1c008 Removal of google doc now works
- Calling delete on google doc service API now successfully perminantly deletes the corresponding google document
 - Unit test used to show document deleted
 


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20045 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-30 08:14:13 +00:00
Mike Hatfield
cda2cccfd3 Merged DEV/GDOCS to HEAD
Google Doc Integration
- The following configuration must be added to your alfresco-global.properties in order to enable the googleeditable repository behaviour:
  googledocs.username=myuser@bob.com
  googledocs.password=pwd123pwd
  googledocs.googleeditable.enabled=true
Google Docs Share Integration
- Enabled via share-config (see share-config-custom.xml.sample for details)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20018 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-27 17:08:09 +00:00