From 3d6cec69cd4cb74def8735bcfa3d296612dcbeff Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Tue, 12 Oct 2010 21:37:56 +0000 Subject: [PATCH] Monotone-Parent: 3a5f24d1dfce8a3edf53ed7593c2f7de3e47b150 Monotone-Revision: 9dc469536500c323784e5781a427b38e495324c3 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-10-12T21:37:56 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 3 +++ OpenChange/MAPIStoreCalendarContext.m | 9 +++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 02d616b3f..d76aebb54 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2010-10-12 Wolfgang Sourdeau + * OpenChange/MAPIStoreCalendarContext.m: added support for case + PR_CREATION_TIME. + * Scripts/cas-proxy-validate.py: new script that resolve reentrancy issues occurring when using SOGo in CAS mode, when SOGo requests a PGT from the CAS server. diff --git a/OpenChange/MAPIStoreCalendarContext.m b/OpenChange/MAPIStoreCalendarContext.m index 06da5db48..506f1ada5 100644 --- a/OpenChange/MAPIStoreCalendarContext.m +++ b/OpenChange/MAPIStoreCalendarContext.m @@ -116,9 +116,13 @@ static Class SOGoUserFolderK; *data = MAPIBoolValue (memCtx, NO); break; case PR_SENSITIVITY: // not implemented, depends on CLASS - // normal = 0, private = 2 + // normal = 0, personal?? = 1, private = 2, confidential = 3 *data = MAPILongValue (memCtx, 0); break; + case PR_CREATION_TIME: + event = [[self lookupObject: childURL] component: NO secure: NO]; + *data = [[event created] asFileTimeInMemCtx: memCtx]; + break; // case PR_VD_NAME_UNICODE: // *data = talloc_strdup(memCtx, "PR_VD_NAME_UNICODE"); @@ -135,11 +139,8 @@ static Class SOGoUserFolderK; } // #define PR_REPLY_TIME PROP_TAG(PT_SYSTIME , 0x0030) /* 0x00300040 */ - // #define PR_MESSAGE_FLAGS PROP_TAG(PT_LONG , 0x0e07) /* 0x0e070003 */ - // #define PR_MSG_STATUS PROP_TAG(PT_LONG , 0x0e17) /* 0x0e170003 */ // #define PR_INTERNET_MESSAGE_ID_UNICODE PROP_TAG(PT_UNICODE , 0x1035) /* 0x1035001f */ // #define PR_FLAG_STATUS PROP_TAG(PT_LONG , 0x1090) /* 0x10900003 */ - // #define PR_CREATION_TIME PROP_TAG(PT_SYSTIME , 0x3007) /* 0x30070040 */ // #define PR_SEARCH_KEY PROP_TAG(PT_BINARY , 0x300b) /* 0x300b0102 */