@implementation SOGoGroupAppointmentFolder
-#warning TODO: implement aggregation based on the container
-
/* looking up shared objects */
- (SOGoGroupsFolder *)lookupGroupsFolder {
return [[self container] lookupGroupsFolder];
}
+/* functionality */
+
+- (NSArray *)fetchCoreInfosFrom:(NSCalendarDate *)_startDate
+ to:(NSCalendarDate *)_endDate
+{
+#warning TODO: implement aggregation based on the container
+ return [NSArray array];
+}
+
@end /* SOGoGroupAppointmentFolder */
+2004-08-11 <helge@agenor.opengroupware.org>
+
+ * UIxPageFrame: minor fixes to UI (v0.9.8)
+
2004-08-05 Marcus Mueller <znek@mulle-kybernetik.com>
- * v0.9.7
-
* calendar.css: commented some styles out, because they don't really do
- what I think they should do. Someone with better knowledge of CSS should
- look into this.
+ what I think they should do. Someone with better knowledge of CSS
+ should look into this. (v0.9.7)
2004-08-02 Marcus Mueller <znek@mulle-kybernetik.com>
}
- (SoUser *)user {
- WOContext *ctx;
+ WOContext *ctx;
- ctx = [self context];
- return [[[self clientObject] authenticatorInContext:ctx]
- userInContext:ctx];
+ ctx = [self context];
+ return [[[self clientObject] authenticatorInContext:ctx]
+ userInContext:ctx];
}
-- (NSString *)rootURL {
- WOContext *ctx;
- NSArray *traversalObjects;
+- (NSString *)shortUserNameForDisplay {
+ // TODO: better use a SoUser formatter?
+ NSString *s;
+ NSRange r;
+
+ s = [[self user] login];
+ if ([s length] < 10)
+ return s;
+
+ // TODO: algorithm might be inappropriate, depends on the actual UID
+
+ r = [s rangeOfString:@"."];
+ if (r.length == 0)
+ return s;
+
+ return [s substringToIndex:r.location];
+}
- if(self->rootURL)
- return self->rootURL;
+/* URL generation */
+
+- (NSString *)rootURL {
+ WOContext *ctx;
+ NSArray *traversalObjects;
- ctx = [self context];
- traversalObjects = [ctx objectTraversalStack];
- self->rootURL = [[[traversalObjects objectAtIndex:0]
- rootURLInContext:ctx]
- retain];
+ if (self->rootURL)
return self->rootURL;
+
+ ctx = [self context];
+ traversalObjects = [ctx objectTraversalStack];
+ self->rootURL = [[[traversalObjects objectAtIndex:0]
+ rootURLInContext:ctx]
+ retain];
+ return self->rootURL;
}
- (NSString *)userRootURL {
- WOContext *ctx;
- NSArray *traversalObjects;
-
- if(self->userRootURL)
- return self->userRootURL;
-
- ctx = [self context];
- traversalObjects = [ctx objectTraversalStack];
- self->userRootURL = [[[[traversalObjects objectAtIndex:1]
- baseURLInContext:ctx]
- stringByAppendingString:@"/"]
- retain];
+ WOContext *ctx;
+ NSArray *traversalObjects;
+
+ if (self->userRootURL)
return self->userRootURL;
+
+ ctx = [self context];
+ traversalObjects = [ctx objectTraversalStack];
+ self->userRootURL = [[[[traversalObjects objectAtIndex:1]
+ baseURLInContext:ctx]
+ stringByAppendingString:@"/"]
+ retain];
+ return self->userRootURL;
}
- (NSString *)calendarRootURL {
- return [[self userRootURL] stringByAppendingString:@"Calendar/"];
+ return [[self userRootURL] stringByAppendingString:@"Calendar/"];
}
-
@end /* UIxPageFrame */
</table>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
- <td class="linecolor">
- <img rsrc:src="line_left.gif"/>
- </td>
- <td class="linecolor" width="100%">
+ <td class="linecolor"><img rsrc:src="line_left.gif"/></td>
+ <td class="linecolor" width="98%">
<img rsrc:src="line_stretch.gif"/>
</td>
- <td class="linecolor">
- <img rsrc:src="line_right.gif"/>
- </td>
+ <td class="linecolor"><img rsrc:src="line_right.gif"/></td>
</tr>
</table>
</td>
<font class="skydockfont">
<a var:href="userRootURL"
class="skydockfont"
- >SOGo (<var:string value="user.login" />)</a>
+ >SOGo (<var:string value="shortUserNameForDisplay" />)</a>
</font>
</td>
</tr>