Compare commits

..
2 Commits
Author SHA1 Message Date
Francis Lachapelle 7d601fff28 chore(release): 2.4.3 2022-04-08 08:24:33 -04:00
Francis Lachapelle 731c1bdfd9 fix(mail): don't encode calendar mime part twice
SOPE will take care of encoding all text parts in quoted-printable if necessary.

Fixes #5391
Fixes #5393
2022-04-08 08:21:19 -04:00
4 changed files with 21 additions and 4 deletions

No files matched your search

+6
View File
@@ -1,5 +1,11 @@
# Changelog
### [2.4.3](https://github.com/inverse-inc/sogo/compare/SOGo-2.4.2...SOGo-2.4.3) (2022-04-08)
### Bug Fixes
* **mail:** don't encode calendar mime part twice ([0757429](https://github.com/inverse-inc/sogo/commit/07574297cd4961223afe0c60e7a639166d907e75)), closes [#5391](https://www.sogo.nu/bugs/view.php?id=5391) [#5393](https://www.sogo.nu/bugs/view.php?id=5393)
## [2.4.2](https://github.com/inverse-inc/sogo/compare/SOGo-2.4.1...SOGo-2.4.2) (2022-04-04)
### Bug Fixes
@@ -524,7 +524,7 @@ static Class iCalEventK = nil;
//
// If the user is the owner of the calendar, by default we include the freebusy information.
//
// If the user is NOT the owner of the calendar but is subscribed, by default we exclude the freebusy information.
// If the user is NOT the owner of the calendar, by default we exclude the freebusy information.
//
// We must include the freebusy information of other users if we are actually looking at their freebusy information
// but we aren't necessarily subscribed to their calendars.
@@ -534,7 +534,7 @@ static Class iCalEventK = nil;
NSNumber *excludeFromFreeBusy;
NSString *userLogin, *ownerInContext;
BOOL is_owner;
userLogin = [[context activeUser] login];
ownerInContext = [[self container] ownerInContext: context];
is_owner = [userLogin isEqualToString: ownerInContext];
+12 -1
View File
@@ -37,6 +37,7 @@
#import <NGCards/iCalDateTime.h>
#import <NGCards/iCalEvent.h>
#import <NGCards/iCalPerson.h>
#import <NGCards/iCalToDo.h>
#import <NGCards/iCalRepeatableEntityObject.h>
#import <NGMime/NGMimeBodyPart.h>
#import <NGMime/NGMimeMultipartBody.h>
@@ -142,6 +143,16 @@
return aclManager;
}
- (void) setIsNew: (BOOL) newIsNew
{
[super setIsNew: newIsNew];
}
- (BOOL) isNew
{
return [super isNew];
}
- (NSException *) changeParticipationStatus: (NSString *) newPartStat
withDelegate: (iCalPerson *) delegate
alarm: (iCalAlarm *) alarm
@@ -755,7 +766,7 @@
[headerMap setObject: @"quoted-printable"
forKey: @"content-transfer-encoding"];
bodyPart = [NGMimeBodyPart bodyPartWithHeader: headerMap];
[bodyPart setBody: [objectData dataByEncodingQuotedPrintable]];
[bodyPart setBody: objectData];
return bodyPart;
}
+1 -1
View File
@@ -1,3 +1,3 @@
MAJOR_VERSION=2
MINOR_VERSION=4
SUBMINOR_VERSION=2
SUBMINOR_VERSION=3