]> err.no Git - scalable-opengroupware.org/commitdiff
account can create subfolders (root mailboxes)
authorhelge <helge@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Thu, 24 Mar 2005 23:02:58 +0000 (23:02 +0000)
committerhelge <helge@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Thu, 24 Mar 2005 23:02:58 +0000 (23:02 +0000)
git-svn-id: http://svn.opengroupware.org/SOGo/trunk@636 d1b88da0-ebda-0310-925b-ed51d893ca5b

SOGo/SoObjects/Mailer/ChangeLog
SOGo/SoObjects/Mailer/SOGoMailAccount.m
SOGo/SoObjects/Mailer/Version
SOGo/SoObjects/Mailer/product.plist

index 2b6d4bf0692d8a6990d0d0ab4736951068915a0b..90454a5887ea9ca83e4f8cfef2598927f0bd24c4 100644 (file)
@@ -1,3 +1,8 @@
+2005-03-25  Helge Hess  <helge.hess@opengroupware.org>
+
+       * SOGoMailAccount.m: added ability to create mailboxes at the root
+         (account) level (v0.9.78)
+
 2005-03-03  Helge Hess  <helge.hess@opengroupware.org>
 
        * SOGoMailManager.m: improved compatibility with Cocoa Foundation
index 49924b4ac318c7f8a407dc8d7f8947e657efe40f..ec0707ab934da785fea2cd2f4427066b39e325f3 100644 (file)
@@ -302,6 +302,11 @@ static BOOL     useAltNamespace   = NO;
   return YES;
 }
 
+- (NSException *)davCreateCollection:(NSString *)_name inContext:(id)_ctx {
+  return [[self mailManager] createMailbox:_name atURL:[self imap4URL]
+                            password:[self imap4Password]];
+}
+
 - (NSString *)shortTitle {
   NSString *s, *login, *host;
   NSRange r;
index 79481ab8b39233d16f56a1c9f0da429ff4453dbf..9bb14ee15c612efc08f73d76bbf8e72d7a066070 100644 (file)
@@ -1,6 +1,6 @@
 # Version file
 
-SUBMINOR_VERSION:=77
+SUBMINOR_VERSION:=78
 
 # v0.9.69 requires libNGMime       v4.5.210
 # v0.9.55 requires libNGExtensions v4.5.136
index 5ca398aa9d02cac551f07eb37388b436157c9a38..050854823c68cab2cb30cc7e801832e32a1f4124 100644 (file)
@@ -18,6 +18,9 @@
 
     SOGoMailAccount = {
       superclass    = "SOGoMailBaseObject";
+      defaultRoles = {
+        "Add Folders" = "Owner";
+      };
     };
 
     SOGoMailFolder = {