From e8bfb603d8bbe6fc8ca6a56a0edf07b151828518 Mon Sep 17 00:00:00 2001 From: nasli Date: Fri, 9 Jun 2017 13:26:26 +0200 Subject: [PATCH 1/4] Update changelog and version number --- Changelog.md | 4 ++++ OC Share Sheet/Info.plist | 2 +- Owncloud iOs Client/Owncloud iOs Client-Info.plist | 2 +- Owncloud iOs ClientTests/Owncloud iOs ClientTests-Info.plist | 2 +- ownCloudExtApp/Info.plist | 2 +- ownCloudExtAppFileProvider/Info.plist | 2 +- 6 files changed, 9 insertions(+), 5 deletions(-) diff --git a/Changelog.md b/Changelog.md index a1518fec6a..9b7e40a98a 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,3 +1,7 @@ +## 3.6.2 (June 2017) +- Support for private links +- Fix crash with public share links on iPads with iOS10 + ## 3.6.1 (June 2017) - Fix bug that restarted log-in process on two-factor authentication environments when app passcode was set diff --git a/OC Share Sheet/Info.plist b/OC Share Sheet/Info.plist index e1d1e1b3e4..baa3ccaa03 100644 --- a/OC Share Sheet/Info.plist +++ b/OC Share Sheet/Info.plist @@ -17,7 +17,7 @@ CFBundlePackageType XPC! CFBundleShortVersionString - 3.6.1 + 3.6.2 CFBundleSignature ???? CFBundleVersion diff --git a/Owncloud iOs Client/Owncloud iOs Client-Info.plist b/Owncloud iOs Client/Owncloud iOs Client-Info.plist index 4744ed4e6b..6f8e3116bd 100644 --- a/Owncloud iOs Client/Owncloud iOs Client-Info.plist +++ b/Owncloud iOs Client/Owncloud iOs Client-Info.plist @@ -61,7 +61,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 3.6.1 + 3.6.2 CFBundleSignature ???? CFBundleURLTypes diff --git a/Owncloud iOs ClientTests/Owncloud iOs ClientTests-Info.plist b/Owncloud iOs ClientTests/Owncloud iOs ClientTests-Info.plist index fbe418315b..460f7014b0 100644 --- a/Owncloud iOs ClientTests/Owncloud iOs ClientTests-Info.plist +++ b/Owncloud iOs ClientTests/Owncloud iOs ClientTests-Info.plist @@ -13,7 +13,7 @@ CFBundlePackageType BNDL CFBundleShortVersionString - 3.6.1 + 3.6.2 CFBundleSignature ???? CFBundleVersion diff --git a/ownCloudExtApp/Info.plist b/ownCloudExtApp/Info.plist index e911ca0a42..b137d719e1 100644 --- a/ownCloudExtApp/Info.plist +++ b/ownCloudExtApp/Info.plist @@ -17,7 +17,7 @@ CFBundlePackageType XPC! CFBundleShortVersionString - 3.6.1 + 3.6.2 CFBundleSignature ???? CFBundleVersion diff --git a/ownCloudExtAppFileProvider/Info.plist b/ownCloudExtAppFileProvider/Info.plist index 15f0d2910d..11a3414838 100644 --- a/ownCloudExtAppFileProvider/Info.plist +++ b/ownCloudExtAppFileProvider/Info.plist @@ -17,7 +17,7 @@ CFBundlePackageType XPC! CFBundleShortVersionString - 3.6.1 + 3.6.2 CFBundleSignature ???? CFBundleVersion From 6c61cea5a47a79859b96e456311d529528564fda Mon Sep 17 00:00:00 2001 From: nasli Date: Fri, 9 Jun 2017 13:59:45 +0200 Subject: [PATCH 2/4] Update number version --- user_manual/ios_app.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user_manual/ios_app.rst b/user_manual/ios_app.rst index 88a0fd16d7..2cfa6514d2 100644 --- a/user_manual/ios_app.rst +++ b/user_manual/ios_app.rst @@ -1,5 +1,5 @@ ========================== -Using the ownCloud iOS App 3.6.1 +Using the ownCloud iOS App 3.6.2 ========================== Accessing your files on your ownCloud server via the Web interface is easy and From e47b6af3e5440794aca8c22f0aa45bc4bac80c6d Mon Sep 17 00:00:00 2001 From: nasli Date: Fri, 9 Jun 2017 15:17:15 +0200 Subject: [PATCH 3/4] Fix encoding in password update --- .../Tabs/FileTab/Share/ShareFileOrFolder.m | 2 -- Owncloud iOs Client/Utils/ShareUtils.h | 2 -- Owncloud iOs Client/Utils/ShareUtils.m | 8 -------- 3 files changed, 12 deletions(-) diff --git a/Owncloud iOs Client/Tabs/FileTab/Share/ShareFileOrFolder.m b/Owncloud iOs Client/Tabs/FileTab/Share/ShareFileOrFolder.m index a1e6225af7..d0c493da13 100644 --- a/Owncloud iOs Client/Tabs/FileTab/Share/ShareFileOrFolder.m +++ b/Owncloud iOs Client/Tabs/FileTab/Share/ShareFileOrFolder.m @@ -120,8 +120,6 @@ - (void) doRequestUpdateShareLink:(OCSharedDto *)ocShare withPassword:(NSString* } [[AppDelegate sharedOCCommunication] setUserAgent:[UtilsUrls getUserAgent]]; - - password = [ShareUtils getPasswordEncodingWithPassword:password]; [[AppDelegate sharedOCCommunication] updateShare:ocShare.idRemoteShared ofServerPath:[UtilsUrls getFullRemoteServerPath:app.activeUser] withPasswordProtect:password andExpirationTime:expirationTime andPublicUpload:publicUpload andLinkName:linkName onCommunication:[AppDelegate sharedOCCommunication] successRequest:^(NSHTTPURLResponse *response, NSData *responseData, NSString *redirectedServer) { diff --git a/Owncloud iOs Client/Utils/ShareUtils.h b/Owncloud iOs Client/Utils/ShareUtils.h index db6c7c3875..427e1b7112 100644 --- a/Owncloud iOs Client/Utils/ShareUtils.h +++ b/Owncloud iOs Client/Utils/ShareUtils.h @@ -26,8 +26,6 @@ + (NSURL *) getNormalizedURLOfShareLink:(NSString *) url; -+ (NSString *) getPasswordEncodingWithPassword:(NSString *)password; - #pragma mark - capabilities checks diff --git a/Owncloud iOs Client/Utils/ShareUtils.m b/Owncloud iOs Client/Utils/ShareUtils.m index 684a478344..3e91e24fd3 100644 --- a/Owncloud iOs Client/Utils/ShareUtils.m +++ b/Owncloud iOs Client/Utils/ShareUtils.m @@ -72,14 +72,6 @@ + (NSURL *) getNormalizedURLOfShareLink:(OCSharedDto *)sharedLink { return [NSURL URLWithString:url]; } -+ (NSString *) getPasswordEncodingWithPassword:(NSString *)password { - - NSString *encodePassword = [password stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet characterSetWithCharactersInString:@"!*'();:@&=+$,/?%#[]"]]; - - return encodePassword; - -} - #pragma mark - capabilities checks From f9032f7fcd182f9b81e9f62ecd8f8f9d15cc40cb Mon Sep 17 00:00:00 2001 From: nasli Date: Mon, 12 Jun 2017 15:16:37 +0200 Subject: [PATCH 4/4] Update changelog --- Changelog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Changelog.md b/Changelog.md index 9b7e40a98a..e64f8a404a 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,6 +1,6 @@ ## 3.6.2 (June 2017) - Support for private links -- Fix crash with public share links on iPads with iOS10 +- Fix crash in public share links on iPads with iOS10 ## 3.6.1 (June 2017) - Fix bug that restarted log-in process on two-factor authentication environments when app passcode was set