-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[release/11.7.1] Release 11.7.1 (#88)
* - OCDAVRawResponse: container for capturing raw WebDAV PROPFIND responses - add update scan timing logging - add support for update scan interval (and disable it for now) - add support for infinite PROPFIND requests, introduce OCPropfindDepth - OCSQLiteDB: add method to queue blocks on the DB thread - OCXMLParser: add support for live processing of parsing results and add further abstraction for error and parse result handling - OCBookmark, OCVault: add methods to prepopulate account databases from infinite PROPFIND responses - various smaller improvements * - OCCore+ItemList: scan for changes no longer uses the background URL session to avoid APM redirect issues * - OCHTTP: add support for streaming responses as NSInputStream (+ prepare for more variants) - OCConnection: add support for streaming PROPFIND responses - OCVault+Prepopulation: add methods for streaming metadata and parsing the stream at the same time - OCBookmark+Prepopulation: add method for streaming prepopulation * - OCCapabilities: prepare support for new "supportsInfinitePropfind" capability - OCHTTPStatus: correct spelling of Method Not Allowedc status code * - add localizable strings for account prepopulation progress messages * - OCClassSettings improvements - extend -keysForClass from documentation to --keysForClass:options: for wider use - settingsSnapshotForClasses now uses -keysForClass:options: instead of trying to compile a definitive list of keys itself - adapt calling code accordingly * - fix DAVRawResponseTests comment error * - support for custom poll interval for changes: - through capabilities: mirroring changes from owncloud/client#8777 - through MDM via `core.scan-for-changes-interval` - in milliseconds - defaulting to 10 seconds - enforcing (and logging a warning) for intervals below a minimum of 5 seconds - logging a warning for intervals greater than 60 seconds * - improved configurable scan for changes poll interval - determine effective poll interval only once / initialized core - limit logging of warnings and errors to once / initialized core - improve wording and verbosity of log messages - clean up code
- Loading branch information
1 parent
f9d7fd3
commit 6417702
Showing
38 changed files
with
1,304 additions
and
45 deletions.
There are no files selected for viewing
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
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// | ||
// OCDAVRawResponse.h | ||
// ownCloudSDK | ||
// | ||
// Created by Felix Schwarz on 24.06.21. | ||
// Copyright © 2021 ownCloud GmbH. All rights reserved. | ||
// | ||
|
||
/* | ||
* Copyright (C) 2021, ownCloud GmbH. | ||
* | ||
* This code is covered by the GNU Public License Version 3. | ||
* | ||
* For distribution utilizing Apple mechanisms please see https://owncloud.org/contribute/iOS-license-exception/ | ||
* You should have received a copy of this license along with this program. If not, see <http://www.gnu.org/licenses/gpl-3.0.en.html>. | ||
* | ||
*/ | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
@interface OCDAVRawResponse : NSObject <NSSecureCoding> | ||
|
||
@property(strong,nullable) NSURL *responseDataURL; | ||
@property(strong,nullable) NSString *basePath; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
// | ||
// OCDAVRawResponse.m | ||
// ownCloudSDK | ||
// | ||
// Created by Felix Schwarz on 24.06.21. | ||
// Copyright © 2021 ownCloud GmbH. All rights reserved. | ||
// | ||
|
||
/* | ||
* Copyright (C) 2021, ownCloud GmbH. | ||
* | ||
* This code is covered by the GNU Public License Version 3. | ||
* | ||
* For distribution utilizing Apple mechanisms please see https://owncloud.org/contribute/iOS-license-exception/ | ||
* You should have received a copy of this license along with this program. If not, see <http://www.gnu.org/licenses/gpl-3.0.en.html>. | ||
* | ||
*/ | ||
|
||
#import "OCDAVRawResponse.h" | ||
|
||
@implementation OCDAVRawResponse | ||
|
||
#pragma mark - NSSecureCoding | ||
+ (BOOL)supportsSecureCoding | ||
{ | ||
return(YES); | ||
} | ||
|
||
- (instancetype)initWithCoder:(NSCoder *)decoder | ||
{ | ||
if ((self = [self init]) != nil) | ||
{ | ||
_responseDataURL = [decoder decodeObjectOfClass:NSURL.class forKey:@"responseDataURL"]; | ||
_basePath = [decoder decodeObjectOfClass:NSString.class forKey:@"basePath"]; | ||
} | ||
|
||
return (self); | ||
} | ||
|
||
- (void)encodeWithCoder:(NSCoder *)coder | ||
{ | ||
[coder encodeObject:_responseDataURL forKey:@"responseDataURL"]; | ||
[coder encodeObject:_basePath forKey:@"basePath"]; | ||
} | ||
|
||
@end | ||
|
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
Oops, something went wrong.