1 2007-04-10 Wolfgang Sourdeau <wsourdeau@inverse.ca>
3 * SoObjects/Contacts/SOGoContactGCSEntry.m ([SOGoContactGCSEntry
4 -vCard]): test the prefix of the card in a case-independent way.
6 * OGoContentStore/OCSContactFieldExtractor.m
7 ([OCSContactFieldExtractor
8 -extractQuickFieldsFromContent:content]): we no longer accept
9 records in a format other than versit vCard so we can get rid of a
12 2007-04-04 Wolfgang Sourdeau <wsourdeau@inverse.ca>
14 * UI/Contacts/UIxContactsListView.m ([UIxContactsListView
15 -selectorComponentClass]): restored method.
17 2007-04-03 Wolfgang Sourdeau <wsourdeau@inverse.ca>
19 * UI/Scheduler/UIxCalTasksListView.m ([UIxCalTasksListView
20 -shouldDisplayCurrentTask]): the current task is not displayed if
21 it is NOT completed or if the "showCompletedTasks" flag is set.
22 The logic was inverted in Lightning and is now in SOGo too.
24 2007-04-02 Wolfgang Sourdeau <wsourdeau@inverse.ca>
26 * UI/Contacts/UIxContactView.m ([UIxContactView -workUrl]): we
27 want the "work" url instead of the "home".
29 * UI/Contacts/UIxContactEditor.m ([UIxContactEditor
30 -_saveSnapshot]): save url values from snapshot.
31 ([UIxContactEditor -initSnapshot]): load url values from snapshot.
33 * UI/Scheduler/UIxComponentEditor.m ([UIxComponentEditor
34 -calendarList]): new method replacing "availableCalendars".
36 * UI/Scheduler/UIxCalendarSelector.m ([UIxCalendarSelector
37 -calendarFolders]): we now take the list of subscribed calendar
40 * SoObjects/Appointments/SOGoAppointmentFolder.m
41 ([SOGoAppointmentFolder -calendarFoldersInContext:context]): new
42 method derived from and replacing [UIxCalView calendarFolders].
44 2007-03-30 Wolfgang Sourdeau <wsourdeau@inverse.ca>
46 * SoObjects/Mailer/SOGoMailAccount.m ([SOGoMailAccount
47 -toManyRelationshipKeys]): don't put the predefined folders in the
48 list if they are returned by the server.
50 * UI/MailerUI/UIxMailTree.m ([UIxMailTree -flattenedNodes]): we no
51 longer store the "flattenedBlocks" in a dictionary since the
52 object will be deleted anyway and we don't need to put the folders
55 * UI/MailPartViewers/UIxMailPartHTMLViewer.m
56 ([UIxMailPartHTMLViewer -_attachmentIds]): take the current
57 attachment path into account when computing the part urls.
59 2007-03-29 Wolfgang Sourdeau <wsourdeau@inverse.ca>
61 * UI/Contacts/UIxContactsListViewContainer.m
62 ([UIxContactsListViewContainer -additionalFolders]): take the list
63 of subscribed folders from the new property list used for the user
64 settings. The value of its key is SubscribedFolders for the
65 dictionary entry named "Contacts".
67 * UI/Contacts/UIxContactsListView.m ([UIxContactsListView
68 -canAccessContentAction]): new method to override the one from
69 UIxFoldersActions by taking into account the fact that, this time,
70 the clientObject is an ldap folder. Removed many method that used
71 to be related to the handling of the user selector.
73 * UI/Scheduler/UIxCalDayView.m: commented out many unused methods
74 to make sure they can be removed.
76 * UI/Scheduler/UIxCalView.m ([UIxCalView -_setupCalendarFolders]):
77 populate the calendar entries based on the user settings plist.
79 * UI/Contacts/UIxContactFoldersView.m ([UIxContactFoldersView
80 -selectForMailerAction]): restored method.
82 * UI/Scheduler/UIxCalendarSelector.m: new template module derived
83 from a simplified version of the old UIxContactEditor (removed).
85 * UI/Contacts/UIxContactsUserFolders.m: new template module for
86 selecting users or user folders through an LDAP search of which
87 the results are displayed as a tree.
89 * UI/WebServerResources/UIxMailEditor.js: moved previous generic
90 method "onContactAdd" here since the Mailer is now the only module
91 to use it when composing emails.
93 * UI/WebServerResources/generic.js: added code for handling the
94 new scheme used for describing SOGo folders, common code to handle
95 folder addition or removal.
97 * UI/Common/UIxFolderActions.m ([UIxFolderActions
98 -activateFolderAction]): new method that change the "active"
99 settings in the folder-related fields in the user settings.
100 ([UIxFolderActions -deactivateFolderAction]): see above.
102 * UI/Contacts/UIxContactFoldersView.m ([UIxContactFoldersView
103 -checkRightsAction]): removed method.
105 * UI/Contacts/UIxContactFoldersView.m ([UIxContactFoldersView
106 -updateAdditionalAddressBooksAction]): removed method.
108 * UI/Scheduler/UIxCalMainView.m ([UIxCalMainView
109 -updateCalendarsAction]): removed method.
111 2007-03-28 Wolfgang Sourdeau <wsourdeau@inverse.ca>
113 * UI/Scheduler/UIxCalMainView.m ([UIxCalMainView
114 -checkRightsAction]): removed method.
116 * UI/Common/UIxFolderActions.m ([UIxFolderActions
117 -canAccessContentAction]): new method designed to replace
118 [UIxCalMainView checkRightsAction] in a more universal way.
120 2007-03-27 Wolfgang Sourdeau <wsourdeau@inverse.ca>
122 * SoObjects/Contacts/SOGoContactFolders.m ([SOGoContactFolders
123 -roleOfUser:uidinContext:context]): take all the subkeys into
124 account, not only the "personal" folder.
126 * UI/Scheduler/UIxComponentEditor.m ([UIxComponentEditor
127 -takeValuesFromRequest:_rqinContext:_ctx]): append a "uid" field
128 to the new components.
130 * SoObjects/SOGo/SOGoUser.m ([SOGoUser -userSettings]): new method
133 * SoObjects/SOGo/AgenorUserManager.m ([AgenorUserManager
134 -getUserDefaultsForUID:uid]): rewrote method to use the "defaults"
135 field of the sogo_user_profile table, where the user-customizable
136 changes will be saved.
137 ([AgenorUserManager -getUserSettingsForUID:uid]): new method
138 similar to the one above, using the "settings" field where the
139 automatic settings will be saved.
141 * SoObjects/SOGo/AgenorUserDefaults.m: rewrote a big part of the
142 module to bind the userdefaults to a property list contained in a
143 specified field of the sogo_user_profile table.
145 -initWithTableURL:tableURLuid:userIDfieldName:defaultsFieldName]):
146 added a "fieldName" parameter.
148 * UI/Common/UIxFolderActions.m: new module implementing web
149 actions common to all GCS-based folders.
151 2007-03-26 Wolfgang Sourdeau <wsourdeau@inverse.ca>
153 * UI/Scheduler/UIxCalDayTable.m ([UIxCalDayTable -labelForDay]):
154 put a carriage return after the day name.
156 * UI/MainUI/SOGoUserHomePage.m ([SOGoUserHomePage
157 -readFreeBusyAction]): restored method.
159 2007-03-22 Wolfgang Sourdeau <wsourdeau@inverse.ca>
161 * UI/MainUI/SOGoUserHomePage.m ([SOGoUserHomePage
162 -defaultAction]): remade module to redirect automatically to the
165 * SoObjects/Contacts/NSDictionary+Contact.m: removed module.
167 2007-03-21 Wolfgang Sourdeau <wsourdeau@inverse.ca>
169 * UI/Contacts/UIxContactsListView.m ([UIxContactsListView
170 -deleteAction]): new web method to delete personal addressbook
173 * SoObjects/Contacts/SOGoContactGCSFolder.m ([SOGoContactGCSFolder
174 -delete]): override method to refuse the deletion of the folder if
175 its nameInContainer is "personal".
177 * SoObjects/SOGo/SOGoFolder.m ([SOGoFolder -delete]): new method
178 that forwards the deletion request to the folder manager.
180 2007-03-19 Wolfgang Sourdeau <wsourdeau@inverse.ca>
182 * UI/Scheduler/UIxAttendeesEditor.m ([UIxAttendeesEditor
183 -zoomList]): new method that returns the list of available zoom factors.
185 * UI/Scheduler/UIxTaskEditor.m ([UIxTaskEditor
186 -changeStatusAction]): rewrote method.
188 * UI/Scheduler/UIxComponentEditor.m ([UIxComponentEditor
189 -_handleAttendeesEdition]): make sure "attendeesNames" has a
190 length > 0 before computing the attendees. Otherwise there will be
191 an invalid empty entry.
192 ([UIxComponentEditor -_handleOrganizer]): new method that adds the
193 organizer when there are attendees and remove it when the
194 attendees are removed.
196 2007-03-18 Wolfgang Sourdeau <wsourdeau@inverse.ca>
198 * UI/Scheduler/UIxAttendeesEditor.m): new component.
200 * UI/Scheduler/UIxComponentEditor.m: no longer a superclass for
201 the task and appointment editors. Now a container component
202 handling the common elements of tasks and events.
204 * UI/Scheduler/UIxTaskEditor.m: same as below.
206 * UI/Scheduler/UIxAppointmentEditor.m: rewrote template. No longer
207 a subclass of UIxComponentEditor but a subcomponent of it.
209 * UI/Common/UIxToolbar.m ([UIxToolbar -toolbarConfig]): the
210 toolbar can have the special value "none" to indicate there is
211 none attached to the window.
213 * SoObjects/Appointments/SOGoCalendarComponent.m
214 ([SOGoCalendarComponent -isOrganizer:emailorOwner:login]): new
216 ([SOGoCalendarComponent -isParticipant:email]): new method.
217 ([SOGoCalendarComponent -calendar:create]): takes one parameter
218 "create" which is a boolean indicating whether we want to create
219 the calendar if it does not exist.
221 2007-03-12 Wolfgang Sourdeau <wsourdeau@inverse.ca>
223 * UI/Scheduler/UIxCalMonthView.m: changed view to use divs instead
224 of a table, the same way the dayly and weekly views have been for
227 2007-02-09 Helge Hess <helge.hess@opengroupware.org>
229 * SoObjects/Appointments/SOGoAppointmentFolder.m: added CalDAV
232 * SoObjects/SOGo/SOGoUserFolder.m: added davCalendarHomeSet CalDAV
233 property to point at the user folder
235 2007-03-07 Wolfgang Sourdeau <wsourdeau@inverse.ca>
237 * SoObjects/SOGo/SOGoAuthenticator.m ([SOGoAuthenticator
238 -userInContext:]): returns "SOGoUser".
240 * SoObjects/Appointments/SOGoCalendarComponent.m
241 ([SOGoCalendarComponent -contentAsString]): overriden method that
242 takes the privacy into account and discard the relevant fields if
243 needed by generating a new content string and caching it.
244 ([SOGoCalendarComponent
245 -saveContentString:contentStringbaseVersion:baseVersion]): if the
246 new method above has cached a content string, release it and set
247 it to nil so that it will have to be regenerated in the case it is
249 ([SOGoCalendarComponent -_filterPrivateComponent:component]):
250 discard the fields that have to be hidden when the card is
253 * SoObjects/Appointments/SOGoAppointmentFolder.m
254 ([SOGoAppointmentFolder
255 -appendObject:objectwithBaseURL:baseURLtoREPORTResponse:r]): make
256 sure the cards are now handled as instances of
257 SOGoCalendarComponent instead of SOGoContentObject so that their
258 content string is taking the privacy classifiction into account.
259 ([SOGoAppointmentFolder -_privacySqlString]): new method that
260 generates a query to determine what information can be given and
261 if the card itself has to be shown.
263 * UI/Scheduler/UIxComponent+Agenor.m ([UIxComponent
264 -getICalPersonsFromValue:selectorValue]): removed useless
265 "isAccessRestricted" method.
267 * UI/Scheduler/UIxCalInlineAptView.m ([UIxCalInlineAptView
268 -setStyle:_style]): test whether the values of orgmail and
269 partmails are null before manipulating them, otherwise SOGo sends
270 a "rangeOfString:" message to an NSNull, which makes it crashes.
272 * OGoContentStore/OCSiCalFieldExtractor.m ([OCSiCalFieldExtractor
273 -extractQuickFieldsFromEvent:_event]): we now use the new
274 "symbolicAccessClass" method from iCalEntity to determine the
275 value of the "classifiction" field.
276 ([OCSiCalFieldExtractor -extractQuickFieldsFromTodo:_task]): same
279 2007-03-05 Wolfgang Sourdeau <wsourdeau@inverse.ca>
281 * SoObjects/Appointments/SOGoAppointmentFolder.m
282 ([SOGoAppointmentFolder
283 -fetchCoreInfosFrom:_startDateto:_endDatecomponent:_component]):
284 see below, the query is adapted consequently.
286 * OGoContentStore/OCSiCalFieldExtractor.m ([OCSiCalFieldExtractor
287 -extractQuickFieldsFromTodo:_task]): the field "ispublic" was
288 renamed to "classification" and can any integer as value.
289 ([OCSiCalFieldExtractor -extractQuickFieldsFromEvent:_event]):
292 2007-02-26 Wolfgang Sourdeau <wsourdeau@inverse.ca>
294 * UI/MailPartViewers/UIxMailPartHTMLViewer.m
295 ([_UIxHTMLMailContentHandler -_appendStyle:_charslength:_len]):
296 don't prepend anything to the class and id named. Instead, we
297 make each style embedded in the ".SOGoHTMLMail-CSS-Delimiter"
300 2007-02-21 Wolfgang Sourdeau <wsourdeau@inverse.ca>
302 * SoObjects/SOGo/SOGoContentObject.m ([SOGoContentObject
303 -rolesOfUser:logininContext:context]): if object does not exists
304 (for example when it's being created), the current user has the
305 same rights on it than he/she has on its parent container.
307 * SoObjects/SOGo/SOGoFolder.m ([SOGoFolder
308 -nameExistsInFolder:objectName]): methods that tests if a c_name
309 corresponding to the name passed as parameter is present in the db
312 2007-02-16 Wolfgang Sourdeau <wsourdeau@inverse.ca>
314 * SoObjects/SOGo/SOGoUser.m ([SOGoUser
315 -rolesForObject:objectinContext:context]): test for
316 "rolesOfUser:inContext:" in addition to "roleOfUser:...".
318 * SoObjects/Appointments/SOGoCalendarComponent.m
319 ([SOGoCalendarComponent -rolesOfUser:logininContext:context]):
320 returns the roles of the user on the container object if the event
323 2007-02-15 Wolfgang Sourdeau <wsourdeau@inverse.ca>
325 * UI/MailPartViewers/UIxMailRenderingContext.m: returns the
326 alternativeViewer a multipart/related message is being handled.
328 * UI/MailPartViewers/UIxMailPartHTMLViewer.m: reimplemented module
331 * UI/MailPartViewers/UIxMailPartAlternativeViewer.m: select the
332 text/html component before text/plain.
334 * SoObjects/Mailer/SOGoMailObject.m ([SOGoMailObject
335 -addRequiredKeysOfStructure:path:toArray:recurse:]): accepts the
336 fetching of HTML parts.
338 * SoObjects/Appointments/SOGoCalendarComponent.m
339 ([SOGoCalendarComponent -componentTag]): new template method that
340 returns the vcalendar tag of the current object.
341 ([SOGoCalendarComponent -component]): new method that returns the
342 first object matching [self componentTag] within the current
343 calendar object. This method replaces 'firstEventInCalendar:' as
344 well as "firstTaskInCalendar:".
345 ([SOGoCalendarComponent -roleOfUser:logininContext:context]):
346 moved method from SOGoAppointmentObject.m.
348 2007-02-13 Wolfgang Sourdeau <wsourdeau@inverse.ca>
350 * UI/Scheduler/UIxCalMulticolumnDayView.[hm]: new daily view
351 module which shows each selected user's calendar in a different
352 column instead of mixing their events together.
354 * UI/Scheduler/UIxCalView.m ([UIxCalView -redirectForUIDsAction]):
355 replaced use of [NSString stringByTrimmingWhiteSpaces] with
356 [NSString stringByTrimmingSpaces].
358 * UI/MailPartViewers/UIxMailPartICalViewer.m: request the key
359 "cnWithoutQuotes" instead of "cnForDisplay", which no longer
362 * UI/Scheduler/UIxCalDayOverview.m,
363 UI/Scheduler/UIxCalDayChartview.m,
364 UI/Scheduler/UIxCalDayListview.m,
365 UI/Scheduler/UIxCalWeekOverview.m,
366 UI/Scheduler/UIxCalWeekChartview.m,
367 UI/Scheduler/UIxCalWeekListview.m,
368 UI/Scheduler/UIxCalInlineMonthOverview.m,
369 UI/Scheduler/UIxCalYearOverview.m: removed unused modules.
371 2007-02-09 Wolfgang Sourdeau <wsourdeau@inverse.ca>
373 * SoObjects/Contacts/SOGoContactFolders.m ([SOGoContactFolders
374 -appendPersonalSourcesInContext:context]): release connectoin
375 channel when everything is done.
377 * UI/Contacts/UIxContactFoldersView.m ([UIxContactFoldersView
378 -newAbAction]): new action method to crate a new contact folder
381 * SoObjects/SOGo/SOGoFolder.m ([SOGoFolder -create]): new method
382 that requests the folder manager to create a folder table with the
383 specified type at the specified path. The type is taken from [self
386 * SoObjects/Contacts/SOGoContactGCSFolder.m ([SOGoContactGCSFolder
387 -folderType]): implemented.
389 * SoObjects/Appointments/SOGoAppointmentFolder.m
390 ([SOGoAppointmentFolder -folderType]): implemented.
392 * SoObjects/Contacts/SOGoContactFolders.m ([SOGoContactFolders
393 -appendPersonalSourcesInContext:context]): we now fetch all
394 folders with type "Contact" that belong to the current user.
395 ([SOGoContactFolders -newFolderWithName:name]): new method to
396 create a new contact folder.
398 * UI/SOGoUI/UIxComponent.m ([UIxComponent -userFolderPath]): treat
399 resulting url with [NSString+Utilities hostlessURL] instead of
400 using NSURL. This is because the url in question sometimes has a
401 hostname and sometimes not. "hostlessURL" ensure the hostname is
403 ([UIxComponent -applicationPath]): same as above.
405 2007-02-08 Ludovic Marcotte <ludovic@inverse.ca>
407 * SoObjects/Mailer/SOGoMailFolder.m: priorize the lookup of
408 folders before doing the one on messages.
410 2007-02-08 Wolfgang Sourdeau <wsourdeau@inverse.ca>
412 * SoObjects/SOGo/NSArray+Utilities.m: added an implementation of
413 makeObjectsPerform:withObject:withObject: for GNUstep
416 * OGoContentStore/GNUmakefile, Protocols/common.make,
417 SoObjects/common.make, UI/common.make: install in
418 GNUSTEP_INSTALLATION_DIR instead of GNUSTEP_USER_DIR.
420 2007-02-07 Ludovic Marcotte <ludovic@inverse.ca>
422 * UI/Scheduler/English.lproj/Localizable.strings: fixed typo for
425 2007-02-05 Wolfgang Sourdeau <wsourdeau@inverse.ca>
427 * UI/MailerUI/UIxMailTree.m ([UIxMailTree
428 -getTitle:folderType:andIcon:forObject:]): disabled Sieve folders
431 * SoObjects/SOGo/SOGoAuthenticator.m ([SOGoAuthenticator
432 -checkLogin:_loginpassword:_pwd]): fixed a bug where a wrong
433 password would be accepted anyway as long as its length was > 0.
434 This can be the case ONLY when LDAP is disabled otherwise we have
435 a serious security issue...
437 * SoObjects/Appointments/SOGoAppointmentObject.m
438 ([SOGoAppointmentObject -roleOfUser:logininContext:context]): if a
439 user is not an organizer nor a participant, he is declared as
440 "Owner" if he owns the calendar the entry where the entry is
441 contained. Other cases should not be possible.
443 2007-02-02 Wolfgang Sourdeau <wsourdeau@inverse.ca>
445 * UI/Contacts/UIxContactEditor.m: display and handle the new
448 * SoObjects/Contacts/SOGoContactLDAPFolder.m
449 ([SOGoContactLDAPFolder -_searchAttributes]): retrieve "calFBURL"
452 * SoObjects/Contacts/SOGoContactLDAPEntry.m ([SOGoContactLDAPEntry
453 -vCard]): put the LDAP "calFBURL" field in the vCard's "FBURL"
456 2007-01-31 Wolfgang Sourdeau <wsourdeau@inverse.ca>
458 * SoObjects/Appointments/SOGoCalendarComponent.m
459 ([SOGoCalendarComponent -sendEMailNotifications]): new method that
460 returns the value of ud "SOGoAppointmentSendEMailNotifications"
462 ([SOGoCalendarComponent
463 -sendEMailUsingTemplateNamed:_pageNameforOldObject:_oldObjectandNewObject:_newObjecttoAttendees:_attendees]): method moved from SOGoAppointmentObject/SOGoTaskObject, replacing occurences of "appointment" to "object" in its name.
465 2007-01-30 Wolfgang Sourdeau <wsourdeau@inverse.ca>
467 * UI/MailerUI/UIxMailListView.m ([UIxMailListView
468 -defaultAction]): invoke "flushMailCaches" on [self clientObject]
469 so that the mailbox cache is refreshed everytime the user presses
470 on "get mail". I doubt a mailbox cache really is useful in general
473 2007-01-26 Wolfgang Sourdeau <wsourdeau@inverse.ca>
475 * SoObjects/SOGo/SOGoAuthenticator.m ([SOGoAuthenticator
476 -userInContext:]): if the lookup is on "freebusy.ifb" and the
477 username is "anonymous" the user is automatically set to
480 2007-01-12 Wolfgang Sourdeau <wsourdeau@inverse.ca>
482 * SoObjects/SOGo/SOGoAuthenticator.m ([SOGoAuthenticator
483 -checkLogin:_loginpassword:_pwd]): authorize special "freebusy"
484 user with password "freebusy".
486 * SoObjects/Appointments/SOGoFreeBusyObject.m ([SOGoFreeBusyObject
487 -contentAsString]): the default timerange is now 14 days before
488 currentday and 1 month after.
490 2007-01-08 Wolfgang Sourdeau <wsourdeau@inverse.ca>
492 * SoObjects/Appointments/SOGoAppointmentFolder.m
493 ([SOGoAppointmentFolder
494 -appendObject:objectwithBaseURL:baseURLtoREPORTResponse:r]):
495 escape the record string in a way suitable with XML encoding.
497 2007-01-05 Wolfgang Sourdeau <wsourdeau@inverse.ca>
499 * UI/WebServerResources/SchedulerUI.js: fixed a bug where the
500 calendar view would not be updated properly.
502 2007-01-04 Wolfgang Sourdeau <wsourdeau@inverse.ca>
504 * UI/Scheduler/UIxComponentEditor.m ([UIxComponentEditor
505 -newStartDate]): fix the handling of the component start date
506 depending on the "hm" and the "day" parameters.
508 * SoObjects/SOGo/SOGoUserFolder.m ([SOGoUserFolder
509 -roleOfUser:uidinContext:context]): set role of current user to
510 "Assistant" if the object that is accessed is "freebusy.ifb".
512 * SoObjects/Appointments/SOGoAppointmentFolder.m
513 ([SOGoAppointmentFolder -lookupCalendarFolderForUID:uid]): method
514 moved from UI/Scheduler/UIxCalView:calendarFolderForUID:.
515 ([SOGoAppointmentFolder
516 -lookupCalendarFoldersForUIDs:_uidsinContext:]): now use the new
517 lookupCalendarFolderForUID: method, which doesn't do security
520 2007-01-03 Wolfgang Sourdeau <wsourdeau@inverse.ca>
522 * UI/Common/UIxAclEditor.m ([UIxAclEditor -assistantsValue]): new
523 accessor that returns the comma-separated list of users with role
525 ([UIxAclEditor -delegatesValue]): same as above for "Delegate".
526 ([UIxAclEditor -_prepareUsers]): there is no longer a concept of
527 "checkedUsers". Instead, each user is either classified in the
528 list of assistants or the list of delegates.
530 2006-12-22 Wolfgang Sourdeau <wsourdeau@inverse.ca>
532 * UI/MailerUI/UIxMailMainFrame.m ([UIxMailMainFrame
533 -composeAction]): method imported from removed container modules.
534 ([UIxMailMainFrame -mailFolderName]): method imported from removed
537 * UI/MailerUI/UIxMailPopupView.m: a new special popup component
538 for wrapping UIxMailView with the "popupview" action.
540 * UI/MailerUI/UIxMailAccountView.m: renamed to UIxMailSplashView,
541 since its the component that displays the same splash screen than
542 the one in Thunderbird/Icedove.
544 * UI/MailerUI/UIxMailAccountViewContainer.[hm],
545 UI/MailerUI/UI/MailerUI/UIxMailAccountsView.m,
546 UI/MailerUI/UIxMailListViewContainer.[hm],
547 UI/MailerUI/UIxMailViewContainer.[hm]: removed
549 2006-12-20 Wolfgang Sourdeau <wsourdeau@inverse.ca>
551 * UI/WebServerResources/HTMLElement.js: replaced the functional
552 selectNode() and deselectNode() functions with select() and
553 deselect() methods of HTMLElement.
555 * UI/WebServerResources/ContactsUI.js: cleanup, most of the
556 events are initialized from here now instead of in the HTML code.
558 * UI/Contacts/UIxContactFoldersView.m ([UIxContactFoldersView
559 -checkRightsAction]): new method similar to the one with the same
560 name in UIxCalMainView.m.
562 * UI/Common/UIxAclEditor.m ([UIxAclEditor -saveAclsAction]): added
563 code to handle the publishing of freebusy information.
565 2006-12-19 Wolfgang Sourdeau <wsourdeau@inverse.ca>
567 * UI/Scheduler/UIxCalMainView.m ([UIxCalMainView
568 -checkRightsAction]): new action method that returns a
569 comma-separated list of boolean values matching the right of the
570 current user to "view" (as a permission) each foreign calendar
571 stored in his preferences.
573 * SoObjects/SOGo/SOGoObject.m ([SOGoObject -setOwner:newOwner]):
574 new method that sets a customOwner, which can be returned with
575 ownerInContext it set.
577 * SoObjects/Appointments/SOGoAppointmentFolder.m
578 ([SOGoAppointmentFolder
579 -fetchFields:_fieldsfromFolder:_folderfrom:_startDateto:_endDatecomponent:_component]): no longer set the owner of elements here.
581 2006-12-15 Wolfgang Sourdeau <wsourdeau@inverse.ca>
583 * SoObjects/SOGo/SOGoUserFolder.m: same as for SOGoContactFolders
584 below, but for the Contacts and Calendar collections.
586 * SoObjects/SOGo/SOGoAclsFolder.m: convert the class to user the
587 new acl facilities method from sope-gdl/GCSFolder.m.
589 * SoObjects/Contacts/SOGoContactFolders.m ([SOGoContactFolders
590 -roleOfUser:uidinContext:context]): new method that returns
591 SOGoRole_Assistant when the user is an assistant or a delegate on
592 the "personal" ab object. This is so that setting roles on the
593 SOGoContactFolders object is not required.
595 2006-12-14 Wolfgang Sourdeau <wsourdeau@inverse.ca>
597 * Main/SOGo.m: declare "Freebusy" permissions for the top objects.
599 * UI/Contacts/UIxContactsAclsSelection.m: new component specific
600 to the handling of the user selection for the acls.
602 * SoObjects/SOGo/SOGoPermissions.[hm]: new module that extends the
603 values from SoPermissions with ones specific to SOGo.
605 * SoObjects/SOGo/SOGoAclsFolder.[hm]: new class module that
606 handles the storage for the acls.
608 * SoObjects/Appointments/SOGoCalendarComponent.[hm]: new parent
609 class for SOGoAppointmentObject and SOGoTaskObject.
611 * UI/Common/UIxAclEditor.[hm]: new component that provides a
612 general editor for folder acls.
614 * SoObjects/SOGo/NSString+Utilities.[hm]: old "NSString+URL"
616 ([NSString -davMethodToObjC]): method that returns the method name
617 for a DAV property implementation.
619 * SoObjects/SOGo/NSArray+Utilities.m: new extension module to
621 ([NSArray -stringsWithFormat:format]): new method that returns
622 formatted occurences of the strings stored in the array.
624 * SoObjects/SOGo/SOGoDAVRendererTypes.m ([SOGoDAVSet
625 +davSetWithArray:newValuesofValuesTaggedAs:newValueTag]): a new
626 subclass module of SoWebDAVValue that supports collections of
627 properties of the same type.
629 2006-11-21 Wolfgang Sourdeau <wsourdeau@inverse.ca>
631 * SoObjects/Mailer/SOGoMailAccount.m ([SOGoMailAccount
632 -lookupFolder:ofClassNamed:inContext:]): added the ability to
633 configure the name of the SOGoDraftFolders with the ud var
634 "SOGoDraftsFolderName".
636 2006-11-17 Wolfgang Sourdeau <wsourdeau@inverse.ca>
638 * SoObjects/SOGo/SOGoObject.m ([SOGoObject
639 -userTimeZone:username]): new method that returns the timezone for
640 the specified user depending on his preferences and the server
643 * SoObjects/Mailer/SOGoMailObject.m ([SOGoMailObject
644 -stringForData:partInfo:]): take the encoding into account and
645 translate the text to "normal" before processing the charset data.
647 2006-11-15 Wolfgang Sourdeau <wsourdeau@inverse.ca>
649 * UI/WebServerResources/generic.js: the progress indicator is on
650 when loading the page so we turn it off, and we turn it back on
651 whenever we switch to another module...
653 * UI/WebServerResources/SchedulerUI.js: make sure the day view
654 synchronization mechanism works everywhere.
656 * UI/WebServerResources/generic.js: the log window is not only
657 visible when UIxDebugEnabled is set.
659 * UI/WebServerResources/SchedulerUI.js: the month overview's day
660 cells are now initialized with the DOM event interface methods
661 instead of with html attributes.
663 * UI/Templates/MailerUI/UIxMailView.wox: don't display useless
664 headers (should be made configurable at some point)...
666 * OGoContentStore/sql/generate-folderinfo-sql-for-users.sh: drop
667 "not null" constraint on startdate, enddate, isopaque,
668 participants and partmails.
670 2006-11-14 Wolfgang Sourdeau <wsourdeau@inverse.ca>
672 * UI/Scheduler/UIxCalDayTable.m ([UIxCalDayTable
673 -hoursToDisplay]): prevent a crash by retaining the
674 "hoursToDisplay" array after it's created.
675 ([UIxCalDayTable -clickableHourCellClass]): new method for the new
678 * UI/WebServerResources/SchedulerUI.js: made the event
679 participation status modification asynchronous, which also fixes a
680 bug where the window would sometimes close before the accept or
681 decline action was completed. Also, adapted the event handling
682 related to the days or weeks view with the new DIV-based layout.
684 * UI/Scheduler/UIxCalInlineAptView.m: same as the first below...
686 * UI/Scheduler/UIxCalDayTable.m: enhanced to provide the new
687 DIV-based presentation of the days and weeks.
689 * SoObjects/Appointments/SOGoTaskObject.m: same as below...
691 * SoObjects/Appointments/SOGoAppointmentObject.m: lookupName:...
692 might return an exception so we have to handle it if we don't
695 2006-11-13 Wolfgang Sourdeau <wsourdeau@inverse.ca>
697 * UI/WebServerResources/SchedulerUI.js: updated the list
698 initialization code to use the new event management scheme, adding
699 what was missing to be able to delete events and tasks again.
701 * UI/WebServerResources/MailerUI.js: added code to activate the
702 "Get mails" button. Fixed a bug which prevented messages to be
705 * UI/WebServerResources/UIxFreeBusyUserSelector.js: handle tab
706 navigation and focus handling of INPUTs.
708 2006-11-10 Wolfgang Sourdeau <wsourdeau@inverse.ca>
710 * UI/WebServerResources/MailerUI.js: added code to handle the
711 possible drag and drop events to manager in the mail module.
712 Moving messages, opening parent folders, ...
714 * UI/WebServerResources/SOGoDragAndDrop.js: new file containing
715 the drag and drop manager as well as the interface to HTMLElement
716 to trigger drag and drop events.
718 * UI/MailerUI/UIxMailView.m ([UIxMailView -moveAction]): new
719 action to move the current message to the mailbox named after the
720 value of parameter "tofolder".
722 * SoObjects/Mailer/SOGoMailObject.m ([SOGoMailObject
723 -moveToFolderNamed:folderNameinContext:]): new method base on
726 2006-11-09 Wolfgang Sourdeau <wsourdeau@inverse.ca>
728 * UI/WebServerResources/generic.js: added and activated many
729 "load" handlers to configure generic widgets used across the
730 modules. More events are now handled in a DOM-fashion way instead
731 of by setting the relative attributes in the templates.
733 * UI/Templates/UIxSortableTableHeader.wox: all the events are
734 declared from the javascript DOM onload handlers.
736 * UI/Templates/UIxPageFrame.wox: load the new SOGoDragHandles.js
739 * UI/Templates/MailerUI/UIxMailListView.wox: all the events are
740 declared from the javascript DOM onload handlers.
742 * UI/MailerUI/UIxMailListView.m: removed all the JS methods since
743 we want everything to be separated from each other, as much as
746 * UI/WebServerResources/SOGoDragHandles.js: new module containing
747 the "SOGoDragHandlesInterface", implementing methods that can be
748 attributed to DIV so that they can be used as drag handles.
750 * SoObjects/Mailer/SOGoDraftObject.m ([NSString
751 -asQPSubjectString]): initialize the tmp strings with '0' to make
752 sure they don't contain garbage.
754 2006-11-08 Wolfgang Sourdeau <wsourdeau@inverse.ca>
756 * UI/WebServerResources/MailerUI.js: register the messageList
757 table as a dragging source and the leaf of the navigation tree as
758 dnd destinations to the DNDManager.
760 * UI/WebServerResources/generic.js: initialize tabs from the
761 "unload" event listener that is added programmatically instead of
762 from the template... Also, added the new DNDManager object.
764 * UI/WebServerResources/HTMLTableElement.js: added code to
765 simulate XUL drag n drop events. This code will possibly be moved
766 to HTMLElement.js instead later...
768 * SoObjects/Contacts/SOGoContactLDAPFolder.m
769 ([SOGoContactLDAPFolder -_qualifierForFilter:filter]): same as
772 * SoObjects/Contacts/SOGoContactGCSFolder.m ([SOGoContactGCSFolder
773 -_qualifierForFilter:filter]): only search records which starts
774 with the specified pattern.
776 2006-11-07 Wolfgang Sourdeau <wsourdeau@inverse.ca>
778 * SoObjects/Mailer/SOGoDraftObject.m ([NSString
779 -asQPSubjectString]): new method that returns the special QP
780 string with its qp declaration for email subjects.
781 ([SOGoDraftObject -bodyPartForText])
782 ([SOGoDraftObject -mimeMessageForContentWithHeaderMap:]): don't
783 double-encode data in UTF-8.
785 * UI/Scheduler/UIxComponentEditor.m ([UIxComponentEditor
786 -newStartDate]): new method to determine the start date depending
787 on the URL parameters, the current day and the current time.
788 ([UIxComponentEditor -toolbar]): new method to determine the
789 filename of the toolbar that should be drawn depending on the
790 ownership and the list of attendees of the task/event wrt to the
793 * UI/Scheduler/UIxTimeDateControl.m ([UIxTimeDateControl
794 -setDayStartHour:aStartHour]): adjust the minutes to the next
795 quarter of hour, if not already set to a quarter.
797 * UI/WebServerResources/UIxAppointmentEditor.js,
798 UI/WebServerResources/UIxTaskEditor.js: added code to manage start
801 2006-11-03 Wolfgang Sourdeau <wsourdeau@inverse.ca>
803 * UI/Scheduler/UIxComponentEditor.m ([UIxComponentEditor
804 -loadValuesFromComponent:component]): handles access class
805 (privacy) and status.
807 * UI/Contacts/UIxContactsListViewContainer.m
808 ([UIxContactsListViewContainer -additionalFolders]): return nil if
809 [self additionalAddressBooks] returns an empty string.
811 2006-11-02 Wolfgang Sourdeau <wsourdeau@inverse.ca>
813 * UI/Scheduler/UIxCalMonthView.m ([UIxCalMonthView
814 rangesOf7Days]): enhanced and debugged algorithm to feed the array
815 with slices where the first day is still in the requested month.
817 * UI/Templates/UIxPageFrame.wox: the logConsole is created only on
820 * UI/SOGoUI/SOGoAptFormatter.m: added code to handle the display
821 of events in the day boxes of the calendar's monthly view.
823 * SoObjects/Appointments/SOGoTaskObject.m ([SOGoTaskObject
824 -davContentType]): declare "text/calendar".
826 * SoObjects/Appointments/SOGoAppointmentObject.m
827 ([SOGoAppointmentObject -davContentType]): declare
830 * SoObjects/Appointments/SOGoAppointmentFolder.m
831 ([SOGoAppointmentFolder -lookupName:inContext:acquire:]): certain
832 HTTP methods are handled by SOPE and requires nil to be returned,
833 this method now invokes the new
834 "requestNamedIsHandledLater:inContext:" method to check that.
835 ([SOGoAppointmentFolder
836 -requestNamedIsHandledLater:nameinContext:context]): new methods
837 that returns "YES" only for the "OPTIONS" http method (for now...).
838 ([SOGoAppointmentFolder -davComplianceClassesInContext:]):
839 overloaded method to append the "access-control" and
840 "calendar-access" DAV abilities to the initial declaration.
842 * UI/Scheduler/UIxCalMonthView.[hm]: rewritten module entirely to
843 imitate the look of Sunbird/Lightning's monthly view.
845 * UI/Scheduler/UIxCalMonthView.[hm]: renamed to
846 UIxCalMonthViewOld.[hm].
848 2006-11-01 Wolfgang Sourdeau <wsourdeau@inverse.ca>
850 * UI/Scheduler/UIxFreeBusyUserSelectorTable.m
851 ([UIxFreeBusyUserSelectorTable -currentContactHasStatus]): new
853 ([UIxFreeBusyUserSelectorTable -currentContactStatusImage]):
854 returns an image name based on the participation status of the
857 * UI/WebServerResources/SchedulerUI.js: same strip down as for
860 * UI/Contacts/UIxContactsListViewContainer.m ([UIxContactsListViewContainer -additionalAddressBooks])
861 ([UIxContactsListViewContainer -additionalFolders])
862 ([UIxContactsListViewContainer -setCurrentAdditionalFolder:newCurrentAdditionalFolder])
863 ([UIxContactsListViewContainer -currentAdditionalFolder]): new
864 methods to handle the external addressbooks a user has subscribed
865 too, by retriving them from his preferences.
867 * UI/Contacts/UIxContactFoldersView.m ([UIxContactFoldersView
868 -updateAdditionalAddressBooksAction]): new method that updates the
869 user settings with the list of addressbook he has subscribed to.
871 * UI/Contacts/UIxContactsAddressBooksSelection.m: new component
872 module for the address book selector.
874 * UI/Templates/ContactsUI/UIxContactsListViewContainer.wox: added
875 a toolbar with two buttons ("add" and "remove") to manage the
876 additional addressbooks a user might subscribe to.
878 * UI/WebServerResources/ContactsUI.js: added code to handle
879 "external addressbooks" from the Javascript point-of-view, by
880 extending existing methods and adding code for the "add ab" and
883 * UI/WebServerResources/generic.js: moved extensions methods to
884 DOM elements to separate files for better clarity.
886 * UI/Common/UIxPageFrame.m ([UIxPageFrame -pageContentClasses]):
887 new method that returns "pageContent" as class, but also "popup"
888 for the DIV where the page content lies, so that we can manipulate
889 the content of popup's with CSS identifiers.
891 2006-10-31 Wolfgang Sourdeau <wsourdeau@inverse.ca>
893 * UI/Scheduler/UIxCalInlineAptView.m ([UIxCalInlineAptView
894 -displayStyle]): new method that returns a string containing the
895 css style relative to the current appointment cell. This code is
896 currently inactive but might be reused later.
898 * UI/WebServerResources/SchedulerUI.js: added code to handle the
899 display of the selected day (the day pointed by the mouse, or the
900 current day when changing the view).
902 * UI/Scheduler/UIxCalDayTable.m ([UIxCalDayTable
903 -dayCellClasses]): new method that returns a string containing the
904 css classes applicable to the current cell, depending on the
905 position of the day in the week, the day of today and the
908 * UI/Scheduler/UIxCalCalendarsListView.m ([UIxCalCalendarsListView
909 -currentContactAptBorder]): new method that returns the
910 appropriate border color for the specified user.
912 * SoObjects/Appointments/SOGoAppointmentObject.m
913 ([SOGoAppointmentObject
914 -saveContentString:contentStringbaseVersion:baseVersion]):
915 overloaded method that parse new events and detects if they have
916 an organizer or not. If they are new and have no organizer set
917 (Sunbird/Lightning...), the owner of the event is set as
920 * SoObjects/Appointments/iCalEntityObject+Agenor.[hm]: new
921 category that provides facility methods and interfaces to the
924 * SoObjects/Contacts/product.plist: give full access to ANY
925 authenticated user, not just the owner (to every objects...).
927 2006-10-30 Wolfgang Sourdeau <wsourdeau@inverse.ca>
929 * UI/WebServerResources/UIxFreeBusyUserSelector.js: make sure
930 every replica widgets are declared as such to their master
931 counterpart. Take the days into account when displaying the time
932 range taken by the appointment.
934 * UI/Scheduler/UIxComponent+Agenor.m ([UIxComponent
935 -getICalPersonsFromValue:selectorValue]): method taken from
936 UIxFreeBusyUserSelector, that is shared both by
937 UIxFreeBusyUserSelector and UIxFreeBusyUserSelectorTable.
939 * SoObjects/Appointments/SOGoAppointmentFolder.m
940 ([SOGoAppointmentFolder
941 -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.
943 * UI/Scheduler/UIxFreeBusyUserSelectorTable.[hm]: new subcomponent
944 derived and taken as a subset of UIxFreeBusyUserSelector that
945 implements the table part of the FreeBusy view. Most of the
946 methods of UIxFreeBusyUserSelector relative to that table were
947 moved into UIxFreeBusyUserSelectorTable, which can also be used as
948 a standalone view for AJAX operations.
950 2006-10-27 Wolfgang Sourdeau <wsourdeau@inverse.ca>
952 * SoObjects/Contacts/SOGoContactLDAPEntry.m ([SOGoContactLDAPEntry
953 -vCard]): change reverted.
955 * UI/Contacts/UIxContactEditor.m: check whether the client contact
956 folder has selector "globallyUniqueObjectId" before calling that
959 * SoObjects/Contacts/SOGoContactLDAPEntry.m ([SOGoContactLDAPEntry
960 -vCard]): the "setVClass" NGVCard method really is "setClass"
963 * SoObjects/Contacts/SOGoContactLDAPFolder.m
964 ([SOGoContactLDAPFolder -_searchAttributes]): fixed typo to
965 request the "streetAddress" instead of the "streetaddress".
966 ([SOGoContactLDAPFolder -_qualifierForFilter:filter]): lookup
967 mails that *contain*, and not just *start with* the search
970 * SoObjects/Contacts/SOGoContactLDAPEntry.m ([SOGoContactLDAPEntry
971 -vCard]): mark address returned from LDAP as the work address.
973 * UI/Templates/SchedulerUI/UIxCalInlineAptView.wox: made the whole
974 span covered with the anchor, not only the textual information
977 * UI/Templates/SchedulerUI/UIxCalMainView.wox: specify the type
978 argument (event or task) to newEvent in the appointmentListMenu.
979 Make the appointmentsListView display the appointmentsListMenu.
981 * UI/SOGoUI/SOGoAptFormatter.m: enlarge the text size limit from
982 12 to 50 before displaying "...".
983 ([SOGoAptFormatter -fullDetailsForApt::]): display location only
984 if its length > 0, whether location itself is nil or not...
985 ([SOGoAptFormatter -tooltipForApt::_refDate]): display information
986 of which the length > 0.
988 2006-10-26 Wolfgang Sourdeau <wsourdeau@inverse.ca>
990 * UI/WebServerResources/UIxAppointmentEditor.js: correctly handles
991 french and ISO dates.
993 * UI/Scheduler/UIxFreeBusyUserSelector.[hm]: added code an ivars
994 from UIxContactSelector to handle contact lists (current and
995 additional contacts).
997 * UI/MainUI/SOGoUserHomePage.m ([SOGoUserHomePage
998 -_freeBusyAsText]): added handling of an "additional"-named query
999 parameter that describe the number of additional days after
1000 enddate that should be returned.
1002 * UI/Contacts/UIxContactFoldersView.m ([UIxContactFoldersView
1003 -_responseForResults:results]): give priority to results with
1004 "c_uid" fields. If none returned, use the first contact received.
1006 * OGoContentStore/OCSiCalFieldExtractor.m ([OCSiCalFieldExtractor
1007 -extractQuickFieldsFromEvent:_event]): changed "TENTATIVE" code to
1008 2 and "CANCELLED" to 0.
1010 2006-10-25 Wolfgang Sourdeau <wsourdeau@inverse.ca>
1012 * UI/WebServerResources/UIxAppointmentEditor.js: handle conversion
1013 of start and end dates to short string dates.
1015 * UI/MainUI/SOGoUserHomePage.m ([SOGoUserHomePage
1016 -readFreeBusyAction]): new method that returns an array of numbers
1017 corresponding to the state in the freebusy of each "quarter of an
1018 hour" between the "sday" and "eday" date parameters passed in the
1019 url. This permits to handle the display of the freebusy with Ajax
1021 ([SOGoUserHomePage -_freeBusyAsText]): add 2 days to the end date
1022 since the free busy displays 2 days ahead.
1024 * UI/Contacts/UIxContactFoldersView.m ([UIxContactFoldersView
1025 -contactSearchAction]): new action that returns the uid and the
1026 username + email of the user whose name contain the value of the
1027 "search" url parameter.
1029 * SoObjects/Appointments/SOGoAppointmentFolder.m
1030 ([SOGoAppointmentFolder
1031 -fetchFreebusyInfosFrom:_startDateto:_endDate]): added fields
1032 useful for the computing of the status of the freebusy.
1034 * UI/Scheduler/UIxFreeBusyUserSelector.m ([UIxFreeBusyUserSelector
1035 -init]): new component that incarnates a user selector for events
1036 inspired by the new one found in Thunderbird Lightning.
1038 2006-10-23 Wolfgang Sourdeau <wsourdeau@inverse.ca>
1040 * UI/WebServerResources/generic.js: added code to enable or
1041 disable anchor visually (following our internal algorithm).
1043 * UI/Scheduler/UIxComponentEditor.m ([UIxComponentEditor -init]):
1044 added new "url" ivar with its classic accessors.
1045 ([UIxComponentEditor -urlButtonClasses]): new method that returns
1046 the class strings for the url button on the appointment/task
1047 editor (depending on the validity of the url).
1049 * UI/Templates/SchedulerUI/UIxTaskEditor.wox,
1050 UI/Templates/SchedulerUI/UIxAppointmentEditor.wox: start rewriting
1051 the template to match the Lightning's new task/appointment editor.
1053 * UI/Scheduler/UIxAppointmentEditor.m ([UIxAppointmentEditor -saveValuesIntoAppointment:_appointment]): initialize url from the components'url.
1055 * UI/Scheduler/UIxTaskEditor.m ([UIxTaskEditor -saveValuesIntoTask:_task]): initialize url from the components'url.
1057 2006-10-20 Wolfgang Sourdeau <wsourdeau@inverse.ca>
1059 * SoObjects/Contacts/SOGoContactLDAPFolder.m
1060 ([SOGoContactLDAPFolder
1061 -lookupContactsWithFilter:filtersortBy:sortKeyordering:sortOrdering]): perform the searchs on objects which start with instead of contain the lookup key.
1063 * SoObjects/Appointments/SOGoAptMailNotification.[hm]: work on
1064 iCalEntityObject instances instead of just iCalEvent's.
1066 * SoObjects/Appointments/SOGoAppointmentFolder.m
1067 ([SOGoAppointmentFolder
1068 -fetchFields:_fieldsfromFolder:_folderfrom:_startDateto:_endDatecomponent:_component]): set ownership of returned records by adding an "owner" key to the resulting dictionaries.
1070 * SoObjects/SOGo/NSObject+Owner.[hm]: removed module since it's a
1071 bad way of handling ownership that way.
1073 * SoObjects/Contacts/SOGoContactLDAPFolder.m
1074 ([SOGoContactLDAPFolder -_qualifierForFilter:filter]): search also
1075 on "cn", just like Mozilla.
1077 2006-10-19 Wolfgang Sourdeau <wsourdeau@inverse.ca>
1079 * UI/MailerUI/UIxMailToSelection.m ([UIxMailToSelection -to]):
1080 "to" should be retained, otherwise it will be autoreleased and a
1083 * UI/Contacts/UIxContactEditor.m ([UIxContactEditor
1084 -writeAction]): updated method to fetch the card before initing
1087 * OGoContentStore/OCSiCalFieldExtractor.m ([OCSiCalFieldExtractor
1088 -extractQuickFieldsFromTodo:_task]): fixed to use NSNull instead
1091 * UI/Scheduler/UIxTaskEditor.m ([UIxTaskEditor
1092 -iCalStringTemplate]): start and due date are now optional.
1094 * UI/Scheduler/UIxTimeDateControl.m ([UIxTimeDateControl
1095 -setDayStartHour:aStartHour]): added a new "isDisabled" ivar with
1096 appropriate accessors to be settable through the templates.
1098 * UI/Scheduler/UIxDatePicker.m ([UIxDatePicker -init]): added a
1099 new "isDisabled" ivar with appropriate accessors to be
1100 settable through the templates.
1102 * UI/Scheduler/UIxComponentEditor.m ([UIxComponentEditor
1103 -availableCalendars]): new method that list the calendars to which
1104 the user has subscribed.
1105 ([UIxComponentEditor -componentOwner]): returns the owner of the
1108 * OGoContentStore/OCSiCalFieldExtractor.m ([OCSiCalFieldExtractor
1109 -extractQuickFieldsFromTodo:_task]): set the start and enddate of
1110 quickentries to null whenever each or all of them are null, by
1111 providing an impossible timestamp from with NSNotFound as value.
1113 2006-10-18 Wolfgang Sourdeau <wsourdeau@inverse.ca>
1115 * UI/WebServerResources/UIxMailEditor.js: update the algorithm
1116 that handles the creation of new fields with the new APIs and the
1117 new node structure on the page.
1119 * UI/Scheduler/UIxAppointmentEditor.m,
1120 UI/Scheduler/UIxTaskEditor.m:
1121 refactored to user UIxComponentEditor as parent class.
1123 * UI/Scheduler/UIxComponentEditor.[hm]: new class module
1124 containing the methods common to the UIxTaskEditor and the
1125 UIxAppointmentEditor.
1127 2006-10-17 Wolfgang Sourdeau <wsourdeau@inverse.ca>
1129 * SoObjects/Appointments/SOGoAppointmentFolder.m
1130 ([SOGoAppointmentFolder -doCalendarQuery:context]): now supports
1131 the handling of time-ranges.
1133 * UI/WebServerResources/ContactsUI.js: specify a notification type as
1134 parameters when onConfirmContactSelection in invoked.
1136 * UI/WebServerResources/generic.js: specify a notification type as
1137 parameters when onContactRemove in invoked.
1139 * UI/WebServerResources/SchedulerUI.js: when the user deselects
1140 all calendars, select his entry.
1142 2006-10-16 Wolfgang Sourdeau <wsourdeau@inverse.ca>
1144 * UI/WebServerResources/SchedulerUI.js: edit and delete events
1145 with their owner-relative urls. Generate a correct entry in the
1146 css color table when a user is added to the calendars list. Put
1147 the same color next to the user id.
1149 * UI/WebServerResources/generic.js: implemented some new helper
1152 * SoObjects/Appointments/SOGoAppointmentFolder.m
1153 ([SOGoAppointmentFolder -deleteEntriesWithIds:ids]): don't delete
1154 entries if their owner is not the current user.
1156 * UI/Scheduler/UIxCalInlineAptView.m ([UIxCalInlineAptView
1157 -displayClasses]): return the correct class for the current event
1158 representation depending on its owner.
1160 * UI/Scheduler/UIxCalCalendarsListView.m: added method to create
1161 and associate a color for each user login depending on its
1162 position in the list.
1164 * UI/Scheduler/UIxCalAptListView.m ([UIxCalAptListView
1165 -currentRowCSSClass]): return the correct class for the current
1166 row depending on the owner of the event.
1168 * UI/Contacts/UIxContactSelector.m ([UIxContactSelector
1169 -setColors:colors]): new method to associate a color table with
1170 each user in the list.
1172 * SoObjects/Appointments/SOGoAppointmentFolder.m
1173 ([SOGoAppointmentFolder
1174 -fetchFields:_fieldsfromFolder:_folderfrom:_startDateto:_endDatecomponent:_component]): associate each returned record with the owner of the table they are retrieved from.
1176 * SoObjects/SOGo/NSObject+Owner.[hm]: new extension module to
1177 NSObject to associate an instance with a user.
1179 2006-10-13 Wolfgang Sourdeau <wsourdeau@inverse.ca>
1181 * UI/WebServerResources/SchedulerUI.js: added handling of multiple
1184 * UI/WebServerResources/ContactsUI.js: added handling of
1185 notification of changes to contact selectors.
1187 * UI/WebServerResources/generic.js: added handling of notification
1188 of changes to contact selectors.
1190 * UI/Scheduler/UIxCalMainView.m ([UIxCalMainView
1191 -updateCalendarsAction]): proxy method to update the user
1192 preference table with the new selected calendar uids.
1194 * UI/Contacts/UIxContactsListView.m ([UIxContactsListView
1195 -calendarsContactsAction]): new method.
1197 * UI/Contacts/UIxContactSelector.m ([UIxContactSelector -setCheckedBoxes:boxes])
1198 ([UIxContactSelector -setHasCheckBoxes:aBool])
1199 ([UIxContactSelector -isCheckBoxChecked]): new accessors method to
1200 permit the drawing of checkboxes instead of card icons.
1202 * UI/Scheduler/UIxCalCalendarsListView.m: new component class that
1203 wrap a selector the the "Calendars" tab.
1205 * UI/Contacts/UIxContactsCalendarsSelection.m: buttons for the
1206 new user calendar selector.
1208 2006-10-12 Wolfgang Sourdeau <wsourdeau@inverse.ca>
1210 * UI/Templates/SchedulerUI/UIxAppointmentEditor.wox: time ranges
1211 may cover hour 0 to hour 23.
1213 * UI/Scheduler/UIxAppointmentEditor.m ([UIxAppointmentEditor
1214 -iCalStringFromQueryParameter:format:]): dates explicitly set to
1217 * UI/WebServerResources/SchedulerUI.js: manage both lists of
1218 objects wrt to the toolbar actions.
1220 * UI/WebServerResources/generic.js: added code to the "String"
1221 class to decode number-encoded char entities.
1223 * UI/Scheduler/UIxCalMainView.m ([UIxCalMainView
1224 -batchDeleteAction]): new method to delete selected entries in the
1227 * SoObjects/Appointments/SOGoAppointmentFolder.m
1228 ([SOGoAppointmentFolder -deleteEntriesWithIds:ids]): new method
1229 that delete identified entries in batch.
1231 * UI/SOGoUI/UIxComponent.m ([UIxComponent
1232 -jsCloseWithRefreshMethod:methodName]): new method with explicit purpose.
1234 * UI/Scheduler/UIxTaskEditor.m ([UIxTaskEditor -saveAction]),
1235 UI/Scheduler/UIxAppointmentEditor.m ([UIxAppointmentEditor
1236 -saveAction]), UI/MailerUI/UIxMailEditor.m ([UIxMailEditor
1237 -sendAction]), UI/Contacts/UIxContactEditor.m ([UIxContactEditor
1239 return a UIxJSClose component if everything went fine.
1241 * UI/Scheduler/UIxTaskEditor.h: interface extracted from
1244 * UI/Scheduler/UIxAppointmentEditor.h: interface extracted from
1245 UIxAppointmentEditor.m.
1247 * UI/Common/UIxJSClose.[hm]: new UIxComponent designed to display
1248 a very light page with javascript code to close a window, by
1249 calling a method on the opener if specified. This component is
1250 designed to work as a response to form postings.
1252 2006-10-11 Wolfgang Sourdeau <wsourdeau@inverse.ca>
1254 * SoObjects/Appointments/SOGoTaskObject.[hm]: clone of
1255 SOGoAppointmentObject adapted for the handling of tasks.
1257 * SoObjects/Appointments/NSArray+Appointments.[hm]: category
1258 extracted from SOGoAppointmentObject.
1260 * UI/Scheduler/UIxAppointmentEditor.m ([UIxAppointmentEditor
1261 -saveUrl]): returns the url needed to POST the new form to.
1262 redirect the user to <aptid>/editAsAppointment instead of /edit,
1263 so that SOGoAppointmentFolder can return the correct object type.
1265 * SoObjects/SOGo/NSObject+AptComparison.m ([NSObject
1266 -compareAptsAscending:_other]): accept empty start or end dates.
1268 * SoObjects/Appointments/SOGoAppointmentFolder.m
1269 ([SOGoAppointmentFolder
1270 -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.
1271 ([SOGoAppointmentFolder -doCalendarQuery:context]): fetch
1272 components of type "vtodo" as well as "vevent".
1273 ([SOGoAppointmentFolder -lookupName:inContext:acquire:]): if the
1274 url specified ends with AsTask or AsAppointment, returns the
1275 an object of the appropriate class, otherwise deduce it from its
1276 content if the HTTP method is "PUT", otherwise read its type from
1279 * OGoContentStore/OCSiCalFieldExtractor.m ([OCSiCalFieldExtractor
1280 -extractQuickFieldsFromTodo:_task]): extract quick fields from
1283 * UI/Scheduler/UIxCalView.m ([UIxCalView
1284 -fetchCoreAppointmentsInfos]): replacement methods for
1285 fetchCoreInfos but by retrieving object with component "vevent".
1286 ([UIxCalView -fetchCoreTasksInfos]): same as above for "vtodo"
1289 * UI/Scheduler/UIxCalTasksListView.[hm]: clone of
1290 UIxCalAptListView adapted for the handling of tasks.
1292 * UI/Scheduler/UIxTaskProposal.[hm],
1293 UI/Scheduler/UIxTaskView.[hm], UI/Scheduler/UIxTaskEditor.[hm]:
1294 clones of the UIxAppointment* classes for the handling of tasks.
1296 * UI/WebServerResources/UIxTaskEditor.js: clone of
1297 UIxAppointmentEditor adapted for the handling of tasks.
1299 * UI/WebServerResources/SchedulerUI.js: added support for tasks.
1300 Scroll the daily view to the appropriate hour when an appointment
1301 is selected in the appointments list.
1303 2006-10-05 Wolfgang Sourdeau <wsourdeau@inverse.ca>
1305 * UI/Scheduler/UIxTimeDateControl.m ([UIxTimeDateControl
1306 -setDayStartHour:aStartHour]): specifies the user timezone on the
1309 * UI/Scheduler/UIxAppointmentEditor.m: indicate DTSTAMP with "GMT"
1312 * SoObjects/SOGo/NSCalendarDate+SOGo.m ([NSCalendarDate -adjustedDate])
1313 ([NSCalendarDate -driftedDate]): methods made useless by a better
1314 comprehension of the NSTimeZone API...
1316 2006-10-04 Wolfgang Sourdeau <wsourdeau@inverse.ca>
1318 * UI/SOGoUI/UIxComponent.m ([UIxComponent -selectedDate]): call
1319 new methods from the NSCalendarDate methods.
1321 * SoObjects/SOGo/NSCalendarDate+SOGo.m: module replacing and
1322 extending UI/Scheduler/NSCalendarDate+Scheduler.m.
1324 +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).
1325 ([NSCalendarDate -adjustedDate]): this method returns another
1326 instance set to the correct hour after the original date was set
1327 from a non-GMT timezone. This date can be used for storage.
1328 ([NSCalendarDate -driftedDate]): this method does exactly the
1329 opposite of -adjutedDate, that is, it enables the method
1330 hourOfDay, minuteOfHour etc... to return the values according to
1331 the original date's timezone. This date CANNOT be used for storage.
1333 * UI/Scheduler/NSCalendarDate+Scheduler.m ([NSCalendarDate
1334 -shortDateString]): new method that will return a "short date
1335 string" (yyyymmdd) from a calendar date object.
1337 * UI/SOGoUI/UIxComponent.m ([UIxComponent
1338 -_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.
1340 * Main/sogod.m (main): initialize the NSTimeZone's defaultTimeZone
1341 to the value of SOGoServerTimeZone or "Canada/Eastern" if not found.
1343 2006-10-03 Wolfgang Sourdeau <wsourdeau@inverse.ca>
1345 * UI/WebServerResources/SchedulerUI.js: added code to scroll the
1346 view of the day at the height of hour 8:00.
1348 * UI/Scheduler/UIxCalView.m ([UIxCalView -dayStartHour]): returns 0.
1349 ([UIxCalView -dayEndHour]): returns 24.
1351 * UI/Contacts/UIxContactFoldersView.m ([UIxContactFoldersView -defaultAction])
1352 ([UIxContactFoldersView -newAction]): invoke
1353 _selectActionForApplication: on self with the proper attribute too.
1355 * UI/Contacts/UIxContactsSelectionViewContainer.m: removed since
1356 we now use the action mechanism in UIxContactsListView to keep the
1357 same view for the contact selectors and the regular contact view.
1359 * UI/Contacts/UIxContactsListViewContainer.[hm]: replaces
1360 UIxContactsListViewContainerBase.[hm]
1362 * UI/Contacts/UIxContactsListView.[hm]: replaces UIxContactsListViewBase.[hm]
1364 * UI/WebServerResources/generic.js: generalized emailstring
1365 handling functions. Generalized address book access functions.
1367 * UI/Contacts/UIxContactsListViewBase.m ([UIxContactsListViewBase
1368 -isPopup]): return YES if the "popup" query parameter is set.
1370 * UI/Contacts/UIxContactFoldersView.m ([UIxContactFoldersView
1371 -defaultAction]): keep the url parameters when redirecting.
1372 ([UIxContactFoldersView -selectForSchedulerAction])
1373 ([UIxContactFoldersView -selectForMailerAction]): new action
1374 methods for the /scheduler-contacts and /mailer-contacts invocations.
1376 * SoObjects/SOGo/SOGoObject.m: compose the action url using the
1377 newly available NSString+URL category.
1379 * SoObjects/SOGo/NSDictionary+URL.m ([NSDictionary
1380 -asURLParameters]): handle dictionary entries which could be
1381 instances of NSArray rather than NSString.
1383 * SoObjects/SOGo/NSString+URL.m ([NSString
1384 -composeURLWithAction:actionparameters:urlParametersandHash:useHash]): when composing the url, remove the encoded parameters first since they will be added later.
1385 ([NSString -urlWithoutParameters]): new method that returns the
1386 url without its parameters.
1388 * SoObjects/SOGo/NSString+iCal.h: deleted obsolete file.
1390 * SoObjects/SOGo/NSDictionary+URL.[hm],
1391 UI/SOGoUI/NSString+URL.[hm]: moved from UI/SOGoUI/.
1393 * UI/WebServerResources/UIxMailEditor.js: add support for
1394 additions of different types (to, cc, bcc) of recipients from the
1397 * UI/Common/UIxPageFrame.m ([UIxPageFrame -doctype]): added the
1400 * UI/Contacts/UIxContactsMailerSelection.m,
1401 UI/Contacts/UIxContactsSchedulerSelection.m: classes replacing
1402 UI/Contacts/UIxContactsSelectionView.m to provide a different set
1403 of widgets depending on the application invoking the contact list.
1405 2006-09-29 Wolfgang Sourdeau <wsourdeau@inverse.ca>
1407 * UI/WebServerResources/ContactsUI.js: hide the current contact
1408 whenever the user changes of contact folder.
1410 * UI/WebServerResources/UIxContactEditor.js: the contact UID is
1411 now provided by the template when loading the page.
1413 * SoObjects/SOGo/AgenorUserManager.m ([AgenorUserManager
1414 -iCalPersonWithUid:uid]): new method taken from removed module
1417 2006-09-28 Wolfgang Sourdeau <wsourdeau@inverse.ca>
1419 * UI/Scheduler/UIxAppointmentView.m ([UIxAppointmentView
1420 -categoriesAsString]): same as below.
1422 * UI/Scheduler/UIxAppointmentEditor.m: adapted by using the new
1423 vcalendar API's iCalEvent instead of the removed SOGoAppointment.
1425 * SoObjects/Appointments/SOGoAppointmentObject.m
1426 ([SOGoAppointmentObject -calendarFromContent:cnt]): new helper method.
1427 ([SOGoAppointmentObject -firstEventFromCalendar:calendar]): new
1430 * SoObjects/Appointments/SOGoAppointmentFolder.m
1431 ([SOGoAppointmentFolder -doCalendarQuery:context]): added a
1432 hackish test to detect whether the request concernes VEVENT's or
1433 anything else. Return events only in the former case.
1434 ([SOGoAppointmentFolder
1435 -fetchOverviewInfosFrom:_startDateto:_endDate]): retrieve the
1436 c_name quickfield so that the calendar list can identify the
1437 appointments with their complete "filename".
1439 * OGoContentStore/OCSiCalFieldExtractor.m: use CardGroup's
1440 groupsOfClass:fromSource: to parse the given vcalendar.
1442 * UI/Scheduler/iCalRecurrenceRule+SOGo.m: removed obsolete class.
1444 * UI/Scheduler/SOGoAppointment+UIx.h: removed obsolete class.
1446 * SoObjects/SOGo/SOGoAppointmentICalRenderer.[hm]: removed
1449 * SoObjects/SOGo/SOGoAppointment.[hm]: removed obsolete class.
1451 2006-09-26 Wolfgang Sourdeau <wsourdeau@inverse.ca>
1453 * SoObjects/Appointments/SOGoAppointmentFolder.m
1454 ([SOGoAppointmentFolder -lookupName:inContext:acquire:]): be
1455 sensitive to the CalDAV method names.
1456 ([SOGoAppointmentFolder -doCalendarQuery:context]): method for the
1457 "calendar-query" CalDAV method name.
1459 * UI/WebServerResources/ContactsUI.js: removed a lot of useless
1460 code coming originally from MailerUI.js.
1462 * UI/WebServerResources/UIxContactEditor.js: imitate the
1463 Thunderbird address book by completing the display name with the
1464 content of the first and last name fields, until the display name
1465 is modified manually.
1467 * UI/WebServerResources/generic.js: added a "trim" method to the
1470 * UI/Contacts/UIxContactsListViewBase.m ([UIxContactsListViewBase
1471 -displayName]): new method that returns the display name from "cn"
1472 or from the "displayName" key if found.
1474 * UI/Contacts/UIxContactEditor.m ([UIxContactEditor
1475 -initSnapshot]): check if "[card n]" returns anything to avoid a
1478 * UI/Common/UIxPageFrame.m ([UIxPageFrame -doctype]): new method
1479 that returns an unparsed doctype definition for the pages.
1481 * SoObjects/Contacts/SOGoContactLDAPEntry.m ([SOGoContactLDAPEntry
1482 -vCard]): set the card's fn to attribute "displayName" if found
1485 2006-09-20 Wolfgang Sourdeau <wsourdeau@inverse.ca>
1487 * SoObjects/Contacts/SOGoContactLDAPEntry.m ([SOGoContactLDAPEntry
1488 -vCard]): handle the "streetAddress" and "l" fields.
1490 * UI/Templates/MailerUI/UIxMailEditor.wox: arranged the message
1491 header fields by converting the tables to DIVs and SPANs.
1493 * UI/WebServerResources/generic.css: attempted unification of font
1494 families and size across all the elements. changed the
1495 logConsole's "position" from "fixed" to "absolute" to avoid
1498 2006-09-19 Wolfgang Sourdeau <wsourdeau@inverse.ca>
1500 * UI/WebServerResources/ContactsUI.js (uixDeleteSelectedContacts):
1501 empty the contact view when the current contact is being deleted.
1503 * UI/WebServerResources/MailerUI.js (newContactFromEmail): fully
1504 parse the email field and provide the address full name if found
1505 as the "contactFN" parameter.
1507 * UI/WebServerResources/generic.js (openMailTo): do not give a
1508 name to the opened window so that serveral ones can be opened at
1511 * UI/MailPartViewers/UIxMailPartTextViewer.m
1512 ([UIxMailPartTextViewer -flatContentAsString]): override method by
1513 replacing carriage returns with "<br />" in the result string from
1514 super's implementation.
1516 * UI/Contacts/UIxContactView.m ([UIxContactView
1517 -_urlOfType:aType]): don't manage non-mailto urls through
1518 javascript, let the user decide what's best for him.
1520 * UI/Contacts/UIxContactFoldersView.m ([UIxContactFoldersView
1521 -newAction]): transfer all the query parameters by using the
1522 "asURLParameters"'s result string from [self queryParameters].
1524 * UI/Contacts/UIxContactEditor.m ([UIxContactEditor
1525 -initSnapshot]): retrieve "contactEmail" and "contactFN" from the
1526 query parameters and put their values (if any) into the snapshot.
1528 * UI/Contacts/UIxContactView.m ([UIxContactView -note]): convert
1529 carriage-returns to "<br />".
1530 ([UIxContactView -workCompany]): explicitly initialize company to
1531 nil if org is nil or empty.
1533 * UI/WebServerResources/UIxContactEditor.js: updated validation
1534 code after we added and renamed some fields.
1536 * UI/WebServerResources/ContactsUI.js: added code to cache contact
1537 cards and to handle card updates.
1539 2006-09-18 Wolfgang Sourdeau <wsourdeau@inverse.ca>
1541 * UI/Contacts/UIxContactView.m ([UIxContactView -hasOtherInfos]):
1542 test the length of the returned string since they will never be
1545 * UI/Contacts/UIxContactEditor.m ([UIxContactEditor -saveAction]):
1546 return self if the process went successful, returns an exception
1547 otherwise (and only otherwise...).
1549 * OGoContentStore/OCSContactFieldExtractor.m
1550 ([OCSContactFieldExtractor -extractQuickFieldsFromVCard:_vCard]):
1551 adapted method to the new VCard api. Since the cards are stored in
1552 vcard format, we no longer deal with a dictionary but with a
1555 2006-09-15 Wolfgang Sourdeau <wsourdeau@inverse.ca>
1557 * UI/Contacts/UIxContactView.m ([UIxContactView -preferredEmail]):
1558 return a string with a "mailto" url.
1559 ([UIxContactView -_urlOfType:aType]): generic method to return a
1560 url string with a html anchor pointing to it.
1562 * UI/Contacts/UIxContactEditor.[hm]: UIxContactEditorBase renamed
1563 since subclass "UIxContactEditor" did nothing. Implemented code to
1564 display and modify the values parsed from the vcards, displayed in
1565 a way similar to the Thunderbird addressbook.
1567 * SoObjects/Contacts/SOGoContactLDAPEntry.m ([SOGoContactLDAPEntry
1568 -save]): new dummy method.
1570 * SoObjects/Contacts/SOGoContactGCSEntry.m ([SOGoContactGCSEntry
1571 -save]): made method void.
1573 2006-09-13 Wolfgang Sourdeau <wsourdeau@inverse.ca>
1575 * UI/Contacts/UIxContactView.m: added many wrapper methods to
1576 display blocks of data à la Thunderbird Addressbook. If data is
1577 available, those wrappers (around the NGVCard methods) will
1578 enclose the results in a proper HTML output with the correct label
1579 (if present), otherwise it will return an empty string.
1580 ([UIxContactView -vcardAction]): new action to return the contact
1581 as text/vcard (for exporting).
1583 * SoObjects/Contacts/SOGoContactLDAPEntry.m ([SOGoContactLDAPEntry
1584 +contactEntryWithName:aNamewithLDAPEntry:anEntryinContainer:aContainer]): adapted the mapping of the LDIF data with the new NGVCard API.
1586 * SoObjects/Contacts/SOGoContactGCSEntry.m ([SOGoContactGCSEntry
1587 -vCard]): create a new NGVCard instance when no data is available
1589 ([SOGoContactGCSEntry -save]): save the vCard using the new
1590 "versitString" API method/message.
1592 * UI/Contacts/UIxContactView.h: separated interface from
1595 * UI/WebServerResources/ContactsUI.js: add-ed code to download card
1596 views and display them beneath the list.
1598 2006-09-08 Wolfgang Sourdeau <wsourdeau@inverse.ca>
1600 * SoObjects/SOGo/SOGoObject.m ([SOGoObject -userTimeZone]): retain
1601 the timezone even when it's the server timezone.
1603 * SoObjects/SOGo/SOGoUserFolder.m ([SOGoUserFolder
1604 -privateContacts:inContext:]): no long configure the calendar
1605 object with the user's timezone since it's now accessible
1606 application-wide throught the SOGoObject methods.
1608 * UI/SOGoUI/UIxComponent.[hm]: removed the "viewTimeZone" ivar and
1609 method. Removed the "backendTimeZone" method.
1611 * UI/MainUI/SOGoUserHomePage.[hm]: made a subclass of UIxComponent
1612 instead of SoComponent.
1614 * SoObjects/Appointments/SOGoAppointmentObject.m:
1615 ([SOGoAppointmentObject -viewTimeZoneForPerson:_person]): returns
1616 [self serverTimeZone] instead of "EST" (which was removed).
1618 * SoObjects/Appointments/SOGoAppointmentFolder.[hm]: removed the
1619 "timeZone" ivar and its accessors.
1621 * SoObjects/SOGo/SOGoObject.m ([SOGoObject -serverTimeZone]): new
1622 centralized method returing the timezone configured in the
1623 userdefaults db or "Canada/Eastern" if missing.
1624 ([SOGoObject -userTimeZone]): new centralized method returing the
1625 timezone of the current user or the server timezone if missing
1626 from the user configuration table.
1628 2006-09-07 Wolfgang Sourdeau <wsourdeau@inverse.ca>
1630 * UI/WebServerResources/SchedulerUI.js: implemented caching of
1633 * UI/SOGoUI/UIxComponent.m ([UIxComponent -userFolderPath]):
1634 return a path based on the object's context instead of the first
1635 level in SOGo's object hierarchy...
1637 2006-09-06 Wolfgang Sourdeau <wsourdeau@inverse.ca>
1639 * UI/Templates/SchedulerUI/UIxCalDayTable.wox: day columns can now
1642 * UI/Templates/SchedulerUI/UIxCalDateSelector.wox: pass the user's
1643 timezone ([self viewTimeZone]) to the WEMonthOverview component to
1644 avoid a confusion with the days.
1646 * UI/Templates/SchedulerUI/UIxCalInlineAptView.wox: appointments
1649 * UI/WebServerResources/SchedulerUI.js: implemented a mechanism to
1650 imitate Sunbird's synchronization between the 3 visible views.
1652 * UI/SOGoUI/UIxComponent.m ([UIxComponent -selectedDate]): make
1653 sure the numbers in dateString are formatted so as to take 4 chars
1654 for the year and 2 for the day and the month, otherwise
1655 NSCalendarDate will return a nil date.
1656 ([UIxComponent -applicationPath]): return a path based on the
1657 object's context instead of the second level in SOGo's object
1660 2006-09-05 Wolfgang Sourdeau <wsourdeau@inverse.ca>
1662 * UI/SOGoUI/UIxComponent.m ([UIxComponent -selectedDate]): add the
1663 user's timezone abbreviation to the date string passed as parameter to
1664 NSCalendarDate to generate an accurate date instance. Do the same
1665 when no date is specified and today is chosen.
1667 * UI/WebServerResources/UIxAppointmentEditor.js: convert the
1668 form's time values to integers before comparing them.
1670 * UI/Scheduler/UIxCalAptListView.m ([UIxCalAptListView -currentStartTime])
1671 ([UIxCalAptListView -currentEndTime]): initialize the resulting
1672 dates timezone with [self viewTimeZone].
1674 * UI/SOGoUI/UIxComponent.m ([UIxComponent -init]): new
1675 "viewTimeZone" ivar destined to hold an instance of the user's
1677 ([UIxComponent -viewTimeZone]): take the timezone from the user's
1680 2006-08-30 Wolfgang Sourdeau <wsourdeau@inverse.ca>
1682 * UI/Templates/SchedulerUI/UIxAppointmentEditor.wox: completely
1683 rearranged the layout.
1685 * UI/WebServerResources/UIxAppointmentEditor.js: added code to
1686 manage showing and hiding appointment details.
1688 * SoObjects/SOGo/SOGoUserFolder.m ([SOGoUserFolder
1689 -privateContacts:inContext:]): init the SOGoAppointmentFolder's
1690 timezone by taking the current user's timezone setting.
1692 * SoObjects/Appointments/SOGoAptMailNotification.m: same as below.
1694 * SoObjects/Appointments/SOGoAppointmentObject.m
1695 ([SOGoAppointmentObject -changeParticipationStatus:inContext:]):
1696 set default timezone to EST, although this code should be
1697 rewritten to handle a system and a user default value.
1699 * UI/Scheduler/UIxTimeDateControl.m ([UIxTimeDateControl
1700 -takeValuesFromRequest:_rqinContext:_ctx]): enhanced method to
1701 take the values from the hour and minute INPUTs when data is
1702 POSTed since we no longer use the UIxTimeSelector component.
1703 ([UIxTimeDateControl -selectableHours])
1704 ([UIxTimeDateControl -selectableMinutes]): new methods used by the
1705 template SELECTs to display reasonable and acceptable values
1706 instead of all the possibilities.
1708 * UI/WebServerResources/generic.js: adapted code for the new
1709 implementation of the UIxContactSelector component (added a
1710 "remove" button, removed the previous INPUT and replaced them with
1711 links of class "button").
1713 * UI/Scheduler/UIxTimeDateControl.h: separated interface from
1714 UIxTimeDateControl.m.
1716 * UI/Scheduler/UIxCalDayTable.m ([UIxCalDayTable -currentAppointmentDay])
1717 ([UIxCalDayTable -currentAppointmentHour]): new methods that
1718 returns correctly formatted values used as attributes for JS code.
1720 * UI/Contacts/UIxContactSelector.m ([UIxContactSelector
1721 -initialContactsAsString]): renamed implementation of
1722 initialParticipants.
1723 ([UIxContactSelector -currentContactId])
1724 ([UIxContactSelector -currentContactName]): new methods used when
1725 listing the initial contacts in the widget. Currently, both return
1726 the person's cn but the latter should ultimately return a user
1729 * UI/Contacts/UIxContactSelector.h: separated interface from
1730 UIxContactSelector.m.
1732 * UI/Scheduler/UIxDatePickerScript.[hm]: component removed since
1733 all javascript code is now put in Scheduler.js/generic.js.
1735 * UI/Scheduler/NSCalendarDate+UIx.[hm]: category removed, code
1736 moved into NSCalendarDate+Scheduler instead.
1738 * SoObjects/Appointments/SOGoAppointmentFolder.m
1739 ([SOGoAppointmentFolder -setTimeZone:newTZ]): new method to
1740 configure the timezone from SOGoUserFolder when the instance is
1742 ([SOGoAppointmentFolder -viewTimeZone]): MET was removed. Returns
1743 the value of the new "timezone" ivar.
1745 2006-08-25 Wolfgang Sourdeau <wsourdeau@inverse.ca>
1747 * UI/WebServerResources/SchedulerUI.{css,js}: added a tabview with
1748 the date selector in the first page and the container of the
1749 future calendar selector in the second page.
1751 * UI/WebServerResources/generic.js: added code for handling tabbed
1754 * UI/Common/UIxPageFrame.m ([UIxPageFrame -productFrameworkName]):
1755 returns the bundle name associated to the current running product.
1757 2006-08-24 Wolfgang Sourdeau <wsourdeau@inverse.ca>
1759 * UI/WebServerResources/UIxAppointmentEditor.js: fixed the AJAX
1760 exception by invoking a timeout on the opener rather than invoking
1761 the list refresh method.
1763 * UI/Scheduler/UIxCalDayView.m ([UIxCalDayView -labelForDay]):
1766 * UI/Scheduler/UIxCalWeekView.m ([UIxCalWeekView -weekBeforePrevWeekQueryParameters])
1767 ([UIxCalWeekView -prevWeekQueryParameters])
1768 ([UIxCalWeekView -nextWeekQueryParameters])
1769 ([UIxCalWeekView -weekAfterNextWeekQueryParameters]): new methods
1770 that return the dates relatively to the current day.
1771 ([UIxCalWeekView -lastWeekName])
1772 ([UIxCalWeekView -currentWeekName])
1773 ([UIxCalWeekView -nextWeekName])
1774 ([UIxCalWeekView -weekAfterNextWeekName])
1775 ([UIxCalWeekView -_weekNumberWithOffsetFromToday:offset]): new
1776 methods that returns the label for the corresponding weeks.
1778 * UI/Scheduler/UIxCalDayTable.[hm]: new class module/component
1779 used by UIxCalDayView and UIxCalWeekView to display the events
1780 occuring in one or more days.
1782 2006-08-22 Wolfgang Sourdeau <wsourdeau@inverse.ca>
1784 * UI/Scheduler/UIxCalMainView.m: extended class to populate the
1785 entries in the new "monthMenu" and "yearMenu".
1787 * UI/Scheduler/UIxCalDayView.m ([UIxCalDayView -labelForDay]): new
1788 method to return the current day as a string formatted depending
1789 on the current locale.
1791 * UI/Scheduler/UIxCalAptListView.m ([UIxCalAptListView -startDate])
1792 ([UIxCalAptListView -endDate]): "today" is now the default filter
1793 for displayed events.
1794 ([UIxCalAptListView -currentSerialDay]): new method returning the
1795 date of the current enumerated appointment in serial form
1798 * UI/WebServerResources/SchedulerUI.js: added code to select the
1799 relevant day when an appointment is selected. Added code to popup
1800 a month and a year menu whenever the header entries are clicked in
1801 the calendar widget.
1803 * UI/WebServerResources/generic.js: made addClassName and
1804 removeClassName methods of HTMLElement.
1806 2006-08-21 Wolfgang Sourdeau <wsourdeau@inverse.ca>
1808 * UI/WebServerResources/MailerUI.js: fixed the contact creation
1809 from email addresses.
1811 * UI/WebServerResources/generic.js: centralized the search-related
1812 functions here since the same code was used across the 3
1815 * UI/Scheduler/UIxCalAptListView.m ([UIxCalAptListView -startDate])
1816 ([UIxCalAptListView -endDate]): return the required dates needed
1817 depending on the value given to the "filterpopup" url parameter.
1819 * UI/Common/UIxToolbar.m ([UIxToolbar -buttonLabel]): reduced the
1820 code by invoking UIxComponent's labelForKey:.
1822 * UI/SOGoUI/UIxComponent.m ([UIxComponent -labelForKey:]): use
1823 [self pageResourceManager] instead of [self resourceManager].
1825 * UI/Contacts/UIxContactEditorBase.m: invokes
1826 globallyUniqueObjectId on the clientobject's class instead of the
1827 hardcoded "SOGoFolder".
1829 * UI/Contacts/UIxContactFoldersView.m ([UIxContactFoldersView
1830 -newAction]): redirect the "new" action to the personal (default)
1833 * SoObjects/SOGo/SOGoObject.m ([SOGoObject
1834 +objectWithName:inContainer:]): new constructor.
1836 * SoObjects/Contacts/SOGoContactGCSFolder.m ([SOGoContactGCSFolder
1837 -lookupContactWithId:recordId]): always create a contact object,
1838 even if it does not exist.
1840 2006-08-18 Wolfgang Sourdeau <wsourdeau@inverse.ca>
1842 * UI/Scheduler/UIxCalMainView.[hm]: new class to serve as a pseudo
1843 component that lays out the different components of SOGoCalendar.
1844 Only serves as an Objective-C counterpart to its xml template.
1846 * UI/Scheduler/UIxCalInlineMonthOverview.h: interface extracted
1849 * UI/Scheduler/UIxCalFilterPanel.[hm]: new class designed to
1850 display a widget to handle the information displayed in the
1851 appointments list. Not currently used, lacks implementation.
1853 * UI/Scheduler/UIxCalDateSelector.[hm]: new class designed to
1854 display a calendar as a dynamic widget from where one can select
1855 the current visible day.
1857 * UI/Scheduler/NSCalendarDate+Scheduler.[hm]: category code
1858 extracted from UIxCalInlineMonthOverview.m.
1860 * UI/Scheduler/UIxDatePicker.m: removed the jsPopup, jsCode and
1861 calendarPageURL methods. The javascript code is handled by .js
1862 files as much as possible...
1864 * UI/WebServerResources/ContactsUI.js,
1865 UI/WebServerResources/MailerUI.js: adapted to the code refactoring
1868 * UI/WebServerResources/SchedulerUI.js: implemented functions to
1869 handle the new widgets. XmlHTTPRequest code taken from
1872 * UI/WebServerResources/generic.js: put some functions related to
1873 element selections as methods to HTMLElement and HTMLTableElement.
1875 * UI/Scheduler/UIxCalAptListView.[hm]: new class designed to
1876 display the list of appointments (embodies the code-size of
1877 UIxCalAptListView; answers to the "aptlist" method).
1879 2006-08-15 Wolfgang Sourdeau <wsourdeau@inverse.ca>
1881 * UI/Scheduler/UIxCalWeekOverview.m ([UIxCalWeekOverview
1882 -correctURLAction]): new short action method replacing the method
1883 below by taking far less code.
1885 * SoObjects/Appointments/SOGoAppointmentFolder.m
1886 ([SOGoAppointmentFolder -GETAction:]): removed method. Replaced
1887 with an action in the view-related code.
1889 * UI/Scheduler/UIxAppointmentEditor.m: invoke
1890 "stringByEscapingHTMLString" on the resulting value to avoid
1891 issues with accented characters.
1892 ([-jsCode]): removed method since the javascript code was merged
1893 into SchedulerUI.js.
1895 2006-08-14 Wolfgang Sourdeau <wsourdeau@inverse.ca>
1897 * UI/Scheduler/iCalPerson+UIx.m ([iCalPerson +personWithUid:]):
1898 new class method that returns an iCalPerson based on the UID given
1901 * UI/Contacts/UIxContactsListViewContainerBase.m:
1902 UIxContactsListViewContainer renamed to serve as a base class for
1903 the contact lists in both the contact editor and the contact
1906 * SoObjects/Contacts/SOGoContactLDAPFolder.m
1907 ([SOGoContactLDAPFolder
1908 -LDAPSetHostname:setPort:setBindDN:setBindPW:setContactIdentifier:
1909 setUserIdentifier:setRootDN:]): an LDAP field specifying the
1910 loginname of the users can now be specified.
1912 * UI/WebServerResources/generic.js: added code to manage contact
1913 lists through the new implementation of the UIxContactSelector.
1915 * UI/Templates: put the templates related to SchedulerUI in its
1918 * SoObjects/Contacts/NGLdapEntry+Contact.m ([NGLdapEntry
1919 -asDictionaryWithAttributeNames:withUID:andCName:cName]): add an
1920 entry for "uid" with the field name representing the login name of
1921 the user in the corresponding LDAP branch.
1923 2006-08-10 Wolfgang Sourdeau <wsourdeau@inverse.ca>
1925 * SoObjects/Contacts/SOGoContactGCSFolder.m ([SOGoContactGCSFolder
1926 -lookupName:_keyinContext:_ctxacquire:_flag]): when the HTTP
1927 request is a PUT, always create an entry, even if we're not sure
1930 2006-08-09 Wolfgang Sourdeau <wsourdeau@inverse.ca>
1932 * UI/WebServerResources/ContactsUI.js: implemented live-search.
1934 * SoObjects/Contacts/SOGoContactFolders.m ([SOGoContactFolders
1935 -appendSystemSourcesInContext:context]): populated method with
1936 code that creates entries mapped to instances SOGoContactFolder,
1937 based on the configuration found in the NSUserDefaults under the
1938 key "SOGoLDAPAddressBooks".
1939 ([SOGoContactFolders
1940 -lookupName:nameinContext:contextacquire:acquire]):
1941 "contactsources" do not exist anymore, SOGoContactFolder was split
1942 into two classes: SOGoContactGCSFolder and SOGoContactLDAPFolder
1943 and one protocol: SOGOContactFolder, instead.
1944 ([SOGoContactFolders -contactFolders]): new accessor used by the
1945 views of SOGoContactXXXFolder to list the possible sources.
1947 * SoObjects/Contacts/SOGoContactObject.h: new protocol that
1948 defines the methods that UIxContactsView, ..Editor and so on...
1951 * SoObjects/Contacts/SOGoContactFolder.h: new protocol that
1952 defines the methods that UIxContactsListViewBase expects as well
1953 as the data fields returned in the contact lists.
1955 * SoObjects/Contacts/SOGoContactLDAPFolder.[hm]: new class that
1956 returns entries an LDAP server. Conforms to the new
1957 SOGOContactFolder protocol.
1959 * SoObjects/Contacts/SOGoContactLDAPEntry.[hm]: new class that
1960 returns a vCard based on contact entries from an LDAP server.
1961 Conforms to the new SOGOContactObject protocol.
1963 * SoObjects/Contacts/NGVCardSimpleValue+Contact.m
1964 ([NGVCardSimpleValue -vCardEntryString]): generates the correct
1965 entry for the textual representation of the vCard.
1967 * SoObjects/Contacts/NGVCardSimpleValue+Contact.[hm]: new class
1970 * SoObjects/Contacts/SOGoContactGCSEntry.[hm]: new module name of
1971 "SOGoContactObject".
1973 * SoObjects/Contacts/NGVCard+Contact.m ([NGVCard -asString]): new
1974 method that generates a textual representation of the vcard.
1976 * SoObjects/Contacts/NGVCard+Contact.[hm]: new class extension.
1978 * SoObjects/Contacts/SOGoContactGCSFolder.[hm]: new module name of
1979 "SOGoContactFolder".
1981 * SoObjects/Contacts/SOGoContactSource.h,
1982 SoObjects/Contacts/SOGoPersonalAB.[hm]: unused classes and
1985 * SoObjects/Contacts/NGLdapEntry+Contact.m ([NGLdapEntry
1986 -singleAttributeWithName:key]): new method that returns the first
1987 object associated with an ldap key (where generally one value is
1990 -asDictionaryWithAttributeNames:attributeNamesandCName:cName]):
1991 map the entry into an NSDictionary for processing by
1992 UIxContactsListViewBase.m with the least possible overhead.
1994 * SoObjects/Contacts/NGLdapEntry+Contact.[hm]: new class
1997 2006-08-04 Wolfgang Sourdeau <wsourdeau@inverse.ca>
1999 * SoObjects/SOGo/SOGoUserFolder.m ([SOGoUserFolder
2000 -privateContacts:inContext:]): now returns an instance of
2003 * UI/Contacts/UIxContactsListViewContainer.m
2004 ([UIxContactsListViewContainer -contactFolderName]): new method to
2005 return the absolute path to the current contact folder, called
2006 from within the template.
2008 * UI/Templates/ContactsUI/UIxContactsListViewContainer.wox: added
2009 JS code to initialize the 'currentContactFolder' generic var.
2011 * SoObjects/Contacts/SOGoContactFolder.m ([SOGoContactFolder
2012 +contactFolderWithSource:inContainer:andName:]): new class
2013 method meant to return an instance connected to the specified
2014 source. Currently useless but won't be anymore in the next few
2017 * SoObjects/SOGo/SOGoUserFolder.h: commented out declaration of
2018 the "lookupFreeBusyObject" method since it does not exist.
2020 * UI/Contacts/UIxContactFoldersView.[hm]: new class module serving
2021 as a "view" for the SOGoContactFolders object. Does nothing but
2022 redirect the browser to the URL of the personal address book of
2023 the user. It does not even have a template.
2025 * SoObjects/Contacts/SOGoPersonalAB.[hm]: new class module
2026 implementing the SOGoContactSource protocol. Does nothing
2027 currently but will be used to implement access to the personal
2028 address book of the user stored in the SOGo database.
2030 * SoObjects/Contacts/SOGoContactSource.h: new "SOGoContactSource"
2031 protocol defining an API common to all possible types of contact
2034 * SoObjects/Contacts/SOGoContactFolders.[hm]: new class module
2035 serving as the root of the contact folders available to the
2036 current user. Correctly lists the contact sources in webdav.
2038 2006-08-03 Wolfgang Sourdeau <wsourdeau@inverse.ca>
2040 * UI/MailerUI/UIxMailAccountsView.m ([UIxMailAccountsView
2041 -composeAction]): new action method that permits external object
2042 to write a message from the default (primary) account.
2044 * UI/Contacts/UIxContactEditorBase.m ([UIxContactEditorBase
2045 -initSnapshot]): new method with code taken from "defaultAction"
2046 but needed for others.
2047 ([UIxContactEditorBase -writeAction]): new action designed to
2048 compose the correct URL needed to obtain the MailerUI's email
2049 editor with the correct "mailto" parameter.
2051 * UI/Common/UIxSortableTableHeader.m: moved from MailerUI to
2052 Common so that other modules can use it.
2054 * UI/Contacts/UIxContactsListViewContainer.m: container to make it
2055 easier to manage both ajax and non-ajax requests.
2057 * UI/Contacts/UIxContactsFilterPanel.m: clone of
2058 UIxMailFilterPanel, but applicable to contact lists.
2060 * SoObjects/Contacts/NSDictionary+Contact.m ([NSDictionary
2061 -vcardContentFromSOGoContactRecord]): use the new standard methods
2062 created for each type of entry. If a line is determined to not
2063 contain information, it will be skipped.
2065 * SoObjects/SOGo/AgenorUserManager.m ([AgenorUserManager
2066 +initialize]): init defaultMailDomain with the user default
2067 "SOGoDefaultMailDomain".
2069 2006-08-02 Wolfgang Sourdeau <wsourdeau@inverse.ca>
2071 * UI/Contacts/UIxContactEditorBase.m ([UIxContactEditorBase
2072 -saveAction]): reorganized methods to only have ONE return point.
2073 Invoke saveRecord: directly on the clientObject instead of
2074 saveContentString, which does the same thing anyway.
2076 * SoObjects/Contacts/NSDictionary+Contact.m
2077 ([NSDictionary -vcardContentFromSOGoContactRecord]): extension
2078 method to convert the dictionary returned with the user submission
2079 to a record in VCARD format to be stored in the database.
2081 2006-08-01 Wolfgang Sourdeau <wsourdeau@inverse.ca>
2083 * UI/WebServerResources/MailerUI.js: when opening the context menu
2084 of the message list, select the message below the mouse cursor and
2085 deselect the other selected messages temporarily. This mimics the
2086 behaviour of Thunderbird for that matter and was already
2087 implemented for the entries of the folder tree.
2089 * UI/MailerUI/UIxMailFolderMenu.m ([UIxMailFolderMenu
2090 -iconForMenuItem]): new method that returns the fully qualified
2091 relative URL to the icon representing the mailbox, or the default
2092 mailbox icon if needed.
2094 * UI/SOGoUI/UIxComponent.m ([UIxComponent
2095 -urlForResourceFilename:filename]): automatically return an empty
2096 string whenever the filename passed as argument is nil.
2098 * UI/WebServerResources/MailerUI.js: open the mailboxes with the
2099 "desc" parameter set to 1 so that they are sorted in descending
2100 order by default. Also, added "onHeaderClick()", triggered by
2101 clicking on the message list header elements.
2103 * UI/MailerUI/UIxMailSortableTableHeader.m
2104 ([UIxMailSortableTableHeader -isSortedDescending]): same as below.
2106 * UI/MailerUI/UIxMailListView.m ([UIxMailListView
2107 -isSortedDescending]): defaults to "YES" when the sort order is
2110 2006-07-31 Wolfgang Sourdeau <wsourdeau@inverse.ca>
2112 * UI/WebServerResources/MailerUI.js:
2113 - message cache: set the max num of cached messages to 20. Limit
2114 the cached message size to 30000 bytes.
2115 - ajax: when a message request is called while one is already
2116 being performed, the latter will be cancelled. Idem when
2117 retrieving the content of a mailbox.
2118 - folder tree: when a mailbox is selected because of the URL
2119 requested (initMailboxSelection), the dtree is expanded throughout
2120 the mailbox entry's parent hierarchy to ensure it is made visible
2121 when the page is being displayed. (new function: expandUpperTree).
2122 - mailbox loading: when loading a mailbox where a message was
2123 previously selected, we invoke its url with the "pageforuid"
2124 parameter correctly specified. During callback processing, we scan
2125 the table for the related row and reselect it.
2126 Also, the message area is set blank before loading any mailbox.
2128 * UI/MailerUI/UIxMailListView.m ([UIxMailListView
2129 -defaultAction]): if the "pageforuid" parameter is passed in the
2130 url, take its value and invoke [self firstMessageOfPageFor:]
2131 consequently to deduce the first message to display. Otherwise,
2132 set it to "idx", otherwise set it to 0.
2133 ([UIxMailListView -firstMessageOfPageFor:]): new method
2134 that determines the first message of the page where the message
2135 passed as parameter is contained.
2137 * UI/WebServerResources/UIxMailListView.js: removed this module,
2138 its code was put in MailerUI.js instead.
2140 2006-07-28 Wolfgang Sourdeau <wsourdeau@inverse.ca>
2142 * UI/MailerUI/UIxMailFolderMenu.m: a descendent of UIxMailTree
2143 which returns the nodes for the parent specified in "parentMenu".
2144 Used to generate the javascript code for the folder dtree.
2146 * UI/Templates/MailerUI/UIxMailPanelFrame.wox: the components
2147 using that container-template are now using UIxMailMainFrame
2148 since UIxMailPanelFrame had no real interest. File removed.
2150 * UI/WebServerResources/dtree.{css,js}: new files to handle
2151 javascript-generated mailbox tree. Modified from original version
2152 by integrating the previous code with the one we are using for
2153 selections and mailbox handling. Minor visual enhancements too...
2155 2006-07-25 Wolfgang Sourdeau <wsourdeau@inverse.ca>
2157 * SoObjects/Mailer/SOGoUser+Mail.m: if only one identity is to be
2158 returned, put it in an NSArray before returning it (fixes
2161 2006-07-24 Wolfgang Sourdeau <wsourdeau@inverse.ca>
2163 * UI/SOGoUI/NSString+URL.m ([NSString -hostlessURL]): new method
2164 that returns a url string stripped from its "http://hostname"
2167 * UI/SOGoUI/NSDictionary+URL.[hm]: moved from UI/Common.
2169 * UI/SOGoUI/NSString+URL.[hm]: moved from UI/Common.
2171 2006-07-17 Wolfgang Sourdeau <wsourdeau@inverse.ca>
2173 * UI/MailerUI/WOContext+UIxMailer.m ([WOContext
2174 -mailDateFormatter]): retrieve the timezone from the user settings
2175 and pass it to the returned dateFormatter. Also, the dateFormatter
2176 is kept in a static variable to avoid useless
2177 creations/destructions.
2179 * UI/MailerUI/UIxMailFormatter.m ([UIxMailDateFormatter
2180 -setTimeZone:newTimeZone]): new accessor to specify the timezone.
2182 * UI/MailerUI/UIxMailFilterPanel.m ([UIxMailFilterPanel -setSearchCriteria:])
2183 ([UIxMailFilterPanel -searchCriteria]): new methods, similar to
2184 s/Criteria/Text/ to handle the "criteria" form parameter.
2186 2006-07-11 Wolfgang Sourdeau <wsourdeau@inverse.ca>
2188 * UI/WebServerResources/uix.css: enhanced the toolbar appearance
2189 to integrate better with the firefox look&feel. Added entries for
2190 the new "menu" DIV class (popup menus).
2192 * UI/WebServerResources/generic.js: added "sanitizeMailTo" which
2193 takes any chunk of text as param, detects the user email and the
2194 optional first and last names and return them in a well-formatted
2195 way. Renamed "getSelection" to "getSelectedNodes" to avoid a
2196 namespace conflict. Added "onMenuClick(node, event, menuId)" to
2197 handle popup menus through "onclick" element attributes (node =
2198 this, event = event and menuId = name of the menu DIV id to
2201 * UI/Contacts/UIxContactEditorBase.m ([UIxContactEditorBase
2202 -snapshot]): add an entry for "email" into the snapshot
2203 dictionary if a "contactEmail" URL parameter was detected and if
2204 the entry for "email" is empty.
2206 * UI/Contacts/Toolbars/SOGoContactFolder.toolbar: the "new card"
2207 button now invokes the newContact() js function in ContactsUI.js
2208 instead of opening "new" directly. newContact() pops up a window
2209 stripped from its navigation bar.
2211 * UI/Contacts/ContactsUI.js: new module specific to the ContactsUI
2212 bundle (AddressBook).
2214 * UI/Templates/MailerUI/UIxMailView.wox: added a div of class
2215 "menu" and id "addressMenu" have the header email addresses
2216 display it with the new menu code in generic.js.
2218 * UI/Templates/MailerUI/UIxMailPanelFrame.wox: same as below +
2219 replaced the body tables with a div of class "pageContent"
2220 (standardization across the page templates).
2222 * UI/Templates/MailerUI/UIxMailMainFrame.wox: include
2223 productJavaScriptURL and pageJavaScriptURL (conditionnally) since
2224 those are now inherited from UIxPageFrame.
2226 * UI/MailerUI/UIxMailView.js: new file specific to UIxMailView.
2228 * UI/MailerUI/UIxMailToSelection.m ([UIxMailToSelection -to]): if
2229 a "mailto" URL parameter is detected and the "to" array is empty,
2230 initialize "to" with the value of "mailto" before returning it.
2232 * UI/MailerUI/UIxMailEditorAction.m ([UIxMailEditorAction
2233 -composeAction]): rewrote method in a cleaner way and with usage
2234 of the URL extensions to NSString and NSDictionary (see below).
2235 Also, if a "mailto" url parameter is detected, pass it to the
2238 * UI/MailerUI/UIxMailMainFrame.m: subclassed from UIxPageFrame to
2241 * UI/Common/NSDictionary+URL.m ([NSDictionary -asURLParameters]):
2242 returns a parameter string to add to a base URL.
2244 * UI/Common/NSString+URL.m ([NSString
2245 -composeURLWithAction:parameters:andHash:useHash]): new method to
2246 compose a complete URL from an object URL with parameters and an
2247 optional '#' character.
2249 * UI/Common/UIxPageFrame.h: separated interface from
2252 2006-07-07 Wsourdeau Sourdeau <wsourdeau@inverse.ca>
2254 * UI/Scheduler/UIxAppointmentEditor.m: returns yes to "isPopup";
2256 * UI/WebServerResources/generic.js: added code to manage
2257 selections within HTML containers.
2259 * UI/Common/UIxPageFrame.m ([UIxPageFrame -productJavaScriptURL]):
2260 added method to determine the possible URL for a product-specific
2261 javascript filename of the forme <productname>.js.
2262 ([UIxPageFrame -hasProductSpecificJavaScript]): new method.
2263 ([UIxPageFrame -isPopup]): new method to determine whether the
2264 application navigator bar should be displayed (main page) or not
2267 * SoObjects/SOGo/SOGoAuthenticator.m ([SOGoAuthenticator
2268 -LDAPCheckLogin:_loginpassword:_pwd]): new method to authenticate
2269 the user through LDAP.
2271 2006-07-06 Wolfgang Sourdeau <wsourdeau@inverse.ca>
2273 * The toolbar code from the MailerUI product was taken, renamed as
2274 "UIxToolBar" and put into UI/Common. Toolbar plists were created
2275 for the Contacts and Scheduler products and put in their respectir
2276 Toolbars/ subdirectories. Finally,
2277 UI/Templates/{UIxToolbarButton,UIxToolbarSeparator}.wox, and
2278 UI/Common/{UIxToolbarButton,UIxToolbarSeparator}.m were removed
2279 and an invocation to the UIxToolbar component was put at the top
2280 of UI/Templaces/UIxPageFrame.wox.
2282 * UI/Common/UIxToolbar.m: new "isLastGroup" method to determine
2283 within the templates whether a separator should be displayed.
2285 * UI/Common/UIxToolbar.m ([UIxToolbar -hasButtons]): new method
2286 that returns NO if the toolbar is empty.
2288 2006-07-05 Wolfgang Sourdeau <wsourdeau@inverse.ca>
2290 * UI/Templates/UIxPageFrame.wox: replaced central table with a DIV.
2292 * UI/Common/UIxToolbarSeparator.m, UI/Common/UIxToolbarButton.m:
2293 new toolbar objects.
2295 * UI/Templates/UIxPageFrame.wox: use the exact html code as below.
2297 * UI/Templates/MailerUI/UIxMailMainFrame.wox: redone the
2298 linkbanner as a DIV instead of a TABLE.
2300 * UI/MailerUI/UIxMailMainFrame.m [UIxMailMainFrame
2302 returns 'YES' to request the display of the navigation bar between
2305 2006-06-15 ludovic@inverse.ca
2307 * It's now possible to set the default
2308 domain using for email using the
2309 SOGoDefaultMailDomain preference key.
2311 2006-06-15 ludovic@inverse.ca
2313 * Initial import of SOGo from trunk.