Skip to content

Commit

Permalink
Merge branch 'master' into fix/a11y
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-schwarz authored May 27, 2024
2 parents 123edd4 + 8b0772e commit 154809d
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 2 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Table of Contents

* [Changelog for 12.2.1](#changelog-for-owncloud-ios-client-1221-2024-04-30)
* [Changelog for 12.2.0](#changelog-for-owncloud-ios-client-1220-2024-04-23)
* [Changelog for 12.1.0](#changelog-for-owncloud-ios-client-1210-2024-01-29)
* [Changelog for 12.0.3](#changelog-for-owncloud-ios-client-1203-2023-08-31)
Expand All @@ -23,6 +24,25 @@
* [Changelog for 11.5.1](#changelog-for-owncloud-ios-client-1151-2021-02-17)
* [Changelog for 11.5.0](#changelog-for-owncloud-ios-client-1150-2021-02-10)
* [Changelog for 11.4.5 versions and below](#changelog-for-1145-versions-and-below)
# Changelog for ownCloud iOS Client [12.2.1] (2024-04-30)
The following sections list the changes in ownCloud iOS Client 12.2.1 relevant to
ownCloud admins and users.

[12.2.1]: https://github.com/owncloud/ios-app/compare/milestone/12.2.0...milestone/12.2.1

## Summary

* Bugfix - Detect attempts to bypass a lock timeout by changing the clock: [#1347](https://github.com/owncloud/ios-app/pull/1347)

## Details

* Bugfix - Detect attempts to bypass a lock timeout by changing the clock: [#1347](https://github.com/owncloud/ios-app/pull/1347)

- detect attempts to bypass a lock timeout by changing the clock - code
cleanups/modernizations of `AppLockManager` - supersedes #1324

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

# Changelog for ownCloud iOS Client [12.2.0] (2024-04-23)
The following sections list the changes in ownCloud iOS Client 12.2.0 relevant to
ownCloud admins and users.
Expand Down
2 changes: 1 addition & 1 deletion changelog/12.2.1_2024-04-30/1347
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Fix: Detect attempts to bypass a lock timeout by changing the clock
Bugfix: Detect attempts to bypass a lock timeout by changing the clock

- detect attempts to bypass a lock timeout by changing the clock
- code cleanups/modernizations of `AppLockManager`
Expand Down
2 changes: 1 addition & 1 deletion ios-sdk
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ class CollaborateAction: Action {
// MARK: - Extension matching
override class func applicablePosition(forContext: ActionContext) -> ActionPosition {
if forContext.items.count == 1, let core = forContext.core, core.connectionStatus == .online, core.connection.capabilities?.sharingAPIEnabled == 1, let item = forContext.items.first, item.isShareable {
if let driveID = item.driveID, driveID == OCDriveIDSharesJail {
// Disable re-sharing by not allowing to share items located in the Shares Jail (https://github.com/owncloud/ios-app/issues/1353)
return .none
}
return .first
}

Expand Down
2 changes: 2 additions & 0 deletions ownCloud/Licensing/Offers/LicenseOfferButton.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class LicenseOfferButton: ThemeButton {
self.translatesAutoresizingMaskIntoConstraints = false
self.setContentCompressionResistancePriority(.required, for: .horizontal)
self.setContentCompressionResistancePriority(.required, for: .vertical)
self.configuration = .filled()
self.buttonFont = UIFont.systemFont(ofSize: UIFont.labelFontSize)
self.buttonVerticalPadding = -5
self.buttonHorizontalPadding = 23
Expand All @@ -49,6 +50,7 @@ class LicenseOfferButton: ThemeButton {
super.init(frame: .zero)

self.translatesAutoresizingMaskIntoConstraints = false
self.configuration = .filled()
self.buttonFont = UIFont.systemFont(ofSize: UIFont.labelFontSize)

self.buttonVerticalPadding = 15
Expand Down

0 comments on commit 154809d

Please sign in to comment.