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