Monotone-Parent: 412d6bf932c8152d0f23bb7bc6e4f75f4fd3750c

Monotone-Revision: 06c16e479439d6ee1078d469cac954070da2357b

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-06-05T04:44:02
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2010-06-05 04:44:02 +00:00
parent f7ac2f2713
commit 77bcf92491
3 changed files with 36 additions and 0 deletions
+5
View File
@@ -1,3 +1,8 @@
2010-06-05 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/SOGo/SOGoGCSFolder.m (-realDavURL): new method that
returns the the owner version of the URL to the current folder.
2010-06-04 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/Scheduler/UIxCalParticipationStatusView.m: removed obsolete module.
+2
View File
@@ -113,6 +113,8 @@
- (void) sendFolderAdvisoryTemplate: (NSString *) template;
/* DAV */
- (NSURL *) realDavURL;
- (NSDictionary *) davSQLFieldsTable;
- (NSDictionary *) parseDAVRequestedProperties: (DOMElement *) propElement;
+29
View File
@@ -419,6 +419,35 @@ static NSArray *childRecordFields = nil;
return error;
}
- (NSURL *) realDavURL
{
NSURL *realDavURL, *currentDavURL;
NSString *appName, *publicParticle, *path;
if (isSubscription)
{
appName = [[context request] applicationName];
if ([self isInPublicZone])
publicParticle = @"/public";
else
publicParticle = @"";
path = [NSString stringWithFormat: @"/%@/dav%@/%@/%@/%@/",
appName, publicParticle,
[self ownerInContext: nil],
[container nameInContainer],
[self realNameInContainer]];
currentDavURL = [self davURL];
realDavURL = [[NSURL alloc] initWithScheme: [currentDavURL scheme]
host: [currentDavURL host]
path: path];
[realDavURL autorelease];
}
else
realDavURL = [self davURL];
return realDavURL;
}
- (GCSFolder *) ocsFolder
{
GCSFolder *folder;