Fix for bug #2940
parent
da962aed01
commit
b5023eeb24
|
@ -1693,19 +1693,19 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
realCollectionId = [self globallyUniqueIDToIMAPFolderName: realCollectionId type: folderType];
|
realCollectionId = [self globallyUniqueIDToIMAPFolderName: realCollectionId type: folderType];
|
||||||
|
|
||||||
if (folderType == ActiveSyncMailFolder)
|
if (folderType == ActiveSyncMailFolder)
|
||||||
folderMetadata = [self _folderMetadataForKey: [NSString stringWithFormat: @"folder%@", [[collectionId stringByUnescapingURL] substringFromIndex:5]]];
|
folderMetadata = [self _folderMetadataForKey: [NSString stringWithFormat: @"folder%@", [[collectionId stringByUnescapingURL] substringFromIndex:5]]];
|
||||||
else
|
else
|
||||||
folderMetadata = [self _folderMetadataForKey: [collectionId stringByUnescapingURL]];
|
folderMetadata = [self _folderMetadataForKey: [collectionId stringByUnescapingURL]];
|
||||||
|
|
||||||
collection = [self collectionFromId: realCollectionId type: folderType];
|
collection = [self collectionFromId: realCollectionId type: folderType];
|
||||||
|
|
||||||
// if collection doesn't exists skip it - next foldersync will do the cleanup
|
// If collection doesn't exist skip it - next foldersync will do the cleanup
|
||||||
if (!collection)
|
if (!collection)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
syncKey = [folderMetadata objectForKey: @"SyncKey"];
|
syncKey = [folderMetadata objectForKey: @"SyncKey"];
|
||||||
|
|
||||||
if (![syncKey isEqualToString: [collection davCollectionTag]])
|
if (syncKey && ![syncKey isEqualToString: [collection davCollectionTag]])
|
||||||
{
|
{
|
||||||
[foldersWithChanges addObject: collectionId];
|
[foldersWithChanges addObject: collectionId];
|
||||||
}
|
}
|
||||||
|
|
|
@ -2331,7 +2331,7 @@ ActiveSync:
|
||||||
|Parameter used to set the maximum amount of time, in seconds, SOGo will
|
|Parameter used to set the maximum amount of time, in seconds, SOGo will
|
||||||
wait before replying to a Ping command.
|
wait before replying to a Ping command.
|
||||||
|
|
||||||
If not set, it defaults to `5` seconds.
|
If not set, it defaults to `10` seconds.
|
||||||
|
|
||||||
|S |SOGoMaximumSyncInterval
|
|S |SOGoMaximumSyncInterval
|
||||||
|Parameter used to set the maximum amount of time, in seconds, SOGo will
|
|Parameter used to set the maximum amount of time, in seconds, SOGo will
|
||||||
|
@ -2342,7 +2342,8 @@ If not set, it defaults to `30` seconds.
|
||||||
|S |SOGoInternalSyncInterval
|
|S |SOGoInternalSyncInterval
|
||||||
|Parameter used to set the maximum amount of time, in seconds, SOGo will
|
|Parameter used to set the maximum amount of time, in seconds, SOGo will
|
||||||
wait before doing an internal check for data changes (add, delete, and
|
wait before doing an internal check for data changes (add, delete, and
|
||||||
update). This parameter must be lower than _SOGoMaximumSyncInterval_.
|
update). This parameter must be lower than _SOGoMaximumSyncInterval_ and
|
||||||
|
_SOGoMaximumPingInterval_.
|
||||||
|
|
||||||
If not set, it defaults to `10` seconds.
|
If not set, it defaults to `10` seconds.
|
||||||
|
|
||||||
|
|
3
NEWS
3
NEWS
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
Enhancements
|
Enhancements
|
||||||
- no longer leaking database passwords in the logs (#2953)
|
- no longer leaking database passwords in the logs (#2953)
|
||||||
|
- added support for multiple calendars and address books over ActiveSync
|
||||||
|
|
||||||
Bug fixes
|
Bug fixes
|
||||||
- fixed freebusy lookup with "Show time as busy" (#2930)
|
- fixed freebusy lookup with "Show time as busy" (#2930)
|
||||||
|
@ -10,6 +11,8 @@ Bug fixes
|
||||||
- fixed folder's display name when subscribing to a folder
|
- fixed folder's display name when subscribing to a folder
|
||||||
- fixed folder's display name when the active user subscribes another user to one of her/his folders
|
- fixed folder's display name when the active user subscribes another user to one of her/his folders
|
||||||
- fixed error with new user default sorting value for the mailer module (#2952)
|
- fixed error with new user default sorting value for the mailer module (#2952)
|
||||||
|
- fixed ActiveSync PING command flooding the server (#2940)
|
||||||
|
- fixed many interop issues with Windows Phones over ActiveSync
|
||||||
|
|
||||||
2.2.9a (2014-09-29)
|
2.2.9a (2014-09-29)
|
||||||
-------------------
|
-------------------
|
||||||
|
|
|
@ -592,7 +592,7 @@ _injectConfigurationFromFile (NSMutableDictionary *defaultsDict,
|
||||||
v = [self integerForKey: @"SOGoMaximumPingInterval"];
|
v = [self integerForKey: @"SOGoMaximumPingInterval"];
|
||||||
|
|
||||||
if (!v)
|
if (!v)
|
||||||
v = 5;
|
v = 10;
|
||||||
|
|
||||||
return v;
|
return v;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue