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