Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[milestone/11.9.0] Milestone 11.9.0 #1071

Merged
merged 27 commits into from
Mar 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
8fbe2a8
new version number 11.9.0, enabled beta build and warning
hosy Dec 7, 2021
69eeaf2
[feature/infinite-propfind] Infinite PROPFIND support (#1002)
felix-schwarz Jan 18, 2022
4d9ec2e
[feature/poll-efficiency] Poll for changes efficiency enhancements (#…
felix-schwarz Jan 18, 2022
3bbd99f
Merge branch 'master' into milestone/11.9.0
hosy Jan 25, 2022
a92c126
Configuration documentation updated
hosy Jan 25, 2022
e42aa67
[fix/media-playback-url] Fix WebDAV endpoint URL for media playback a…
felix-schwarz Jan 27, 2022
eb24db8
[feature/webfinger] Webfinger / server location (#1059)
felix-schwarz Jan 28, 2022
8f8385a
changed app version number
hosy Jan 28, 2022
b424a52
added missing translation string
hosy Feb 21, 2022
54a9d8d
[feature/rename-accounts] Rename Account without Authentication Flow …
hosy Feb 22, 2022
4ef27f1
#5008 (2) only show "Settings" toolbar, if no account is configured, …
hosy Feb 22, 2022
a1f8e63
Merge branch 'milestone/11.9.0' of github.com:owncloud/ios-app into m…
hosy Feb 22, 2022
b6032f4
[feature/biometrical-button] Biometrical Authentication Button (#1098)
hosy Feb 23, 2022
f9b3205
Calens changelog updated
hosy Feb 23, 2022
981ee5f
removed branding test values
hosy Feb 25, 2022
4e6f296
Transifex translation updates (#994)
hosy Mar 9, 2022
ef239e9
disabled beta warning, beta build
hosy Mar 9, 2022
2298c2b
- added accessibility label to biometrical unlock button
Mar 14, 2022
6c20739
Calens changelog updated
hosy Mar 14, 2022
0a140d4
added fastlane release notes
hosy Mar 14, 2022
ac3e9cf
- update SDK to include fix/token-timetolerance changes from the SDK
felix-schwarz Mar 14, 2022
864bef5
changed folder name to release date
Mar 16, 2022
1751bd3
Calens changelog updated
hosy Mar 16, 2022
d7282ab
- added missing changelog entry
Mar 16, 2022
09141fe
Merge branch 'milestone/11.9.0' of https://github.com/owncloud/ios-ap…
Mar 16, 2022
683c2c8
Calens changelog updated
hosy Mar 16, 2022
3cff998
fixed duplicated app_version number on TestFlight
Mar 16, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 70 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,73 @@
Changelog for ownCloud iOS Client [11.9.0] (2022-03-16)
=======================================
The following sections list the changes in ownCloud iOS Client 11.9.0 relevant to
ownCloud admins and users.

[11.9.0]: https://github.com/owncloud/ios-app/compare/milestone/11.8.2...milestone/11.9.0

Summary
-------

* Bugfix - Fix WebDAV endpoint URL for media playback after restoration: [#1093](https://github.com/owncloud/ios-app/pull/1093)
* Bugfix - OAuth token renewal race condition: [#1105](https://github.com/owncloud/ios-app/pull/1105)
* Change - Biometrical Authentication Button: [#1004](https://github.com/owncloud/ios-app/issues/1004)
* Change - Poll for changes efficiency enhancements: [#1043](https://github.com/owncloud/ios-app/pull/1043)
* Change - Webfinger / server location: [#1059](https://github.com/owncloud/ios-app/pull/1059)
* Change - Infinite PROPFIND support: [#950](https://github.com/owncloud/ios-app/issues/950)
* Change - Rename Account (without re-authentication): [#972](https://github.com/owncloud/ios-app/issues/972)

Details
-------

* Bugfix - Fix WebDAV endpoint URL for media playback after restoration: [#1093](https://github.com/owncloud/ios-app/pull/1093)

Fixes a bug where media playback failed with a 404 Not Found error after restoration because the
WebDAV endpoint URL was constructed from authentication data rather than OC user endpoint
data.

https://github.com/owncloud/ios-app/pull/1093

* Bugfix - OAuth token renewal race condition: [#1105](https://github.com/owncloud/ios-app/pull/1105)

Retry requests that failed with a 401 during a token refresh

https://github.com/owncloud/ios-app/pull/1105

* Change - Biometrical Authentication Button: [#1004](https://github.com/owncloud/ios-app/issues/1004)

Added biometrical authentication button to provide a fallback for the fileprovider or app, if
the automatically biometrical unlock does not work, or the user cancel the biometrical
authentication flow.

https://github.com/owncloud/ios-app/issues/1004

* Change - Poll for changes efficiency enhancements: [#1043](https://github.com/owncloud/ios-app/pull/1043)

Avoids simultaneous polling for changes by FileProvider and app.

https://github.com/owncloud/ios-app/pull/1043

* Change - Webfinger / server location: [#1059](https://github.com/owncloud/ios-app/pull/1059)

Allows using webfinger or a lookup table to locate and use an alternative server based on the
user name

https://github.com/owncloud/ios-app/pull/1059

* Change - Infinite PROPFIND support: [#950](https://github.com/owncloud/ios-app/issues/950)

Added support for prepopulation of newly created account bookmarks via infinite PROPFINDs,
which speeds up the initial scan

https://github.com/owncloud/ios-app/issues/950

* Change - Rename Account (without re-authentication): [#972](https://github.com/owncloud/ios-app/issues/972)

Check if only the account name was changed in edit mode: save and dismiss without
re-authentication

https://github.com/owncloud/ios-app/issues/972

Changelog for ownCloud iOS Client [11.8.2] (2022-01-17)
=======================================
The following sections list the changes in ownCloud iOS Client 11.8.2 relevant to
Expand Down
5 changes: 5 additions & 0 deletions changelog/11.9.0_2022-03-16/1004
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Change: Biometrical Authentication Button

Added biometrical authentication button to provide a fallback for the fileprovider or app, if the automatically biometrical unlock does not work, or the user cancel the biometrical authentication flow.

https://github.com/owncloud/ios-app/issues/1004
5 changes: 5 additions & 0 deletions changelog/11.9.0_2022-03-16/1043
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Change: Poll for changes efficiency enhancements

Avoids simultaneous polling for changes by FileProvider and app.

https://github.com/owncloud/ios-app/pull/1043
5 changes: 5 additions & 0 deletions changelog/11.9.0_2022-03-16/1059
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Change: Webfinger / server location

Allows using webfinger or a lookup table to locate and use an alternative server based on the user name

https://github.com/owncloud/ios-app/pull/1059
5 changes: 5 additions & 0 deletions changelog/11.9.0_2022-03-16/1093
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Bugfix: Fix WebDAV endpoint URL for media playback after restoration

Fixes a bug where media playback failed with a 404 Not Found error after restoration because the WebDAV endpoint URL was constructed from authentication data rather than OC user endpoint data.

https://github.com/owncloud/ios-app/pull/1093
5 changes: 5 additions & 0 deletions changelog/11.9.0_2022-03-16/1105
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Bugfix: OAuth token renewal race condition

Retry requests that failed with a 401 during a token refresh

https://github.com/owncloud/ios-app/pull/1105
5 changes: 5 additions & 0 deletions changelog/11.9.0_2022-03-16/950
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Change: Infinite PROPFIND support

Added support for prepopulation of newly created account bookmarks via infinite PROPFINDs, which speeds up the initial scan

https://github.com/owncloud/ios-app/issues/950
5 changes: 5 additions & 0 deletions changelog/11.9.0_2022-03-16/972
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Change: Rename Account (without re-authentication)

Check if only the account name was changed in edit mode: save and dismiss without re-authentication

https://github.com/owncloud/ios-app/issues/972
27 changes: 27 additions & 0 deletions doc/CONFIGURATION.json
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,33 @@
"status" : "supported",
"type" : "string"
},
{
"autoExpansion" : "none",
"category" : "Bookmarks",
"categoryTag" : "bookmarks",
"classIdentifier" : "bookmark",
"className" : "ownCloud.BookmarkViewController",
"description" : "Controls prepopulation of the local database with the full item set during account setup.",
"flatIdentifier" : "bookmark.prepopulation",
"key" : "prepopulation",
"label" : "bookmark.prepopulation",
"possibleValues" : [
{
"description" : "No prepopulation. Request the contents of every folder individually.",
"value" : "doNot"
},
{
"description" : "Parse the prepopulation metadata after receiving it as a whole.",
"value" : "split"
},
{
"description" : "Parse the prepopulation metadata while receiving it.",
"value" : "streaming"
}
],
"status" : "supported",
"type" : "string"
},
{
"autoExpansion" : "none",
"category" : "Bookmarks",
Expand Down
21 changes: 21 additions & 0 deletions docs/modules/ROOT/pages/ios_mdm_tables.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,27 @@ tag::bookmarks[]
|The default URL for the creation of new bookmarks.
|supported `candidate`

|bookmark.prepopulation
|string
|
|Controls prepopulation of the local database with the full item set during account setup.
[cols="1,1"]
!===
! Value
! Description
! `doNot`
! No prepopulation. Request the contents of every folder individually.

! `split`
! Parse the prepopulation metadata after receiving it as a whole.

! `streaming`
! Parse the prepopulation metadata while receiving it.

!===

|supported `candidate`

|bookmark.url-editable
|bool
|`true`
Expand Down
14 changes: 10 additions & 4 deletions fastlane/metadata-emm/en-US/release_notes.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Fix: PDF Editing
Fixed bug that prevents changes to PDFs being saved in place.
Biometrical Authentication Button
Added a biometrical authentication button to the passcode unlock view. The biomatrical cancel button enables passcode unlock as fallback.

• Fix: Continuous Audio Playback
Fixed continuous audio playback, which stopped after two audio files.
• Rename Account
Renaming an account does no longer need a re-authentication

• Media Playback
Fixes a bug where media playback failed

• Faster Account Scan
We improved the time for the initial scan after setting up a new account

14 changes: 10 additions & 4 deletions fastlane/metadata-owncloud-online/en-US/release_notes.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Fix: PDF Editing
Fixed bug that prevents changes to PDFs being saved in place.
Biometrical Authentication Button
Added a biometrical authentication button to the passcode unlock view. The biomatrical cancel button enables passcode unlock as fallback.

• Fix: Continuous Audio Playback
Fixed continuous audio playback, which stopped after two audio files.
• Rename Account
Renaming an account does no longer need a re-authentication

• Media Playback
Fixes a bug where media playback failed

• Faster Account Scan
We improved the time for the initial scan after setting up a new account

14 changes: 10 additions & 4 deletions fastlane/metadata/en-US/release_notes.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Fix: PDF Editing
Fixed bug that prevents changes to PDFs being saved in place.
Biometrical Authentication Button
Added a biometrical authentication button to the passcode unlock view. The biomatrical cancel button enables passcode unlock as fallback.

• Fix: Continuous Audio Playback
Fixed continuous audio playback, which stopped after two audio files.
• Rename Account
Renaming an account does no longer need a re-authentication

• Media Playback
Fixes a bug where media playback failed

• Faster Account Scan
We improved the time for the initial scan after setting up a new account

2 changes: 1 addition & 1 deletion ios-sdk
Submodule ios-sdk updated 33 files
+40 −0 doc/CONFIGURATION.json
+56 −0 ownCloudSDK.xcodeproj/project.pbxproj
+6 −0 ownCloudSDK/Authentication/OCAuthenticationMethod.h
+17 −0 ownCloudSDK/Authentication/OCAuthenticationMethod.m
+5 −1 ownCloudSDK/Authentication/OCAuthenticationMethodBasicAuth.m
+75 −25 ownCloudSDK/Authentication/OCAuthenticationMethodOAuth2.m
+7 −3 ownCloudSDK/Bookmark/OCBookmark.h
+14 −1 ownCloudSDK/Bookmark/OCBookmark.m
+86 −14 ownCloudSDK/Connection/OCConnection+Setup.m
+8 −13 ownCloudSDK/Connection/OCConnection+Tools.m
+4 −1 ownCloudSDK/Connection/OCConnection.h
+5 −1 ownCloudSDK/Connection/OCConnection.m
+30 −0 ownCloudSDK/Connection/ServerLocator/LookupTable/OCServerLocatorLookupTable.h
+110 −0 ownCloudSDK/Connection/ServerLocator/LookupTable/OCServerLocatorLookupTable.m
+30 −0 ownCloudSDK/Connection/ServerLocator/OCExtension+ServerLocator.h
+33 −0 ownCloudSDK/Connection/ServerLocator/OCExtension+ServerLocator.m
+51 −0 ownCloudSDK/Connection/ServerLocator/OCServerLocator.h
+130 −0 ownCloudSDK/Connection/ServerLocator/OCServerLocator.m
+31 −0 ownCloudSDK/Connection/ServerLocator/WebFinger/OCServerLocatorWebFinger.h
+112 −0 ownCloudSDK/Connection/ServerLocator/WebFinger/OCServerLocatorWebFinger.m
+4 −1 ownCloudSDK/Errors/NSError+OCError.h
+8 −0 ownCloudSDK/Errors/NSError+OCError.m
+8 −2 ownCloudSDK/File Handling/Checksums/OCChecksumAlgorithm.h
+16 −1 ownCloudSDK/File Handling/Checksums/OCChecksumAlgorithm.m
+2 −0 ownCloudSDK/HTTP/Request/OCHTTPRequest.h
+28 −2 ownCloudSDK/HTTP/Request/OCHTTPRequest.m
+2 −0 ownCloudSDK/HTTP/Response/OCHTTPResponse.h
+5 −1 ownCloudSDK/HTTP/Response/OCHTTPResponse.m
+1 −1 ownCloudSDK/Host Simulator/OCExtension+HostSimulation.m
+51 −0 ownCloudSDK/Host Simulator/OCHostSimulator+BuiltIn.m
+7 −0 ownCloudSDK/Resources/en.lproj/Localizable.strings
+9 −1 ownCloudSDK/Settings/Sources/OCClassSettingsFlatSourceEnvironment.m
+2 −0 ownCloudSDK/ownCloudSDK.h
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ class DocumentActionViewController: FPUIActionExtensionViewController {
override func prepare(forError error: Error) {
if AppLockManager.supportedOnDevice {
AppLockManager.shared.passwordViewHostViewController = self
AppLockManager.shared.biometricCancelLabel = "Cancel".localized
AppLockManager.shared.cancelAction = { [weak self] in
self?.complete(cancelWith: NSError(domain: FPUIErrorDomain, code: Int(FPUIExtensionErrorCode.userCancelled.rawValue), userInfo: nil))
}
Expand Down
20 changes: 15 additions & 5 deletions ownCloud File Provider/FileProviderExtension.m
Original file line number Diff line number Diff line change
Expand Up @@ -189,17 +189,27 @@ - (NSFileProviderItem)itemForIdentifier:(NSFileProviderItemIdentifier)identifier
if ([identifier isEqual:NSFileProviderRootContainerItemIdentifier])
{
// Root item
[self.core.vault.database retrieveCacheItemsAtPath:@"/" itemOnly:YES completionHandler:^(OCDatabase *db, NSError *error, OCSyncAnchor syncAnchor, NSArray<OCItem *> *items) {
item = items.firstObject;
returnError = error;
OCDatabase *database;

if (((database = core.vault.database) != nil) && database.isOpened)
{
[database retrieveCacheItemsAtPath:@"/" itemOnly:YES completionHandler:^(OCDatabase *db, NSError *error, OCSyncAnchor syncAnchor, NSArray<OCItem *> *items) {
item = items.firstObject;
returnError = error;

OCSyncExecDone(itemRetrieval);
}];
}
else
{
// Database not available
OCSyncExecDone(itemRetrieval);
}];
}
}
else
{
// Other item
[self.core retrieveItemFromDatabaseForLocalID:(OCLocalID)identifier completionHandler:^(NSError *error, OCSyncAnchor syncAnchor, OCItem *itemFromDatabase) {
[core retrieveItemFromDatabaseForLocalID:(OCLocalID)identifier completionHandler:^(NSError *error, OCSyncAnchor syncAnchor, OCItem *itemFromDatabase) {
item = itemFromDatabase;
returnError = error;

Expand Down
2 changes: 1 addition & 1 deletion ownCloud Share Extension/ShareViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ class ShareViewController: MoreStaticTableViewController {
OnMainThread {
self.navigationController?.popToViewController(self, animated: false)

let progressViewController = ProgressIndicatorViewController(initialProgressLabel: "Preparing…".localized, cancelHandler: {})
let progressViewController = ProgressIndicatorViewController(initialProgressLabel: "Preparing…".localized, progress: nil, cancelHandler: {})

self.present(progressViewController, animated: false)

Expand Down
24 changes: 12 additions & 12 deletions ownCloud.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -4730,8 +4730,8 @@
APP_BUILD_FLAGS = "$(inherited)";
APP_BUILD_FLAGS_SWIFT = "$(APP_BUILD_FLAGS)";
APP_PRODUCT_NAME = ownCloud;
APP_SHORT_VERSION = 11.8.2;
APP_VERSION = 208;
APP_SHORT_VERSION = 11.9.0;
APP_VERSION = 211;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
Expand Down Expand Up @@ -4799,8 +4799,8 @@
APP_BUILD_FLAGS = "$(inherited)";
APP_BUILD_FLAGS_SWIFT = "$(APP_BUILD_FLAGS)";
APP_PRODUCT_NAME = ownCloud;
APP_SHORT_VERSION = 11.8.2;
APP_VERSION = 208;
APP_SHORT_VERSION = 11.9.0;
APP_VERSION = 211;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
Expand Down Expand Up @@ -4863,8 +4863,8 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
APP_SHORT_VERSION = 11.8.2;
APP_VERSION = 208;
APP_SHORT_VERSION = 11.9.0;
APP_VERSION = 211;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = ownCloud/ownCloud.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
Expand Down Expand Up @@ -4897,8 +4897,8 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
APP_SHORT_VERSION = 11.8.2;
APP_VERSION = 208;
APP_SHORT_VERSION = 11.9.0;
APP_VERSION = 211;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = ownCloud/ownCloud.entitlements;
CODE_SIGN_IDENTITY = "iPhone Developer";
Expand Down Expand Up @@ -5255,8 +5255,8 @@
isa = XCBuildConfiguration;
buildSettings = {
APPLICATION_EXTENSION_API_ONLY = YES;
APP_SHORT_VERSION = 11.8.2;
APP_VERSION = 208;
APP_SHORT_VERSION = 11.9.0;
APP_VERSION = 211;
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_DOCUMENTATION_COMMENTS = NO;
Expand Down Expand Up @@ -5299,8 +5299,8 @@
isa = XCBuildConfiguration;
buildSettings = {
APPLICATION_EXTENSION_API_ONLY = YES;
APP_SHORT_VERSION = 11.8.2;
APP_VERSION = 208;
APP_SHORT_VERSION = 11.9.0;
APP_VERSION = 211;
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_DOCUMENTATION_COMMENTS = NO;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,18 +152,6 @@
isEnabled = "NO">
</EnvironmentVariable>
</EnvironmentVariables>
<AdditionalOptions>
<AdditionalOption
key = "MallocStackLogging"
value = ""
isEnabled = "YES">
</AdditionalOption>
<AdditionalOption
key = "PrefersMallocStackLoggingLite"
value = ""
isEnabled = "YES">
</AdditionalOption>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
Expand Down
Loading