Add Group Folders app support (#109) - #118
Merged
Merged
Conversation
New groupfolders package with a GroupFolders connector (create/rename/delete/ list folders, grant/revoke group access, set group permissions, set quota), wired into NextcloudConnector. Reimplemented against the current Jakarta-based code, based on the implementation in Denis Verkhovsky's fork. The test container now installs the groupfolders app, and TestGroupFolders exercises the full lifecycle. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The create response returns the full folder object (not just the id), and the list response is an id-keyed object. Reuse the lenient GroupFolderInfo for the create answer and let Jackson map the list natively (the empty-array handling on the shared mapper makes the custom deserializer unnecessary). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements #109: support for the Group Folders app.
What is added
org.aarboard.nextcloud.api.groupfolderspackage with aGroupFoldersconnector: create / rename / delete / list group folders, grant / revoke group access, set group permissions, and set the folder quota (sync + async variants).NextcloudConnectorfacade methods for the common operations.EmptyAnswerParserutil for the no-body endpoints.Notes
getQuota()returns raw bytes (and preserves the-3unlimited sentinel) rather than the fork's GB division, which lost that value.Testing
groupfoldersapp via occ.TestGroupFoldersexercises the full lifecycle (create -> list -> rename -> grant -> permissions -> quota -> revoke -> delete).Closes #109
🤖 Generated with Claude Code