-
Notifications
You must be signed in to change notification settings - Fork 281
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Conflicts: Documentation/SOGo Installation Guide.odt
- Loading branch information
Showing
124 changed files
with
2,297 additions
and
879 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
-109 Bytes
(100%)
Documentation/SOGo Native Microsoft Outlook Configuration.odt
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
/* iCalEntityObject+SOGo.h - this file is part of SOGo | ||
* | ||
* Copyright (C) 2007 Inverse inc. | ||
* | ||
* Author: Wolfgang Sourdeau <[email protected]> | ||
* Copyright (C) 2007-2013 Inverse inc. | ||
* | ||
* This file is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
|
@@ -48,6 +46,8 @@ extern NSNumber *iCalDistantFutureNumber; | |
- (NSMutableDictionary *) quickRecord; | ||
|
||
- (int) priorityNumber; | ||
- (NSString *) createdBy; | ||
|
||
- (NSNumber *) quickRecordDateAsNumber: (NSCalendarDate *) _date | ||
withOffset: (int) offset | ||
forAllDay: (BOOL) allDay; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* NSString+Utilities.m - this file is part of SOGo | ||
* | ||
* Copyright (C) 2006-2011 Inverse inc. | ||
* Copyright (C) 2006-2013 Inverse inc. | ||
* | ||
* Author: Wolfgang Sourdeau <[email protected]> | ||
* Ludovic Marcotte <[email protected]> | ||
|
@@ -279,32 +279,35 @@ - (NSString *) doubleQuotedString | |
|
||
- (NSString *) jsonRepresentation | ||
{ | ||
static char thisCharCode[28]; | ||
static unichar thisCharCode[29]; | ||
static NSString *controlCharString = nil; | ||
static NSCharacterSet *controlCharSet = nil; | ||
NSString *cleanedString; | ||
int i; | ||
int i, j; | ||
|
||
if (!controlCharSet) | ||
{ | ||
// Create an array of chars for all control characters between 0x00 and 0x1F, | ||
// apart from \t, \n, \f and \r (0x08, 0x09, 0x0A, 0x0C and 0x0D) | ||
for (i = 0x00; i <= 0x08; i++) { | ||
thisCharCode[i] = i; | ||
for (i = 0, j = 0x00; j < 0x08; i++, j++) { | ||
thisCharCode[i] = j; | ||
} | ||
thisCharCode[9] = 0x0B; | ||
for (i = 0x0E; i <= 0x1F; i++) { | ||
thisCharCode[i - 4] = i; | ||
thisCharCode[i++] = 0x0B; | ||
for (j = 0x0E; j <= 0x1F; i++, j++) { | ||
thisCharCode[i] = j; | ||
} | ||
controlCharString = [NSString stringWithCString: thisCharCode length: 28]; | ||
|
||
// Also add some unicode separators | ||
thisCharCode[i++] = 0x2028; // line separator | ||
thisCharCode[i++] = 0x2029; // paragraph separator | ||
controlCharString = [NSString stringWithCharacters:thisCharCode length:i]; | ||
controlCharSet = [NSCharacterSet characterSetWithCharactersInString: controlCharString]; | ||
[controlCharSet retain]; | ||
} | ||
|
||
// Escape double quotes and remove control characters | ||
cleanedString = [[[self doubleQuotedString] componentsSeparatedByCharactersInSet: controlCharSet] | ||
componentsJoinedByString: @""]; | ||
|
||
return cleanedString; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.