+++ /dev/null
-/*
- Copyright (C) 2004 SKYRIX Software AG
-
- This file is part of OpenGroupware.org.
-
- OGo is free software; you can redistribute it and/or modify it under
- the terms of the GNU Lesser General Public License as published by the
- Free Software Foundation; either version 2, or (at your option) any
- later version.
-
- OGo is distributed in the hope that it will be useful, but WITHOUT ANY
- WARRANTY; without even the implied warranty of MERCHANTABILITY or
- FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with OGo; see the file COPYING. If not, write to the
- Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
- 02111-1307, USA.
-*/
-// $Id: AnaisSelector.m 184 2004-08-11 17:46:10Z znek $
-
-#include <SOGoUI/UIxComponent.h>
-
-/*
- AnaisAttendeeSelector
-
- Select a set of attendees using Anais.
-
- Bindings:
- attendees - array of iCalPerson objects
- selectorID - string to be used as the identifier for form/JS elements
- withCN - show CN of person (eg disabled for resources)
- withAddressBook - allow selection from private address book (default:NO)
- division - Anais division
- emailForUser - default EMail
- cnForUser - default CN
- role - role for submitted attendees
-
- Sample:
- <var:component className="AnaisAttendeeSelector"
- selectorID="participant"
- attendees="attendees"
- const:division="CC"
- />
-*/
-
-@class iCalPerson;
-
-@interface AnaisAttendeeSelector : UIxComponent
-{
- NSString *selectorID;
- NSString *division;
- NSArray *attendees;
- iCalPerson *attendee;
- NSString *emailForUser;
- NSString *cnForUser;
- NSString *role;
- struct {
- int withCN:1;
- int withAddressBook:1;
- int reserved:30;
- } flags;
-}
-
-@end
-
-#include <NGiCal/NGiCal.h>
-#include <SOGo/AgenorUserManager.h>
-#include <Scheduler/iCalPerson+UIx.h>
-#include <NGObjWeb/WOContext.h>
-#include <NGObjWeb/WORequest.h>
-#include "common.h"
-
-@implementation AnaisAttendeeSelector
-
-static BOOL debugOn = NO;
-
-+ (void)initialize {
- NSUserDefaults *ud = [NSUserDefaults standardUserDefaults];
-
- debugOn = [ud boolForKey:@"AnaisDebugEnabled"];
-}
-
-- (void)dealloc {
- [self->role release];
- [self->emailForUser release];
- [self->cnForUser release];
- [self->division release];
- [self->selectorID release];
- [self->attendee release];
- [self->attendees release];
- [super dealloc];
-}
-
-/* notifications */
-
-- (void)sleep {
- [self->attendee release]; self->attendee = nil;
- [super sleep];
-}
-
-/* accessors */
-
-- (void)setAttendees:(NSArray *)_attendees {
- ASSIGN(self->attendees, _attendees);
-}
-- (NSArray *)attendees {
- return self->attendees;
-}
-- (BOOL)hasAttendees {
- return [[self attendees] count] > 0 ? YES : NO;
-}
-- (BOOL)hasNoAttendees {
- return [[self attendees] count] == 0 ? YES : NO;
-}
-
-- (void)setWithCN:(BOOL)_flag {
- self->flags.withCN = _flag ? 1 : 0;
-}
-- (BOOL)withCN {
- return self->flags.withCN ? YES : NO;
-}
-
-- (void)setWithAddressBook:(BOOL)_flag {
- self->flags.withAddressBook = _flag ? 1 : 0;
-}
-- (BOOL)withAddressBook {
- return self->flags.withAddressBook ? YES : NO;
-}
-
-- (void)setAttendee:(iCalPerson *)_attendee {
- ASSIGN(self->attendee, _attendee);
-}
-- (iCalPerson *)attendee {
- return self->attendee;
-}
-
-- (void)setDivision:(NSString *)_value {
- ASSIGNCOPY(self->division, _value);
-}
-- (NSString *)division {
- return self->division;
-}
-
-- (void)setRole:(NSString *)_value {
- ASSIGNCOPY(self->role, _value);
-}
-- (NSString *)role {
- return self->role;
-}
-
-- (void)setEmailForUser:(NSString *)_value {
- ASSIGNCOPY(self->emailForUser, _value);
-}
-- (NSString *)emailForUser {
- return self->emailForUser;
-}
-
-- (void)setCnForUser:(NSString *)_value {
- ASSIGNCOPY(self->cnForUser, _value);
-}
-- (NSString *)cnForUser {
- return self->cnForUser;
-}
-
-- (BOOL)showDefaultAttendees {
- return [self hasNoAttendees] && [[self emailForUser] length] > 0 ? YES : NO;
-}
-
-/* email, stat, cn */
-
-- (NSString *)combinedInfoForUser {
- NSString *e, *c;
-
- e = [self emailForUser];
- c = [self cnForUser];
- return [[e stringByAppendingString:@";0;"] stringByAppendingString:c];
-}
-
-- (NSString *)combinedInfo {
- iCalPerson *p;
- NSString *e, *stat, *c;
-
- p = [self attendee];
- e = [p rfc822Email];
- c = [p cnForDisplay];
- stat = [NSString stringWithFormat:@";%d;", [p participationStatus]];
- return [[e stringByAppendingString:stat] stringByAppendingString:c];
-}
-
-/* id accessors */
-
-- (void)setSelectorID:(NSString *)_value {
- ASSIGNCOPY(self->selectorID, _value);
-}
-- (NSString *)selectorID {
- return self->selectorID;
-}
-- (NSString *)capitalizedSelectorID {
- return [[self selectorID] capitalizedString];
-}
-
-- (NSString *)windowId {
- /* eg: 'Resources' */
- return [[self capitalizedSelectorID] stringByAppendingString:@"s"];
-}
-- (NSString *)callbackName {
- /* eg: 'addResource' */
- return [@"add" stringByAppendingString:[self capitalizedSelectorID]];
-}
-- (NSString *)tableId {
- /* eg: 'resources' */
- return [[self selectorID] stringByAppendingString:@"s"];
-}
-- (NSString *)checkboxId {
- /* eg: 'resources' */
- return [self tableId]; /* TODO: znek, is this ok? */
-}
-
-/* handling requests */
-
-- (NSArray *)getICalPersonsFromFormValues:(NSArray *)_values {
- unsigned i, count;
- NSMutableArray *result;
-
- count = [_values count];
- result = [NSMutableArray arrayWithCapacity:count];
- for (i = 0; i < count; i++) {
- NSString *pString, *email, *cn;
- NSRange r;
- iCalPerson *p;
-
- pString = [_values objectAtIndex:i];
- if ([pString length] == 0)
- continue;
-
- p = [[iCalPerson alloc] init];
-
- /* sample: 'test.et.di.cete-lyon@equipement.gouv.fr;1;test' */
- /* delimiter between email and partStat */
- r = [pString rangeOfString:@";"];
- if (r.length > 0) {
- email = [pString substringToIndex:r.location];
-
- pString = [pString substringFromIndex:NSMaxRange(r)];
- /* delimiter between partStat and CN */
- r = [pString rangeOfString:@";"];
- if (r.length > 0) {
- NSString *stat;
-
- stat = [pString substringToIndex:r.location];
- [p setParticipationStatus:[stat intValue]];
- cn = [pString substringFromIndex:NSMaxRange(r)];
- if ([cn length] == 0) cn = nil;
- }
- }
- else {
- email = pString;
- cn = nil;
- }
- if (cn == nil) {
- /* fallback */
- AgenorUserManager *um = [AgenorUserManager sharedUserManager];
- cn = [um getCNForUID:[um getUIDForEmail:email]];
- }
-
- [p setEmail:[@"mailto:" stringByAppendingString:email]];
- if ([cn isNotNull]) [p setCn:cn];
-
- /* see RFC2445, sect. 4.2.16 for details */
- [p setRole:[self role]];
- [result addObject:p];
- [p release];
- }
- return result;
-}
-- (void)takeValuesFromRequest:(WORequest *)_rq inContext:(WOContext *)_ctx {
- /* OK, we have a special form value processor */
- NSArray *tmp;
-
- [self debugWithFormat:@"Note: will take values ..."];
-
- tmp = [self getICalPersonsFromFormValues:
- [_rq formValuesForKey:[self checkboxId]]];
- [self debugWithFormat:@" got %i attendees: %@", [tmp count], tmp];
- [self setAttendees:tmp];
-}
-
-/* response generation */
-
-- (NSString *)jsCode {
- NSMutableString *ms;
- WOContext *ctx;
- NSString *s;
-
- ms = [NSMutableString stringWithCapacity:128];
-
- ctx = [self context];
- if (![[ctx valueForKey:@"HasAddTableAnaisAttendeeSelector"] boolValue]) {
- static NSString *script = \
- @"function unescapeCallbackParameter(s) {\n"
- @" s = s.replace(/'/g, \"'\");\n"
- @" s = s.replace(/"/g, '\"');\n"
- @" return s;\n"
- @"}\n"
- @"\n"
- @"function addToTable(tableId, type, cn, dn, email, uid, sn) {\n"
- @" var test = document.getElementById(email);\n"
- @" if(test)\n"
- @" return;\n"
- @"\n"
- @" var table = document.getElementById(tableId);\n"
- @" var tr = document.createElement('tr');\n"
- @" var td, checkbox, text;\n"
- @"\n"
- @" cn = this.unescapeCallbackParameter(cn);\n"
- @" td = document.createElement('td');\n"
- @" checkbox = document.createElement('input');\n"
- @" checkbox.setAttribute('type', 'checkbox');\n"
- @" checkbox.setAttribute('checked', 'checked');\n"
- @" checkbox.setAttribute('value', email + ';0;' + cn);\n"
- @" checkbox.setAttribute('id', email);\n"
- @" checkbox.setAttribute('name', tableId);\n"
- @" td.appendChild(checkbox);\n"
- @" tr.appendChild(td);\n"
- @" td = document.createElement('td');\n"
- @" text = document.createTextNode(cn);\n"
- @" td.appendChild(text);\n"
- @" tr.appendChild(td);\n"
- @" table.appendChild(tr);\n"
- @"}\n";
- [ms appendString:script];
-
- [ctx takeValue:[NSNumber numberWithBool:YES]
- forKey:@"HasAddTableAnaisAttendeeSelector"];
- }
-
- s =
- // @"function %@(type, cn, dn, email, uid, sn) {\n"
- // @" addToTable('%@', type, cn, dn, email, uid, sn);\n"
- // @"}\n";
- @"function %@(type, email, uid, sn, cn, dn) {\n"
- @" addToTable('%@', type, cn, dn, email, uid, sn);\n"
- @"}\n";
-
- [ms appendFormat:s, [self callbackName], [self tableId]];
- return ms;
-}
-
-/* debugging */
-
-- (BOOL)isDebuggingEnabled {
- return debugOn;
-}
-
-@end /* AnaisAttendeeSelector */
+++ /dev/null
-/*
- Copyright (C) 2004 SKYRIX Software AG
-
- This file is part of OpenGroupware.org.
-
- OGo is free software; you can redistribute it and/or modify it under
- the terms of the GNU Lesser General Public License as published by the
- Free Software Foundation; either version 2, or (at your option) any
- later version.
-
- OGo is distributed in the hope that it will be useful, but WITHOUT ANY
- WARRANTY; without even the implied warranty of MERCHANTABILITY or
- FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with OGo; see the file COPYING. If not, write to the
- Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
- 02111-1307, USA.
-*/
-// $Id$
-
-#include <SOGoUI/UIxComponent.h>
-
-/*
- AnaisSelector
-
- Open a satellite window providing access to Anais.
-
- Bindings:
- title - button title to display to user
- windowId - string to be used for uniquing this window to a particular
- purpose (i.e. for adding participants)
- division - Anais division
- callback - name of JavaScript callback function to use in caller's page
- extraAttributes - extra attributes to add as paramaters to the callback
-
- Sample:
- <var:component className="AnaisSelector"
- const:windowId="ParticipantSelection"
- const:division="CC"
- const:callback="addParticipant"
- const:extraAttributes="givenName,initials"
- />
- */
-
-@interface AnaisSelector : UIxComponent
-{
- NSString *title;
- NSString *windowId;
- NSString *division;
- NSString *callback;
- NSString *extraAttributes;
-}
-
-- (void)setTitle:(NSString *)_title;
-- (NSString *)title;
-- (void)setWindowId:(NSString *)_winId;
-- (NSString *)windowId;
-- (void)setDivision:(NSString *)_division;
-- (NSString *)division;
-- (void)setCallback:(NSString *)_callback;
-- (NSString *)callback;
-
-- (NSString *)jsFunctionName;
-- (NSString *)jsFunctionHref;
-- (NSString *)jsCode;
-@end
-
-#include "common.h"
-
-@implementation AnaisSelector
-
-- (id)init {
- if ((self = [super init])) {
- [self setTitle:@"Anais"];
- [self setWindowId:@"Anais"];
- [self setCallback:@"undefined"];
- }
- return self;
-}
-
-- (void)dealloc {
- [self->title release];
- [self->windowId release];
- [self->division release];
- [self->callback release];
- [self->extraAttributes release];
- [super dealloc];
-}
-
-/* accessors */
-
-- (void)setTitle:(NSString *)_title {
- ASSIGNCOPY(self->title, _title);
-}
-- (NSString *)title {
- return self->title;
-}
-
-- (void)setWindowId:(NSString *)_winId {
- ASSIGNCOPY(self->windowId, _winId);
-}
-- (NSString *)windowId {
- return self->windowId;
-}
-
-- (void)setDivision:(NSString *)_division {
- ASSIGNCOPY(self->division, _division);
-}
-- (NSString *)division {
- return self->division;
-}
-
-- (void)setCallback:(NSString *)_callback {
- ASSIGNCOPY(self->callback, _callback);
-}
-- (NSString *)callback {
- return self->callback;
-}
-
-- (void)setExtraAttributes:(NSString *)_extraAttributes {
- ASSIGN(self->extraAttributes, _extraAttributes);
-}
-- (NSString *)extraAttributes {
- return self->extraAttributes;
-}
-
-/* JavaScript */
-
-- (NSString *)jsFunctionName {
- return [NSString stringWithFormat:@"openAnaisWindowWithId%@",
- [self windowId]];
-}
-
-- (NSString *)jsFunctionHref {
- return [NSString stringWithFormat:@"javascript:%@()",
- [self jsFunctionName]];
-}
-
-- (NSString *)jsCode {
- static NSString *codeFmt = \
- @"function %@() {\n"
- @" var url = '/anais/Admin/Autres/aideFonc.php?m_fonc=%@&m_data=data1&m_type=Pour&m_nom=,%@&m_champ=mail,uid,sn%@&m_nature=BALI&m_agenda0#mon_etiquette';\n"
- @" var anaisWindow = window.open(url, '%@', 'width=350, height=600, left=10, top=10, toolbar=no, dependent=yes, menubar=no, location=no, resizable=yes, scrollbars=yes, directories=no, status=no');\n"
- @" anaisWindow.focus();\n"
- @"}";
- static NSString *divFmt = @"&m_type=%@";
- NSString *fmt, *exAttrFmt;
-
- if([self division])
- fmt = [NSString stringWithFormat:divFmt, [self division]];
- else
- fmt = @"";
-
- if([self extraAttributes])
- exAttrFmt = [NSString stringWithFormat:@",%@", [self extraAttributes]];
- else
- exAttrFmt = @"";
-
- return [NSString stringWithFormat:codeFmt,
- [self jsFunctionName],
- [self callback],
- fmt,
- exAttrFmt,
- [self windowId]];
-}
-
-@end /* AnaisSelector */
+++ /dev/null
-/*
- Copyright (C) 2000-2004 SKYRIX Software AG
-
- This file is part of OpenGroupware.org.
-
- OGo is free software; you can redistribute it and/or modify it under
- the terms of the GNU Lesser General Public License as published by the
- Free Software Foundation; either version 2, or (at your option) any
- later version.
-
- OGo is distributed in the hope that it will be useful, but WITHOUT ANY
- WARRANTY; without even the implied warranty of MERCHANTABILITY or
- FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with OGo; see the file COPYING. If not, write to the
- Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
- 02111-1307, USA.
-*/
-// $Id$
-
-#import <Foundation/NSObject.h>
-
-@interface AnaisUIProduct : NSObject
-{
-}
-
-@end
-
-@implementation AnaisUIProduct
-@end /* AnaisUIProduct */
+++ /dev/null
-/*
- Copyright (C) 2000-2004 SKYRIX Software AG
-
- This file is part of OGo
-
- OGo is free software; you can redistribute it and/or modify it under
- the terms of the GNU Lesser General Public License as published by the
- Free Software Foundation; either version 2, or (at your option) any
- later version.
-
- OGo is distributed in the hope that it will be useful, but WITHOUT ANY
- WARRANTY; without even the implied warranty of MERCHANTABILITY or
- FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with OGo; see the file COPYING. If not, write to the
- Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
- 02111-1307, USA.
-*/
-// $Id$
-
-
-#include <SOGoUI/UIxComponent.h>
-
-/*
- AnaisUidSelector
-
- Modifiable list of uids used to select multiple calendars for viewing at once.
-*/
-
-@interface AnaisUidSelector : UIxComponent
-{
- NSString *userUID;
- NSString *userUIDString;
- NSString *activeUserCN;
- int userUIDIdx;
-}
-
-- (NSString *)prettyCN;
-- (NSString *)showHref;
-
-@end
-
-#include "common.h"
-#include <NGObjWeb/SoUser.h>
-#include <NGObjWeb/WOContext+SoObjects.h>
-#include <SOGo/AgenorUserManager.h>
-#include <SOGo/SOGoUser.h>
-#include "SoObjects/Appointments/SOGoAppointmentFolder.h"
-
-@implementation AnaisUidSelector
-
-- (void)dealloc {
- [self->userUID release];
- [self->userUIDString release];
- [self->activeUserCN release];
- [super dealloc];
-}
-
-/* Accessors */
-
-- (void)setUserUID:(NSString *)_userUID {
- ASSIGN(self->userUID, _userUID);
-}
-- (NSString *)userUID {
- return self->userUID;
-}
-- (void)setUserUIDIdx:(int)_userUIDIdx {
- self->userUIDIdx = _userUIDIdx;
-}
-- (int)userUIDIdx {
- return self->userUIDIdx;
-}
-- (BOOL)needsComma {
- return self->userUIDIdx == 0 ? NO : YES;
-}
-
-- (NSString *)userUIDString {
- if (!self->userUIDString) {
- NSString *calendarUIDString;
-
- calendarUIDString = [[[self clientObject] calendarUIDs]
- componentsJoinedByString:@","];
- ASSIGN(self->userUIDString, calendarUIDString);
- }
- return self->userUIDString;
-}
-
-
-/* Helpers */
-
-- (NSArray *)userUIDs {
- return [[self userUIDString] componentsSeparatedByString:@","];
-}
-
-- (NSString *)activeUserCN {
- if (!self->activeUserCN) {
- activeUserCN = [[[[self context] activeUser] cn] retain];
- }
- return self->activeUserCN;
-}
-
-- (NSString *)prettyCN {
- AgenorUserManager *um;
- NSString *cn;
- NSString *classPart;
-
- um = [AgenorUserManager sharedUserManager];
- cn = [um getCNForUID:[self userUID]];
- if ([cn isEqualToString:[self activeUserCN]])
- classPart = @" class=\"anais_me\"";
- else
- classPart = @"";
-
- return [NSString stringWithFormat:@"<span id=\"%@\"%@>%@</span>",
- [self userUID],
- classPart,
- cn];
-}
-
-
-/* Href */
-
-- (NSString *)showHref {
- return [self completeHrefForMethod:@"show"];
-}
-
-/* this is to determine the initial visibility of the 'addMeToo' button */
-- (NSString *)meTooStyle {
- if([[self userUIDString] rangeOfString:[[[self context] activeUser]
- login]].length > 0)
- return @"visibility:hidden";
- return @"visibility:visible";
-}
-
-/* actions */
-
-- (BOOL)shouldTakeValuesFromRequest:(WORequest *)_rq inContext:(WOContext*)_c {
- return YES;
-}
-
-@end
+++ /dev/null
-2005-07-19 Marcus Mueller <znek@mulle-kybernetik.com>
-
- * AnaisUidSelector.m: completely rewritten (v0.9.23)
-
-2005-07-18 Marcus Mueller <znek@mulle-kybernetik.com>
-
- * AnaisUidSelector.m: rewritten to add the CN's to the displayed
- list instead of the UIDs. (v0.9.22)
-
-2005-07-07 Marcus Mueller <znek@mulle-kybernetik.com>
-
- * v0.9.21
-
- * AnaisUidSelector.m: added new 'clearAllAndAddMe' Javascript function
- which is called by the new 'me alone' button
-
- * English.lproj/Localizable.strings: added 'me alone' label
-
-2005-03-23 Marcus Mueller <znek@mulle-kybernetik.com>
-
- * renamed "default.strings" to "Localizable.strings" (v0.9.20)
-
-2005-01-07 Marcus Mueller <znek@mulle-kybernetik.com>
-
- * {English/French}.lproj/default.strings: changed encoding from
- ISO-Latin-1 to UTF-8, which is now the default (v0.9.19)
-
-2004-12-17 Marcus Mueller <znek@mulle-kybernetik.com>
-
- * AnaisAttendeeSelector.m: preserve participation status (v0.9.18)
-
-2004-10-20 Marcus Mueller <znek@mulle-kybernetik.com>
-
- * AnaisAttendeeSelector.m: provide proper unescaping of special HTML
- entities via new unescape function. (v0.9.17)
-
-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)
-
-2004-09-14 Marcus Mueller <znek@mulle-kybernetik.com>
-
- * v0.9.14
-
- * AnaisUidSelector.m: added tiny bit of documentation
-
- * AnaisSelector.m: provide API documentation and added code to set
- extra arguments for Anais, so that callback can receive arbitrary
- values
-
-2004-09-13 Marcus Mueller <znek@mulle-kybernetik.com>
-
- * v0.9.13
-
- * AnaisAttendeeSelector.[m|wox]: new binding "withAddressBook", if
- YES will add a button to open the private addressbook. Default is
- NO.
-
- * {English|French}.lproj/default.strings: new localizable string
-
-2004-09-10 Marcus Mueller <znek@mulle-kybernetik.com>
-
- * AnaisSelector.wox, AnaisUidSelector.wox: use the new button_submit
- in order to look more pleasing (v0.9.12)
-
-2004-09-10 Helge Hess <helge.hess@skyrix.com>
-
- * AnaisAttendeeSelector.wox: fixed missing label namespace (v0.9.11)
-
-2004-09-06 Marcus Mueller <znek@mulle-kybernetik.com>
-
- * {English|French}.lproj/default.strings: added localizations (v0.9.10)
-
-2004-09-01 Helge Hess <helge.hess@skyrix.com>
-
- * GNUmakefile.preamble: removed dependency on libNGScripting (v0.9.9)
-
-2004-08-15 Helge Hess <helge.hess@skyrix.com>
-
- * AnaisAttendeeSelector.m: added AnaisDebugEnabled default to
- enable/disable debug logs (v0.9.8)
-
- * AnaisAttendeeSelector.m: added form processing code (v0.9.7)
-
- * AnaisAttendeeSelector.m: added support for default attendees (as used
- by the editor component) (v0.9.6)
-
- * AnaisAttendeeSelector.wox: added 'division' binding (v0.9.5)
-
- * added AnaisAttendeeSelector component (v0.9.4)
-
-2004-08-12 Marcus Mueller <znek@mulle-kybernetik.com>
-
- * AnaisUidSelector.[m|wox]: fixed all known problems (v0.9.3)
-
-2004-08-11 Marcus Mueller <znek@mulle-kybernetik.com>
-
- * AnaisUidSelector.[m|wox]: much enhanced, but still not perfect
- (v0.9.2)
-
-2004-08-11 Marcus Mueller <znek@mulle-kybernetik.com>
-
- * AnaisUidSelector.[m|wox]: added (v0.9.1)
-
-2004-08-11 Marcus Mueller <znek@mulle-kybernetik.com>
-
- * v0.9.0
-
- * AnaisSelector.[m|wox]: added several associations used for uniquing
- the selector and one for preselecting a certain division (LDAP).
-
- * common.h: added for convenience.
-
-2004-08-10 Marcus Mueller <znek@mulle-kybernetik.com>
-
- * ChangeLog: created.
+++ /dev/null
-/* this file is in UTF-8 format! */
-
-/* button labels */
-
-// open Anais dialog
-"Search in Anais" = "Search in Anaïs";
-// open private Addressbook
-"Search in Addressbook" = "Search in Addressbook";
-// add myself to the list of uids to display
-"me too" = "me too";
-// clear the list of uids
-"clear" = "clear";
-// show the calendar, composed of the selected uids
-"show" = "show";
-// clear the list of uids and add myself
-"me alone" = "just me";
+++ /dev/null
-/* this file is in UTF-8 format! */
-
-/* button labels */
-
-// open Anais dialog
-"Search in Anais" = "Sélectionner dans Anaïs";
-// open private Addressbook
-"Search in Addressbook" = "Sélectionner dans Carnet d'adresses";
-// add myself to the list of uids to display
-"me too" = "Moi aussi";
-// clear the list of uids
-"clear" = "Vider";
-// show the calendar, composed of the selected uids
-"show" = "Voir";
-// clear the list of uids and add myself
-"me alone" = "Seulement moi";
+++ /dev/null
-# GNUstep makefile
-
-include ../common.make
-
-BUNDLE_NAME = AnaisUI
-
-AnaisUI_PRINCIPAL_CLASS = AnaisUIProduct
-
-AnaisUI_LANGUAGES = English French
-
-AnaisUI_OBJC_FILES += \
- AnaisUIProduct.m \
- AnaisSelector.m \
- AnaisUidSelector.m \
- AnaisAttendeeSelector.m \
-
-AnaisUI_RESOURCE_FILES += \
- Version \
- product.plist \
-
-#AnaisUI_RESOURCE_FILES += \
-# AnaisSelector.wox \
-# AnaisUidSelector.wox \
-# AnaisAttendeeSelector.wox
-
-AnaisUI_LOCALIZED_RESOURCE_FILES += \
- Localizable.strings \
-
-# make
-
--include GNUmakefile.preamble
-include $(GNUSTEP_MAKEFILES)/bundle.make
--include GNUmakefile.postamble
-include ../../fhsbundle.make
+++ /dev/null
-# postprocessing
-
-validate-wox:
-# xmllint --noout *.wox
-
-before-all :: validate-wox
-
-
-ifneq ($(GNUSTEP_BUILD_DIR),)
-after-all ::
- @(cp bundle-info.plist \
- $(GNUSTEP_BUILD_DIR)/$(BUNDLE_NAME)$(BUNDLE_EXTENSION))
-else
-after-all ::
- @(cd $(BUNDLE_NAME)$(BUNDLE_EXTENSION);\
- cp ../bundle-info.plist .)
-endif
+++ /dev/null
-# compilation flags
+++ /dev/null
-# $Id: Version 165 2004-08-05 17:55:50Z znek $
-
-SUBMINOR_VERSION:=23
+++ /dev/null
-{
- "__cvs__" = "$Id: bundle-info.plist,v 1.1 2003/11/24 01:24:40 helge Exp $";
-
- requires = {
- bundleManagerVersion = 1;
- classes = (
- { name = NSObject; }
- );
- };
-
- provides = {
- classes = (
- { name = AnaisUIProduct; },
- { name = AnaisSelector; },
- { name = AnaisAttendeeSelector; },
- );
-
- WOComponents = (
- { name = AnaisSelector; },
- { name = AnaisAttendeeSelector; },
- );
- };
-}
+++ /dev/null
-#include <Foundation/Foundation.h>
-#include <NGExtensions/NGExtensions.h>
+++ /dev/null
-{
- requires = ( MAIN );
-
- publicResources = (
- );
-
- factories = {
- };
-
- categories = {
- };
-}