Lucid fixes for EAS

pull/68/head
Ludovic Marcotte 2014-12-16 10:35:32 -05:00
parent e040805e0d
commit 0f2798f017
3 changed files with 25 additions and 19 deletions

View File

@ -2517,8 +2517,9 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- (NSURL *) folderTableURL
{
NSString *urlString, *ocFSTableName;
NSMutableString *ocFSTableName;
NSMutableArray *parts;
NSString *urlString;
SOGoUser *user;
if (!folderTableURL)
@ -2537,10 +2538,12 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
/* If "OCSFolderInfoURL" is properly configured, we must have 5
parts in this url. We strip the '-' character in case we have
this in the domain part - like foo@bar-zot.com */
ocFSTableName = [NSString stringWithFormat: @"sogo_cache_folder_%@",
[[[user loginInDomain] asCSSIdentifier]
stringByReplacingOccurrencesOfString: @"-"
withString: @"_"]];
ocFSTableName = [NSMutableString stringWithFormat: @"sogo_cache_folder_%@",
[[user loginInDomain] asCSSIdentifier]];
[ocFSTableName replaceOccurrencesOfString: @"-"
withString: @"_"
options: 0
range: NSMakeRange(0, [ocFSTableName length])];
[parts replaceObjectAtIndex: 4 withObject: ocFSTableName];
folderTableURL
= [NSURL URLWithString: [parts componentsJoinedByString: @"/"]];

11
NEWS
View File

@ -2,17 +2,18 @@
-------------------
New features
- Allow including or not freebusy info from subscribed calendars
- Now possible to set an autosave timer for draft messages
- Now possible to set alarms on event invitations (#76)
- allow including or not freebusy info from subscribed calendars
- now possible to set an autosave timer for draft messages
- now possible to set alarms on event invitations (#76)
Enhancements
- updated CKEditor to version 4.4.6 and added the 'Source Area' plugin
- avoid testing for IMAP ANNOTATION when X-GUID is available (#3018)
Bug fixes
- Fix for privacy and categories for EAS (#3022)
- Correctly set MeetingStatus for EAS on iOS devices
- fix for privacy and categories for EAS (#3022)
- correctly set MeetingStatus for EAS on iOS devices
- Ubuntu Lucid fixes for EAS
2.2.11a (2014-12-10)
--------------------

View File

@ -104,17 +104,17 @@ typedef enum
- (BOOL) run
{
NSString *userId;
SOGoManageEASCommand cmd;
NSString *urlString, *deviceId, *userId;
NSMutableString *ocFSTableName;
SOGoCacheGCSObject *oc, *foc;
NSString *urlString, *ocFSTableName, *deviceId;
NSURL *folderTableURL;
NSMutableArray *parts;
NSArray *entries;
id cacheEntry;
BOOL rc;
SOGoManageEASCommand cmd;
int i, max;
BOOL rc;
max = [sanitizedArguments count];
rc = NO;
@ -141,10 +141,12 @@ typedef enum
/* If "OCSFolderInfoURL" is properly configured, we must have 5
parts in this url. We strip the '-' character in case we have
this in the domain part - like foo@bar-zot.com */
ocFSTableName = [NSString stringWithFormat: @"sogo_cache_folder_%@",
[[[user loginInDomain] asCSSIdentifier]
stringByReplacingOccurrencesOfString: @"-"
withString: @"_"]];
ocFSTableName = [NSMutableString stringWithFormat: @"sogo_cache_folder_%@",
[[user loginInDomain] asCSSIdentifier]];
[ocFSTableName replaceOccurrencesOfString: @"-"
withString: @"_"
options: 0
range: NSMakeRange(0, [ocFSTableName length])];
[parts replaceObjectAtIndex: 4 withObject: ocFSTableName];
folderTableURL
= [NSURL URLWithString: [parts componentsJoinedByString: @"/"]];