From 5032d40683f3c4ffc0e27400505c9f30ac3c82d7 Mon Sep 17 00:00:00 2001 From: helge Date: Wed, 13 Jul 2005 11:08:36 +0000 Subject: [PATCH] added WebDAV access git-svn-id: http://svn.opengroupware.org/SOGo/trunk@734 d1b88da0-ebda-0310-925b-ed51d893ca5b --- SOGo/SoObjects/Contacts/ChangeLog | 6 ++++++ SOGo/SoObjects/Contacts/SOGoContactObject.m | 18 ------------------ SOGo/SoObjects/Contacts/Version | 2 +- 3 files changed, 7 insertions(+), 19 deletions(-) diff --git a/SOGo/SoObjects/Contacts/ChangeLog b/SOGo/SoObjects/Contacts/ChangeLog index 4176cbc0..8e33884a 100644 --- a/SOGo/SoObjects/Contacts/ChangeLog +++ b/SOGo/SoObjects/Contacts/ChangeLog @@ -1,3 +1,9 @@ +2005-07-13 Helge Hess + + * SOGoContactObject.m: removed special GET action, the redirect to + 'view' seems to be handled by SOPE now. This also makes WebDAV GET + work (v0.9.10) + 2005-03-20 Helge Hess * SOGoContactFolder.m: changed to use GDLContentStore (v0.9.9) diff --git a/SOGo/SoObjects/Contacts/SOGoContactObject.m b/SOGo/SoObjects/Contacts/SOGoContactObject.m index 1a7c0813..68d015d0 100644 --- a/SOGo/SoObjects/Contacts/SOGoContactObject.m +++ b/SOGo/SoObjects/Contacts/SOGoContactObject.m @@ -59,24 +59,6 @@ return [self nameInContainer]; } -/* GET */ - -- (id)GETAction:(WOContext *)_ctx { - // TODO: I guess this should really be done by SOPE (redirect to - // default method) - WOResponse *r; - NSString *uri; - - uri = [[_ctx request] uri]; - if (![uri hasSuffix:@"/"]) uri = [uri stringByAppendingString:@"/"]; - uri = [uri stringByAppendingString:@"view"]; - - r = [_ctx response]; - [r setStatus:302 /* moved */]; - [r setHeader:uri forKey:@"location"]; - return r; -} - /* specialized actions */ - (NSException *)saveRecord:(id)_record { diff --git a/SOGo/SoObjects/Contacts/Version b/SOGo/SoObjects/Contacts/Version index 34a952b8..d383fb7e 100644 --- a/SOGo/SoObjects/Contacts/Version +++ b/SOGo/SoObjects/Contacts/Version @@ -1,6 +1,6 @@ # version file -SUBMINOR_VERSION:=9 +SUBMINOR_VERSION:=10 # v0.9.9 requires libGDLContentStore v4.5.26 # v0.9.5 requires libNGExtensions v4.5.136 -- 2.39.5