You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The change to apps/sharing/lib/Capabilities.php is an internal dependency-injection refactor only:
use OCP\Server; / use OCP\Share\IManager; replaced by use NCU\Sharing\ISharingManager;
Constructor now injects ISharingManager $manager instead of resolving IManager via Server::get()
getCapabilities() now calls $this->manager->isApiEnabled() instead of Server::get(IManager::class)->shareApiEnabled()
No keys, structure, or values of the public capabilities JSON response are affected. This is a state-only update: no Swift model, coding keys, or test changes were needed.
Automation/capability-sync-state.json revision advanced from 13ae34a4cd8ab2cfb4fc0215c2f99b3d7faf180c to 0661f778d87e6ae55175db7ee1063a8d944be105.
Validation
swift test — all tests passed
swiftformat . --lint — no formatting issues
Generated by Capability sync · auto · 19.3 AIC · ⌖ 2.7 AIC · ⊞ 6.2K · ◷
Note
This was originally intended as a pull request, but GitHub Actions is not permitted to create or approve pull requests in this repository.
The changes have been pushed to branch automation/capability-sync/13ae34a4-0661f778-121ebb63ca783317.
To fix the permissions issue, go to Settings → Actions → General and enable Allow GitHub Actions to create and approve pull requests. See also: gh-aw FAQ
Show patch (36 lines)
From 310df15da828cb4b6e48b6435b6ba90f357a756c Mon Sep 17 00:00:00 2001
X-GH-AW-Base-Commit: 60e1bfaa87e217649eb58536273d776b215eea16
From: "github-actions[bot]" <github-actions[bot]@users.noreply.github.com>
Date: Wed, 26 Aug 2026 10:43:20 +0000
Subject: [PATCH] feat: sync Nextcloud capabilities: advance state, no public
contract change
Upstream apps/sharing/lib/Capabilities.php was modified between
13ae34a4cd8ab2cfb4fc0215c2f99b3d7faf180c and
0661f778d87e6ae55175db7ee1063a8d944be105, but the change is an internal
dependency-injection refactor (constructor-injected ISharingManager
replacing Server::get(IManager::class)) with no effect on the public
capabilities JSON response. State-only update.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---
Automation/capability-sync-state.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Automation/capability-sync-state.json b/Automation/capability-sync-state.json
index 049e4ec..a8d96d4 100644
--- a/Automation/capability-sync-state.json+++ b/Automation/capability-sync-state.json@@ -4,7 +4,7 @@
"schemaVersion": 1,
"upstreams": {
"nextcloud/server": {
- "revision": "13ae34a4cd8ab2cfb4fc0215c2f99b3d7faf180c"+ "revision": "0661f778d87e6ae55175db7ee1063a8d944be105"
}
}
}
--
2.54.0
Summary
Synchronized capability-sync state with upstream
nextcloud/server.Upstream comparison: nextcloud/server@13ae34a...0661f77
Changed capability sources detected
apps/sharing/lib/Capabilities.phpAnalysis
The change to
apps/sharing/lib/Capabilities.phpis an internal dependency-injection refactor only:use OCP\Server;/use OCP\Share\IManager;replaced byuse NCU\Sharing\ISharingManager;ISharingManager $managerinstead of resolvingIManagerviaServer::get()getCapabilities()now calls$this->manager->isApiEnabled()instead ofServer::get(IManager::class)->shareApiEnabled()No keys, structure, or values of the public capabilities JSON response are affected. This is a state-only update: no Swift model, coding keys, or test changes were needed.
Automation/capability-sync-state.jsonrevision advanced from13ae34a4cd8ab2cfb4fc0215c2f99b3d7faf180cto0661f778d87e6ae55175db7ee1063a8d944be105.Validation
swift test— all tests passedswiftformat . --lint— no formatting issuesNote
This was originally intended as a pull request, but GitHub Actions is not permitted to create or approve pull requests in this repository.
The changes have been pushed to branch
automation/capability-sync/13ae34a4-0661f778-121ebb63ca783317.Click here to create the pull request
To fix the permissions issue, go to Settings → Actions → General and enable Allow GitHub Actions to create and approve pull requests. See also: gh-aw FAQ
Show patch (36 lines)