Skip to content

feat(Teams): Add quota management to TeamFolder and ITeamFolderProvider - #63958

Merged
artonge merged 1 commit into
masterfrom
feature/moveTeamFolder_into_adminsettings
Sep 2, 2026
Merged

artonge merged 1 commit into
masterfrom
feature/moveTeamFolder_into_adminsettings

Conversation

@tomek2k1

@tomek2k1 tomek2k1 commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Summary

Add storage quota support to the TeamFolder public API.

Changes

  • Add an optional quota property to TeamFolder
  • Expose the quota through getQuota()
  • Include the quota in the serialized TeamFolder response
  • Extend ITeamFolderProvider with methods to create and update team folder quotas
  • Represent quotas in bytes, with 0 meaning unlimited
  • Use null when the active provider does not expose quota information

TODO

  • ...

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

@tomek2k1
tomek2k1 requested a review from a team as a code owner September 2, 2026 13:51
@tomek2k1
tomek2k1 requested review from Altahrim, come-nc, icewind1991 and sorbaugh and removed request for a team September 2, 2026 13:51
@tomek2k1 tomek2k1 added this to the Nextcloud 35 milestone Sep 2, 2026
@github-project-automation github-project-automation Bot moved this to Backlog in 👥 Teams Sep 2, 2026
@tomek2k1 tomek2k1 moved this from Backlog to In review in 👥 Teams Sep 2, 2026
@tomek2k1 tomek2k1 added 3. to review Waiting for reviews enhancement feature: teams Related to Teams or circles labels Sep 2, 2026
@tomek2k1 tomek2k1 self-assigned this Sep 2, 2026
@tomek2k1
tomek2k1 enabled auto-merge September 2, 2026 13:52
@tomek2k1
tomek2k1 requested a review from artonge September 2, 2026 13:56
@tomek2k1

tomek2k1 commented Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

@artonge @cristianscheid Could you guys aprove this one. Had to close #63651 because of failing checks on a fork.

@tomek2k1

tomek2k1 commented Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

/backport to stable35

@artonge
artonge disabled auto-merge September 2, 2026 14:48
Signed-off-by: Fin Clausen <Fin.Clausen@dataport.de>
Co-authored-by: Tomasz Trillo <tomasz.trillo@dataport.de>
@artonge
artonge force-pushed the feature/moveTeamFolder_into_adminsettings branch from 0dd5cb2 to 5feab5e Compare September 2, 2026 14:49
@susnux

susnux commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

@artonge was this planned to backport this feature to 35?

@artonge

artonge commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

@artonge was this planned to backport this feature to 35?

Yes

@artonge

artonge commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

CI failures unrelated

@artonge
artonge merged commit 2bd30c3 into master Sep 2, 2026
213 of 265 checks passed
@artonge
artonge deleted the feature/moveTeamFolder_into_adminsettings branch September 2, 2026 19:25
@github-project-automation github-project-automation Bot moved this from In review to Done in 👥 Teams Sep 2, 2026
@backportbot

backportbot Bot commented Sep 2, 2026

Copy link
Copy Markdown

The backport to stable35 failed. Please do this backport manually.

# Switch to the target branch and update it
git checkout stable35
git pull origin stable35

# Create the new backport branch
git checkout -b backport/63958/stable35

# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick 5feab5e2

# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/63958/stable35

Error: Failed to clone repository: Failed to create working tree: error: RPC failed; HTTP 401 curl 22 The requested URL returned error: 401
fatal: expected flush after ref listing


Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@github-actions

Copy link
Copy Markdown
Contributor

Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!

(If you believe you should not receive this message, you can add yourself to the blocklist.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants