+2004-10-10 Helge Hess <helge.hess@opengroupware.org>
+
+ * SOGoDraftsFolder.m: added methods to be compatible with the mail
+ folder (v0.9.31)
+
2004-10-08 Helge Hess <helge.hess@opengroupware.org>
* v0.9.30
Parent object: SOGoMailAccount
Child objects: SOGoMailFolder
- The SOGoDraftsFolder is used for composing new messages.
+ The SOGoDraftsFolder is used for composing new messages. It is necessary
+ because we can't cache objects in a session. So the contents of the drafts
+ folder are some kind of "mail creation transaction".
*/
@interface SOGoDraftsFolder : SOGoMailBaseObject
@implementation SOGoDraftsFolder
+/* folder methods (used by template) */
+
+- (NSArray *)fetchUIDsMatchingQualifier:(id)_q sortOrdering:(id)_so {
+ // TODO: retrieve contained objects
+ [self logWithFormat:@"TODO: should fetch uids (q=%@,so=%@)", _q, _so];
+ return [NSArray array];
+}
+- (NSArray *)fetchUIDs:(NSArray *)_uids parts:(NSArray *)_parts {
+ [self logWithFormat:@"TODO: fetch uids (parts=%@): %@", _parts, _uids];
+ return [NSArray array];
+}
+
/* WebDAV */
- (BOOL)davIsCollection {
# $Id$
-SUBMINOR_VERSION:=30
+SUBMINOR_VERSION:=31
+2004-10-10 Helge Hess <helge.hess@opengroupware.org>
+
+ * product.plist: added some configuration for the drafts folder
+ (v0.9.27)
+
2004-10-06 Helge Hess <helge.hess@opengroupware.org>
* UIxMailListView.m: added support for paper clip icon when messages
# $Id$
-SUBMINOR_VERSION:=26
+SUBMINOR_VERSION:=27
};
};
};
+
+ SOGoDraftsFolder = {
+ slots = {
+ toolbar = {
+ protectedBy = "View";
+ value = ( /* the toolbar groups */
+ ( /* first group */
+ { link = "getMail";
+ cssClass = "tbicon_getmail"; label = "Get Mail"; },
+ { link = "addressbook"; target = "addressbook";
+ cssClass = "tbicon_addressbook"; label = "Addressbook"; }
+ )
+ );
+ };
+ };
+ methods = {
+ view = {
+ protectedBy = "View";
+ pageName = "UIxMailListView";
+ };
+ };
+ };
};
}