+2004-10-18 Marcus Mueller <znek@mulle-kybernetik.com>
+
+ * v0.9.14
+
+ * SOGoUserHomePage.wox: Changed label for "eMail" to "Mail" for
+ consistency
+
+ * *.lproj/default.strings: added label "Mail"
+
2004-09-26 Helge Hess <helge.hess@opengroupware.org>
* sogod.m: return 404 for favicon.ico queries (v0.9.13)
"Calendar" = "Calendar";
"Addressbook" = "Addressbook";
+"Mail" = "Mail";
"Calendar" = "Agenda";
"Addressbook" = "Carnet d'adresses";
+"Mail" = "Mail";
<ul>
<li><a href="Calendar/" ><var:string label:value="Calendar" /></a></li>
<li><a href="Contacts/" ><var:string label:value="Addressbook" /></a></li>
- <li><a href="Mail/" ><var:string label:value="eMail" /></a></li>
+ <li><a href="Mail/" ><var:string label:value="Mail" /></a></li>
</ul>
</var:component>
# $Id$
-SUBMINOR_VERSION:=13
+SUBMINOR_VERSION:=14
@"}\n"
@"function addUid(division, cn, dn, email, uid, sn) {\n"
@" if(!uid)\n"
- @" uid='unknown';\n"
+ @" return;\n"
@" var e = document.getElementById('anaisUIDString');\n"
@" var s = e.getAttribute('value');\n"
@" if(s)\n"
label:title="Search in Anais"
const:windowId="UidSelector"
const:callback="addUid"
- const:division="TEST"
+ />
+ <var:component className="UIxContactSelector"
+ label:title="Search in Addressbook"
+ const:windowId="UidSelector"
+ const:callback="addUid"
/>
</td>
<td id="addMeToo" class="button_submit_env" var:style="meTooStyle">
+2004-10-18 Marcus Mueller <znek@mulle-kybernetik.com>
+
+ * v0.9.16
+
+ * AnaisUidSelector.m: changed function addUid to instantly return if
+ given uid is empty
+
+ * AnaisUidSelector.wox: added UixContactSelector
+
2004-10-16 Marcus Mueller <znek@mulle-kybernetik.com>
* AnaisAttendeeSelector.m: minor cleanup (v0.9.15)
# $Id: Version 165 2004-08-05 17:55:50Z znek $
-SUBMINOR_VERSION:=15
+SUBMINOR_VERSION:=16
+2004-10-18 Marcus Mueller <znek@mulle-kybernetik.com>
+
+ * v0.9.27
+
+ * UIxPageFrame.wox: added Mail, fixed relative URL composition
+
+ * UIxPageFrame.m: removed URL processing, instead uses methods from
+ UIxComponent
+
+ * *.lproj/default.strings: added label "Mail"
+
2004-09-20 Helge Hess <helge.hess@skyrix.com>
* UIxPageFrame.m: added item ivar (v0.9.26)
"Calendar" = "Calendar";
"Addressbook" = "Addressbook";
+"Mail" = "Mail";
"You are here" = "You are here";
"Calendar" = "Agenda";
"Addressbook" = "Carnet d'adresses";
+"Mail" = "Mail";
"You are here" = "Vous ĂȘtes ici";
@interface UIxPageFrame : UIxComponent
{
NSString *title;
- NSString *rootURL;
- NSString *userRootURL;
id item;
}
-- (NSString *)rootURL;
-- (NSString *)userRootURL;
-- (NSString *)calendarRootURL;
-
@end
#include "common.h"
- (void)dealloc {
[self->item release];
[self->title release];
- [self->rootURL release];
- [self->userRootURL release];
[super dealloc];
}
/* URL generation */
// TODO: I think all this should be done by the clientObject?!
-- (NSString *)rootURL {
- WOContext *ctx;
- NSArray *traversalObjects;
-
- if (self->rootURL != nil)
- return self->rootURL;
-
- ctx = [self context];
- traversalObjects = [ctx objectTraversalStack];
- self->rootURL = [[[traversalObjects objectAtIndex:0]
- rootURLInContext:ctx]
- copy];
- return self->rootURL;
+- (NSString *)relativeCalendarPath {
+ return [self relativePathToUserFolderSubPath:@"Calendar/"];
}
-- (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];
- return self->userRootURL;
+- (NSString *)relativeContactsPath {
+ return [self relativePathToUserFolderSubPath:@"Contacts/"];
}
-- (NSString *)calendarRootURL {
- return [[self userRootURL] stringByAppendingString:@"Calendar/"];
-}
-- (NSString *)contactsRootURL {
- return [[self userRootURL] stringByAppendingString:@"Contacts/"];
+- (NSString *)relativeMailPath {
+ return [self relativePathToUserFolderSubPath:@"Mail/"];
}
@end /* UIxPageFrame */
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td valign="bottom" style="font-size: 10pt;">
- <a var:href="calendarRootURL"
+ <a var:href="relativeCalendarPath"
><var:string label:value="Calendar" /></a> |
- <a var:href="contactsRootURL"
- ><var:string label:value="Addressbook" /></a>
+ <a var:href="relativeContactsPath"
+ ><var:string label:value="Addressbook" /></a> |
+ <a var:href="relativeMailPath"
+ ><var:string label:value="Mail" /></a>
</td>
<td align="right">
<a href="http://www.opengroupware.org:80/" target="OGo">
</table>
</td>
</tr>
- <!--
- <tr>
- <td valign="top">
- <table cellpadding="0" cellspacing="0" border="0" width="100%">
- <tr valign="top">
- <td align="left" width="10%">
- <a var:href="userRootURL"
- class="skydockfont"
- >SOGo (<var:string value="shortUserNameForDisplay" />)</a>
- </td>
- <td align="left" width="10%">
- <a var:href="calendarRootURL"
- class="skyDockFont"
- ><var:string label:value="Calendar" /></a>
- </td>
- <td align="left" width="10%">
- <a var:href="userRootURL"
- class="skydockfont"
- ><var:string label:value="Contacts" /></a>
- </td>
- <td align="left" width="70%">
- <var:entity const:name="nbsp" />
- </td>
- </tr>
- </table>
- </td>
- </tr>
- -->
<tr>
<td valign="top" width="100%">
<var:component-content/>
# Version file
-SUBMINOR_VERSION:=26
+SUBMINOR_VERSION:=27
+2004-10-18 Marcus Mueller <znek@mulle-kybernetik.com>
+
+ * UIxComponent.m: changed the implementation of -ownPath and fixed a
+ bug in -userFolderPath (v0.9.15)
+
2004-10-12 Marcus Mueller <znek@mulle-kybernetik.com>
* UIxComponent.m: added some helper methods for computing relative
ctx = [self context];
traversalObjects = [ctx objectTraversalStack];
- url = [[[traversalObjects objectAtIndex:1]
- baseURLInContext:ctx]
- stringByAppendingString:@"/"];
+ url = [[traversalObjects objectAtIndex:1]
+ baseURLInContext:ctx];
return [[NSURL URLWithString:url] path];
}
- (NSString *)ownPath {
- NSString *url;
+ NSString *uri;
+ NSRange r;
- url = [[self clientObject] baseURLInContext:[self context]];
- return [[NSURL URLWithString:url] path];
+ uri = [[[self context] request] uri];
+
+ /* first: cut off query parameters */
+
+ r = [uri rangeOfString:@"?" options:NSBackwardsSearch];
+ if (r.length > 0)
+ uri = [uri substringToIndex:r.location];
+ return uri;
}
- (NSString *)relativePathToUserFolderSubPath:(NSString *)_sub {
# $Id$
-SUBMINOR_VERSION:=14
+SUBMINOR_VERSION:=15
+2004-10-18 Marcus Mueller <znek@mulle-kybernetik.com>
+
+ * UIxAppointmentEditor.wox: added possibility to add resources from
+ Addressbook (v0.9.90)
+
2004-10-16 Marcus Mueller <znek@mulle-kybernetik.com>
* UIxAppointmentEditor.wox: added "withCN=YES" to resources because
<span class="aptview_text">
<var:component className="AnaisAttendeeSelector"
const:selectorID="participant"
- const:division="CC"
- const:withCN="YES"
const:role="REQ-PARTICIPANT"
attendees="participants"
var:emailForUser="emailForUser"
var:cnForUser="cnForUser"
+ const:withCN="YES"
const:withAddressBook="YES"
/>
</span>
const:selectorID="resource"
const:role="NON-PARTICIPANT"
attendees="resources"
- const:division="CC"
const:withCN="YES"
+ const:withAddressBook="YES"
/>
</span>
</td>
# $Id$
-SUBMINOR_VERSION:=88
+SUBMINOR_VERSION:=90
# v0.9.84 requires libSOGoLogic v0.9.12
# v0.9.70 requires libNGExtensions v4.3.107