Skip to content

feat: automatically create a teamfolder upon team creation - #2675

Merged
stediefan merged 6 commits into
nextcloud:masterfrom
Dataport:feature/teams-auto-folder-creation
Aug 7, 2026
Merged

feat: automatically create a teamfolder upon team creation#2675
stediefan merged 6 commits into
nextcloud:masterfrom
Dataport:feature/teams-auto-folder-creation

Conversation

@stediefan

@stediefan stediefan commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

feat: introduce a function to upgrade existing teams to include the special teamfolder
feat: add settings page to configure a default quota for new teamfolders

Assisted by: GitHub Copilot:Claude Sonnet 5
Assisted by: GitHub Copilot:GPT-5.6 Terra
Assisted by: GitHub Copilot:Kimi K2.7 Code

Summary

This is a aggregated feature that integrates teams with teamfolders. The teams feature aims to provide a space for team owned apps. This provides the base as the linked groupfolder is the proposed solution.

TODO

Checklist

  • Code is properly formatted
  • Sign-off message is added to all commits
  • Tests (unit, integration, api and/or acceptance) are included
  • Screenshots before/after for front-end changes
    The newly introduced feature to set a default Quota for the auto created folders:
Groupfolder Quota Setting The view for teams with a linked folder: Team-Folderview
  • Documentation (manuals or wiki) has been updated or is not required
    see todo
  • Backports requested where applicable (ex: critical bugfixes)
    no
  • Labels added where applicable (ex: bug/enhancement, 3. to review, feature component)
  • Milestone added for target branch/version (ex: 32.x for stable32)

AI (if applicable)

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

@codecov

codecov Bot commented Jul 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Comment thread lib/Controller/TeamFolderController.php Outdated
@alimmroth alimmroth moved this from Backlog to In review in 👥 Teams Jul 27, 2026
@marcoambrosini
marcoambrosini requested a review from artonge July 27, 2026 08:10
@stediefan
stediefan force-pushed the feature/teams-auto-folder-creation branch from a52e6da to 6ab835a Compare July 27, 2026 08:20
Comment thread lib/Controller/TeamFolderController.php Outdated
Comment thread lib/Db/CoreQueryBuilder.php Outdated
Comment thread lib/Db/CoreQueryBuilder.php Outdated
Comment thread lib/Listeners/TeamFolderLifecycleListener.php Outdated
Comment thread lib/Service/TeamFolderPolicy.php Outdated
Comment thread lib/Service/TeamFolderService.php Outdated
Comment thread src/teams/components/TeamFolderWidget.vue Outdated
Comment thread src/components/AdminTeamFolders.vue Outdated
Comment thread lib/Service/ITeamFolderPolicy.php Outdated
Comment thread lib/Migration/Version3500Date20260721000001.php Outdated
Comment thread appinfo/info.xml Outdated
Comment thread lib/Migration/Version3500Date20260721000001.php Outdated
@stediefan
stediefan force-pushed the feature/teams-auto-folder-creation branch from 89ca67a to f59ade1 Compare August 5, 2026 09:18
feat: introduce a function to upgrade existing teams to include the special teamfolder
feat: add settings page to configure a default quota for new teamfolders

Assisted by: GitHub Copilot:Claude Sonnet 5
Assisted by: GitHub Copilot:GPT-5.6 Terra
Assisted by: GitHub Copilot:Kimi K2.7 Code
Signed-off-by: Stefan Dietrich <5716289+stediefan@users.noreply.github.com>
Signed-off-by: Stefan Dietrich <5716289+stediefan@users.noreply.github.com>
Signed-off-by: Stefan Dietrich <5716289+stediefan@users.noreply.github.com>
@stediefan
stediefan force-pushed the feature/teams-auto-folder-creation branch from f59ade1 to 9aa8efe Compare August 5, 2026 09:56

@cristianscheid cristianscheid left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

overall the pr looks good to me (focused more on reviewing the backend part, which is the part I'm more familiar with)

left two comments (non-blocking in my opinion)

Comment thread lib/Controller/TeamFolderController.php Outdated
Comment thread lib/Controller/TeamFolderController.php Outdated
@cristianscheid

Copy link
Copy Markdown
Member

@stediefan npm lint errors are related to this PR's changes, could you please fix them? should be able to do so by running npm run lint from inside circles app folder

@stediefan
stediefan force-pushed the feature/teams-auto-folder-creation branch from 9aa8efe to e7d8838 Compare August 7, 2026 05:22
Co-authored-by: Copilot <copilot@github.com>
Signed-off-by: Stefan Dietrich <5716289+stediefan@users.noreply.github.com>
@stediefan
stediefan force-pushed the feature/teams-auto-folder-creation branch from e7d8838 to 155890f Compare August 7, 2026 05:30
Signed-off-by: Stefan Dietrich <5716289+stediefan@users.noreply.github.com>
@stediefan
stediefan enabled auto-merge (squash) August 7, 2026 05:39
@stediefan
stediefan merged commit 119a86b into nextcloud:master Aug 7, 2026
43 of 45 checks passed
@github-project-automation github-project-automation Bot moved this from In review to Done in 👥 Teams Aug 7, 2026
@stediefan
stediefan deleted the feature/teams-auto-folder-creation branch August 7, 2026 05:44
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.

Create team-folder when creating a team

5 participants