Skip to content

[stable30] Disable attachment upload on federated shares - #7235

Merged
max-nextcloud merged 3 commits into
stable30from
backport/7183/stable30
May 20, 2025
Merged

[stable30] Disable attachment upload on federated shares#7235
max-nextcloud merged 3 commits into
stable30from
backport/7183/stable30

Conversation

@backportbot

Copy link
Copy Markdown

Backport of PR #7183

@backportbot
backportbotBot requested a review from max-nextcloudMay 19, 2025 07:17
@backportbotbackportbotBot added this to the Nextcloud 30.0.12 milestone May 19, 2025
@mejo-mejo- changed the title [stable30] [stable31] Disable attachment upload on federated shares[stable30] Disable attachment upload on federated sharesMay 19, 2025
@mejo-
mejo-force-pushed the backport/7183/stable30 branch from 236af19 to 4732e32CompareMay 19, 2025 10:26
@mejo-

Copy link
Copy Markdown
Member

@max-nextcloud it seems like the node test are failing because stable30 was not ported to vitest yet.

@max-nextcloud

Copy link
Copy Markdown
Collaborator

it seems like the node test are failing because stable30 was not ported to vitest yet.

That makes sense - let's dump the tests then. This was helpful for development and to prevent regressions. But any new code that passes these tests on stable31 is very unlikely to break this when backported.

Files without an owner such as federated shares
cannot receive attachments
as the attachment would need to be stored in the owners user folder.
Signed-off-by: Max <max@nextcloud.com>
Signed-off-by: Max <max@nextcloud.com>
Signed-off-by: Max <max@nextcloud.com>
@max-nextcloud
max-nextcloudforce-pushed the backport/7183/stable30 branch from 4732e32 to 664edb8CompareMay 20, 2025 10:11
@codecov

codecovBot commented May 20, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 53.68%. Comparing base (ad0a087) to head (664edb8).
Report is 4 commits behind head on stable30.

Additional details and impacted files
@@ Coverage Diff @@## stable30 #7235 +/- ##
=========================================
Coverage 53.68% 53.68% =========================================
Files 116 116 Lines 2578 2578 Branches 527 527 =========================================
Hits 1384 1384 Misses 1066 1066 Partials 128 128 

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@max-nextcloud
max-nextcloud merged commit a023795 into stable30May 20, 2025
@max-nextcloud
max-nextcloud deleted the backport/7183/stable30 branch May 20, 2025 14:25
@nextcloud-botnextcloud-bot mentioned this pull request Jun 4, 2025
11 tasks
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@mejo-@max-nextcloud