]> err.no Git - scalable-opengroupware.org/blob - ChangeLog
90bbbff2daeed5e12dd72b3211954cf64413b3da
[scalable-opengroupware.org] / ChangeLog
1 2007-02-13  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
2
3         * UI/Scheduler/UIxCalMulticolumnDayView.[hm]: new daily view
4         module which shows each selected user's calendar in a different
5         column instead of mixing their events together.
6
7         * UI/Scheduler/UIxCalView.m ([UIxCalView -redirectForUIDsAction]):
8         replaced use of [NSString stringByTrimmingWhiteSpaces] with
9         [NSString stringByTrimmingSpaces].
10
11         * UI/MailPartViewers/UIxMailPartICalViewer.m: request the key
12         "cnWithoutQuotes" instead of "cnForDisplay", which no longer
13         exists.
14
15         * UI/Scheduler/UIxCalDayOverview.m,
16         UI/Scheduler/UIxCalDayChartview.m,
17         UI/Scheduler/UIxCalDayListview.m,
18         UI/Scheduler/UIxCalWeekOverview.m,
19         UI/Scheduler/UIxCalWeekChartview.m,
20         UI/Scheduler/UIxCalWeekListview.m,
21         UI/Scheduler/UIxCalInlineMonthOverview.m,
22         UI/Scheduler/UIxCalYearOverview.m: removed unused modules.
23
24 2007-02-09  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
25
26         * SoObjects/Contacts/SOGoContactFolders.m ([SOGoContactFolders
27         -appendPersonalSourcesInContext:context]): release connectoin
28         channel when everything is done.
29
30         * UI/Contacts/UIxContactFoldersView.m ([UIxContactFoldersView
31         -newAbAction]): new action method to crate a new contact folder
32         from the web UI.
33
34         * SoObjects/SOGo/SOGoFolder.m ([SOGoFolder -create]): new method
35         that requests the folder manager to create a folder table with the
36         specified type at the specified path. The type is taken from [self
37         folderType].
38
39         * SoObjects/Contacts/SOGoContactGCSFolder.m ([SOGoContactGCSFolder
40         -folderType]): implemented.
41
42         * SoObjects/Appointments/SOGoAppointmentFolder.m
43         ([SOGoAppointmentFolder -folderType]): implemented.
44
45         * SoObjects/Contacts/SOGoContactFolders.m ([SOGoContactFolders
46         -appendPersonalSourcesInContext:context]): we now fetch all
47         folders with type "Contact" that belong to the current user.
48         ([SOGoContactFolders -newFolderWithName:name]): new method to
49         create a new contact folder.
50
51         * UI/SOGoUI/UIxComponent.m ([UIxComponent -userFolderPath]): treat
52         resulting url with [NSString+Utilities hostlessURL] instead of
53         using NSURL. This is because the url in question sometimes has a
54         hostname and sometimes not. "hostlessURL" ensure the hostname is
55         removed anyway.
56         ([UIxComponent -applicationPath]): same as above.
57
58 2007-02-08  Ludovic Marcotte <ludovic@inverse.ca>
59
60         * SoObjects/Mailer/SOGoMailFolder.m: priorize the lookup of
61         folders before doing the one on messages.
62
63 2007-02-08  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
64
65         * SoObjects/SOGo/NSArray+Utilities.m: added an implementation of
66         makeObjectsPerform:withObject:withObject: for GNUstep
67         compatibility.
68         
69         * OGoContentStore/GNUmakefile, Protocols/common.make,
70         SoObjects/common.make, UI/common.make: install in
71         GNUSTEP_INSTALLATION_DIR instead of GNUSTEP_USER_DIR.
72
73 2007-02-07  Ludovic Marcotte <ludovic@inverse.ca>
74
75         * UI/Scheduler/English.lproj/Localizable.strings: fixed typo for
76         "Agendas"
77
78 2007-02-05  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
79
80         * UI/MailerUI/UIxMailTree.m ([UIxMailTree
81         -getTitle:folderType:andIcon:forObject:]): disabled Sieve folders
82         for the moment.
83
84         * SoObjects/SOGo/SOGoAuthenticator.m ([SOGoAuthenticator
85         -checkLogin:_loginpassword:_pwd]): fixed a bug where a wrong
86         password would be accepted anyway as long as its length was > 0.
87         This can be the case ONLY when LDAP is disabled otherwise we have
88         a serious security issue...
89
90         * SoObjects/Appointments/SOGoAppointmentObject.m
91         ([SOGoAppointmentObject -roleOfUser:logininContext:context]): if a
92         user is not an organizer nor a participant, he is declared as
93         "Owner" if he owns the calendar the entry where the entry is
94         contained. Other cases should not be possible.
95
96 2007-02-02  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
97
98         * UI/Contacts/UIxContactEditor.m: display and handle the new
99         Freebusy URL entry.
100
101         * SoObjects/Contacts/SOGoContactLDAPFolder.m
102         ([SOGoContactLDAPFolder -_searchAttributes]): retrieve "calFBURL"
103         from the server.
104
105         * SoObjects/Contacts/SOGoContactLDAPEntry.m ([SOGoContactLDAPEntry
106         -vCard]): put the LDAP "calFBURL" field in the vCard's "FBURL"
107         entry.
108
109 2007-01-31  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
110
111         * SoObjects/Appointments/SOGoCalendarComponent.m
112         ([SOGoCalendarComponent -sendEMailNotifications]): new method that
113         returns the value of ud "SOGoAppointmentSendEMailNotifications"
114         (iMIP/iTIP).
115         ([SOGoCalendarComponent
116         -sendEMailUsingTemplateNamed:_pageNameforOldObject:_oldObjectandNewObject:_newObjecttoAttendees:_attendees]): method moved from SOGoAppointmentObject/SOGoTaskObject, replacing occurences of "appointment" to "object" in its name.
117
118 2007-01-30  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
119
120         * UI/MailerUI/UIxMailListView.m ([UIxMailListView
121         -defaultAction]): invoke "flushMailCaches" on [self clientObject]
122         so that the mailbox cache is refreshed everytime the user presses
123         on "get mail". I doubt a mailbox cache really is useful in general
124         anyway.
125
126 2007-01-26  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
127
128         * SoObjects/SOGo/SOGoAuthenticator.m ([SOGoAuthenticator
129         -userInContext:]): if the lookup is on "freebusy.ifb" and the
130         username is "anonymous" the user is automatically set to
131         "freebusy".
132
133 2007-01-12  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
134
135         * SoObjects/SOGo/SOGoAuthenticator.m ([SOGoAuthenticator
136         -checkLogin:_loginpassword:_pwd]): authorize special "freebusy"
137         user with password "freebusy".
138
139         * SoObjects/Appointments/SOGoFreeBusyObject.m ([SOGoFreeBusyObject
140         -contentAsString]): the default timerange is now 14 days before
141         currentday and 1 month after.
142
143 2007-01-08  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
144
145         * SoObjects/Appointments/SOGoAppointmentFolder.m
146         ([SOGoAppointmentFolder
147         -appendObject:objectwithBaseURL:baseURLtoREPORTResponse:r]):
148         escape the record string in a way suitable with XML encoding.
149
150 2007-01-05  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
151
152         * UI/WebServerResources/SchedulerUI.js: fixed a bug where the
153         calendar view would not be updated properly.
154
155 2007-01-04  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
156
157         * UI/Scheduler/UIxComponentEditor.m ([UIxComponentEditor
158         -newStartDate]): fix the handling of the component start date
159         depending on the "hm" and the "day" parameters.
160
161         * SoObjects/SOGo/SOGoUserFolder.m ([SOGoUserFolder
162         -roleOfUser:uidinContext:context]): set role of current user to
163         "Assistant" if the object that is accessed is "freebusy.ifb".
164
165         * SoObjects/Appointments/SOGoAppointmentFolder.m
166         ([SOGoAppointmentFolder -lookupCalendarFolderForUID:uid]): method
167         moved from UI/Scheduler/UIxCalView:calendarFolderForUID:.
168         ([SOGoAppointmentFolder
169         -lookupCalendarFoldersForUIDs:_uidsinContext:]): now use the new
170         lookupCalendarFolderForUID: method, which doesn't do security
171         checks.
172
173 2007-01-03  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
174
175         * UI/Common/UIxAclEditor.m ([UIxAclEditor -assistantsValue]): new
176         accessor that returns the comma-separated list of users with role
177         "Assistant".
178         ([UIxAclEditor -delegatesValue]): same as above for "Delegate".
179         ([UIxAclEditor -_prepareUsers]): there is no longer a concept of
180         "checkedUsers". Instead, each user is either classified in the
181         list of assistants or the list of delegates.
182
183 2006-12-22  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
184
185         * UI/MailerUI/UIxMailMainFrame.m ([UIxMailMainFrame
186         -composeAction]): method imported from removed container modules.
187         ([UIxMailMainFrame -mailFolderName]): method imported from removed
188         container modules.
189
190         * UI/MailerUI/UIxMailPopupView.m: a new special popup component
191         for wrapping UIxMailView with the "popupview" action.
192
193         * UI/MailerUI/UIxMailAccountView.m: renamed to UIxMailSplashView,
194         since its the component that displays the same splash screen than
195         the one in Thunderbird/Icedove.
196
197         * UI/MailerUI/UIxMailAccountViewContainer.[hm],
198         UI/MailerUI/UI/MailerUI/UIxMailAccountsView.m,
199         UI/MailerUI/UIxMailListViewContainer.[hm],
200         UI/MailerUI/UIxMailViewContainer.[hm]: removed
201
202 2006-12-20  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
203
204         * UI/WebServerResources/HTMLElement.js: replaced the functional
205         selectNode() and deselectNode() functions with select() and
206         deselect() methods of HTMLElement.
207
208         * UI/WebServerResources/ContactsUI.js: cleanup, most of the
209         events are initialized from here now instead of in the HTML code.
210
211         * UI/Contacts/UIxContactFoldersView.m ([UIxContactFoldersView
212         -checkRightsAction]): new method similar to the one with the same
213         name in UIxCalMainView.m.
214
215         * UI/Common/UIxAclEditor.m ([UIxAclEditor -saveAclsAction]): added
216         code to handle the publishing of freebusy information.
217
218 2006-12-19  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
219
220         * UI/Scheduler/UIxCalMainView.m ([UIxCalMainView
221         -checkRightsAction]): new action method that returns a
222         comma-separated list of boolean values matching the right of the
223         current user to "view" (as a permission) each foreign calendar
224         stored in his preferences.
225
226         * SoObjects/SOGo/SOGoObject.m ([SOGoObject -setOwner:newOwner]):
227         new method that sets a customOwner, which can be returned with
228         ownerInContext it set.
229
230         * SoObjects/Appointments/SOGoAppointmentFolder.m
231         ([SOGoAppointmentFolder
232         -fetchFields:_fieldsfromFolder:_folderfrom:_startDateto:_endDatecomponent:_component]): no longer set the owner of elements here.
233
234 2006-12-15  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
235
236         * SoObjects/SOGo/SOGoUserFolder.m: same as for SOGoContactFolders
237         below, but for the Contacts and Calendar collections.
238
239         * SoObjects/SOGo/SOGoAclsFolder.m: convert the class to user the
240         new acl facilities method from sope-gdl/GCSFolder.m.
241
242         * SoObjects/Contacts/SOGoContactFolders.m ([SOGoContactFolders
243         -roleOfUser:uidinContext:context]): new method that returns
244         SOGoRole_Assistant when the user is an assistant or a delegate on
245         the "personal" ab object. This is so that setting roles on the
246         SOGoContactFolders object is not required.
247
248 2006-12-14  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
249
250         * Main/SOGo.m: declare "Freebusy" permissions for the top objects.
251
252         * UI/Contacts/UIxContactsAclsSelection.m: new component specific
253         to the handling of the user selection for the acls.
254
255         * SoObjects/SOGo/SOGoPermissions.[hm]: new module that extends the
256         values from SoPermissions with ones specific to SOGo.
257
258         * SoObjects/SOGo/SOGoAclsFolder.[hm]: new class module that
259         handles the storage for the acls.
260
261         * SoObjects/Appointments/SOGoCalendarComponent.[hm]: new parent
262         class for SOGoAppointmentObject and SOGoTaskObject.
263
264         * UI/Common/UIxAclEditor.[hm]: new component that provides a
265         general editor for folder acls.
266
267         * SoObjects/SOGo/NSString+Utilities.[hm]: old "NSString+URL"
268         renamed.
269         ([NSString -davMethodToObjC]): method that returns the method name 
270         for a DAV property implementation.
271
272         * SoObjects/SOGo/NSArray+Utilities.m: new extension module to
273         NSArray.
274         ([NSArray -stringsWithFormat:format]): new method that returns
275         formatted occurences of the strings stored in the array.
276
277         * SoObjects/SOGo/SOGoDAVRendererTypes.m ([SOGoDAVSet
278         +davSetWithArray:newValuesofValuesTaggedAs:newValueTag]): a new
279         subclass module of SoWebDAVValue that supports collections of
280         properties of the same type.
281
282 2006-11-21  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
283
284         * SoObjects/Mailer/SOGoMailAccount.m ([SOGoMailAccount
285         -lookupFolder:ofClassNamed:inContext:]): added the ability to
286         configure the name of the SOGoDraftFolders with the ud var
287         "SOGoDraftsFolderName".
288
289 2006-11-17  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
290
291         * SoObjects/SOGo/SOGoObject.m ([SOGoObject
292         -userTimeZone:username]): new method that returns the timezone for
293         the specified user depending on his preferences and the server
294         defaults
295
296         * SoObjects/Mailer/SOGoMailObject.m ([SOGoMailObject
297         -stringForData:partInfo:]): take the encoding into account and
298         translate the text to "normal" before processing the charset data.
299
300 2006-11-15  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
301
302         * UI/WebServerResources/generic.js: the progress indicator is on
303         when loading the page so we turn it off, and we turn it back on
304         whenever we switch to another module...
305
306         * UI/WebServerResources/SchedulerUI.js: make sure the day view
307         synchronization mechanism works everywhere.
308
309         * UI/WebServerResources/generic.js: the log window is not only
310         visible when UIxDebugEnabled is set.
311
312         * UI/WebServerResources/SchedulerUI.js: the month overview's day
313         cells are now initialized with the DOM event interface methods
314         instead of with html attributes.
315
316         * UI/Templates/MailerUI/UIxMailView.wox: don't display useless
317         headers (should be made configurable at some point)...
318
319         * OGoContentStore/sql/generate-folderinfo-sql-for-users.sh: drop
320         "not null" constraint on startdate, enddate, isopaque,
321         participants and partmails.
322
323 2006-11-14  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
324
325         * UI/Scheduler/UIxCalDayTable.m ([UIxCalDayTable
326         -hoursToDisplay]): prevent a crash by retaining the
327         "hoursToDisplay" array after it's created.
328         ([UIxCalDayTable -clickableHourCellClass]): new method for the new
329         clickable hours DIV.
330
331         * UI/WebServerResources/SchedulerUI.js: made the event
332         participation status modification asynchronous, which also fixes a
333         bug where the window would sometimes close before the accept or
334         decline action was completed. Also, adapted the event handling
335         related to the days or weeks view with the new DIV-based layout.
336
337         * UI/Scheduler/UIxCalInlineAptView.m: same as the first below...
338
339         * UI/Scheduler/UIxCalDayTable.m: enhanced to provide the new
340         DIV-based presentation of the days and weeks.
341
342         * SoObjects/Appointments/SOGoTaskObject.m: same as below...
343
344         * SoObjects/Appointments/SOGoAppointmentObject.m: lookupName:...
345         might return an exception so we have to handle it if we don't
346         wanna crash...
347
348 2006-11-13  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
349
350         * UI/WebServerResources/SchedulerUI.js: updated the list
351         initialization code to use the new event management scheme, adding
352         what was missing to be able to delete events and tasks again.
353
354         * UI/WebServerResources/MailerUI.js: added code to activate the
355         "Get mails" button. Fixed a bug which prevented messages to be
356         deleted.
357
358         * UI/WebServerResources/UIxFreeBusyUserSelector.js: handle tab
359         navigation and focus handling of INPUTs.
360
361 2006-11-10  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
362
363         * UI/WebServerResources/MailerUI.js: added code to handle the
364         possible drag and drop events to manager in the mail module.
365         Moving messages, opening parent folders, ...
366
367         * UI/WebServerResources/SOGoDragAndDrop.js: new file containing
368         the drag and drop manager as well as the interface to HTMLElement
369         to trigger drag and drop events.
370
371         * UI/MailerUI/UIxMailView.m ([UIxMailView -moveAction]): new
372         action to move the current message to the mailbox named after the
373         value of parameter "tofolder".
374
375         * SoObjects/Mailer/SOGoMailObject.m ([SOGoMailObject
376         -moveToFolderNamed:folderNameinContext:]): new method base on
377         -trashInContext:.
378
379 2006-11-09  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
380
381         * UI/WebServerResources/generic.js: added and activated many
382         "load" handlers to configure generic widgets used across the
383         modules. More events are now handled in a DOM-fashion way instead
384         of by setting the relative attributes in the templates.
385
386         * UI/Templates/UIxSortableTableHeader.wox: all the events are
387         declared from the javascript DOM onload handlers.
388
389         * UI/Templates/UIxPageFrame.wox: load the new SOGoDragHandles.js
390         library.
391
392         * UI/Templates/MailerUI/UIxMailListView.wox: all the events are
393         declared from the javascript DOM onload handlers.
394
395         * UI/MailerUI/UIxMailListView.m: removed all the JS methods since
396         we want everything to be separated from each other, as much as
397         possible.
398
399         * UI/WebServerResources/SOGoDragHandles.js: new module containing
400         the "SOGoDragHandlesInterface", implementing methods that can be
401         attributed to DIV so that they can be used as drag handles.
402
403         * SoObjects/Mailer/SOGoDraftObject.m ([NSString
404         -asQPSubjectString]): initialize the tmp strings with '0' to make
405         sure they don't contain garbage.
406
407 2006-11-08  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
408
409         * UI/WebServerResources/MailerUI.js: register the messageList
410         table as a dragging source and the leaf of the navigation tree as
411         dnd destinations to the DNDManager.
412
413         * UI/WebServerResources/generic.js: initialize tabs from the
414         "unload" event listener that is added programmatically instead of
415         from the template... Also, added the new DNDManager object.
416
417         * UI/WebServerResources/HTMLTableElement.js: added code to
418         simulate XUL drag n drop events. This code will possibly be moved
419         to HTMLElement.js instead later...
420
421         * SoObjects/Contacts/SOGoContactLDAPFolder.m
422         ([SOGoContactLDAPFolder -_qualifierForFilter:filter]): same as
423         below.
424
425         * SoObjects/Contacts/SOGoContactGCSFolder.m ([SOGoContactGCSFolder
426         -_qualifierForFilter:filter]): only search records which starts
427         with the specified pattern.
428
429 2006-11-07  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
430
431         * SoObjects/Mailer/SOGoDraftObject.m ([NSString
432         -asQPSubjectString]): new method that returns the special QP
433         string with its qp declaration for email subjects.
434         ([SOGoDraftObject -bodyPartForText]) 
435         ([SOGoDraftObject -mimeMessageForContentWithHeaderMap:]): don't
436         double-encode data in UTF-8.
437
438         * UI/Scheduler/UIxComponentEditor.m ([UIxComponentEditor
439         -newStartDate]): new method to determine the start date depending
440         on the URL parameters, the current day and the current time.
441         ([UIxComponentEditor -toolbar]): new method to determine the
442         filename of the toolbar that should be drawn depending on the
443         ownership and the list of attendees of the task/event wrt to the
444         current user...
445
446         * UI/Scheduler/UIxTimeDateControl.m ([UIxTimeDateControl
447         -setDayStartHour:aStartHour]): adjust the minutes to the next
448         quarter of hour, if not already set to a quarter.
449
450         * UI/WebServerResources/UIxAppointmentEditor.js,
451         UI/WebServerResources/UIxTaskEditor.js: added code to manage start
452         date change.
453
454 2006-11-03  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
455
456         * UI/Scheduler/UIxComponentEditor.m ([UIxComponentEditor
457         -loadValuesFromComponent:component]): handles access class
458         (privacy) and status.
459
460         * UI/Contacts/UIxContactsListViewContainer.m
461         ([UIxContactsListViewContainer -additionalFolders]): return nil if
462         [self additionalAddressBooks] returns an empty string.
463
464 2006-11-02  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
465
466         * UI/Scheduler/UIxCalMonthView.m ([UIxCalMonthView
467         rangesOf7Days]): enhanced and debugged algorithm to feed the array
468         with slices where the first day is still in the requested month.
469
470         * UI/Templates/UIxPageFrame.wox: the logConsole is created only on
471         non-popup pages.
472
473         * UI/SOGoUI/SOGoAptFormatter.m: added code to handle the display
474         of events in the day boxes of the calendar's monthly view.
475
476         * SoObjects/Appointments/SOGoTaskObject.m ([SOGoTaskObject
477         -davContentType]): declare "text/calendar".
478
479         * SoObjects/Appointments/SOGoAppointmentObject.m
480         ([SOGoAppointmentObject -davContentType]): declare
481         "text/calendar".
482
483         * SoObjects/Appointments/SOGoAppointmentFolder.m
484         ([SOGoAppointmentFolder -lookupName:inContext:acquire:]): certain
485         HTTP methods are handled by SOPE and requires nil to be returned,
486         this method now invokes the new
487         "requestNamedIsHandledLater:inContext:" method to check that.
488         ([SOGoAppointmentFolder
489         -requestNamedIsHandledLater:nameinContext:context]): new methods
490         that returns "YES" only for the "OPTIONS" http method (for now...).
491         ([SOGoAppointmentFolder -davComplianceClassesInContext:]):
492         overloaded method to append the "access-control" and
493         "calendar-access" DAV abilities to the initial declaration.
494
495         * UI/Scheduler/UIxCalMonthView.[hm]: rewritten module entirely to
496         imitate the look of Sunbird/Lightning's monthly view.
497
498         * UI/Scheduler/UIxCalMonthView.[hm]: renamed to
499         UIxCalMonthViewOld.[hm].
500
501 2006-11-01  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
502
503         * UI/Scheduler/UIxFreeBusyUserSelectorTable.m
504         ([UIxFreeBusyUserSelectorTable -currentContactHasStatus]): new
505         method.
506         ([UIxFreeBusyUserSelectorTable -currentContactStatusImage]):
507         returns an image name based on the participation status of the
508         current attendee.
509
510         * UI/WebServerResources/SchedulerUI.js: same strip down as for
511         generic.js below.
512
513         * UI/Contacts/UIxContactsListViewContainer.m ([UIxContactsListViewContainer -additionalAddressBooks]) 
514         ([UIxContactsListViewContainer -additionalFolders]) 
515         ([UIxContactsListViewContainer -setCurrentAdditionalFolder:newCurrentAdditionalFolder]) 
516         ([UIxContactsListViewContainer -currentAdditionalFolder]): new
517         methods to handle the external addressbooks a user has subscribed
518         too, by retriving them from his preferences.
519
520         * UI/Contacts/UIxContactFoldersView.m ([UIxContactFoldersView
521         -updateAdditionalAddressBooksAction]): new method that updates the
522         user settings with the list of addressbook he has subscribed to.
523
524         * UI/Contacts/UIxContactsAddressBooksSelection.m: new component
525         module for the address book selector.
526
527         * UI/Templates/ContactsUI/UIxContactsListViewContainer.wox: added
528         a toolbar with two buttons ("add" and "remove") to manage the
529         additional addressbooks a user might subscribe to.
530
531         * UI/WebServerResources/ContactsUI.js: added code to handle
532         "external addressbooks" from the Javascript point-of-view, by
533         extending existing methods and adding code for the "add ab" and
534         "remove ab" buttons.
535
536         * UI/WebServerResources/generic.js: moved extensions methods to
537         DOM elements to separate files for better clarity.
538
539         * UI/Common/UIxPageFrame.m ([UIxPageFrame -pageContentClasses]):
540         new method that returns "pageContent" as class, but also "popup"
541         for the DIV where the page content lies, so that we can manipulate
542         the content of popup's with CSS identifiers.
543
544 2006-10-31  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
545
546         * UI/Scheduler/UIxCalInlineAptView.m ([UIxCalInlineAptView
547         -displayStyle]): new method that returns a string containing the
548         css style relative to the current appointment cell. This code is
549         currently inactive but might be reused later.
550
551         * UI/WebServerResources/SchedulerUI.js: added code to handle the
552         display of the selected day (the day pointed by the mouse, or the
553         current day when changing the view).
554
555         * UI/Scheduler/UIxCalDayTable.m ([UIxCalDayTable
556         -dayCellClasses]): new method that returns a string containing the
557         css classes applicable to the current cell, depending on the
558         position of the day in the week, the day of today and the
559         requested day.
560
561         * UI/Scheduler/UIxCalCalendarsListView.m ([UIxCalCalendarsListView
562         -currentContactAptBorder]): new method that returns the
563         appropriate border color for the specified user.
564
565         * SoObjects/Appointments/SOGoAppointmentObject.m
566         ([SOGoAppointmentObject
567         -saveContentString:contentStringbaseVersion:baseVersion]):
568         overloaded method that parse new events and detects if they have
569         an organizer or not. If they are new and have no organizer set
570         (Sunbird/Lightning...), the owner of the event is set as
571         organizer.
572
573         * SoObjects/Appointments/iCalEntityObject+Agenor.[hm]: new
574         category that provides facility methods and interfaces to the
575         AgenorUserManager.
576
577         * SoObjects/Contacts/product.plist: give full access to ANY
578         authenticated user, not just the owner (to every objects...).
579
580 2006-10-30  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
581
582         * UI/WebServerResources/UIxFreeBusyUserSelector.js: make sure
583         every replica widgets are declared as such to their master
584         counterpart. Take the days into account when displaying the time
585         range taken by the appointment.
586
587         * UI/Scheduler/UIxComponent+Agenor.m ([UIxComponent
588         -getICalPersonsFromValue:selectorValue]): method taken from
589         UIxFreeBusyUserSelector, that is shared both by
590         UIxFreeBusyUserSelector and UIxFreeBusyUserSelectorTable.
591
592         * SoObjects/Appointments/SOGoAppointmentFolder.m
593         ([SOGoAppointmentFolder
594         -fetchFields:_fieldsfromFolder:_folderfrom:_startDateto:_endDatecomponent:_component]): reverted to search algorithm to search for events happening outside 0 or 1 (at most) boundary of the timerange.
595
596         * UI/Scheduler/UIxFreeBusyUserSelectorTable.[hm]: new subcomponent
597         derived and taken as a subset of UIxFreeBusyUserSelector that
598         implements the table part of the FreeBusy view. Most of the
599         methods of UIxFreeBusyUserSelector relative to that table were
600         moved into UIxFreeBusyUserSelectorTable, which can also be used as
601         a standalone view for AJAX operations.
602
603 2006-10-27  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
604
605         * SoObjects/Contacts/SOGoContactLDAPEntry.m ([SOGoContactLDAPEntry
606         -vCard]): change reverted.
607
608         * UI/Contacts/UIxContactEditor.m: check whether the client contact
609         folder has selector "globallyUniqueObjectId" before calling that
610         method.
611
612         * SoObjects/Contacts/SOGoContactLDAPEntry.m ([SOGoContactLDAPEntry
613         -vCard]): the "setVClass" NGVCard method really is "setClass"
614         instead.
615
616         * SoObjects/Contacts/SOGoContactLDAPFolder.m
617         ([SOGoContactLDAPFolder -_searchAttributes]): fixed typo to
618         request the "streetAddress" instead of the "streetaddress".
619         ([SOGoContactLDAPFolder -_qualifierForFilter:filter]): lookup
620         mails that *contain*, and not just *start with* the search
621         pattern.
622
623         * SoObjects/Contacts/SOGoContactLDAPEntry.m ([SOGoContactLDAPEntry
624         -vCard]): mark address returned from LDAP as the work address.
625
626         * UI/Templates/SchedulerUI/UIxCalInlineAptView.wox: made the whole
627         span covered with the anchor, not only the textual information
628         within.
629
630         * UI/Templates/SchedulerUI/UIxCalMainView.wox: specify the type
631         argument (event or task) to newEvent in the appointmentListMenu.
632         Make the appointmentsListView display the appointmentsListMenu.
633
634         * UI/SOGoUI/SOGoAptFormatter.m: enlarge the text size limit from
635         12 to 50 before displaying "...".
636         ([SOGoAptFormatter -fullDetailsForApt::]): display location only
637         if its length > 0, whether location itself is nil or not...
638         ([SOGoAptFormatter -tooltipForApt::_refDate]): display information
639         of which the length > 0.
640
641 2006-10-26  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
642
643         * UI/WebServerResources/UIxAppointmentEditor.js: correctly handles
644         french and ISO dates.
645
646         * UI/Scheduler/UIxFreeBusyUserSelector.[hm]: added code an ivars
647         from UIxContactSelector to handle contact lists (current and
648         additional contacts).
649
650         * UI/MainUI/SOGoUserHomePage.m ([SOGoUserHomePage
651         -_freeBusyAsText]): added handling of an "additional"-named query
652         parameter that describe the number of additional days after
653         enddate that should be returned.
654
655         * UI/Contacts/UIxContactFoldersView.m ([UIxContactFoldersView
656         -_responseForResults:results]): give priority to results with
657         "c_uid" fields. If none returned, use the first contact received.
658
659         * OGoContentStore/OCSiCalFieldExtractor.m ([OCSiCalFieldExtractor
660         -extractQuickFieldsFromEvent:_event]): changed "TENTATIVE" code to
661         2 and "CANCELLED" to 0.
662
663 2006-10-25  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
664
665         * UI/WebServerResources/UIxAppointmentEditor.js: handle conversion
666         of start and end dates to short string dates.
667
668         * UI/MainUI/SOGoUserHomePage.m ([SOGoUserHomePage
669         -readFreeBusyAction]): new method that returns an array of numbers
670         corresponding to the state in the freebusy of each "quarter of an
671         hour" between the "sday" and "eday" date parameters passed in the
672         url. This permits to handle the display of the freebusy with Ajax
673         mechanisms.
674         ([SOGoUserHomePage -_freeBusyAsText]): add 2 days to the end date
675         since the free busy displays 2 days ahead.
676
677         * UI/Contacts/UIxContactFoldersView.m ([UIxContactFoldersView
678         -contactSearchAction]): new action that returns the uid and the
679         username + email of the user whose name contain the value of the
680         "search" url parameter.
681
682         * SoObjects/Appointments/SOGoAppointmentFolder.m
683         ([SOGoAppointmentFolder
684         -fetchFreebusyInfosFrom:_startDateto:_endDate]): added fields
685         useful for the computing of the status of the freebusy.
686
687         * UI/Scheduler/UIxFreeBusyUserSelector.m ([UIxFreeBusyUserSelector
688         -init]): new component that incarnates a user selector for events
689         inspired by the new one found in Thunderbird Lightning.
690
691 2006-10-23  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
692
693         * UI/WebServerResources/generic.js: added code to enable or
694         disable anchor visually (following our internal algorithm).
695
696         * UI/Scheduler/UIxComponentEditor.m ([UIxComponentEditor -init]):
697         added new "url" ivar with its classic accessors.
698         ([UIxComponentEditor -urlButtonClasses]): new method that returns
699         the class strings for the url button on the appointment/task
700         editor (depending on the validity of the url).
701
702         * UI/Templates/SchedulerUI/UIxTaskEditor.wox,
703         UI/Templates/SchedulerUI/UIxAppointmentEditor.wox: start rewriting
704         the template to match the Lightning's new task/appointment editor.
705
706         * UI/Scheduler/UIxAppointmentEditor.m ([UIxAppointmentEditor -saveValuesIntoAppointment:_appointment]): initialize url from the components'url.
707
708         * UI/Scheduler/UIxTaskEditor.m ([UIxTaskEditor -saveValuesIntoTask:_task]): initialize url from the components'url.
709
710 2006-10-20  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
711
712         * SoObjects/Contacts/SOGoContactLDAPFolder.m
713         ([SOGoContactLDAPFolder
714         -lookupContactsWithFilter:filtersortBy:sortKeyordering:sortOrdering]): perform the searchs on objects which start with instead of contain the lookup key.
715
716         * SoObjects/Appointments/SOGoAptMailNotification.[hm]: work on
717         iCalEntityObject instances instead of just iCalEvent's.
718
719         * SoObjects/Appointments/SOGoAppointmentFolder.m
720         ([SOGoAppointmentFolder
721         -fetchFields:_fieldsfromFolder:_folderfrom:_startDateto:_endDatecomponent:_component]): set ownership of returned records by adding an "owner" key to the resulting dictionaries.
722
723         * SoObjects/SOGo/NSObject+Owner.[hm]: removed module since it's a
724         bad way of handling ownership that way.
725
726         * SoObjects/Contacts/SOGoContactLDAPFolder.m
727         ([SOGoContactLDAPFolder -_qualifierForFilter:filter]): search also
728         on "cn", just like Mozilla.
729
730 2006-10-19  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
731
732         * UI/MailerUI/UIxMailToSelection.m ([UIxMailToSelection -to]):
733         "to" should be retained, otherwise it will be autoreleased and a
734         crash will occur.
735
736         * UI/Contacts/UIxContactEditor.m ([UIxContactEditor
737         -writeAction]): updated method to fetch the card before initing
738         the snapshot.
739
740         * OGoContentStore/OCSiCalFieldExtractor.m ([OCSiCalFieldExtractor
741         -extractQuickFieldsFromTodo:_task]): fixed to use NSNull instead
742         of NSNotFound.
743
744         * UI/Scheduler/UIxTaskEditor.m ([UIxTaskEditor
745         -iCalStringTemplate]): start and due date are now optional.
746
747         * UI/Scheduler/UIxTimeDateControl.m ([UIxTimeDateControl
748         -setDayStartHour:aStartHour]):  added a new "isDisabled" ivar with
749         appropriate accessors to be settable through the templates.
750
751         * UI/Scheduler/UIxDatePicker.m ([UIxDatePicker -init]): added a
752         new "isDisabled" ivar with appropriate accessors to be
753         settable through the templates.
754
755         * UI/Scheduler/UIxComponentEditor.m ([UIxComponentEditor
756         -availableCalendars]): new method that list the calendars to which
757         the user has subscribed.
758         ([UIxComponentEditor -componentOwner]): returns the owner of the
759         editted object.
760
761         * OGoContentStore/OCSiCalFieldExtractor.m ([OCSiCalFieldExtractor
762         -extractQuickFieldsFromTodo:_task]): set the start and enddate of
763         quickentries to null whenever each or all of them are null, by
764         providing an impossible timestamp from with NSNotFound as value.
765
766 2006-10-18  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
767
768         * UI/WebServerResources/UIxMailEditor.js: update the algorithm
769         that handles the creation of new fields with the new APIs and the
770         new node structure on the page.
771
772         * UI/Scheduler/UIxAppointmentEditor.m,
773         UI/Scheduler/UIxTaskEditor.m:
774         refactored to user UIxComponentEditor as parent class.
775
776         * UI/Scheduler/UIxComponentEditor.[hm]: new class module
777         containing the methods common to the UIxTaskEditor and the
778         UIxAppointmentEditor.
779
780 2006-10-17  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
781
782         * SoObjects/Appointments/SOGoAppointmentFolder.m
783         ([SOGoAppointmentFolder -doCalendarQuery:context]): now supports
784         the handling of time-ranges.
785
786         * UI/WebServerResources/ContactsUI.js: specify a notification type as
787         parameters when onConfirmContactSelection in invoked.
788
789         * UI/WebServerResources/generic.js: specify a notification type as
790         parameters when onContactRemove in invoked.
791
792         * UI/WebServerResources/SchedulerUI.js: when the user deselects
793         all calendars, select his entry.
794
795 2006-10-16  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
796
797         * UI/WebServerResources/SchedulerUI.js: edit and delete events
798         with their owner-relative urls. Generate a correct entry in the
799         css color table when a user is added to the calendars list. Put
800         the same color next to the user id.
801
802         * UI/WebServerResources/generic.js: implemented some new helper
803         methods.
804
805         * SoObjects/Appointments/SOGoAppointmentFolder.m
806         ([SOGoAppointmentFolder -deleteEntriesWithIds:ids]): don't delete
807         entries if their owner is not the current user.
808
809         * UI/Scheduler/UIxCalInlineAptView.m ([UIxCalInlineAptView
810         -displayClasses]): return the correct class for the current event
811         representation depending on its owner.
812
813         * UI/Scheduler/UIxCalCalendarsListView.m: added method to create
814         and associate a color for each user login depending on its
815         position in the list.
816
817         * UI/Scheduler/UIxCalAptListView.m ([UIxCalAptListView
818         -currentRowCSSClass]): return the correct class for the current
819         row depending on the owner of the event.
820
821         * UI/Contacts/UIxContactSelector.m ([UIxContactSelector
822         -setColors:colors]): new method to associate a color table with
823         each user in the list.
824
825         * SoObjects/Appointments/SOGoAppointmentFolder.m
826         ([SOGoAppointmentFolder
827         -fetchFields:_fieldsfromFolder:_folderfrom:_startDateto:_endDatecomponent:_component]): associate each returned record with the owner of the table they are retrieved from.
828
829         * SoObjects/SOGo/NSObject+Owner.[hm]: new extension module to
830         NSObject to associate an instance with a user.
831
832 2006-10-13  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
833
834         * UI/WebServerResources/SchedulerUI.js: added handling of multiple
835         calendars.
836
837         * UI/WebServerResources/ContactsUI.js: added handling of
838         notification of changes to contact selectors.
839
840         * UI/WebServerResources/generic.js: added handling of notification
841         of changes to contact selectors.
842
843         * UI/Scheduler/UIxCalMainView.m ([UIxCalMainView
844         -updateCalendarsAction]): proxy method to update the user
845         preference table with the new selected calendar uids.
846
847         * UI/Contacts/UIxContactsListView.m ([UIxContactsListView
848         -calendarsContactsAction]): new method.
849
850         * UI/Contacts/UIxContactSelector.m ([UIxContactSelector -setCheckedBoxes:boxes]) 
851         ([UIxContactSelector -setHasCheckBoxes:aBool]) 
852         ([UIxContactSelector -isCheckBoxChecked]): new accessors method to
853         permit the drawing of checkboxes instead of card icons.
854
855         * UI/Scheduler/UIxCalCalendarsListView.m: new component class that
856         wrap a selector the the "Calendars" tab.
857
858         * UI/Contacts/UIxContactsCalendarsSelection.m: buttons for the
859         new user calendar selector.
860
861 2006-10-12  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
862
863         * UI/Templates/SchedulerUI/UIxAppointmentEditor.wox: time ranges
864         may cover hour 0 to hour 23.
865
866         * UI/Scheduler/UIxAppointmentEditor.m ([UIxAppointmentEditor
867         -iCalStringFromQueryParameter:format:]): dates explicitly set to
868         utc tz.
869
870         * UI/WebServerResources/SchedulerUI.js: manage both lists of
871         objects wrt to the toolbar actions.
872
873         * UI/WebServerResources/generic.js: added code to the "String"
874         class to decode number-encoded char entities.
875
876         * UI/Scheduler/UIxCalMainView.m ([UIxCalMainView
877         -batchDeleteAction]): new method to delete selected entries in the
878         lists.
879
880         * SoObjects/Appointments/SOGoAppointmentFolder.m
881         ([SOGoAppointmentFolder -deleteEntriesWithIds:ids]): new method
882         that delete identified entries in batch.
883
884         * UI/SOGoUI/UIxComponent.m ([UIxComponent
885         -jsCloseWithRefreshMethod:methodName]): new method with explicit purpose.
886
887         * UI/Scheduler/UIxTaskEditor.m ([UIxTaskEditor -saveAction]),
888         UI/Scheduler/UIxAppointmentEditor.m ([UIxAppointmentEditor
889         -saveAction]), UI/MailerUI/UIxMailEditor.m ([UIxMailEditor
890         -sendAction]), UI/Contacts/UIxContactEditor.m ([UIxContactEditor
891         -saveAction]):
892         return a UIxJSClose component if everything went fine.
893
894         * UI/Scheduler/UIxTaskEditor.h: interface extracted from
895         UIxTaskEditor.m.
896
897         * UI/Scheduler/UIxAppointmentEditor.h: interface extracted from
898         UIxAppointmentEditor.m.
899
900         * UI/Common/UIxJSClose.[hm]: new UIxComponent designed to display
901         a very light page with javascript code to close a window, by
902         calling a method on the opener if specified. This component is
903         designed to work as a response to form postings.
904
905 2006-10-11  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
906
907         * SoObjects/Appointments/SOGoTaskObject.[hm]: clone of
908         SOGoAppointmentObject adapted for the handling of tasks.
909
910         * SoObjects/Appointments/NSArray+Appointments.[hm]: category
911         extracted from SOGoAppointmentObject.
912
913         * UI/Scheduler/UIxAppointmentEditor.m ([UIxAppointmentEditor
914         -saveUrl]): returns the url needed to POST the new form to.
915         redirect the user to <aptid>/editAsAppointment instead of /edit,
916         so that SOGoAppointmentFolder can return the correct object type.
917
918         * SoObjects/SOGo/NSObject+AptComparison.m ([NSObject
919         -compareAptsAscending:_other]): accept empty start or end dates.
920
921         * SoObjects/Appointments/SOGoAppointmentFolder.m
922         ([SOGoAppointmentFolder
923         -fetchFields:_fieldsfromFolder:_folderfrom:_startDateto:_endDatecomponent:_component]): added a "component" parameter to match the query against the specified component types. Made startDate and endDate optional by ignoring them altogether in the query whenever one of them is nil.
924         ([SOGoAppointmentFolder -doCalendarQuery:context]): fetch
925         components of type "vtodo" as well as "vevent".
926         ([SOGoAppointmentFolder -lookupName:inContext:acquire:]): if the
927         url specified ends with AsTask or AsAppointment, returns the
928         an object of the appropriate class, otherwise deduce it from its
929         content if the HTTP method is "PUT", otherwise read its type from
930         the quick table.
931
932         * OGoContentStore/OCSiCalFieldExtractor.m ([OCSiCalFieldExtractor
933         -extractQuickFieldsFromTodo:_task]): extract quick fields from
934         tasks.
935
936         * UI/Scheduler/UIxCalView.m ([UIxCalView
937         -fetchCoreAppointmentsInfos]): replacement methods for
938         fetchCoreInfos but by retrieving object with component "vevent".
939         ([UIxCalView -fetchCoreTasksInfos]): same as above for "vtodo"
940         components.
941
942         * UI/Scheduler/UIxCalTasksListView.[hm]: clone of
943         UIxCalAptListView adapted for the handling of tasks.
944
945         * UI/Scheduler/UIxTaskProposal.[hm],
946         UI/Scheduler/UIxTaskView.[hm], UI/Scheduler/UIxTaskEditor.[hm]:
947         clones of the UIxAppointment* classes for the handling of tasks.
948
949         * UI/WebServerResources/UIxTaskEditor.js: clone of
950         UIxAppointmentEditor adapted for the handling of tasks.
951
952         * UI/WebServerResources/SchedulerUI.js: added support for tasks.
953         Scroll the daily view to the appropriate hour when an appointment
954         is selected in the appointments list.
955
956 2006-10-05  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
957
958         * UI/Scheduler/UIxTimeDateControl.m ([UIxTimeDateControl
959         -setDayStartHour:aStartHour]): specifies the user timezone on the
960         given date.
961
962         * UI/Scheduler/UIxAppointmentEditor.m: indicate DTSTAMP with "GMT"
963         as timezone.
964
965         * SoObjects/SOGo/NSCalendarDate+SOGo.m ([NSCalendarDate -adjustedDate]) 
966         ([NSCalendarDate -driftedDate]): methods made useless by a better
967         comprehension of the NSTimeZone API...
968
969 2006-10-04  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
970
971         * UI/SOGoUI/UIxComponent.m ([UIxComponent -selectedDate]): call
972         new methods from the NSCalendarDate methods.
973
974         * SoObjects/SOGo/NSCalendarDate+SOGo.m: module replacing and
975         extending UI/Scheduler/NSCalendarDate+Scheduler.m.
976         ([NSCalendarDate
977         +dateFromShortDateString:dateStringandShortTimeString:timeStringinTimeZone:timeZone]): new method that generates a date from two short string formatted as follow: "yyyymmdd" and "hhmm". Thismethod replaces a similar method from UIxComponent (noted below).
978         ([NSCalendarDate -adjustedDate]): this method returns another
979         instance set to the correct hour after the original date was set
980         from a non-GMT timezone. This date can be used for storage.
981         ([NSCalendarDate -driftedDate]): this method does exactly the
982         opposite of -adjutedDate, that is, it enables the method
983         hourOfDay, minuteOfHour etc... to return the values according to
984         the original date's timezone. This date CANNOT be used for storage.
985
986         * UI/Scheduler/NSCalendarDate+Scheduler.m ([NSCalendarDate
987         -shortDateString]): new method that will return a "short date
988         string" (yyyymmdd) from a calendar date object.
989
990         * UI/SOGoUI/UIxComponent.m ([UIxComponent
991         -_cDateFromShortDateString:dateStringandShortTimeString:timeString]): new method to compute the selected date from the "day" and "hm" query parameters (if found). This method replaces the old algorithm that was found in the "selectedDate" method.
992
993         * Main/sogod.m (main): initialize the NSTimeZone's defaultTimeZone
994         to the value of SOGoServerTimeZone or "Canada/Eastern" if not found.
995
996 2006-10-03  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
997
998         * UI/WebServerResources/SchedulerUI.js: added code to scroll the
999         view of the day at the height of hour 8:00.
1000
1001         * UI/Scheduler/UIxCalView.m ([UIxCalView -dayStartHour]): returns 0.
1002         ([UIxCalView -dayEndHour]): returns 24.
1003
1004         * UI/Contacts/UIxContactFoldersView.m ([UIxContactFoldersView -defaultAction]) 
1005         ([UIxContactFoldersView -newAction]): invoke
1006         _selectActionForApplication: on self with the proper attribute too.
1007
1008         * UI/Contacts/UIxContactsSelectionViewContainer.m: removed since
1009         we now use the action mechanism in UIxContactsListView to keep the
1010         same view for the contact selectors and the regular contact view.
1011
1012         * UI/Contacts/UIxContactsListViewContainer.[hm]: replaces
1013         UIxContactsListViewContainerBase.[hm]
1014
1015         * UI/Contacts/UIxContactsListView.[hm]: replaces UIxContactsListViewBase.[hm]
1016
1017         * UI/WebServerResources/generic.js: generalized emailstring
1018         handling functions. Generalized address book access functions.
1019
1020         * UI/Contacts/UIxContactsListViewBase.m ([UIxContactsListViewBase
1021         -isPopup]): return YES if the "popup" query parameter is set.
1022
1023         * UI/Contacts/UIxContactFoldersView.m ([UIxContactFoldersView
1024         -defaultAction]): keep the url parameters when redirecting.
1025         ([UIxContactFoldersView -selectForSchedulerAction]) 
1026         ([UIxContactFoldersView -selectForMailerAction]): new action
1027         methods for the /scheduler-contacts and /mailer-contacts invocations.
1028
1029         * SoObjects/SOGo/SOGoObject.m: compose the action url using the
1030         newly available NSString+URL category.
1031
1032         * SoObjects/SOGo/NSDictionary+URL.m ([NSDictionary
1033         -asURLParameters]): handle dictionary entries which could be
1034         instances of NSArray rather than NSString.
1035
1036         * SoObjects/SOGo/NSString+URL.m ([NSString
1037         -composeURLWithAction:actionparameters:urlParametersandHash:useHash]): when composing the url, remove the encoded parameters first since they will be added later.
1038         ([NSString -urlWithoutParameters]): new method that returns the
1039         url without its parameters.
1040
1041         * SoObjects/SOGo/NSString+iCal.h: deleted obsolete file.
1042
1043         * SoObjects/SOGo/NSDictionary+URL.[hm],
1044         UI/SOGoUI/NSString+URL.[hm]: moved from UI/SOGoUI/.
1045
1046         * UI/WebServerResources/UIxMailEditor.js: add support for
1047         additions of different types (to, cc, bcc) of recipients from the
1048         address book.
1049
1050         * UI/Common/UIxPageFrame.m ([UIxPageFrame -doctype]): added the
1051         "<?xml..." header.
1052
1053         * UI/Contacts/UIxContactsMailerSelection.m,
1054         UI/Contacts/UIxContactsSchedulerSelection.m: classes replacing
1055         UI/Contacts/UIxContactsSelectionView.m to provide a different set
1056         of widgets depending on the application invoking the contact list.
1057
1058 2006-09-29  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
1059
1060         * UI/WebServerResources/ContactsUI.js: hide the current contact
1061         whenever the user changes of contact folder.
1062
1063         * UI/WebServerResources/UIxContactEditor.js: the contact UID is
1064         now provided by the template when loading the page.
1065
1066         * SoObjects/SOGo/AgenorUserManager.m ([AgenorUserManager
1067         -iCalPersonWithUid:uid]): new method taken from removed module
1068         'iCalPerson+UIx';
1069
1070 2006-09-28  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
1071
1072         * UI/Scheduler/UIxAppointmentView.m ([UIxAppointmentView
1073         -categoriesAsString]): same as below.
1074
1075         * UI/Scheduler/UIxAppointmentEditor.m: adapted by using the new
1076         vcalendar API's iCalEvent instead of the removed SOGoAppointment.
1077
1078         * SoObjects/Appointments/SOGoAppointmentObject.m
1079         ([SOGoAppointmentObject -calendarFromContent:cnt]): new helper method.
1080         ([SOGoAppointmentObject -firstEventFromCalendar:calendar]): new
1081         helper method.
1082
1083         * SoObjects/Appointments/SOGoAppointmentFolder.m
1084         ([SOGoAppointmentFolder -doCalendarQuery:context]): added a
1085         hackish test to detect whether the request concernes VEVENT's or
1086         anything else. Return events only in the former case.
1087         ([SOGoAppointmentFolder
1088         -fetchOverviewInfosFrom:_startDateto:_endDate]): retrieve the
1089         c_name quickfield so that the calendar list can identify the
1090         appointments with their complete "filename".
1091
1092         * OGoContentStore/OCSiCalFieldExtractor.m: use CardGroup's
1093         groupsOfClass:fromSource: to parse the given vcalendar.
1094
1095         * UI/Scheduler/iCalRecurrenceRule+SOGo.m: removed obsolete class.
1096
1097         * UI/Scheduler/SOGoAppointment+UIx.h: removed obsolete class.
1098
1099         * SoObjects/SOGo/SOGoAppointmentICalRenderer.[hm]: removed
1100         obsolete class.
1101
1102         * SoObjects/SOGo/SOGoAppointment.[hm]: removed obsolete class.
1103
1104 2006-09-26  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
1105
1106         * SoObjects/Appointments/SOGoAppointmentFolder.m
1107         ([SOGoAppointmentFolder -lookupName:inContext:acquire:]): be
1108         sensitive to the CalDAV method names.
1109         ([SOGoAppointmentFolder -doCalendarQuery:context]): method for the
1110         "calendar-query" CalDAV method name.
1111
1112         * UI/WebServerResources/ContactsUI.js: removed a lot of useless
1113         code coming originally from MailerUI.js.
1114
1115         * UI/WebServerResources/UIxContactEditor.js: imitate the
1116         Thunderbird address book by completing the display name with the
1117         content of the first and last name fields, until the display name
1118         is modified manually.
1119
1120         * UI/WebServerResources/generic.js: added a "trim" method to the
1121         String class.
1122
1123         * UI/Contacts/UIxContactsListViewBase.m ([UIxContactsListViewBase
1124         -displayName]): new method that returns the display name from "cn"
1125         or from the "displayName" key if found.
1126
1127         * UI/Contacts/UIxContactEditor.m ([UIxContactEditor
1128         -initSnapshot]): check if "[card n]" returns anything to avoid a
1129         crash.
1130
1131         * UI/Common/UIxPageFrame.m ([UIxPageFrame -doctype]): new method
1132         that returns an unparsed doctype definition for the pages.
1133
1134         * SoObjects/Contacts/SOGoContactLDAPEntry.m ([SOGoContactLDAPEntry
1135         -vCard]): set the card's fn to attribute "displayName" if found
1136         before "cn".
1137
1138 2006-09-20  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
1139
1140         * SoObjects/Contacts/SOGoContactLDAPEntry.m ([SOGoContactLDAPEntry
1141         -vCard]): handle the "streetAddress" and "l" fields.
1142
1143         * UI/Templates/MailerUI/UIxMailEditor.wox: arranged the message
1144         header fields by converting the tables to DIVs and SPANs.
1145
1146         * UI/WebServerResources/generic.css: attempted unification of font
1147         families and size across all the elements. changed the
1148         logConsole's "position" from "fixed" to "absolute" to avoid
1149         performance issues.
1150
1151 2006-09-19  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
1152
1153         * UI/WebServerResources/ContactsUI.js (uixDeleteSelectedContacts):
1154         empty the contact view when the current contact is being deleted.
1155
1156         * UI/WebServerResources/MailerUI.js (newContactFromEmail): fully
1157         parse the email field and provide the address full name if found
1158         as the "contactFN" parameter.
1159
1160         * UI/WebServerResources/generic.js (openMailTo): do not give a
1161         name to the opened window so that serveral ones can be opened at
1162         the same time.
1163
1164         * UI/MailPartViewers/UIxMailPartTextViewer.m
1165         ([UIxMailPartTextViewer -flatContentAsString]): override method by
1166         replacing carriage returns with "<br />" in the result string from
1167         super's implementation.
1168
1169         * UI/Contacts/UIxContactView.m ([UIxContactView
1170         -_urlOfType:aType]): don't manage non-mailto urls through
1171         javascript, let the user decide what's best for him.
1172
1173         * UI/Contacts/UIxContactFoldersView.m ([UIxContactFoldersView
1174         -newAction]): transfer all the query parameters by using the
1175         "asURLParameters"'s result string from [self queryParameters].
1176
1177         * UI/Contacts/UIxContactEditor.m ([UIxContactEditor
1178         -initSnapshot]): retrieve "contactEmail" and "contactFN" from the
1179         query parameters and put their values (if any) into the snapshot.
1180
1181         * UI/Contacts/UIxContactView.m ([UIxContactView -note]): convert
1182         carriage-returns to "<br />".
1183         ([UIxContactView -workCompany]): explicitly initialize company to
1184         nil if org is nil or empty.
1185
1186         * UI/WebServerResources/UIxContactEditor.js: updated validation
1187         code after we added and renamed some fields.
1188
1189         * UI/WebServerResources/ContactsUI.js: added code to cache contact
1190         cards and to handle card updates.
1191
1192 2006-09-18  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
1193
1194         * UI/Contacts/UIxContactView.m ([UIxContactView -hasOtherInfos]):
1195         test the length of the returned string since they will never be
1196         nil.
1197
1198         * UI/Contacts/UIxContactEditor.m ([UIxContactEditor -saveAction]):
1199         return self if the process went successful, returns an exception
1200         otherwise (and only otherwise...).
1201
1202         * OGoContentStore/OCSContactFieldExtractor.m
1203         ([OCSContactFieldExtractor -extractQuickFieldsFromVCard:_vCard]):
1204         adapted method to the new VCard api. Since the cards are stored in
1205         vcard format, we no longer deal with a dictionary but with a
1206         NGVCard object...
1207
1208 2006-09-15  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
1209
1210         * UI/Contacts/UIxContactView.m ([UIxContactView -preferredEmail]):
1211         return a string with a "mailto" url.
1212         ([UIxContactView -_urlOfType:aType]): generic method to return a
1213         url string with a html anchor pointing to it.
1214
1215         * UI/Contacts/UIxContactEditor.[hm]: UIxContactEditorBase renamed
1216         since subclass "UIxContactEditor" did nothing. Implemented code to
1217         display and modify the values parsed from the vcards, displayed in
1218         a way similar to the Thunderbird addressbook.
1219
1220         * SoObjects/Contacts/SOGoContactLDAPEntry.m ([SOGoContactLDAPEntry
1221         -save]): new dummy method.
1222
1223         * SoObjects/Contacts/SOGoContactGCSEntry.m ([SOGoContactGCSEntry
1224         -save]): made method void.
1225
1226 2006-09-13  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
1227
1228         * UI/Contacts/UIxContactView.m: added many wrapper methods to
1229         display blocks of data Ã  la Thunderbird Addressbook. If data is
1230         available, those wrappers (around the NGVCard methods) will
1231         enclose the results in a proper HTML output with the correct label
1232         (if present), otherwise it will return an empty string.
1233         ([UIxContactView -vcardAction]): new action to return the contact
1234         as text/vcard (for exporting).
1235
1236         * SoObjects/Contacts/SOGoContactLDAPEntry.m ([SOGoContactLDAPEntry
1237         +contactEntryWithName:aNamewithLDAPEntry:anEntryinContainer:aContainer]): adapted the mapping of the LDIF data with the new NGVCard API.
1238
1239         * SoObjects/Contacts/SOGoContactGCSEntry.m ([SOGoContactGCSEntry
1240         -vCard]): create a new NGVCard instance when no data is available
1241         and retain it.
1242         ([SOGoContactGCSEntry -save]): save the vCard using the new
1243         "versitString" API method/message.
1244
1245         * UI/Contacts/UIxContactView.h: separated interface from
1246         UIxContactView.m.
1247
1248         * UI/WebServerResources/ContactsUI.js: add-ed code to download card
1249         views and display them beneath the list.
1250
1251 2006-09-08  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
1252
1253         * SoObjects/SOGo/SOGoObject.m ([SOGoObject -userTimeZone]): retain
1254         the timezone even when it's the server timezone.
1255
1256         * SoObjects/SOGo/SOGoUserFolder.m ([SOGoUserFolder
1257         -privateContacts:inContext:]): no long configure the calendar
1258         object with the user's timezone since it's now accessible
1259         application-wide throught the SOGoObject methods.
1260
1261         * UI/SOGoUI/UIxComponent.[hm]: removed the "viewTimeZone" ivar and
1262         method. Removed the "backendTimeZone" method.
1263
1264         * UI/MainUI/SOGoUserHomePage.[hm]: made a subclass of UIxComponent
1265         instead of SoComponent.
1266
1267         * SoObjects/Appointments/SOGoAppointmentObject.m: 
1268         ([SOGoAppointmentObject -viewTimeZoneForPerson:_person]): returns
1269         [self serverTimeZone] instead of "EST" (which was removed).
1270
1271         * SoObjects/Appointments/SOGoAppointmentFolder.[hm]: removed the
1272         "timeZone" ivar and its accessors.
1273
1274         * SoObjects/SOGo/SOGoObject.m ([SOGoObject -serverTimeZone]): new
1275         centralized method returing the timezone configured in the
1276         userdefaults db or "Canada/Eastern" if missing.
1277         ([SOGoObject -userTimeZone]): new centralized method returing the
1278         timezone of the current user or the server timezone if missing
1279         from the user configuration table.
1280
1281 2006-09-07  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
1282
1283         * UI/WebServerResources/SchedulerUI.js: implemented caching of
1284         date selectors.
1285
1286         * UI/SOGoUI/UIxComponent.m ([UIxComponent -userFolderPath]):
1287         return a path based on the object's context instead of the first
1288         level in SOGo's object hierarchy...
1289
1290 2006-09-06  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
1291
1292         * UI/Templates/SchedulerUI/UIxCalDayTable.wox: day columns can now
1293         be clicked.
1294
1295         * UI/Templates/SchedulerUI/UIxCalDateSelector.wox: pass the user's
1296         timezone ([self viewTimeZone]) to the WEMonthOverview component to
1297         avoid a confusion with the days.
1298
1299         * UI/Templates/SchedulerUI/UIxCalInlineAptView.wox: appointments
1300         can now be clicked.
1301
1302         * UI/WebServerResources/SchedulerUI.js: implemented a mechanism to
1303         imitate Sunbird's synchronization between the 3 visible views.
1304
1305         * UI/SOGoUI/UIxComponent.m ([UIxComponent -selectedDate]): make
1306         sure the numbers in dateString are formatted so as to take 4 chars
1307         for the year and 2 for the day and the month, otherwise
1308         NSCalendarDate will return a nil date.
1309         ([UIxComponent -applicationPath]): return a path based on the
1310         object's context instead of the second level in SOGo's object
1311         hierarchy...
1312
1313 2006-09-05  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
1314
1315         * UI/SOGoUI/UIxComponent.m ([UIxComponent -selectedDate]): add the
1316         user's timezone abbreviation to the date string passed as parameter to
1317         NSCalendarDate to generate an accurate date instance. Do the same
1318         when no date is specified and today is chosen.
1319
1320         * UI/WebServerResources/UIxAppointmentEditor.js: convert the
1321         form's time values to integers before comparing them.
1322
1323         * UI/Scheduler/UIxCalAptListView.m ([UIxCalAptListView -currentStartTime]) 
1324         ([UIxCalAptListView -currentEndTime]): initialize the resulting
1325         dates timezone with [self viewTimeZone].
1326
1327         * UI/SOGoUI/UIxComponent.m ([UIxComponent -init]): new
1328         "viewTimeZone" ivar destined to hold an instance of the user's
1329         timezone in memory.
1330         ([UIxComponent -viewTimeZone]): take the timezone from the user's
1331         prefs.
1332
1333 2006-08-30  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
1334
1335         * UI/Templates/SchedulerUI/UIxAppointmentEditor.wox: completely
1336         rearranged the layout.
1337
1338         * UI/WebServerResources/UIxAppointmentEditor.js: added code to
1339         manage showing and hiding appointment details.
1340
1341         * SoObjects/SOGo/SOGoUserFolder.m ([SOGoUserFolder
1342         -privateContacts:inContext:]): init the SOGoAppointmentFolder's
1343         timezone by taking the current user's timezone setting.
1344
1345         * SoObjects/Appointments/SOGoAptMailNotification.m: same as below.
1346
1347         * SoObjects/Appointments/SOGoAppointmentObject.m
1348         ([SOGoAppointmentObject -changeParticipationStatus:inContext:]):
1349         set default timezone to EST, although this code should be
1350         rewritten to handle a system and a user default value.
1351
1352         * UI/Scheduler/UIxTimeDateControl.m ([UIxTimeDateControl
1353         -takeValuesFromRequest:_rqinContext:_ctx]): enhanced method to
1354         take the values from the hour and minute INPUTs when data is
1355         POSTed since we no longer use the UIxTimeSelector component.
1356         ([UIxTimeDateControl -selectableHours]) 
1357         ([UIxTimeDateControl -selectableMinutes]): new methods used by the
1358         template SELECTs to display reasonable and acceptable values
1359         instead of all the possibilities.
1360
1361         * UI/WebServerResources/generic.js: adapted code for the new
1362         implementation of the UIxContactSelector component (added a
1363         "remove" button, removed the previous INPUT and replaced them with
1364         links of class "button").
1365
1366         * UI/Scheduler/UIxTimeDateControl.h: separated interface from
1367         UIxTimeDateControl.m.
1368
1369         * UI/Scheduler/UIxCalDayTable.m ([UIxCalDayTable -currentAppointmentDay]) 
1370         ([UIxCalDayTable -currentAppointmentHour]): new methods that
1371         returns correctly formatted values used as attributes for JS code.
1372
1373         * UI/Contacts/UIxContactSelector.m ([UIxContactSelector
1374         -initialContactsAsString]): renamed implementation of
1375         initialParticipants.
1376         ([UIxContactSelector -currentContactId]) 
1377         ([UIxContactSelector -currentContactName]): new methods used when
1378         listing the initial contacts in the widget. Currently, both return
1379         the person's cn but the latter should ultimately return a user
1380         fullname.
1381
1382         * UI/Contacts/UIxContactSelector.h: separated interface from
1383         UIxContactSelector.m.
1384
1385         * UI/Scheduler/UIxDatePickerScript.[hm]: component removed since
1386         all javascript code is now put in Scheduler.js/generic.js.
1387
1388         * UI/Scheduler/NSCalendarDate+UIx.[hm]: category removed, code
1389         moved into NSCalendarDate+Scheduler instead.
1390
1391         * SoObjects/Appointments/SOGoAppointmentFolder.m
1392         ([SOGoAppointmentFolder -setTimeZone:newTZ]): new method to
1393         configure the timezone from SOGoUserFolder when the instance is
1394         being created.
1395         ([SOGoAppointmentFolder -viewTimeZone]): MET was removed. Returns
1396         the value of the new "timezone" ivar.
1397
1398 2006-08-25  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
1399
1400         * UI/WebServerResources/SchedulerUI.{css,js}: added a tabview with
1401         the date selector in the first page and the container of the
1402         future calendar selector in the second page.
1403
1404         * UI/WebServerResources/generic.js: added code for handling tabbed
1405         views.
1406
1407         * UI/Common/UIxPageFrame.m ([UIxPageFrame -productFrameworkName]):
1408         returns the bundle name associated to the current running product.
1409
1410 2006-08-24  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
1411
1412         * UI/WebServerResources/UIxAppointmentEditor.js: fixed the AJAX
1413         exception by invoking a timeout on the opener rather than invoking
1414         the list refresh method.
1415
1416         * UI/Scheduler/UIxCalDayView.m ([UIxCalDayView -labelForDay]):
1417         removed method.
1418
1419         * UI/Scheduler/UIxCalWeekView.m ([UIxCalWeekView -weekBeforePrevWeekQueryParameters]) 
1420         ([UIxCalWeekView -prevWeekQueryParameters]) 
1421         ([UIxCalWeekView -nextWeekQueryParameters]) 
1422         ([UIxCalWeekView -weekAfterNextWeekQueryParameters]): new methods
1423         that return the dates relatively to the current day.
1424         ([UIxCalWeekView -lastWeekName]) 
1425         ([UIxCalWeekView -currentWeekName]) 
1426         ([UIxCalWeekView -nextWeekName]) 
1427         ([UIxCalWeekView -weekAfterNextWeekName]) 
1428         ([UIxCalWeekView -_weekNumberWithOffsetFromToday:offset]): new
1429         methods that returns the label for the corresponding weeks.
1430
1431         * UI/Scheduler/UIxCalDayTable.[hm]: new class module/component
1432         used by UIxCalDayView and UIxCalWeekView to display the events
1433         occuring in one or more days.
1434
1435 2006-08-22  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
1436
1437         * UI/Scheduler/UIxCalMainView.m: extended class to populate the
1438         entries in the new "monthMenu" and "yearMenu".
1439
1440         * UI/Scheduler/UIxCalDayView.m ([UIxCalDayView -labelForDay]): new
1441         method to return the current day as a string formatted depending
1442         on the current locale.
1443
1444         * UI/Scheduler/UIxCalAptListView.m ([UIxCalAptListView -startDate]) 
1445         ([UIxCalAptListView -endDate]): "today" is now the default filter
1446         for displayed events.
1447         ([UIxCalAptListView -currentSerialDay]): new method returning the
1448         date of the current enumerated appointment in serial form
1449         (yyyymmdd).
1450
1451         * UI/WebServerResources/SchedulerUI.js: added code to select the
1452         relevant day when an appointment is selected. Added code to popup
1453         a month and a year menu whenever the header entries are clicked in
1454         the calendar widget.
1455
1456         * UI/WebServerResources/generic.js: made addClassName and
1457         removeClassName methods of HTMLElement.
1458
1459 2006-08-21  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
1460
1461         * UI/WebServerResources/MailerUI.js: fixed the contact creation
1462         from email addresses.
1463
1464         * UI/WebServerResources/generic.js: centralized the search-related
1465         functions here since the same code was used across the 3
1466         applications.
1467
1468         * UI/Scheduler/UIxCalAptListView.m ([UIxCalAptListView -startDate]) 
1469         ([UIxCalAptListView -endDate]): return the required dates needed
1470         depending on the value given to the "filterpopup" url parameter.
1471
1472         * UI/Common/UIxToolbar.m ([UIxToolbar -buttonLabel]): reduced the
1473         code by invoking UIxComponent's labelForKey:.
1474
1475         * UI/SOGoUI/UIxComponent.m ([UIxComponent -labelForKey:]): use
1476         [self pageResourceManager] instead of [self resourceManager].
1477
1478         * UI/Contacts/UIxContactEditorBase.m: invokes
1479         globallyUniqueObjectId on the clientobject's class instead of the
1480         hardcoded "SOGoFolder".
1481
1482         * UI/Contacts/UIxContactFoldersView.m ([UIxContactFoldersView
1483         -newAction]): redirect the "new" action to the personal (default)
1484         contact folder.
1485
1486         * SoObjects/SOGo/SOGoObject.m ([SOGoObject
1487         +objectWithName:inContainer:]): new constructor.
1488
1489         * SoObjects/Contacts/SOGoContactGCSFolder.m ([SOGoContactGCSFolder
1490         -lookupContactWithId:recordId]): always create a contact object,
1491         even if it does not exist.
1492
1493 2006-08-18  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
1494
1495         * UI/Scheduler/UIxCalMainView.[hm]: new class to serve as a pseudo
1496         component that lays out the different components of SOGoCalendar.
1497         Only serves as an Objective-C counterpart to its xml template.
1498
1499         * UI/Scheduler/UIxCalInlineMonthOverview.h: interface extracted
1500         from its .m file.
1501
1502         * UI/Scheduler/UIxCalFilterPanel.[hm]: new class designed to
1503         display a widget to handle the information displayed in the
1504         appointments list. Not currently used, lacks implementation.
1505
1506         * UI/Scheduler/UIxCalDateSelector.[hm]: new class designed to
1507         display a calendar as a dynamic widget from where one can select
1508         the current visible day.
1509
1510         * UI/Scheduler/NSCalendarDate+Scheduler.[hm]: category code
1511         extracted from UIxCalInlineMonthOverview.m.
1512
1513         * UI/Scheduler/UIxDatePicker.m: removed the jsPopup, jsCode and
1514         calendarPageURL methods. The javascript code is handled by .js
1515         files as much as possible...
1516
1517         * UI/WebServerResources/ContactsUI.js,
1518         UI/WebServerResources/MailerUI.js: adapted to the code refactoring
1519         in generic.js.
1520
1521         * UI/WebServerResources/SchedulerUI.js: implemented functions to
1522         handle the new widgets. XmlHTTPRequest code taken from
1523         MailerUI.js.
1524
1525         * UI/WebServerResources/generic.js: put some functions related to
1526         element selections as methods to HTMLElement and HTMLTableElement.
1527
1528         * UI/Scheduler/UIxCalAptListView.[hm]: new class designed to
1529         display the list of appointments (embodies the code-size of
1530         UIxCalAptListView; answers to the "aptlist" method).
1531
1532 2006-08-15  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
1533
1534         * UI/Scheduler/UIxCalWeekOverview.m ([UIxCalWeekOverview
1535         -correctURLAction]): new short action method replacing the method
1536         below by taking far less code.
1537
1538         * SoObjects/Appointments/SOGoAppointmentFolder.m
1539         ([SOGoAppointmentFolder -GETAction:]): removed method. Replaced
1540         with an action in the view-related code.
1541
1542         * UI/Scheduler/UIxAppointmentEditor.m: invoke
1543         "stringByEscapingHTMLString" on the resulting value to avoid
1544         issues with accented characters.
1545         ([-jsCode]): removed method since the javascript code was merged
1546         into SchedulerUI.js.
1547
1548 2006-08-14  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
1549
1550         * UI/Scheduler/iCalPerson+UIx.m ([iCalPerson +personWithUid:]):
1551         new class method that returns an iCalPerson based on the UID given
1552         as param.
1553
1554         * UI/Contacts/UIxContactsListViewContainerBase.m: 
1555         UIxContactsListViewContainer renamed to serve as a base class for
1556         the contact lists in both the contact editor and the contact
1557         selectors.
1558
1559         * SoObjects/Contacts/SOGoContactLDAPFolder.m
1560         ([SOGoContactLDAPFolder
1561         -LDAPSetHostname:setPort:setBindDN:setBindPW:setContactIdentifier:
1562         setUserIdentifier:setRootDN:]): an LDAP field specifying the
1563         loginname of the users can now be specified.
1564
1565         * UI/WebServerResources/generic.js: added code to manage contact
1566         lists through the new implementation of the UIxContactSelector.
1567
1568         * UI/Templates: put the templates related to SchedulerUI in its
1569         own directory.
1570
1571         * SoObjects/Contacts/NGLdapEntry+Contact.m ([NGLdapEntry
1572         -asDictionaryWithAttributeNames:withUID:andCName:cName]): add an
1573         entry for "uid" with the field name representing the login name of
1574         the user in the corresponding LDAP branch.
1575
1576 2006-08-10  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
1577
1578         * SoObjects/Contacts/SOGoContactGCSFolder.m ([SOGoContactGCSFolder
1579         -lookupName:_keyinContext:_ctxacquire:_flag]): when the HTTP
1580         request is a PUT, always create an entry, even if we're not sure
1581         it does exist.
1582
1583 2006-08-09  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
1584
1585         * UI/WebServerResources/ContactsUI.js: implemented live-search.
1586
1587         * SoObjects/Contacts/SOGoContactFolders.m ([SOGoContactFolders
1588         -appendSystemSourcesInContext:context]): populated method with
1589         code that creates entries mapped to instances SOGoContactFolder,
1590         based on the configuration found in the NSUserDefaults under the
1591         key "SOGoLDAPAddressBooks".
1592         ([SOGoContactFolders
1593         -lookupName:nameinContext:contextacquire:acquire]):
1594         "contactsources" do not exist anymore, SOGoContactFolder was split
1595         into two classes: SOGoContactGCSFolder and SOGoContactLDAPFolder
1596         and one protocol: SOGOContactFolder, instead.
1597         ([SOGoContactFolders -contactFolders]): new accessor used by the
1598         views of SOGoContactXXXFolder to list the possible sources.
1599
1600         * SoObjects/Contacts/SOGoContactObject.h: new protocol that
1601         defines the methods that UIxContactsView, ..Editor and so on...
1602         can expect.
1603
1604         * SoObjects/Contacts/SOGoContactFolder.h: new protocol that
1605         defines the methods that UIxContactsListViewBase expects as well
1606         as the data fields returned in the contact lists.
1607
1608         * SoObjects/Contacts/SOGoContactLDAPFolder.[hm]: new class that
1609         returns entries an LDAP server. Conforms to the new
1610         SOGOContactFolder protocol.
1611
1612         * SoObjects/Contacts/SOGoContactLDAPEntry.[hm]: new class that
1613         returns a vCard based on contact entries from an LDAP server.
1614         Conforms to the new SOGOContactObject protocol.
1615
1616         * SoObjects/Contacts/NGVCardSimpleValue+Contact.m
1617         ([NGVCardSimpleValue -vCardEntryString]): generates the correct
1618         entry for the textual representation of the vCard.
1619
1620         * SoObjects/Contacts/NGVCardSimpleValue+Contact.[hm]: new class
1621         extension.
1622
1623         * SoObjects/Contacts/SOGoContactGCSEntry.[hm]: new module name of
1624         "SOGoContactObject".
1625
1626         * SoObjects/Contacts/NGVCard+Contact.m ([NGVCard -asString]): new
1627         method that generates a textual representation of the vcard.
1628
1629         * SoObjects/Contacts/NGVCard+Contact.[hm]: new class extension.
1630
1631         * SoObjects/Contacts/SOGoContactGCSFolder.[hm]: new module name of
1632         "SOGoContactFolder".
1633
1634         * SoObjects/Contacts/SOGoContactSource.h,
1635         SoObjects/Contacts/SOGoPersonalAB.[hm]: unused classes and
1636         protocols.
1637
1638         * SoObjects/Contacts/NGLdapEntry+Contact.m ([NGLdapEntry
1639         -singleAttributeWithName:key]): new method that returns the first
1640         object associated with an ldap key (where generally one value is
1641         returned by key).
1642         ([NGLdapEntry
1643         -asDictionaryWithAttributeNames:attributeNamesandCName:cName]):
1644         map the entry into an NSDictionary for processing by
1645         UIxContactsListViewBase.m with the least possible overhead.
1646
1647         * SoObjects/Contacts/NGLdapEntry+Contact.[hm]: new class
1648         extension.
1649
1650 2006-08-04  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
1651
1652         * SoObjects/SOGo/SOGoUserFolder.m ([SOGoUserFolder
1653         -privateContacts:inContext:]): now returns an instance of
1654         SOGoContactFolders.
1655
1656         * UI/Contacts/UIxContactsListViewContainer.m
1657         ([UIxContactsListViewContainer -contactFolderName]): new method to
1658         return the absolute path to the current contact folder, called
1659         from within the template.
1660
1661         * UI/Templates/ContactsUI/UIxContactsListViewContainer.wox: added
1662         JS code to initialize the 'currentContactFolder' generic var.
1663
1664         * SoObjects/Contacts/SOGoContactFolder.m ([SOGoContactFolder
1665         +contactFolderWithSource:inContainer:andName:]): new class
1666         method meant to return an instance connected to the specified
1667         source. Currently useless but won't be anymore in the next few
1668         days.
1669
1670         * SoObjects/SOGo/SOGoUserFolder.h: commented out declaration of
1671         the "lookupFreeBusyObject" method since it does not exist.
1672
1673         * UI/Contacts/UIxContactFoldersView.[hm]: new class module serving
1674         as a "view" for the SOGoContactFolders object. Does nothing but
1675         redirect the browser to the URL of the personal address book of
1676         the user. It does not even have a template.
1677
1678         * SoObjects/Contacts/SOGoPersonalAB.[hm]: new class module
1679         implementing the SOGoContactSource protocol. Does nothing
1680         currently but will be used to implement access to the personal
1681         address book of the user stored in the SOGo database.
1682
1683         * SoObjects/Contacts/SOGoContactSource.h: new "SOGoContactSource"
1684         protocol defining an API common to all possible types of contact
1685         sources.
1686
1687         * SoObjects/Contacts/SOGoContactFolders.[hm]: new class module
1688         serving as the root of the contact folders available to the
1689         current user. Correctly lists the contact sources in webdav.
1690
1691 2006-08-03  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
1692
1693         * UI/MailerUI/UIxMailAccountsView.m ([UIxMailAccountsView
1694         -composeAction]): new action method that permits external object
1695         to write a message from the default (primary) account.
1696
1697         * UI/Contacts/UIxContactEditorBase.m ([UIxContactEditorBase
1698         -initSnapshot]): new method with code taken from "defaultAction"
1699         but needed for others.
1700         ([UIxContactEditorBase -writeAction]): new action designed to
1701         compose the correct URL needed to obtain the MailerUI's email
1702         editor with the correct "mailto" parameter.
1703
1704         * UI/Common/UIxSortableTableHeader.m: moved from MailerUI to
1705         Common so that other modules can use it.
1706
1707         * UI/Contacts/UIxContactsListViewContainer.m: container to make it
1708         easier to manage both ajax and non-ajax requests.
1709
1710         * UI/Contacts/UIxContactsFilterPanel.m: clone of
1711         UIxMailFilterPanel, but applicable to contact lists.
1712
1713         * SoObjects/Contacts/NSDictionary+Contact.m ([NSDictionary
1714         -vcardContentFromSOGoContactRecord]): use the new standard methods
1715         created for each type of entry. If a line is determined to not
1716         contain information, it will be skipped.
1717
1718         * SoObjects/SOGo/AgenorUserManager.m ([AgenorUserManager
1719         +initialize]): init defaultMailDomain with the user default
1720         "SOGoDefaultMailDomain".
1721
1722 2006-08-02  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
1723
1724         * UI/Contacts/UIxContactEditorBase.m ([UIxContactEditorBase
1725         -saveAction]): reorganized methods to only have ONE return point.
1726         Invoke saveRecord: directly on the clientObject instead of
1727         saveContentString, which does the same thing anyway.
1728
1729         * SoObjects/Contacts/NSDictionary+Contact.m
1730         ([NSDictionary -vcardContentFromSOGoContactRecord]): extension
1731         method to convert the dictionary returned with the user submission
1732         to a record in VCARD format to be stored in the database.
1733
1734 2006-08-01  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
1735
1736         * UI/WebServerResources/MailerUI.js: when opening the context menu
1737         of the message list, select the message below the mouse cursor and
1738         deselect the other selected messages temporarily. This mimics the
1739         behaviour of Thunderbird for that matter and was already
1740         implemented for the entries of the folder tree.
1741
1742         * UI/MailerUI/UIxMailFolderMenu.m ([UIxMailFolderMenu
1743         -iconForMenuItem]): new method that returns the fully qualified
1744         relative URL to the icon representing the mailbox, or the default
1745         mailbox icon if needed.
1746
1747         * UI/SOGoUI/UIxComponent.m ([UIxComponent
1748         -urlForResourceFilename:filename]): automatically return an empty
1749         string whenever the filename passed as argument is nil.
1750
1751         * UI/WebServerResources/MailerUI.js: open the mailboxes with the
1752         "desc" parameter set to 1 so that they are sorted in descending
1753         order by default. Also, added "onHeaderClick()", triggered by
1754         clicking on the message list header elements.
1755
1756         * UI/MailerUI/UIxMailSortableTableHeader.m
1757         ([UIxMailSortableTableHeader -isSortedDescending]): same as below.
1758
1759         * UI/MailerUI/UIxMailListView.m ([UIxMailListView
1760         -isSortedDescending]): defaults to "YES" when the sort order is
1761         not specified.
1762
1763 2006-07-31  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
1764
1765         * UI/WebServerResources/MailerUI.js:
1766         - message cache: set the max num of cached messages to 20. Limit
1767         the cached message size to 30000 bytes.
1768         - ajax: when a message request is called while one is already
1769         being performed, the latter will be cancelled. Idem when
1770         retrieving the content of a mailbox.
1771         - folder tree: when a mailbox is selected because of the URL
1772         requested (initMailboxSelection), the dtree is expanded throughout
1773         the mailbox entry's parent hierarchy to ensure it is made visible
1774         when the page is being displayed. (new function: expandUpperTree).
1775         - mailbox loading: when loading a mailbox where a message was
1776         previously selected, we invoke its url with the "pageforuid"
1777         parameter correctly specified. During callback processing, we scan
1778         the table for the related row and reselect it.
1779         Also, the message area is set blank before loading any mailbox.
1780
1781         * UI/MailerUI/UIxMailListView.m ([UIxMailListView
1782         -defaultAction]): if the "pageforuid" parameter is passed in the
1783         url, take its value and invoke [self firstMessageOfPageFor:]
1784         consequently to deduce the first message to display. Otherwise,
1785         set it to "idx", otherwise set it to 0.
1786         ([UIxMailListView -firstMessageOfPageFor:]): new method
1787         that determines the first message of the page where the message
1788         passed as parameter is contained.
1789
1790         * UI/WebServerResources/UIxMailListView.js: removed this module,
1791         its code was put in MailerUI.js instead.
1792
1793 2006-07-28  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
1794
1795         * UI/MailerUI/UIxMailFolderMenu.m: a descendent of UIxMailTree
1796         which returns the nodes for the parent specified in "parentMenu".
1797         Used to generate the javascript code for the folder dtree.
1798
1799         * UI/Templates/MailerUI/UIxMailPanelFrame.wox: the components
1800         using that container-template are now using UIxMailMainFrame
1801         since UIxMailPanelFrame had no real interest. File removed.
1802
1803         * UI/WebServerResources/dtree.{css,js}: new files to handle
1804         javascript-generated mailbox tree. Modified from original version
1805         by integrating the previous code with the one we are using for
1806         selections and mailbox handling. Minor visual enhancements too...
1807
1808 2006-07-25  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
1809
1810         * SoObjects/Mailer/SOGoUser+Mail.m: if only one identity is to be
1811         returned, put it in an NSArray before returning it (fixes
1812         bug#217).
1813
1814 2006-07-24  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
1815
1816         * UI/SOGoUI/NSString+URL.m ([NSString -hostlessURL]): new method
1817         that returns a url string stripped from its "http://hostname"
1818         prefix.
1819
1820         * UI/SOGoUI/NSDictionary+URL.[hm]: moved from UI/Common.
1821
1822         * UI/SOGoUI/NSString+URL.[hm]: moved from UI/Common.
1823
1824 2006-07-17  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
1825
1826         * UI/MailerUI/WOContext+UIxMailer.m ([WOContext
1827         -mailDateFormatter]): retrieve the timezone from the user settings
1828         and pass it to the returned dateFormatter. Also, the dateFormatter
1829         is kept in a static variable to avoid useless
1830         creations/destructions.
1831
1832         * UI/MailerUI/UIxMailFormatter.m ([UIxMailDateFormatter
1833         -setTimeZone:newTimeZone]): new accessor to specify the timezone.
1834
1835         * UI/MailerUI/UIxMailFilterPanel.m ([UIxMailFilterPanel -setSearchCriteria:]) 
1836         ([UIxMailFilterPanel -searchCriteria]): new methods, similar to
1837         s/Criteria/Text/ to handle the "criteria" form parameter.
1838
1839 2006-07-11  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
1840
1841         * UI/WebServerResources/uix.css: enhanced the toolbar appearance
1842         to integrate better with the firefox look&feel. Added entries for
1843         the new "menu" DIV class (popup menus).
1844
1845         * UI/WebServerResources/generic.js: added "sanitizeMailTo" which
1846         takes any chunk of text as param, detects the user email and the
1847         optional first and last names and return them in a well-formatted
1848         way. Renamed "getSelection" to "getSelectedNodes" to avoid a
1849         namespace conflict. Added "onMenuClick(node, event, menuId)" to
1850         handle popup menus through "onclick" element attributes (node =
1851         this, event = event and menuId = name of the menu DIV id to
1852         popup).
1853
1854         * UI/Contacts/UIxContactEditorBase.m ([UIxContactEditorBase
1855         -snapshot]): add an entry for "email" into the snapshot
1856         dictionary if a "contactEmail" URL parameter was detected and if
1857         the entry for "email" is empty.
1858
1859         * UI/Contacts/Toolbars/SOGoContactFolder.toolbar: the "new card"
1860         button now invokes the newContact() js function in ContactsUI.js
1861         instead of opening "new" directly. newContact() pops up a window
1862         stripped from its navigation bar.
1863
1864         * UI/Contacts/ContactsUI.js: new module specific to the ContactsUI
1865         bundle (AddressBook).
1866
1867         * UI/Templates/MailerUI/UIxMailView.wox: added a div of class
1868         "menu" and id "addressMenu" have the header email addresses
1869         display it with the new menu code in generic.js.
1870
1871         * UI/Templates/MailerUI/UIxMailPanelFrame.wox: same as below +
1872         replaced the body tables with a div of class "pageContent"
1873         (standardization across the page templates).
1874
1875         * UI/Templates/MailerUI/UIxMailMainFrame.wox: include
1876         productJavaScriptURL and pageJavaScriptURL (conditionnally) since
1877         those are now inherited from UIxPageFrame.
1878
1879         * UI/MailerUI/UIxMailView.js: new file specific to UIxMailView.
1880
1881         * UI/MailerUI/UIxMailToSelection.m ([UIxMailToSelection -to]): if
1882         a "mailto" URL parameter is detected and the "to" array is empty,
1883         initialize "to" with the value of "mailto" before returning it.
1884
1885         * UI/MailerUI/UIxMailEditorAction.m ([UIxMailEditorAction
1886         -composeAction]): rewrote method in a cleaner way and with usage
1887         of the URL extensions to NSString and NSDictionary (see below).
1888         Also, if a "mailto" url parameter is detected, pass it to the
1889         redirected url.
1890
1891         * UI/MailerUI/UIxMailMainFrame.m: subclassed from UIxPageFrame to
1892         reduce code.
1893
1894         * UI/Common/NSDictionary+URL.m ([NSDictionary -asURLParameters]):
1895         returns a parameter string to add to a base URL.
1896
1897         * UI/Common/NSString+URL.m ([NSString
1898         -composeURLWithAction:parameters:andHash:useHash]): new method to
1899         compose a complete URL from an object URL with parameters and an
1900         optional '#' character.
1901
1902         * UI/Common/UIxPageFrame.h: separated interface from
1903         UIxPageFrame.m.
1904
1905 2006-07-07  Wsourdeau Sourdeau  <wsourdeau@inverse.ca>
1906
1907         * UI/Scheduler/UIxAppointmentEditor.m: returns yes to "isPopup";
1908
1909         * UI/WebServerResources/generic.js: added code to manage
1910         selections within HTML containers.
1911
1912         * UI/Common/UIxPageFrame.m ([UIxPageFrame -productJavaScriptURL]):
1913         added method to determine the possible URL for a product-specific
1914         javascript filename of the forme <productname>.js.
1915         ([UIxPageFrame -hasProductSpecificJavaScript]): new method.
1916         ([UIxPageFrame -isPopup]): new method to determine whether the
1917         application navigator bar should be displayed (main page) or not
1918         (popup page).
1919
1920         * SoObjects/SOGo/SOGoAuthenticator.m ([SOGoAuthenticator
1921         -LDAPCheckLogin:_loginpassword:_pwd]): new method to authenticate
1922         the user through LDAP.
1923
1924 2006-07-06  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
1925
1926         * The toolbar code from the MailerUI product was taken, renamed as
1927         "UIxToolBar" and put into UI/Common. Toolbar plists were created
1928         for the Contacts and Scheduler products and put in their respectir
1929         Toolbars/ subdirectories. Finally,
1930         UI/Templates/{UIxToolbarButton,UIxToolbarSeparator}.wox, and
1931         UI/Common/{UIxToolbarButton,UIxToolbarSeparator}.m were removed
1932         and an invocation to the UIxToolbar component was put at the top
1933         of UI/Templaces/UIxPageFrame.wox.
1934
1935         * UI/Common/UIxToolbar.m: new "isLastGroup" method to determine
1936         within the templates whether a separator should be displayed.
1937
1938         * UI/Common/UIxToolbar.m ([UIxToolbar -hasButtons]): new method
1939         that returns NO if the toolbar is empty.
1940
1941 2006-07-05  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
1942
1943         * UI/Templates/UIxPageFrame.wox: replaced central table with a DIV.
1944
1945         * UI/Common/UIxToolbarSeparator.m, UI/Common/UIxToolbarButton.m:
1946         new toolbar objects.
1947
1948         * UI/Templates/UIxPageFrame.wox: use the exact html code as below.
1949
1950         * UI/Templates/MailerUI/UIxMailMainFrame.wox: redone the
1951         linkbanner as a DIV instead of a TABLE.
1952
1953         * UI/MailerUI/UIxMailMainFrame.m [UIxMailMainFrame
1954         showLinkBanner]:
1955         returns 'YES' to request the display of the navigation bar between
1956         applets.
1957
1958 2006-06-15      ludovic@inverse.ca
1959
1960         * It's now possible to set the default
1961           domain using for email using the
1962           SOGoDefaultMailDomain preference key.
1963
1964 2006-06-15      ludovic@inverse.ca
1965         
1966         * Initial import of SOGo from trunk.