forked from Alinto/sope
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
18569 lines (15916 loc) · 733 KB
/
ChangeLog
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
commit 09ddeec
Author: Francis Lachapelle <[email protected]>
Date: Thu Aug 4 16:23:19 2022 -0400
fix(mime): encode . character in headers
M sope-mime/NGMime/NGMimeHeaderFieldGenerator.m
commit 4927632
Author: Francis Lachapelle <[email protected]>
Date: Thu Aug 4 16:20:20 2022 -0400
fix(mail): avoid sanitizing address twice
M sope-mime/NGMail/NGMailAddressParser.m
commit 8a2ed26
Author: Francis Lachapelle <[email protected]>
Date: Tue Aug 2 09:58:25 2022 -0400
fix(imap): don't reconnect after a failed authenticate
M sope-mime/NGImap4/NGImap4Client.m
commit d6d7b01
Author: Nicolas Höft <[email protected]>
Date: Sat May 21 13:01:51 2022 +0200
NGNetUtilities: Support parsing ipv6 address
In this way, we can also bind from ipv6 strings.
M sope-core/NGStreams/NGInternetSocketAddress.m
M sope-core/NGStreams/NGNetUtilities.m
commit df31dee
Author: Nicolas Höft <[email protected]>
Date: Sun May 8 14:28:50 2022 +0200
feat(core): NGInternetSocketAddress: Support IPv6
M sope-core/NGStreams/NGInternetSocketAddress.m
M sope-core/NGStreams/NGInternetSocketDomain.m
M sope-core/NGStreams/NGNetUtilities.m
M sope-core/NGStreams/NGStreams/NGInternetSocketAddress.h
M sope-core/NGStreams/NGStreams/NGInternetSocketDomain.h
M sope-ldap/NGLdap/NGLdapFileManager.m
commit 63220dd
Author: Francis Lachapelle <[email protected]>
Date: Wed May 4 09:26:44 2022 -0400
Update ChangeLog
M ChangeLog
commit dd08920
Author: Francis Lachapelle <[email protected]>
Date: Tue Apr 5 10:56:43 2022 -0400
Update ChangeLog
M ChangeLog
commit 79f272e
Author: Francis Lachapelle <[email protected]>
Date: Fri Jun 4 16:39:20 2021 -0400
fix(imap): avoid sort when mailbox is empty (threaded mode)
M sope-mime/NGImap4/NGImap4Connection.m
commit b765dc5
Author: Francis Lachapelle <[email protected]>
Date: Thu Mar 24 07:23:30 2022 -0400
fix(core): encode trailing space or tab in quoted-printable
Avoid buffer overflow.
M sope-core/NGExtensions/NGQuotedPrintableCoding.m
commit 3409ed2
Author: Francis Lachapelle <[email protected]>
Date: Thu Mar 10 16:43:17 2022 -0500
fix(core): encode trailing space or tab in quoted-printable
M sope-core/NGExtensions/NGQuotedPrintableCoding.m
commit 26a9334
Author: Francis Lachapelle <[email protected]>
Date: Wed Mar 9 11:23:18 2022 -0500
fix(gdl): escape SQL wildcards when converting from shell pattern
M sope-gdl1/GDLAccess/EOSQLExpression.m
commit 213facc
Author: Francis Lachapelle <[email protected]>
Date: Thu Mar 3 10:31:46 2022 -0500
fix(core): don't split line right before CR/LF when encoding QP
M sope-core/NGExtensions/NGQuotedPrintableCoding.m
commit 3c64d15
Author: Francis Lachapelle <[email protected]>
Date: Thu Feb 17 10:04:44 2022 -0500
feat(imap): proxy authentication
M sope-mime/NGImap4/NGImap4Client.h
M sope-mime/NGImap4/NGImap4Client.m
commit 29fd0ca
Author: Francis Lachapelle <[email protected]>
Date: Mon Feb 14 13:06:24 2022 -0500
fix(sieve): priorise the quoted format in AUTHENTICATE command
M sope-mime/NGImap4/NGSieveClient.m
commit 2931f29
Author: Francis Lachapelle <[email protected]>
Date: Fri Feb 4 10:25:13 2022 -0500
Update ChangeLog
M ChangeLog
commit 7fc5dce
Author: Francis Lachapelle <[email protected]>
Date: Thu Jan 27 13:01:42 2022 -0500
fix(appserver): render DAV exceptions as XML
M sope-appserver/NGObjWeb/SoObjects/NSException+HTTP.h
M sope-appserver/NGObjWeb/SoObjects/NSException+HTTP.m
M sope-appserver/NGObjWeb/SoObjects/SoDefaultRenderer.m
commit 7c72fdd
Author: Francis Lachapelle <[email protected]>
Date: Tue Jan 18 11:13:02 2022 -0500
Update ChangeLog
M ChangeLog
commit aa06002
Author: Francis Lachapelle <[email protected]>
Date: Thu Jan 13 16:49:52 2022 -0500
fix(imap): improve debugging of EOQualifier
M sope-mime/NGImap4/EOQualifier+IMAPAdditions.m
commit 29e8986
Author: Francis Lachapelle <[email protected]>
Date: Wed Jan 5 16:21:40 2022 -0500
fix(core): improve SSL error log
M sope-core/NGStreams/NGActiveSSLSocket.m
commit 37aac3f
Author: Francis Lachapelle <[email protected]>
Date: Tue Jan 4 14:39:08 2022 -0500
Revert "fix(imap): parse message/global structure like message/rfc822"
This reverts commit e1dbce7bf93556503fa6aa235122034b42b04e99.
Fixes #5453
M sope-mime/NGImap4/NGImap4ResponseParser.m
commit 7e74ebc
Author: Francis Lachapelle <[email protected]>
Date: Thu Dec 16 11:59:22 2021 -0500
Update ChangeLog
M ChangeLog
commit 39aade4
Author: Francis Lachapelle <[email protected]>
Date: Mon Nov 22 14:49:05 2021 -0500
fix(pgsql): add open connection count in debugging output
M sope-gdl1/PostgreSQL/PostgreSQL72Channel.m
commit cf3aa19
Author: Francis Lachapelle <[email protected]>
Date: Thu Nov 18 15:43:55 2021 -0500
Update ChangeLog
M ChangeLog
commit 74155c9
Author: Francis Lachapelle <[email protected]>
Date: Mon Nov 1 16:47:59 2021 -0400
fix(mime): restore SENT-DATE support in EOQualifier
M sope-mime/NGImap4/EOQualifier+IMAPAdditions.m
commit e1dbce7
Author: Francis Lachapelle <[email protected]>
Date: Tue Oct 26 15:32:55 2021 -0400
fix(imap): parse message/global structure like message/rfc822
M sope-mime/NGImap4/NGImap4ResponseParser.m
commit 85f64d5
Author: Francis Lachapelle <[email protected]>
Date: Thu Oct 21 17:14:07 2021 -0400
feat(imap): allow search by keyword
M sope-mime/NGImap4/EOQualifier+IMAPAdditions.m
commit f21a334
Author: Francis Lachapelle <[email protected]>
Date: Thu Sep 30 14:50:25 2021 -0400
fix(core): don't eat successive LF when decoding quoted printable
Fixes #5231
M sope-core/NGExtensions/NGQuotedPrintableCoding.m
commit 2828039
Author: Francis Lachapelle <[email protected]>
Date: Wed Sep 22 13:35:31 2021 -0400
core: accept range with no duration in date intersection
M sope-core/NGExtensions/NGCalendarDateRange.m
commit 4c814c9
Author: Francis Lachapelle <[email protected]>
Date: Fri Sep 10 14:03:45 2021 -0400
feat(imap): add support for UID MOVE operation
M sope-mime/NGImap4/NGImap4Client.h
M sope-mime/NGImap4/NGImap4Client.m
commit 0eb64db
Author: Francis Lachapelle <[email protected]>
Date: Wed Aug 25 14:57:37 2021 -0400
fix(mime): encode text parts individually
Fixes #5376
M sope-mime/NGMail/NGMimeMessageBodyGenerator.m
M sope-mime/NGMime/NGMimeBodyGenerator.m
commit 6a7d407
Author: Francis Lachapelle <[email protected]>
Date: Tue Aug 24 15:14:10 2021 -0400
fix(imap): force envelope subject to return a string
M sope-mime/NGImap4/NGImap4ResponseParser.m
commit b0137fc
Author: Francis Lachapelle <[email protected]>
Date: Wed Aug 18 17:18:57 2021 -0400
Update ChangeLog
M ChangeLog
commit b7d49f5
Author: Francis Lachapelle <[email protected]>
Date: Wed Aug 4 09:58:47 2021 -0400
fix(imap): parse messages quota
Fixes #5365
M sope-mime/NGImap4/NGImap4ResponseParser.m
commit c808b54
Author: Francis Lachapelle <[email protected]>
Date: Tue Jun 15 16:33:37 2021 -0400
fix(imap): don't unselect mailbox if none is selected
M sope-mime/NGImap4/NGImap4Client.m
commit 7040f00
Author: Francis Lachapelle <[email protected]>
Date: Wed Jun 9 14:26:42 2021 -0400
fix(imap): flatten and sort inner threads
Fixes #3100
Fixes #4796
M sope-mime/NGImap4/NGImap4Connection.m
commit 0a56b9b
Author: Francis Lachapelle <[email protected]>
Date: Tue Jun 8 16:25:04 2021 -0400
fix(appserver): add timestamp to all web resources
This will force a reload of the file each time it is modified.
Fixes #5335
M sope-appserver/WEExtensions/WEResourceManager.m
commit b0509ca
Author: Francis Lachapelle <[email protected]>
Date: Mon May 31 21:22:29 2021 -0400
Update ChangeLog
M ChangeLog
commit 78362e9
Author: Francis Lachapelle <[email protected]>
Date: Fri May 21 14:17:11 2021 -0400
fix(core): fix comparator with GNUstep 1.26
M sope-core/EOControl/EOSortOrdering.m
commit 220e6fe
Author: Francis Lachapelle <[email protected]>
Date: Mon May 17 16:58:14 2021 -0400
fix(imap): new methods to move mailbox without using NSURL
M sope-mime/NGImap4/NGImap4Connection.h
M sope-mime/NGImap4/NGImap4Connection.m
commit 0bb0a9c
Author: Ludovic Marcotte <[email protected]>
Date: Mon May 17 15:13:42 2021 -0400
fix(core): avoid circular references during exceptions handling
M sope-core/NGStreams/NGActiveSocket.m
M sope-core/NGStreams/NGSocketExceptions.m
commit 1fd9dba
Author: Francis Lachapelle <[email protected]>
Date: Thu May 6 16:38:41 2021 -0400
fix(ldap): change password - don't bind automatically with user DN
M sope-ldap/NGLdap/NGLdapConnection.m
commit 7c2c490
Author: Francis Lachapelle <[email protected]>
Date: Thu May 6 14:12:59 2021 -0400
fix(mime): expose content-disposition in bodyInfo
M sope-mime/NGMime/NGMimeBodyPart.m
commit bad1525
Author: Francis Lachapelle <[email protected]>
Date: Tue Apr 27 13:16:12 2021 -0400
fix(pgsql): improve error logging when PQexec fails
M sope-gdl1/PostgreSQL/PostgreSQL72Channel.m
commit 45e3255
Author: Francis Lachapelle <[email protected]>
Date: Tue Mar 30 17:08:40 2021 -0400
Update ChangeLog
M ChangeLog
commit 60d393d
Author: Francis Lachapelle <[email protected]>
Date: Mon Mar 1 20:41:50 2021 -0500
fix(imap): flatten and sort inner threads
Fixes #3100
Fixes #4796
M sope-mime/NGImap4/NGImap4Connection.m
commit b0a271a
Author: Francis Lachapelle <[email protected]>
Date: Mon Mar 1 17:18:27 2021 -0500
fix(imap): flatten and sort inner threads
Fixes #3100
Fixes #4796
M sope-mime/NGImap4/NGImap4Connection.m
commit fdb2273
Author: Francis Lachapelle <[email protected]>
Date: Fri Feb 26 14:18:44 2021 -0500
fix(gdl): don't cast NSNull values as strings
M sope-core/EOControl/EOQualifierParser.m
commit ffdbc20
Author: Francis Lachapelle <[email protected]>
Date: Tue Dec 1 15:52:06 2020 -0500
fix(addressbook(dav)): add support for macOS 11 (Big Sur)
Fixes #5203
M sope-appserver/NGObjWeb/WEClientCapabilities.m
commit 5a55b43
Author: Francis Lachapelle <[email protected]>
Date: Mon Nov 2 11:00:44 2020 -0500
chore(core): update sope-core/NGStreams/config.guess
Resolves compilation on Debian ARM platform.
Fixes #5202
M sope-core/NGStreams/config.guess
commit ed0a078
Author: Ludovic Marcotte <[email protected]>
Date: Thu Oct 15 09:32:00 2020 -0400
fix(core): consider @ as a printable character
M sope-mime/NGMime/NGMimeHeaderFieldGenerator.m
commit df94caf
Author: Ludovic Marcotte <[email protected]>
Date: Tue Oct 13 09:59:30 2020 -0400
fix(core): MIME generation resulting in broken S/MIME (fixes #4634)
M sope-mime/NGMime/NGMimeMultipartBodyGenerator.m
commit 84b7fec
Author: Francis Lachapelle <[email protected]>
Date: Wed Oct 7 10:47:02 2020 -0400
Update ChangeLog
M ChangeLog
commit cb56694
Author: Ludovic Marcotte <[email protected]>
Date: Wed Oct 7 08:00:02 2020 -0400
fix(core): handle bogus CardDAV clients
M sope-appserver/NGObjWeb/DAVPropMap.plist
commit 218ca14
Author: Nicolas Höft <[email protected]>
Date: Sat Sep 26 20:06:49 2020 +0200
fix(appserver): Fix warning
Convert const char* to char* as the ownership is transferred to NSString
M sope-appserver/NGObjWeb/WORequest.m
commit 2ad8d88
Author: Nicolas Höft <[email protected]>
Date: Sat Sep 26 19:57:36 2020 +0200
fix(core): Dont leak fd when using STARTTLS
When STARTTLS is used, we re-use the connection and put a
new socket "on top" of the old one and reuse the file
descriptor of the previous socket.
This lead to two issues: First, now both sockets tried to close
the underlying file descriptor: Once from the non-starttls connection,
once by the starttls connection. This wasnt so harmful, as closing would
fail with EBADF. Fix this by using the flag `closeOnFree` for such
fd assignments, in this way the ownership is clearer.
The second issue is more severe: when passing the fd to the TLS socket,
the TLS socket could already have an fd assigned, but that would never
be freed. To fix the fd leak simply call `close` on the old fd
when `setFileDescriptor` is called.
Fixes: #5175
M sope-core/NGStreams/NGActiveSSLSocket.m
M sope-core/NGStreams/NGActiveSocket.m
M sope-core/NGStreams/NGSocket.m
M sope-core/NGStreams/NGStreams/NGSocket.h
commit c5c23fd
Author: Francis Lachapelle <[email protected]>
Date: Fri Sep 25 13:52:35 2020 -0400
fix(mime): parse empty address in envelope
Fixes #5173
Fixes #5174
M sope-mime/NGImap4/NGImap4ResponseParser.m
commit 30815c3
Author: Nicolas Höft <[email protected]>
Date: Fri Sep 25 11:01:41 2020 +0200
fix(appserver): Fix memory leak
Free the memory allocated by calloc() again by passing `freeWhenDone: YES`
M sope-appserver/NGObjWeb/WORequest.m
commit 1ac9e39
Author: Francis Lachapelle <[email protected]>
Date: Mon Sep 14 14:32:01 2020 -0400
fix(smtp): raise exception when server returns an error
M sope-mime/NGMail/NGSmtpClient.m
commit 50441eb
Author: Francis Lachapelle <[email protected]>
Date: Mon Sep 14 14:23:43 2020 -0400
fix(smtp): add defaults SMTPDebugEnabled
Instead of depending on ImapDebugEnabled, NGSmtpClient and NGSendMail
will log debugging information only if SMTPDebugEnabled is set.
Fixes #5129
M sope-mime/NGMail/NGSendMail.m
M sope-mime/NGMail/NGSmtpClient.m
commit 579f73e
Author: Francis Lachapelle <[email protected]>
Date: Wed Sep 9 14:59:44 2020 -0400
fix(imap): ignore empty envelope addresses
Fixes #5142
M sope-mime/NGImap4/NGImap4ResponseParser.m
commit 4527e6a
Author: Francis Lachapelle <[email protected]>
Date: Fri Aug 14 09:45:06 2020 -0400
fix(mime): encode , / ; / : characters in headers
Fixes #5119
M sope-mime/NGMime/NGMimeHeaderFieldGenerator.m
commit 5a4f363
Author: Nicolas Höft <[email protected]>
Date: Sun Aug 2 12:01:00 2020 +0200
fix(core): NGMimeType: Fix unit tests
Add missing charsets in NGMimeType that are tested in the SOGo unit tests.
M sope-mime/NGMime/NGMimeType.m
commit 4f280bf
Author: Nicolas Höft <[email protected]>
Date: Sun Aug 2 14:33:40 2020 +0200
feat(core): Allow setting TLS verify mode for IMAP, SMTP, Sieve
Given the query parameter `tlsVerifyMode` one can specify the TLS
validation mode for IMAP, SMTP, and sieve protocols when the TLS
wrapper is enabled.
Possible options are:
* tlsVerifyMode=allowInsecureLocalhost: This will disable peer verification
if the remote host is on the local machine (localhost and similar)
* tlsVerifyMode=none: Disable all TLS checks. This should be used for
debugging only
Refs #5078
M sope-mime/NGImap4/NGImap4Client.h
M sope-mime/NGImap4/NGImap4Client.m
M sope-mime/NGImap4/NGSieveClient.h
M sope-mime/NGImap4/NGSieveClient.m
M sope-mime/NGMail/NGSmtpClient.h
M sope-mime/NGMail/NGSmtpClient.m
commit 417ef16
Author: Nicolas Höft <[email protected]>
Date: Sun Aug 2 11:58:42 2020 +0200
feat(core): Extend NSURL with queryComponents
This queryComponents method will return a NSDictionary with the key/values
for the query, to allow for easy access if the given query components.
M sope-core/NGExtensions/FdExt.subproj/NSURL+misc.m
M sope-core/NGExtensions/NGExtensions/NSURL+misc.h
commit 4fb1737
Author: Nicolas Höft <[email protected]>
Date: Sat Aug 1 19:40:29 2020 +0200
feat(core): NGActiveSSLSocket: Allow setting peer verification for STARTTLS
Add a new initializer for NGActiveSSLSocket, `initWithConnectedActiveSocket`
with the purpose to be initialized on top of a connected socket. Moving
the function of grabbing the socket fd and options from outside into the
SSL socket implementation itself.
Also by passing the socket, we dont have to pass the host name explicitly
anymore, as we can get it from the socket itself.
The verifyMode selector can enable the full TLS checks (default), disable
them for localhost addresses, or disable peer verification completely.
Refs #5078
M sope-appserver/NGObjWeb/WOHTTPConnection.m
M sope-core/NGStreams/NGActiveSSLSocket.m
M sope-core/NGStreams/NGStreams/NGActiveSSLSocket.h
M sope-mime/NGImap4/NGImap4Client.m
M sope-mime/NGImap4/NGSieveClient.m
M sope-mime/NGMail/NGSmtpClient.m
commit ca0c828
Author: Nicolas Höft <[email protected]>
Date: Sat Jul 25 15:23:50 2020 +0200
feat(core): SocketAddress: isLocalhost hostName to protocol
The function isLocalhost will return true if the given address is on the
same machine. For this it checks for "localhost[6]" domain names or if
the IP is in 127.0.0.1/8.
Add the hostName getter to return the hostname, for LocalSocketAddress it will
always return YES.
M sope-core/NGStreams/NGInternetSocketAddress.m
M sope-core/NGStreams/NGLocalSocketAddress.m
M sope-core/NGStreams/NGStreams/NGInternetSocketAddress.h
M sope-core/NGStreams/NGStreams/NGSocketProtocols.h
commit 2c9d491
Author: Nicolas Höft <[email protected]>
Date: Sat Jul 11 23:20:33 2020 +0200
feat(core): NGActiveSSLSocket: Add option to disable peer verification
In certain scenarios it may be helpful to disable peer verification,
even though it undermines the concept in TLS.
The default is to verify the peer, but it can be disabled if validation
is disabled before the handshake is performed.
M sope-core/NGStreams/NGActiveSSLSocket.m
M sope-core/NGStreams/NGStreams/NGActiveSSLSocket.h
commit 34dc279
Author: Francis Lachapelle <[email protected]>
Date: Thu Jul 30 11:28:25 2020 -0400
fix(imap): sanitize destination mailbox name in copy operations
Fixes #5095
M sope-mime/NGImap4/NGImap4Client.m
commit 8b1b1a0
Author: Francis Lachapelle <[email protected]>
Date: Thu Jul 9 15:40:39 2020 -0400
fix(sieve): improve connection error remediation
M sope-core/NGStreams/NGActiveSSLSocket.m
M sope-mime/NGImap4/NGSieveClient.m
commit 9c5483b
Author: Ludovic Marcotte <[email protected]>
Date: Thu Jul 9 12:09:46 2020 -0400
fix(core): added MySQL debugging when opening/closing connections
M sope-gdl1/MySQL/MySQL4Channel.m
commit 9460140
Author: Ludovic Marcotte <[email protected]>
Date: Wed Jul 8 07:56:03 2020 -0400
fix(core): added method in header to avoid warning
M sope-core/NGExtensions/NGExtensions/NSProcessInfo+misc.h
commit d9fd009
Author: Ludovic Marcotte <[email protected]>
Date: Thu Jul 2 14:18:57 2020 -0400
feat(core): show the current fd count at end of each request
M sope-appserver/NGObjWeb/WOHttpAdaptor/WOHttpTransaction.m
M sope-core/NGExtensions/FdExt.subproj/NSProcessInfo+misc.m
commit dbe2dc0
Author: Johannes Kanefendt <[email protected]>
Date: Thu Jul 2 14:23:39 2020 +0200
Fixed set of printable characters in quoted printable according to RFC2047
M sope-mime/NGMime/NGMimeHeaderFieldGenerator.m
commit 059a407
Author: Nicolas Höft <[email protected]>
Date: Thu Jun 18 22:40:53 2020 +0200
feat(core): Support older GnuTLS versions
Add version checking to GnuTLS and use manual host name verification
in case GnuTLS does not support this natively.
Because older GnuTLS versions do not support using the system trust,
add a new configuration option to pass the system CA bundle. This option
can also search for the default locations. If none is given, but the
the GnuTLS version does not support loading the default system trust,
compilation will fail.
M configure
M sope-core/NGStreams/GNUmakefile.preamble
M sope-core/NGStreams/NGActiveSSLSocket.m
commit d79191f
Author: Nicolas Höft <[email protected]>
Date: Wed Jun 17 14:48:19 2020 +0200
feat(core): Support hostname validation for openssl<1.0.2
Older versions of OpenSSL need hostname validation injected via
SSL_CTX_set_cert_verify_callback(). match_pattern() function and
_validateHostname() are based on boost asio code.
Remove unused BIO functions.
Fixes #5019
M sope-core/NGStreams/NGActiveSSLSocket.m
M sope-core/NGStreams/NGStreams/NGActiveSSLSocket.h
commit 280bc8d
Author: Ludovic Marcotte <[email protected]>
Date: Tue Jun 23 12:40:06 2020 -0400
fix(packaging): add proper build dep
M packaging/rhel/sope.spec
commit ff8d877
Author: Ludovic Marcotte <[email protected]>
Date: Fri Jun 19 10:43:20 2020 -0400
fix(core): remove unuseful control char
M sope-core/NGStreams/NGPassiveSocket.m
commit a948deb
Author: Nicolas Höft <[email protected]>
Date: Wed Jun 17 15:02:45 2020 +0200
Revert "Merge pull request #55 from inverse-inc/revert-52-bugfix/5019-tls-hostname"
This reverts commit e249ac8d417614bc237673afe46cee2ac224aba3, reversing
changes made to 03316166cbbe48abcfc07a6db5158134748ce5ed.
M sope-appserver/NGObjWeb/WOHTTPConnection.m
M sope-core/NGStreams/NGActiveSSLSocket.m
M sope-core/NGStreams/NGStreams/NGActiveSSLSocket.h
M sope-mime/NGImap4/NGImap4Client.m
M sope-mime/NGImap4/NGSieveClient.m
M sope-mime/NGMail/NGSmtpClient.m
commit dbd28bd
Author: Extra Fu <[email protected]>
Date: Tue Jun 16 13:22:04 2020 -0400
Revert "feat(core): Peer verification on TLS connections"
M sope-appserver/NGObjWeb/WOHTTPConnection.m
M sope-core/NGStreams/NGActiveSSLSocket.m
M sope-core/NGStreams/NGStreams/NGActiveSSLSocket.h
M sope-mime/NGImap4/NGImap4Client.m
M sope-mime/NGImap4/NGSieveClient.m
M sope-mime/NGMail/NGSmtpClient.m
commit bc766e2
Author: Nicolas Höft <[email protected]>
Date: Tue May 12 10:20:07 2020 +0200
feat(core): NGActiveSSLSocket: Check host name for GnuTLS
Implement peer verification for TLS connections also
for GnuTLS. It will load the default system CA root store,
and also send the Server Name Indication (SNI).
Fixes #5019
M sope-core/NGStreams/NGActiveSSLSocket.m
M sope-mime/NGImap4/NGImap4Client.m
commit 0370e1b
Author: Nicolas Höft <[email protected]>
Date: Tue May 12 10:03:08 2020 +0200
feat(core): NGActiveSSLSocket: Implement peer verification for OpenSSL
Load system default CA trust store and verify the hostname of the
endpoint.
Simplify the SSL setup by reducing duplicate initialization code.
Require a host name argument now to be able to compare the host names
with.
Fixes #5019
M sope-appserver/NGObjWeb/WOHTTPConnection.m
M sope-core/NGStreams/NGActiveSSLSocket.m
M sope-core/NGStreams/NGStreams/NGActiveSSLSocket.h
M sope-mime/NGImap4/NGImap4Client.m
M sope-mime/NGImap4/NGSieveClient.m
M sope-mime/NGMail/NGSmtpClient.m
commit 994caa9
Author: Nicolas Höft <[email protected]>
Date: Mon May 11 18:48:12 2020 +0200
fix(core): Disable Nagle for TLS connections
To improve TLS handshake performance, disable Nagle
algorithm on the underlying socket.
M sope-core/NGStreams/NGActiveSSLSocket.m
commit 7be6ef5
Author: Johannes Kanefendt <[email protected]>
Date: Tue Jun 9 14:14:15 2020 +0200
Allow writing files directly (in small blocks) to HTTP response
M sope-appserver/NGObjWeb/NGObjWeb/WOMessage.h
M sope-appserver/NGObjWeb/WOHttpAdaptor/WOHttpTransaction.m
M sope-appserver/NGObjWeb/WOMessage.m
commit f65084a
Author: Roland Illig <[email protected]>
Date: Sun May 31 16:31:29 2020 +0200
Fix usage of <ctype.h> functions
These functions must not be called with negative integers, except for EOF.
libxmlHTMLSAXDriver.m:784:9: error: array subscript is of type 'char' [-Werror,-Wchar-subscripts]
libxmlHTMLSAXDriver.m:797:49: error: array subscript is of type 'char' [-Werror,-Wchar-subscripts]
M sope-xml/libxmlSAXDriver/libxmlHTMLSAXDriver.m
commit 5ee8894
Author: Ludovic Marcotte <[email protected]>
Date: Wed May 13 14:53:27 2020 -0400
fix(packaging): fix for rhelv8
M packaging/rhel/sope.spec
commit 9fddad2
Author: Ludovic Marcotte <[email protected]>
Date: Wed May 13 14:25:52 2020 -0400
fix(packaging): disable oracle on RHELv8
M packaging/rhel/sope.spec
commit 9cb89a0
Author: Nicolas Höft <[email protected]>
Date: Tue May 12 10:04:09 2020 +0200
fix(core): ActiveSSLSocket: Fix GnuTLS issues
The read/write functions from GnuTLS may return GNUTLS_E_AGAIN or
GNUTLS_E_INTERRUPTED. In such a case, we just have to retry. This
fixes apparent sudden reconnects observed in Debian Buster:
[NGImap4Client]> ERROR(-[NGImap4Client _processUnknownCommandParserException:]): catched non-IMAP4 parsing exception UnexpectedEndOfStream: the parsed stream ended unexpectedly
Further, when compiling SOPE with GnuTLS, a warning would be issued:
warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
gnutls_transport_set_ptr((gnutls_session_t) self->session, (gnutls_transport_ptr_t) self->fd);
On 64bit systems this can be quite dangerous, as an invalid file
descriptor would be passed to GnuTLS, rendering the transport unusable.
Fix this by using the new function `gnutls_transport_set_int()` if available
(GnuTLS >= 3.1.9). Otherwise, cast the fd to long to ensure the higher bits
are zero, too.
Also make sure to return an error if sending or receiving data fails,
otherwise the socket may hang indefinitely.
Fixes #4783
M sope-core/NGStreams/NGActiveSSLSocket.m
commit 40bb586
Author: Nicolas Höft <[email protected]>
Date: Sun May 10 21:16:40 2020 +0200
feat(smtp): Support STARTTLS
Following the implementations on IMAP and Sieve, implement STARTTLS
also for SMTP: A new TLS socket is built on the already open socket
which performs all TLS related actions. The SMTP client then
only has to talk on the TLS socket.
Note that after issuing STARTTLS command, we have to re-request the
supported server capabilities (i.e. send EHLO again and parse the
server response), because the announced AUTH mechanism may change.
Fixes #31
M sope-mime/NGMail/NGSmtpClient.m
commit ec32774
Author: Nicolas Höft <[email protected]>
Date: Sat May 9 19:32:28 2020 +0200
feat(smtp): Support smtps
Implement support for SMTPS. Remove some unused initialization
functions and add one expecting NSURL. From this url we can extract
the scheme: smtp:// or smtps://, whereas the former is unencrypted SMTP
and the latter refers to smtp in SSL/TLS wrapper mode (usually port 465).
As with IMAPS and STARTTLS for sieve, openssl or GnuTLS need to be present
for this to work.
Fixes #31
M sope-mime/NGMail/NGSmtpClient.h
M sope-mime/NGMail/NGSmtpClient.m
commit ec7ecb5
Author: Francis Lachapelle <[email protected]>
Date: Fri May 1 14:52:43 2020 -0400
Update ChangeLog
M ChangeLog
commit 0a5bb5e
Author: Francis Lachapelle <[email protected]>
Date: Wed Apr 29 12:48:22 2020 -0400
fix(core): escape quotes before sending SQL queries
Add accessors for new "formatted" variable
M sope-core/EOControl/EOKeyValueQualifier.m
M sope-core/EOControl/EOQualifier.h
commit 567bd0b
Author: Francis Lachapelle <[email protected]>
Date: Mon Apr 27 17:15:54 2020 -0400
fix(core): escape quotes before sending SQL queries
Fixes #5010
M sope-core/EOControl/EOKeyValueQualifier.m
M sope-core/EOControl/EOQualifier.h
commit 7aa37c3
Author: Francis Lachapelle <[email protected]>
Date: Mon Apr 20 10:06:45 2020 -0400
fix(core): don't try to close a null file descriptor