Skip to content

Commit

Permalink
[milestone/11.11.1] Milestone 11.11.1 (#1170)
Browse files Browse the repository at this point in the history
* prepared new version 11.11.1

* [fix/markup-ios16-crash2] Markup Mode on iOS 16 (#1167)

* added changelog and fastlane release notes

* Calens changelog updated

Co-authored-by: Matthias Hühne <>
Co-authored-by: hosy <[email protected]>
  • Loading branch information
hosy and hosy committed Oct 30, 2022
1 parent 12dd42c commit 58fd75c
Show file tree
Hide file tree
Showing 8 changed files with 54 additions and 46 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
Changelog for ownCloud iOS Client [11.11.1] (2022-10-30)
=======================================
The following sections list the changes in ownCloud iOS Client 11.11.1 relevant to
ownCloud admins and users.

[11.11.1]: https://github.com/owncloud/ios-app/compare/milestone/11.11.0...milestone/11.11.1

Summary
-------

* Bugfix - Enabling Markup Mode: [#1141](https://github.com/owncloud/ios-app/issues/1141)

Details
-------

* Bugfix - Enabling Markup Mode: [#1141](https://github.com/owncloud/ios-app/issues/1141)

Enabling markup mode crashed on iOS 16.

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

Changelog for ownCloud iOS Client [11.11.0] (2022-09-26)
=======================================
The following sections list the changes in ownCloud iOS Client 11.11.0 relevant to
Expand Down
5 changes: 5 additions & 0 deletions changelog/11.11.1_2022-10-30/1141
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Bugfix: Enabling Markup Mode

Enabling markup mode crashed on iOS 16.

https://github.com/owncloud/ios-app/issues/1141
12 changes: 0 additions & 12 deletions fastlane/metadata-emm/en-US/release_notes.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
• New Dark Mode Themes
Two new dark mode themes are available.

• iOS 16: Markup Mode
Markup mode was not enabled automatically on iOS 16.

• iOS 16: Video Player
Video player controls were not showing on iOS 16.

• Video Player
Metadata image could overlay the video player canvas.

• Passcode Interval
The passcode lock interval was not taken into use in the share extension.

12 changes: 0 additions & 12 deletions fastlane/metadata-owncloud-online/en-US/release_notes.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
• New Dark Mode Themes
Two new dark mode themes are available.

• iOS 16: Markup Mode
Markup mode was not enabled automatically on iOS 16.

• iOS 16: Video Player
Video player controls were not showing on iOS 16.

• Video Player
Metadata image could overlay the video player canvas.

• Passcode Interval
The passcode lock interval was not taken into use in the share extension.

12 changes: 0 additions & 12 deletions fastlane/metadata/en-US/release_notes.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
• New Dark Mode Themes
Two new dark mode themes are available.

• iOS 16: Markup Mode
Markup mode was not enabled automatically on iOS 16.

• iOS 16: Video Player
Video player controls were not showing on iOS 16.

• Video Player
Metadata image could overlay the video player canvas.

• Passcode Interval
The passcode lock interval was not taken into use in the share extension.

8 changes: 4 additions & 4 deletions ownCloud.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -4686,8 +4686,8 @@
APP_BUILD_FLAGS = "$(inherited)";
APP_BUILD_FLAGS_SWIFT = "$(APP_BUILD_FLAGS)";
APP_PRODUCT_NAME = ownCloud;
APP_SHORT_VERSION = 11.11.0;
APP_VERSION = 229;
APP_SHORT_VERSION = 11.11.1;
APP_VERSION = 230;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
Expand Down Expand Up @@ -4755,8 +4755,8 @@
APP_BUILD_FLAGS = "$(inherited)";
APP_BUILD_FLAGS_SWIFT = "$(APP_BUILD_FLAGS)";
APP_PRODUCT_NAME = ownCloud;
APP_SHORT_VERSION = 11.11.0;
APP_VERSION = 229;
APP_SHORT_VERSION = 11.11.1;
APP_VERSION = 230;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
Expand Down
13 changes: 7 additions & 6 deletions ownCloud/Client/Actions/EditDocumentViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -124,21 +124,22 @@ class EditDocumentViewController: QLPreviewController, Themeable {
}

@objc func enableEditingMode() {
// Activate editing mode by performing the action on pencil icon. Unfortunately that's the only way to do it apparently
// Activate editing mode by performing the action on pencil icon. Unfortunately that's the only way to do it apparently
if #available(iOS 16.0, *) {
if self.navigationItem.rightBarButtonItems?.count ?? 0 > 3 {
if self.navigationItem.rightBarButtonItems?.count ?? 0 > 0 {
guard let markupButton = self.navigationItem.rightBarButtonItems?[0] else { return }
_ = markupButton.target?.perform(markupButton.action, with: markupButton)
} else if self.toolbarItems?.count ?? 0 > 4 {
}
else if self.toolbarItems?.count ?? 0 > 4 {
guard let markupButton = self.toolbarItems?[4] else { return }
_ = markupButton.target?.perform(markupButton.action, with: markupButton)
} else if self.toolbarItems?.count ?? 0 < 4 {
} else if self.toolbarItems?.count ?? 0 > 1, self.toolbarItems?.count ?? 0 < 4 {
guard let markupButton = self.toolbarItems?[2] else { return }
_ = markupButton.target?.perform(markupButton.action, with: markupButton)
}
} else if #available(iOS 15.0, *) {
if self.navigationItem.rightBarButtonItems?.count ?? 0 > 2 {
guard let markupButton = self.navigationItem.rightBarButtonItems?[1] else { return }
if self.navigationItem.rightBarButtonItems?.count ?? 0 > 2 {
guard let markupButton = self.navigationItem.rightBarButtonItems?[1] else { return }
_ = markupButton.target?.perform(markupButton.action, with: markupButton)
} else if UIDevice.current.isIpad, self.navigationItem.rightBarButtonItems?.count ?? 0 == 2 {
guard let markupButton = self.navigationItem.rightBarButtonItems?[1] else { return }
Expand Down
17 changes: 17 additions & 0 deletions ownCloud/Release Notes/ReleaseNotes.plist
Original file line number Diff line number Diff line change
Expand Up @@ -1687,6 +1687,23 @@ Added an optional &quot;Wait for completion&quot; option to the &quot;Save File&
</dict>
</array>
</dict>
<dict>
<key>Version</key>
<string>11.11.1</string>
<key>ReleaseNotes</key>
<array>
<dict>
<key>Title</key>
<string>iOS 16: Markup Mode</string>
<key>Subtitle</key>
<string>Markup mode was not enabled automatically on iOS 16.</string>
<key>Type</key>
<string>Fix</string>
<key>ImageName</key>
<string>wrench</string>
</dict>
</array>
</dict>
</array>
</dict>
</plist>

0 comments on commit 58fd75c

Please sign in to comment.