mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-05 10:29:43 +00:00
Monotone-Parent: edaaaf24bef4b65491bfbf5da0d4754a88f12779
Monotone-Revision: a336ee635278e6e84b9ccbf7290474e132c9c0a2 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-08-30T22:43:51 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
2006-08-30 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/Appointments/SOGoAppointmentFolder.m
|
||||
([SOGoAppointmentFolder -setTimeZone:newTZ]): new method to
|
||||
configure the timezone from SOGoUserFolder when the instance is
|
||||
being created.
|
||||
([SOGoAppointmentFolder -viewTimeZone]): MET was removed. Returns
|
||||
the value of the new "timezone" ivar.
|
||||
|
||||
2006-08-25 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* UI/WebServerResources/SchedulerUI.{css,js}: added a tabview with
|
||||
|
||||
@@ -41,9 +41,12 @@
|
||||
@class NSString, NSArray, NSCalendarDate, NSException, NSMutableDictionary;
|
||||
@class GCSFolder;
|
||||
|
||||
@class NSTimeZone;
|
||||
|
||||
@interface SOGoAppointmentFolder : SOGoFolder
|
||||
{
|
||||
NSMutableDictionary *uidToFilename;
|
||||
NSTimeZone *timeZone;
|
||||
}
|
||||
|
||||
/* selection */
|
||||
@@ -96,6 +99,9 @@
|
||||
|
||||
- (NSArray *)fetchAllSOGoAppointments;
|
||||
|
||||
- (void) setTimeZone: (NSTimeZone *) newTZ;
|
||||
- (NSTimeZone *) viewTimeZone;
|
||||
|
||||
@end
|
||||
|
||||
#endif /* __Appointments_SOGoAppointmentFolder_H__ */
|
||||
|
||||
@@ -38,7 +38,6 @@
|
||||
@implementation SOGoAppointmentFolder
|
||||
|
||||
static NGLogger *logger = nil;
|
||||
static NSTimeZone *MET = nil;
|
||||
static NSNumber *sharedYes = nil;
|
||||
|
||||
+ (int) version
|
||||
@@ -61,7 +60,6 @@ static NSNumber *sharedYes = nil;
|
||||
lm = [NGLoggerManager defaultLoggerManager];
|
||||
logger = [lm loggerForDefaultKey:@"SOGoAppointmentFolderDebugEnabled"];
|
||||
|
||||
MET = [[NSTimeZone timeZoneWithAbbreviation:@"MET"] retain];
|
||||
sharedYes = [[NSNumber numberWithBool:YES] retain];
|
||||
}
|
||||
|
||||
@@ -71,6 +69,17 @@ static NSNumber *sharedYes = nil;
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
/* timezone */
|
||||
|
||||
- (void) setTimeZone: (NSTimeZone *) newTZ
|
||||
{
|
||||
timeZone = newTZ;
|
||||
}
|
||||
|
||||
- (NSTimeZone *) viewTimeZone
|
||||
{
|
||||
return timeZone;
|
||||
}
|
||||
|
||||
/* logging */
|
||||
|
||||
@@ -134,14 +143,6 @@ static NSNumber *sharedYes = nil;
|
||||
return [NSException exceptionWithHTTPStatus:404 /* Not Found */];
|
||||
}
|
||||
|
||||
/* timezone */
|
||||
|
||||
- (NSTimeZone *) viewTimeZone
|
||||
{
|
||||
// TODO: should use a cookie for configuration? we default to MET
|
||||
return MET;
|
||||
}
|
||||
|
||||
/* vevent UID handling */
|
||||
|
||||
- (NSString *) resourceNameForEventUID: (NSString *)_u
|
||||
|
||||
Reference in New Issue
Block a user