Monotone-Parent: 7c581e0875343b221a79db4c4117358d726166f1

Monotone-Revision: 41663dd56ce370b47da06520cdf3f63f55b42cb6

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-09-11T19:32:52
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau 2007-09-11 19:32:52 +00:00
parent 58ce039ad2
commit e1f063f50c
3 changed files with 25 additions and 9 deletions

View file

@ -1,5 +1,9 @@
2007-09-11 Wolfgang Sourdeau <wsourdeau@inverse.ca> 2007-09-11 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/SOGoUI/UIxComponent.m ([UIxComponent -responseWith204]): new
method that returns a WOResponse initialized with the 204 status
code.
* UI/MailerUI/UIxMailListView.m ([UIxMailListView -sortedUIDs]): * UI/MailerUI/UIxMailListView.m ([UIxMailListView -sortedUIDs]):
always use a "not deleted" search qualifier along with the user always use a "not deleted" search qualifier along with the user
qualifier (if present). qualifier (if present).

View file

@ -68,25 +68,25 @@
/* date selection */ /* date selection */
- (NSCalendarDate *) selectedDate; - (NSCalendarDate *) selectedDate;
- (NSString *)dateStringForDate:(NSCalendarDate *)_date; - (NSString *) dateStringForDate: (NSCalendarDate *)_date;
- (BOOL) hideFrame; - (BOOL) hideFrame;
- (UIxComponent *) jsCloseWithRefreshMethod: (NSString *) methodName; - (UIxComponent *) jsCloseWithRefreshMethod: (NSString *) methodName;
/* SoUser */ /* SoUser */
- (NSString *)shortUserNameForDisplay; - (NSString *) shortUserNameForDisplay;
/* labels */ /* labels */
- (NSString *)labelForKey:(NSString *)_key; - (NSString *) labelForKey:(NSString *)_key;
- (NSString *)localizedNameForDayOfWeek:(unsigned)_dayOfWeek; - (NSString *) localizedNameForDayOfWeek:(unsigned)_dayOfWeek;
- (NSString *)localizedAbbreviatedNameForDayOfWeek:(unsigned)_dayOfWeek; - (NSString *) localizedAbbreviatedNameForDayOfWeek:(unsigned)_dayOfWeek;
- (NSString *)localizedNameForMonthOfYear:(unsigned)_monthOfYear; - (NSString *) localizedNameForMonthOfYear:(unsigned)_monthOfYear;
- (NSString *)localizedAbbreviatedNameForMonthOfYear:(unsigned)_monthOfYear; - (NSString *) localizedAbbreviatedNameForMonthOfYear:(unsigned)_monthOfYear;
/* HTTP method safety */ /* HTTP method safety */
- (BOOL)isInvokedBySafeMethod; - (BOOL) isInvokedBySafeMethod;
/* locale */ /* locale */
- (NSDictionary *)locale; - (NSDictionary *)locale;
@ -95,6 +95,8 @@
- (WOResourceManager *) pageResourceManager; - (WOResourceManager *) pageResourceManager;
- (NSString *) urlForResourceFilename: (NSString *) filename; - (NSString *) urlForResourceFilename: (NSString *) filename;
- (WOResponse *) responseWith204;
/* Debugging */ /* Debugging */
- (BOOL)isUIxDebugEnabled; - (BOOL)isUIxDebugEnabled;

View file

@ -400,7 +400,7 @@ static BOOL uixDebugEnabled = NO;
userTimeZone = [[context activeUser] timeZone]; userTimeZone = [[context activeUser] timeZone];
[_date setTimeZone: userTimeZone]; [_date setTimeZone: userTimeZone];
return [_date descriptionWithCalendarFormat:@"%Y%m%d"]; return [_date descriptionWithCalendarFormat: @"%Y%m%d"];
} }
- (BOOL) hideFrame - (BOOL) hideFrame
@ -569,6 +569,16 @@ static BOOL uixDebugEnabled = NO;
return url; return url;
} }
- (WOResponse *) responseWith204
{
WOResponse *response;
response = [context response];
[response setStatus: 204];
return response;
}
/* debugging */ /* debugging */
- (BOOL)isUIxDebugEnabled { - (BOOL)isUIxDebugEnabled {