Skip to content

Commit 3295520

Browse files
committed
Merge to 2.2.8
2 parents 04904d8 + 38cb86b commit 3295520

File tree

269 files changed

+9265
-6030
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

269 files changed

+9265
-6030
lines changed

ActiveSync/SOGoActiveSyncDispatcher.m

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -457,13 +457,12 @@ - (void) processFolderDelete: (id <DOMElement>) theDocumentElement
457457
NSData *d;
458458

459459
//
460-
// We mark the cache object as deleted
460+
// We destroy the cache object
461461
//
462462
key = [NSString stringWithFormat: @"%@+%@", [context objectForKey: @"DeviceId"], [folderToDelete nameInContainer]];
463463
o = [SOGoCacheGCSObject objectWithName: key inContainer: nil];
464464
[o setTableUrl: [self folderTableURL]];
465-
[o reloadIfNeeded];
466-
[o delete];
465+
[o destroy];
467466

468467
//
469468
// We update the FolderSync's synckey
@@ -697,7 +696,7 @@ - (void) processFolderSync: (id <DOMElement>) theDocumentElement
697696

698697
if (![imapGUIDs allKeysForObject: cKey])
699698
{
700-
// Delete folders cache content to avoid stale data if a new folder gets created with the same name
699+
// Destroy folders cache content to avoid stale data if a new folder gets created with the same name
701700
key = [NSString stringWithFormat: @"%@+folder%@", [context objectForKey: @"DeviceId"], [cachedGUIDs objectForKey: cKey]];
702701
o = [SOGoCacheGCSObject objectWithName: key inContainer: nil];
703702
[o setObjectType: ActiveSyncFolderCacheObject];
@@ -711,8 +710,7 @@ - (void) processFolderSync: (id <DOMElement>) theDocumentElement
711710
command_count++;
712711
}
713712

714-
[[o properties] removeAllObjects];
715-
[o save];
713+
[o destroy];
716714
}
717715
}
718716

ActiveSync/common.make

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ ADDITIONAL_INCLUDE_DIRS += \
1818
ADDITIONAL_LIB_DIRS += \
1919
-L../SoObjects/SOGo/SOGo.framework/ \
2020
-L../SoObjects/SOGo/$(GNUSTEP_OBJ_DIR)/ \
21-
-L../OGoContentStore/$(GNUSTEP_OBJ_DIR)/ \
2221
-L../SOPE/NGCards/$(GNUSTEP_OBJ_DIR)/ \
2322
-L/usr/local/lib
2423

Apache/SOGo-apple-ab.conf

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,13 @@
2828
ProxyPass /SOGo http://127.0.0.1:20000/SOGo interpolate
2929
ProxyPass / http://127.0.0.1:20000/SOGo/dav/ interpolate
3030
<Location />
31-
Order allow,deny
32-
Allow from all
31+
<IfVersion < 2.4>
32+
Order deny,allow
33+
Allow from all
34+
</IfVersion>
35+
<IfVersion >= 2.4>
36+
Require all granted
37+
</IfVersion>
3338
</Location>
3439

3540
<Proxy http://127.0.0.1:20000>

Apache/SOGo.conf

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,14 @@ Alias /SOGo/WebServerResources/ \
55

66
<Directory /usr/lib/GNUstep/SOGo/>
77
AllowOverride None
8-
Order deny,allow
9-
Allow from all
8+
9+
<IfVersion < 2.4>
10+
Order deny,allow
11+
Allow from all
12+
</IfVersion>
13+
<IfVersion >= 2.4>
14+
Require all granted
15+
</IfVersion>
1016

1117
# Explicitly allow caching of static content to avoid browser specific behavior.
1218
# A resource's URL MUST change in order to have the client load the new version.

0 commit comments

Comments
 (0)