Monotone-Parent: 1ba81ff51e5b101bad7b8771622a147e64290c31

Monotone-Revision: 092a27d1717ad6d044259363f787d6f687d91bb0

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-10-17T15:46:59
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-10-17 15:46:59 +00:00
parent a93ad507cf
commit 410a6ff2f2
3 changed files with 46 additions and 16 deletions
+11
View File
@@ -1,5 +1,16 @@
2007-10-17 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/SOGoUI/SOGoACLAdvisory.m ([SOGoACLAdvisory -subject]):
returns the subject as quoted-printable.
* UI/SOGoUI/SOGoACLAdvisory.[hm]: added to intermediary classes:
SOGoACLAdditionAdvisory and SOGoACLRemovalAdvisory implementing
the "aclMethod" method for the subsequent language-dependent
subclasses.
* UI/SOGoUI/SOGoFolderAdvisory.m ([SOGoFolderAdvisory -subject]):
returns the subject as quoted-printable.
* UI/Scheduler/UIxAppointmentEditor.m ([UIxAppointmentEditor
-dealloc]): release item, aptStartDate and aptEndDate.
+18 -6
View File
@@ -47,22 +47,34 @@
@end
@interface SOGoACLEnglishAdditionAdvisory : SOGoACLAdvisory
@interface SOGoACLAdditionAdvisory : SOGoACLAdvisory
- (NSString *) aclMethod;
@end
@interface SOGoACLEnglishRemovalAdvisory : SOGoACLAdvisory
@interface SOGoACLRemovalAdvisory : SOGoACLAdvisory
- (NSString *) aclMethod;
@end
@interface SOGoACLFrenchAdditionAdvisory : SOGoACLAdvisory
@interface SOGoACLEnglishAdditionAdvisory : SOGoACLAdditionAdvisory
@end
@interface SOGoACLFrenchRemovalAdvisory : SOGoACLAdvisory
@interface SOGoACLFrenchAdditionAdvisory : SOGoACLAdditionAdvisory
@end
@interface SOGoACLGermanAdditionAdvisory : SOGoACLAdvisory
@interface SOGoACLGermanAdditionAdvisory : SOGoACLAdditionAdvisory
@end
@interface SOGoACLGermanRemovalAdvisory : SOGoACLAdvisory
@interface SOGoACLEnglishRemovalAdvisory : SOGoACLRemovalAdvisory
@end
@interface SOGoACLFrenchRemovalAdvisory : SOGoACLRemovalAdvisory
@end
@interface SOGoACLGermanRemovalAdvisory : SOGoACLRemovalAdvisory
@end
#endif /* SOGOACLADVISORY_H */
+17 -10
View File
@@ -31,6 +31,7 @@
#import <SoObjects/SOGo/SOGoObject.h>
#import <SoObjects/SOGo/LDAPUserManager.h>
#import <SoObjects/SOGo/NSCalendarDate+SOGo.h>
#import <SoObjects/SOGo/NSString+Utilities.h>
#import "SOGoACLAdvisory.h"
@@ -109,7 +110,7 @@
subject = [[self generateResponse] contentAsString];
isSubject = NO;
return [subject stringByTrimmingSpaces];
return [[subject stringByTrimmingSpaces] asQPSubjectString: @"utf-8"];
}
- (NSString *) body
@@ -210,26 +211,32 @@
@end
@implementation SOGoACLEnglishAdditionAdvisory
@implementation SOGoACLAdditionAdvisory
- (NSString *) aclMethod { return @"add"; }
@end
@implementation SOGoACLEnglishRemovalAdvisory
@implementation SOGoACLRemovalAdvisory
- (NSString *) aclMethod { return @"remove"; }
@end
@implementation SOGoACLEnglishAdditionAdvisory
@end
@implementation SOGoACLFrenchAdditionAdvisory
- (NSString *) aclMethod { return @"add"; }
@end
@implementation SOGoACLFrenchRemovalAdvisory
- (NSString *) aclMethod { return @"remove"; }
@end
@implementation SOGoACLGermanAdditionAdvisory
- (NSString *) aclMethod { return @"add"; }
@end
@implementation SOGoACLEnglishRemovalAdvisory
@end
@implementation SOGoACLFrenchRemovalAdvisory
@end
@implementation SOGoACLGermanRemovalAdvisory
- (NSString *) aclMethod { return @"remove"; }
@end