-
Notifications
You must be signed in to change notification settings - Fork 280
/
ChangeLog.old
22644 lines (17008 loc) · 882 KB
/
ChangeLog.old
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2012-09-16 Francis Lachapelle <[email protected]>
* UI/WebServerResources/dtree.js (s): when selecting a node,
also select the parent so the entire row is highlighted.
2012-09-13 Ludovic Marcotte <[email protected]>
* Fixed bug #1942. We now set the app name to "SOGo"
for the Samba/OpenChange application so wox are properly
found by SOPE.
2012-09-12 Ludovic Marcotte <[email protected]>
* OpenChange/MAPIStoreTasksMessage.m: added a way to get
the PidTagBody of a task. This could be generalized eventually
with the code in MAPIStoreAppointmentWrapper.
* OpenChange/MAPIStoreMessage.m (-saveMessage): added a safety
check to avoid a crash when first accepting invitations on
a newly created profile.
2012-09-07 Francis Lachapelle <[email protected]>
* UI/WebServerResources/SchedulerUI.js (tasksListCallback): list
the tasks in a table, along the events table.
(saveTabState): save which of the events or the tasks tab is
selected.
* UI/WebServerResources/SOGoTabsController.js
(attachToTabsContainer): select and show the active tab if it's
defined.
* UI/WebServerResources/HTMLTableElement.js (getSelectedRows):
accept calling this method from a "tbody".
* UI/Scheduler/UIxCalMainView.m (-saveSelectedListAction): new
method to save the name of the selected tab (events or tasks).
(-eventsTabClass): return "active" if the selected tab was "events".
(-tasksTabClass): idem for "tasks".
* UI/Scheduler/UIxCalListingActions.m (-tasksListAction): added
more quick fields, including the calendar name, location, category
and a formatted version of the due date.
2012-09-07 Wolfgang Sourdeau <[email protected]>
* OpenChange/MAPIStoreContext.m (CompleteURLFromMapistoreURI):
mapistore uris are already escaped.
(-getRootFolder:withFID:): all urls are now escaped, both in NSURL
and in NSString forms, whether they are used to return a mapitore
root uri or a indexing record.
* OpenChange/NSString+MAPIStore.m
(-stringByReplacingPercentEscapesUsingEncoding:): we now return
nil for non-ascii strings.
2012-09-06 Wolfgang Sourdeau <[email protected]>
* OpenChange/NSString+MAPIStore.m
(-stringByReplacingPercentEscapesUsingEncoding:): reimplemented
method properly, to work-around the weird behaviour of the
original in GNUstep.
* OpenChange/MAPIStoreMailContext.m
(+listContextsForUser:withTDBIndexing:inMemCtx:): we escape the
url string of non-ascii folder names.
(+createRootSecondaryFolderWithFID:andName:forUser:): same as
above.
(+*): reverted all of the above.
* OpenChange/MAPIStoreMailVolatileMessage.m
(FillMessageHeadersFromProperties): build a recipient list for the
"from" field from the list stored in the value for "orig" in the
recipients dict.
(FillMessageHeadersFromProperties): now take a "withBcc" parameter
that defines whether the "bcc" field must be ignored in the header.
(_generateMailDataWithBcc:): the above code enables use to remove
the search and replace hack required to remove the "bcc" header in
the message text.
2012-09-05 Wolfgang Sourdeau <[email protected]>
* OpenChange/MAPIStoreMailMessage.m (-getMessageData:inMemCtx:):
property return recipients from all the "from", "to", "cc" and
"bcc" header fields.
* OpenChange/MAPIStoreCalendarAttachment.m
(-getPidTagDisplayName:inMemCtx:): return an allocated value,
since returned values must be assigned to another parent.
2012-09-04 Francis Lachapelle <[email protected]>
* SoObjects/SOGo/WORequest+SOGo.m (-isMacOSXAddressBookApp):
recognize OS X 10.8 useragent.
(-isICal4): idem.
2012-08-28 Jean Raby <[email protected]>
* Scripts/openchange_cleanup.py:
New script to clean an openchange user profile
2012-08-27 Francis Lachapelle <[email protected]>
* SoObjects/Appointments/SOGoAptMailInvitation.m,
SoObjects/Appointments/SOGoAptMailNotification.m,
SoObjects/Appointments/SOGoAptMailDeletion.m,
SoObjects/Appointments/SOGoAptMailUpdate.m,
SoObjects/Appointments/SOGoAptMailICalReply.m,
SoObjects/Appointments/SOGoCalendarComponent.m: send HTML messages
instead of text/plain.
* UI/WebServerResources/generic.js (openMailTo): mail addresses
must now be separated by semi-colons and not commas. This allow
display names to contain commas.
* UI/WebServerResources/SchedulerUI.js (tasksListCallback): prefix
tasks with a color box instead of changing the task's background color.
* UI/Scheduler/UIxCalListingActions.m
(-_getStatusClassForStatusCode:andEndDateStamp::): set the
timezone of the due date to the user's timezone to properly
identify tasks due today.
2012-08-27 Ludovic Marcotte <[email protected]>
* SoObjects/Appointments/iCalPerson+SOGo.m (mailAddress):
We now properly add double-quotes if we find a comma and
the person's name isn't already double-quoted. Fixes #1649
2012-08-24 Francis Lachapelle <[email protected]>
* UI/MailPartViewers/UIxMailPartHTMLViewer.m (-_sanitizeContent):
fix invalid void tags to insure proper HTML decoding. Fixes #1581.
2012-08-23 Ludovic Marcotte <[email protected]>
* SoObjects/Mailer/SOGoMailFolder.m - added safety
checks around the ACL code so we don't crash if
we can't read the ACLs.
2012-08-21 Wolfgang Sourdeau <[email protected]>
* OpenChange/MAPIStoreFolder.m (-getPidTagAccessLevel)
(-getPidTagRights, -getPidTagAccessControlListData): fixed
methods.
* OpenChange/MAPIStoreMessage.m
(-getPidTagDeleteAfterSubmit:inMemCtx:): moved from
MAPIStoreMailMessage.
* OpenChange/MAPIStoreContactsMessage.m
(-getPidTagAlternateRecipientAllowed:inMemCtx:)
(-getPidTagMessageFlags:inMemCtx:)
(-getPidTagDeleteAfterSubmit:inMemCtx:): new getters.
* OpenChange/MAPIStoreGCSFolder.m
(-setChangeKey:forMessageWithKey:): removed useless method.
(-updateVersionsForMessageWithKey:withChangeKey:): set the change
key provided by the client as member of the predecessor
changelist, but never as the actual change key for the object.
This hopefully fixes the issue where Outlook deletes objects that
have a different change list than what they expect.
2012-08-17 Wolfgang Sourdeau <[email protected]>
* OpenChange/MAPIStoreCalendarMessage.m
(-getPidTagMessageClass:inMemCtx:): return
"IPM.Schedule.Meeting.Request" when the owner user is an attendee.
* OpenChange/MAPIStoreAppointmentWrapper.m
(-getPidLidAppointmentNotAllowPropose:inMemCtx): new getter that
always return "YES", in order to disallow counter proposals.
* OpenChange/MAPIStoreContext.m (-getPath:ofFMID:inMemCtx:):
properly escape urls containing non-ascii chars.
(-getRootFoldeR:withFID:): idem.
2012-08-16 Wolfgang Sourdeau <[email protected]>
* OpenChange/MAPIStoreCalendarMessage.m
(-getMessageData:inMemCtx:): when a "recipients" records is
available in the properties, we must return that list instead of
the list of attendees since it will be the most recent one.
(_fixupAppointmentObjectWithUID::): when an appointment had been
deleted, we first attempt to resurrect it from the database before
reinstantiating it, which allows the event synchronisation to
happen properly in [SOGoAppointmentObject
updateContentWithCalendar:fromRequest:].
* OpenChange/MAPIStoreMapping.m (_updateFolderWithURL:withURL:):
we retain and release "oldURL" to avoid releasing it when it
is replaced in the list of urls to modify.
* OpenChange/MAPIStoreAppointmentWrapper.m
(-getPidTagInternetCodepage:inMemCtx:): new getter for a property
that is sometimes requested.
(-getPidTagBody:inMemCtx:): we return an empty string when no
"description"/"comment" is actually present.
2012-08-15 Wolfgang Sourdeau <[email protected]>
* OpenChange/MAPIStoreMailFolder.m (-addProperties:): make use of
the new methods below when a mail folder has been renamed, as this
operation affects the url of mail objects.
* OpenChange/SOGoMAPIDBObject.m (-setNameInContainer): update the
object record in the database to reflect the change of folder
name.
* OpenChange/MAPIStoreMailContext.m (-updateURLWithFolderName):
change the folder name used in the context url to use the new
folder name after a rename operation, so that further invocations
of -url will return the right url.
* OpenChange/MAPIStoreMailFolder.m
(-moveCopyToFolder:withNewName:isMove:isRecursive:): implemented
IMAP-based copy operation, for speed.
(-addProperties): restored the ability to rename IMAP folders by
properly updating the fid/url mapping with our new methods.
2012-08-14 Wolfgang Sourdeau <[email protected]>
* OpenChange/MAPIStoreFolder.m (-moveToFolder:withNewName:):
renamed to "moveCopyToFolder:withNewName:isMove:isRecursive:",
with the ability to specify whether the operation is a move or
copy operation and whether it is recursive or not (for copy).
* OpenChange/MAPIStoreSOGo.m (sogo_folder_move_folder): if
"target_folder_object", we do not attempt to access the
corresponding instance member.
* OpenChange/MAPIStoreMailFolder.m (-
moveCopyMessagesWithMIDs:andCount:fromFolder:withMIDs:andChangeKeys:wantCopy:):
do not attempt to access targetChangeKeys when NULL, to avoid a
SEGFAULT.
2012-08-14 Jean Raby <[email protected]>
* OpenChange/GNUmakefile: use version_info[{0,1}] instead of
version_info.{major,minor} when checking for legacy version
of python since these named attributes where added in python2.7
2012-08-13 Wolfgang Sourdeau <[email protected]>
* OpenChange/MAPIStoreSOGo.m (sogo_properties_get_uri): removed
useless backend method.
* OpenChange/MAPIStoreFolder.m (-createFolder:withRow:andFID:):
append a "/" to the new folder url when registering with the
url/id mapper.
* OpenChange/MAPIStoreDBFolder.m (-moveToFolder:withNewName:):
implemented method.
* OpenChange/MAPIStoreMailFolder.m (-moveToFolder:withNewName:):
invoke changePathTo: on the dbFolder.
* OpenChange/SOGoMAPIDBFolder.m (-changePathTo:): overriden method
in order to update children records too.
* OpenChange/SOGoMAPIDBObject.m (-performBatchSQLQueries:) new
method to perform void queries under a transaction.
(-changePathTo:) new method that updates the references for the
object record in the dbfs table.
* SoObjects/SOGo/NSString+Utilities.m
(-stringByReplacingPrefix:withPrefix:): new self-explicit method.
* OpenChange/SOGoMAPIDBFolder.m
(-childKeysOfType:includeDeleted:matchingQualifier:andSortOrderings:):
records now have a c_parent_path column in order to avoid fetch
the children of children due to the nature of our "LIKE" clause.
* OpenChange/SOGoMAPIDBObject.m (-save): records now have a
c_parent_path.
* OpenChange/MAPIStoreMailFolder.m (-supportsSubFolders):
overriden method to return YES.
2012-08-12 Wolfgang Sourdeau <[email protected]>
* OpenChange/MAPIStoreMailFolder.m (-moveToFolder:withName:): if
the new name is not provided (unlikely), the computed new name
must not have the "folder" prefix.
We now also make use of -[MAPIStoreMapping updateID:withURL:] to
change the references in the mapping database.
* OpenChange/MAPIStoreFolder.m (-objectId): folder keys always end
with a "/" by convention.
* OpenChange/MAPIStoreMapping.m (-updateID:withURL:): new method
that perform a change of url on container and leaf entries.
2012-08-10 Wolfgang Sourdeau <[email protected]>
* OpenChange/MAPIStoreSOGo.m (sogo_properties_get_uri): new
backend method.
2012-08-10 Ludovic Marcotte <[email protected]>
* Changed OpenChange/SOGoMAPIDBObject.m so we use
GNUstep's binary encoding - which is an order or
magnitude faster at encoding data than any other formats.
2012-08-10 Wolfgang Sourdeau <[email protected]>
* OpenChange/MAPIStoreSOGo.m (sogo_folder_move_folder)
(sogo_folder_copy_folder): the object on which the backend method
is invoked is now the folder being moved rather than its parent.
2012-08-09 Wolfgang Sourdeau <[email protected]>
* OpenChange/MAPIStoreMailFolder.m
(-moveFolderWithFID:fromFolder:withNewName:): first implementation
for IMAP folders.
* OpenChange/MAPIStoreSOGo.m (sogo_folder_move_folder)
(sogo_folder_copy_folder): new backend methods.
(sogo_folder_move_folder): do not instantiate an NSString from a
NULL "new_folder_name" parameter.
2012-08-08 Wolfgang Sourdeau <[email protected]>
* OpenChange/MAPIStoreCalendarMessage.m (-save): generate a
"nameInContainer" for the new object iif it is not set yet. If
set, we generate a new UID from it instead.
* OpenChange/MAPIStoreMessage.m (-saveMessage): make sure that the
PidTagChangeKey and PidTagChangeNumber props are no longer set in
the properties dict after the save occurred.
* OpenChange/MAPIApplication.m (-shouldSetupSignalHandlers):
overriden method by returning "NO".
2012-08-07 Wolfgang Sourdeau <[email protected]>
* SoObjects/Appointments/SOGoAptMailNotification.m (-setupValues):
test whether each value is non-nil before adding it to the
dictionary.
* OpenChange/MAPIStoreMailVolatileMessage.m (-save): restored
registration of message url when saved.
2012-08-06 Wolfgang Sourdeau <[email protected]>
* OpenChange/MAPIStoreRecurrenceUtils.m (-[iCalRecurrenceRule
fillRecurrencePattern:withEvent:inTimeZone:inMemCtx:]): fixed a
crash occurring when the exception has no recurrence-id and
ignore the specific occurrence.
* OpenChange/MAPIStoreMailVolatileMessage.m (MakeMessageBody):
take "attachmentParts" parameter, deduced from the ivar with the
corresponding name.
* OpenChange/MAPIStoreSOGoObject.m (-objectId): force generation
of objectId by parent, whether it is a folder or not.
2012-08-07 Francis Lachapelle <[email protected]>
* UI/Contacts/UIxListEditor.m (-setReferencesValue:): check for
duplicates in the new list, not in the previous version.
2012-08-03 Jean Raby <[email protected]>
* SoObjects/SOGo/LDAPSource.m (changePasswordForLogin):
if userPasswordAlgorithm was not set or was set to "none",
use the plaintext password directly instead of using '{none}plaintext'
which isn't valid.
2012-08-02 Ludovic Marcotte <[email protected]>
* OpenChange/MAPIStoreUserContext.m (-_readUserPassword:)
We now read per-user passwords instead of relying on
a global file.
2012-07-31 Jean Raby <[email protected]>
* sogo.spec:
Treat logrotate file as a config file (noreplace)
2012-07-31 Francis Lachapelle <[email protected]>
* SoObjects/SOGo/SOGoSieveManager.m
(-sieveScriptWithRequirements:): filters must not be conditional
to each other.
2012-07-26 Wolfgang Sourdeau <[email protected]>
* OpenChange/iCalTimeZone+MAPIStore.[hm]: new category module.
(-asTimeZoneStructInMemCtx:): new method that returns a struct
TimeZoneStruct as a binary blob from an iCalTimeZone object.
* OpenChange/MAPIStoreAppointmentWrapper.m
(-getPidLidTimeZoneStruct:inMemCtx:): new property getter that
returns the equivalent of the iCalTimeZone of the current event.
2012-07-25 Wolfgang Sourdeau <[email protected]>
* OpenChange/MAPIStoreDBFolder.m (-createFolder:withFID:andKey:):
invoke "reloadIfNeeded" on the created folder object in order to
initialize it.
2012-07-25 Francis Lachapelle <[email protected]>
* SoObjects/Mailer/SOGoMailFolder.m
(-deleteUIDs:useTrashFolder:inContext:): fixed comparison with the
trash folder name when using subfolders (ex: INBOX/Trash).
* SoObjects/SOGo/SOGoSieveManager.m
(-updateFiltersForLogin:authname:password:account:): write the
filters before the vacation auto-reply.
* SoObjects/Appointments/SOGoCalendarComponent.m
(-sendEMailUsingTemplateNamed:forObject:previousObject:toAttendees:withType:):
fixed the from header when the updated event has no mode organizer.
* UI/WebServerResources/MailerUI.js (initMailer): define default
columns widths when not set.
2012-07-24 Wolfgang Sourdeau <[email protected]>
* OpenChange/MAPIStoreUserContext.m
(-initWithUsername:andTDBIndexing:): attempt to read the user
password from a property list.
* OpenChange/samba-get-config.py: new utility taking a samba
configuration variable and prints the value on stdout
2012-07-24 Francis Lachapelle <[email protected]>
* UI/WebServerResources/UIxPreferences.js (savePreferences):
validate the email address of the sender mail and reply-to fields.
2012-07-23 Jean Raby <[email protected]>
* debian*/sogo.logrotate:
drop distro specific log rotate scripts
* debian*/sogo.install
* debian*/rules :
Use the logrotate script from Scripts/.
2012-07-20 Ludovic Marcotte <[email protected]>
* UI/MailPartViewers/UIxMailRenderingContext.m
(_shouldDisplayAsAttachment:): refactored to consider
the "bodyId" parameter only for non text/* parts.
2012-07-20 Francis Lachapelle <[email protected]>
* UI/WebServerResources/MailerUI.js (onEmailTo): append the email
address from the href attribute if it doesn't appear in the link content.
* UI/MailPartViewers/UIxMailPartHTMLViewer.m
(-startElement:namespace:rawName:attributes:): don't skip "mailto:"
href.
* SoObjects/Appointments/SOGoAptMailReceipt.m (aptSummary-): new
method that returns a properly formatted string of the event title
with respect to the current operation (creation/deletion/update).
2012-07-20 Wolfgang Sourdeau <[email protected]>
* OpenChange/NSObject+MAPIStore.m (-getSMTPAddrType:inMemCtx:):
new helper getter.
* OpenChange/MAPIStoreSOGo.m
(sogo_message_attachment_create_embedded_message): new backend method.
* OpenChange/NSObject+MAPIStore.m
(+fillAvailableProperties:withExclusions:): new method that fills
an existing array of properties with properties existing in
another class, as long as they are not listed in the array of
exclusions.
* OpenChange/MAPIStoreObject.m (-init): assigned a mutable array
to "proxies"
(-canGetProperty:): test the proxies for the availability of
properties so that -getAvailableProperties:inMemCtx: can return an
accurate result.
* OpenChange/MAPIStoreMessage.m (-getPidTagSubject:inMemCtx:): now
compute the return value based on PidTagNormalizedSubject and
PidTagSubjectPrefix as PidTagSubject is never actually set from
the client.
2012-07-19 Wolfgang Sourdeau <[email protected]>
* OpenChange/MAPIStoreObject.m (-nameInContainer): moved method
from MAPIStoreSOGoObject and made mandatory for subclasses.
(-url): new methed moved from MAPIStoreSOGoObject.
* OpenChange/MAPIStoreAppointmentWrapper.m: now a subclass of
MAPIStoreObjectProxy.
* OpenChange/MAPIStoreCalendarMessage.m
(-initWithSOGoObject:inContainer:): we now register our
appointment wrapper as a proxy.
* OpenChange/MAPIStoreObject.m (-addProxy:): new method that keeps
proxy objects in the new "proxies" ivar.
(-getProperty:withTag:inMemCtx:): added code that pass the request
to the available object proxies, when the property getters have
not been found in the local class.
* OpenChange/MAPIStoreObjectProxy.[hm]: new class module that
provide a facility for providing property getters in the name of
another class, working around the fact that Objective-C does not
provide multiple-inheritance.
* OpenChange/NSObject+MAPIStore.m
(+getAvailableProperties:inMemCtx:)
(-getAvailableProperties:inMemCtx:, canGetProperty:): methods
moved from MAPIStoreObject.m
2012-07-18 Wolfgang Sourdeau <[email protected]>
* OpenChange/MAPIStoreCalendarFolder.m (-createMessage): attach a
WOContext to the newEntry in order to enable page templates
resolution when notifications are sent.
* OpenChange/MAPIApplication.m (-init): a WEResourceManager is
setup for the application so that page templates can be properly
be initialized.
* OpenChange/MAPIStoreDBMessage.m (-objectVersion): shift the
version number by 16 bits, instead of doing it in -save.
(-save): don t swap the bytes of the version number as it would
return a wrong change number and a wrong change key for DB objects.
2012-07-20 Wolfgang Sourdeau <[email protected]>
* OpenChange/NSObject+MAPIStore.m (-getSMTPAddrType:inMemCtx:):
new helper getter.
* OpenChange/MAPIStoreSOGo.m
(sogo_message_attachment_create_embedded_message): new backend method.
* OpenChange/NSObject+MAPIStore.m
(+fillAvailableProperties:withExclusions:): new method that fills
an existing array of properties with properties existing in
another class, as long as they are not listed in the array of
exclusions.
* OpenChange/MAPIStoreObject.m (-init): assigned a mutable array
to "proxies"
(-canGetProperty:): test the proxies for the availability of
properties so that -getAvailableProperties:inMemCtx: can return an
accurate result.
* OpenChange/MAPIStoreMessage.m (-getPidTagSubject:inMemCtx:): now
compute the return value based on PidTagNormalizedSubject and
PidTagSubjectPrefix as PidTagSubject is never actually set from
the client.
* SoObjects/Appointments/SOGoAppointmentFolder.m
(_appendCycleException:firstInstanceCalendarDateRange:fromRow:forRange:withTimeZone:toArray:):
return immediately if the occurrence does not have a valid
recurrence-id.
2012-07-20 Francis Lachapelle <[email protected]>
* UI/WebServerResources/MailerUI.js (onEmailTo): append the email
address from the href attribute if it doesn't appear in the link content.
* UI/MailPartViewers/UIxMailPartHTMLViewer.m
(-startElement:namespace:rawName:attributes:): don't skip "mailto:"
href.
* SoObjects/Appointments/SOGoAptMailReceipt.m (aptSummary-): new
method that returns a properly formatted string of the event title
with respect to the current operation (creation/deletion/update).
2012-07-19 Wolfgang Sourdeau <[email protected]>
* OpenChange/MAPIStoreObject.m (-nameInContainer): moved method
from MAPIStoreSOGoObject and made mandatory for subclasses.
(-url): new methed moved from MAPIStoreSOGoObject.
* OpenChange/MAPIStoreAppointmentWrapper.m: now a subclass of
MAPIStoreObjectProxy.
* OpenChange/MAPIStoreCalendarMessage.m
(-initWithSOGoObject:inContainer:): we now register our
appointment wrapper as a proxy.
* OpenChange/MAPIStoreObject.m (-addProxy:): new method that keeps
proxy objects in the new "proxies" ivar.
(-getProperty:withTag:inMemCtx:): added code that pass the request
to the available object proxies, when the property getters have
not been found in the local class.
* OpenChange/MAPIStoreObjectProxy.[hm]: new class module that
provide a facility for providing property getters in the name of
another class, working around the fact that Objective-C does not
provide multiple-inheritance.
* OpenChange/NSObject+MAPIStore.m
(+getAvailableProperties:inMemCtx:)
(-getAvailableProperties:inMemCtx:, canGetProperty:): methods
moved from MAPIStoreObject.m
2012-07-18 Wolfgang Sourdeau <[email protected]>
* OpenChange/MAPIStoreCalendarFolder.m (-createMessage): attach a
WOContext to the newEntry in order to enable page templates
resolution when notifications are sent.
* OpenChange/MAPIApplication.m (-init): a WEResourceManager is
setup for the application so that page templates can be properly
be initialized.
* OpenChange/MAPIStoreDBMessage.m (-objectVersion): shift the
version number by 16 bits, instead of doing it in -save.
(-save): don t swap the bytes of the version number as it would
return a wrong change number and a wrong change key for DB objects.
2012-07-18 Ludovic Marcotte <[email protected]>
* SoObjects/Appointments/SOGoAppointmentObject.m
(_setupResponseInRequestCalendar:): we now return the
calendar read from the database and not use the one
from the request anymore, as it can override properties
other than participation status changes.
2012-07-18 Jean Raby <[email protected]>
* Tests/Integration/config.py.in: New config parameter: webCalendarURL
* Tests/Integration/webdavlib.py(HTTPPOST,HTTPGET):
Allow cookies in post and get requests.
* Tests/Integration/test-ui-posts.py: New test class
Currently contains only one test case which exercises addWebCalendar
* SoObjects/Appointments/GNUmakefile:
use -Wl,--no-as-needed when linking. Fixes #1863
* Scripts/sql-update-1.3.16_to_1.3.17-mysql.sh
* Scripts/sql-update-1.3.16_to_1.3.17.sh:
New scripts to expand c_cycleinfo to mediumtext or varchar(1000000)
The field was expanded around 1.3.3.
See http://www.sogo.nu/bugs/view.php?id=1848
2012-07-16 Wolfgang Sourdeau <[email protected]>
* Tests/Integration/webdavlib.py (WebDAVQuery.set_response): make
use of xml.etree.cElementTree for speed and avoid using a
cStringIO altogether by directly passing the content string.
* Tests/Integration/test-davacl.py (DAVCalendarSuperUserAclTest._getEvent)
(DAVCalendarAclTest._getEvent): ensure that the resulting event
does not contain any "\r" char as the XML parser would anyway
strip them.
2012-07-13 Wolfgang Sourdeau <[email protected]>
* SoObjects/Appointments/SOGoAppointmentObject.m
(-updateContentWithCalendar:fromRequest:): new method spawned from
the previous incarnation of PUTRequest:, designed to centralize
all the processed performed on an iCalendar instance, new or
derived from the original.
(-changeParticipationStatus:withDelegate:forRecurrenceId:):
reorganized the method workflow by not testing "calendar" as it is
guaranteed to be returned. Also, we save the iCalendar object from
here, as we cannot invoke the method above, which would reinvoke
this method in loop in the current state of the code.
* SoObjects/Appointments/SOGoCalendarComponent.m
(-lookupOccurrence:): now a virtual method forcing the use by
subclasses of the new methods below.
(-saveCalendar:): new method that enables the saving of an
iCalendar object.
* SoObjects/Appointments/iCalCalendar+SOGo.m: new category module.
(-eventWithRecurrenceId, -todoWithRecurrenceId): new method that
return as recurrence based on the id passed as parameter.
* Tests/Integration/test-caldav-scheduling.py
(CalDAVSchedulingTest.setUp): use the proper password for
attendee1_delegate.
2012-07-12 Jean Raby <[email protected]>
* SoObjects/Mailer/SOGoMailForward.m (from, to, cc, reply-to):
mailHeaders returns an array if there are multiple headers of the same type.
Handle this case to correctly show multiple from, to, cc and reply-to headers
in mail replies/forwards instead of crashing.
2012-07-11 Ludovic Marcotte <[email protected]>
* Finished the implementation and testing of the two
new defaults. Also added documentation in the SOGo Installation
and Configuration Guide.
* Updated UI/Templates/SchedulerUI/UIxCalendarProperties.wox to not
show the notification options if it's a web calendar or if the active
user isn't the owner of the calendar.
* Added strings to translate and cleaned up the template to send
HTML mails instead of text/plain.
2012-07-10 Wolfgang Sourdeau <[email protected]>
* SoObjects/Appointments/SOGoAppointmentFolder.m
(-davNotifyOnPersonalModifications)
(-setDavNotifyOnPersonalModifications:)
(-davNotifyOnExternalModifications)
(-setDavNotifyOnExternalModifications:)
(-davNotifyUserOnPersonalModifications)
(-setDavNotifyUserOnPersonalModifications:)
(-davNotifiedUserOnPersonalModifications)
(-setDavNotifiedUserOnPersonalModifications:): new dav accessors.
* SoObjects/SOGo/SOGoObject.m (-davBooleanForResult:): new method
that returns a valid DAV boolean from a BOOL.
(-isValidDAVBoolean:): new method that validates the value as a
DAV boolean.
(-resultForDAVBoolean:): new method that returns a BOOL from a DAV
boolean.
2012-07-09 Ludovic Marcotte <[email protected]>
* Dropped old templates (SOGoAptMailDeletionReceipt.wox
SOGoAptMailInvitationReceipt.wox and SOGoAptMailUpdateReceipt.wox)
which are in fact replaced by SOGoAptMailReceipt.wox. File added
to the repository.
* Dropped SOGoAppointmentSendEMailReceipts
* Added two new domain defaults: SOGoNotifyOnPersonalModifications
and SOGoNotifyOnExternalModifications. They allow users to be notified
when modifying their own calendars or when someone else to it. These
defaults are over-writable by users from their calendar properties window.
* Implemented the code related to the two new defaults together with a
third option - which is to notify a specific person when one modifies
his/her calendar. This commit is partial as more testing is required
and some code changes to trigger the right notifications.
2012-07-09 Jean Raby <[email protected]>
* Tools/SOGoToolUserPreferences.m:
use printf() instead of NSLog to print out user preferences.
Makes it easier to grep.
* UI/WebServerResources/generic.js (onSearchFormSubmit):
Restore behavior of a single dot (.) in the search field (wildcard search)
* UI/WebServerResources/SchedulerUI.js (onMenuRawEvent, onMenuRawTask):
New callback to show the event/task content from the menu
* UI/Scheduler/UIxComponentEditor.m (rawAction):
New method that returns the object's raw content in a WOResponse.
* UI/Templates/SchedulerUI/UIxCal{Day,Month,Main,Week}View.wox:
New contextual menu item: Show Raw Source
* UI/WebServerResources/ContactsUI.js (onMenuRawContact):
Rework to use calendar/ics/raw
* UI/Contacts/UIxContactFolderActions.m (rawAction):
Removed / moved to UI/Contacts/UIxContactActions.m
* UI/Contacts/UIxContactActions.m (rawAction):
New method that returns the object's raw content in a WOResponse.
* UI/Templates/ContactsUI/UIxContactFoldersView.wox:
Show vCard content -> Show Raw Source
2012-07-05 Jean Raby <[email protected]>
* UI/WebServerResources/generic.js (openGenericWindow):
New method that opens a simple new window.
* UI/WebServerResources/ContactsUI.js (onMenuRawContact):
New callback to show the vCard content from the menu.
* UI/WebServerResources/ContactsUI.js (onContactMenuPrepareVisibility):
Enable the export and raw functions only on vcards contacts.
* UI/Templates/ContactsUI/UIxContactFoldersView.wox:
New contextual menu item: Show vCard content
* UI/Contacts/UIxContactFolderActions.m (rawAction):
New method that returns the raw contact data for all the contact uids provided
* UI/Contacts/UIxContactView.m (secondaryEmail):
function renamed to secondaryEmails. It now returns all addresses
instead of the first one found in the vcard.
* UI/Templates/ContactsUI/UIxContactView.wox:
Show all addresses returned from secondaryEmails.
This still need some css tweaks.
2012-07-01 Wolfgang Sourdeau <[email protected]>
* OpenChange/MAPIStoreRecurrenceUtils.m
(-setupRecurrenceWithMasterEntity:fromRecurrencePattern:): add
exception dates to master entity based on the
"DeletedInstanceDates" member of the struct.
(-fillRecurrencePattern:withEvent:inTimeZone:inMemCtx:): new name
for fillRecurrencePattern:withStartDate:andEndDate:, add exception
dates to struct.
* OpenChange/NSDate+MAPIStore.m (NSDateCompare): new comparison
function for sorting array of NSDate instances.
2012-06-30 Wolfgang Sourdeau <[email protected]>
* OpenChange/NSObject+MAPIStore.h: renamed
MAPIStoreTallocWrapper.MAPIStoreSOGoObject to .instance, to avoid
confusion in certain versions of GCC with our new class type.
2012-06-29 Jean Raby <[email protected]>
* SoObjects/SOGo/WORequest+SOGo.[mh]
(-isAndroid): new method to detect whether the
request has been performed from an android client
* SoObjects/Contacts/SOGoContactFolders.m (appendSystemSources):
Let sogo append system sources if the request comes from an android
client even if its user agent matches the IPhoneAddressBook
2012-06-29 Wolfgang Sourdeau <[email protected]>
* OpenChange/MAPIStoreSOGo.m
(sogo_message_attachment_open_embedded_message): added the "mode"
parameter.
* OpenChange/SOGoMAPIDBObject.m: new class module that replaced
SOGoMAPIFSMessage.
* OpenChange/SOGoMAPIDBFolder.m: new class module that replaced
SOGoMAPIFSFolder.
2012-06-28 Wolfgang Sourdeau <[email protected]>
* SoObjects/SOGo/SOGoObject.m (-initWithName:inContainer:): make
sure that "_name" is neither nil nor empty.
2012-06-27 Jean Raby <[email protected]>
* SoObjects/Appointments/SOGoAppointmentObject.m
(PUTAction:): detect conflicting event UID and
deny the request accordingly.
2012-06-21 Ludovic Marcotte <[email protected]>
* Added the SOGoSearchMinimumWordLength domain
default which controls the minimal length required
before trigging server-side search operations for
attendee completion, contact searches, etc. The
default value is 2, which means search operations
are trigged once the 3rd character is typed.
2012-06-20 Ludovic Marcotte <[email protected]>
* SoObjects/Appointments/SOGoAppointmentObject.m
(-_handleResourcesConflicts:forEvent:): We now
handle correctly recurring events overlapping other
recurring events.
2012-06-19 Ludovic Marcotte <[email protected]>
* SoObjects/Appointments/SOGoAppointmentFolder.m (-importCalendar:):
We now handle correctly floating events by forcing the use of
the user's timezone.
* SoObjects/Appointments/SOGoCalendarComponent.m (-expandGroupsInEvent:):
We now remove all attendees that are equal (email-based comparison) to
the event's organizer instead of only for decomposed groups.
2012-06-12 Wolfgang Sourdeau <[email protected]>
* SoObjects/SOGo/SOGoGroup.m
(+groupWithValue:andSourceSelector:inDomain:): handle the case
the value of "objectclass" is actually an NSString instance,
otherwise causing a crash with the NSArray methods.
2012-06-04 Francis Lachapelle <[email protected]>
* UI/WebServerResources/UIxFilterEditor.js (savePreferences):
don't validate filters if they are not visible (when matching all
incoming messages).
* SoObjects/Appointments/SOGoAppointmentFolder.m
(-_appendCycleException:firstInstanceCalendarDateRange:fromRow:forRange:withTimeZone:toArray:):
adjust recurrence id according to timezone when dealing with a
floating all-day event.
2012-06-01 Francis Lachapelle <[email protected]>
* SoObjects/SOGo/NSString+Utilities.m
(-_handleURLs:textToMatch:prefix:inRanges:): don't reset the
prefix for the subsequent matching strings. This fixes links in
messages with multiple email addresses, some of which already
prefixed by "mailto;".
2012-06-01 Wolfgang Sourdeau <[email protected]>
* OpenChange/*: fixed build errors with gcc-4.7
* UI/MailPartViewers/UIxMailPartAlternativeViewer.m
(-childPartName): fixed a potential crash by building the NSString
from the integer itself, with the proper format string.
* SoObjects/SOGo/NSString+Crypto.m
(-isEqualToCrypted:withDefaultScheme:): invoke "intValue" rather
than "integerValue" on the encoding number as the int type is not
crucial and it breaks the build with old versions of GNUstep.
* SoObjects/SOGo/NSString+Crypto.[hm]: new module that provides
category methods for returning encrypted passwords strings and
their encryption algorithm.
2012-05-31 Ludovic Marcotte <[email protected]>
* SoObjects/SOGo/SOGoGroup.m - we now handle lowercase
all attribute names
* SoObject/SOGo/LDAPSource.m - moved the lowercasing
of attributes to SOPE.
* Added patch from bug #1608. This add many more password
schemes for SQL authentication.
* SoObject/Mailer/SOGoMailFolder.m (-_readMailboxACL): we
now create the mailbox if we are trying to read ACL of
a deleted mailbox.
* UI/MailerUI/UIxMailEditor.m (-personalContactInfos): we check
if the folder still exist and if the database isn't down
before performing any address books search operations.
* UI/MailerUI/UIxMailMainFrame.m (-unseenCountFolders): we no
longer fill up the list of mailboxes to with the ones that are
targets for "fileinto" methods if Sieve scripts aren't enabled
in SOGo's domain defaults.
2012-05-29 Francis Lachapelle <[email protected]>
* UI/WebServerResources/UIxMailEditor.js (validateEditorInput):
merged with onValidate.
(onValidate): don't force the subject to be defined, but alert
the user.
* UI/MailerUI/UIxMailView.m (-messageSubject): don't set the
subject to "Untitled" if it's not set.
* UI/MailPartViewers/UIxMailPartMessageViewer.m (-messageSubject): idem.
* UI/MailerUI/UIxMailEditor.m (-validateForSend): don't force the
subject to be defined.
* SoObjects/Mailer/SOGoMailObject+Draft.m (-subjectForReply): make
sure subject is a defined value to avoid "null" strings in the
reply message.
2012-05-28 Francis Lachapelle <[email protected]>
* UI/WebServerResources/SchedulerUI.js (validateUploadForm): hide
Cancel button when the form is valid and disable the Submit button.
* UI/WebServerResources/ContactsUI.js (validateUploadForm): idem.
2012-05-24 Jean Raby <[email protected]>
* debian*/rules: Restart sogod after pkg upgrade (dh_installinit -R)
* Scripts/sogo-init.d-*: add support for conditional restart.
Patch from Romain Le Disez
* sogo.spec: Restart sogod during post installation if it was already running
* Apache/SOGo.conf:
Use mod_expires to allow long term caching of static content. (1 year)
Note that from now on, a resource's URL _must_ change to let the client
reload it. This is now done automatically for 'rsrc' in the wox templates,
but must be done manually for files referenced from css and js.
2012-05-23 Wolfgang Sourdeau <[email protected]>
* UI/WebServerResources/generic.js
(clickEventWrapper.button_clickEventWrappe): don't invoke
"preventDefault" on elements that do not have a tagName of "A".
2012-05-18 Jean Raby <[email protected]>
* SoObjects/Mailer/SOGoDraftObject.m (bodyPartForAttachmentWithName):
Merge back lost code to handle encoding of binary and rcf822 attachments.
2012-05-15 Wolfgang Sourdeau <[email protected]>
* OpenChange/gen-property-selectors.py: the use of the "{}" to
construct a set is only valid on py2.7 therefore we make use of
set([]) instead.
2012-05-15 Jean Raby <[email protected]>
* SoObjects/Appointments/SOGoAppointmentObject.m (_handleResourcesConflicts):
Deny access to resources if the resource's ACL don't allow the organizer
to read its freebusy info.
Without this, sogo would always auto-accept invitations from 'unprivileged'
users, potentially bypassing the multiplebooking parameter.
2012-05-14 Wolfgang Sourdeau <[email protected]>
* OpenChange/gen-property-selectors.py: "bannedProps" is now a
set, for faster lookups.