Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: private link error messages and resolving hidden shares #10321

Merged
merged 4 commits into from Jan 23, 2024

Conversation

JammingBen
Copy link
Collaborator

@JammingBen JammingBen commented Jan 11, 2024

Description

Fixes wrong and/or missing error messages when resolving private links as well as resolving into hidden shares. See the 2 commits for an easier understanding of the changes.

The error messaging for unaccepted (now "unsynced") shares assumed that there is a resource, which is not the case. Therefore we can't distinguish between file or folder anymore, which is okay IMO since unsynced shares will be accessible in the near future. That means these code paths will be removed soon.

Related Issue

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests
  • Documentation
  • Maintenance (e.g. dependency updates or tooling)

@JammingBen JammingBen self-assigned this Jan 11, 2024
@JammingBen JammingBen force-pushed the fix-private-link-error-messages branch 2 times, most recently from b4b8d5f to ac2b08d Compare January 11, 2024 13:16
@JammingBen JammingBen marked this pull request as ready for review January 11, 2024 13:57
@JammingBen JammingBen added the Status:Needs-Review Needs review from a maintainer label Jan 11, 2024
@JammingBen JammingBen force-pushed the fix-private-link-error-messages branch 2 times, most recently from f529152 to 2427233 Compare January 16, 2024 08:31
@JammingBen JammingBen force-pushed the fix-private-link-error-messages branch from f07d5af to f8e5cf0 Compare January 22, 2024 08:38
@JammingBen JammingBen force-pushed the fix-private-link-error-messages branch from f8e5cf0 to dbb5729 Compare January 22, 2024 10:37
Copy link

sonarcloud bot commented Jan 22, 2024

Quality Gate Passed Quality Gate passed

The SonarCloud Quality Gate passed, but some issues were introduced.

2 New issues
0 Security Hotspots
87.1% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link
Member

@kulmann kulmann left a comment

Choose a reason for hiding this comment

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

👍

@kulmann kulmann merged commit 267f958 into stable-8.0 Jan 23, 2024
3 checks passed
@delete-merged-branch delete-merged-branch bot deleted the fix-private-link-error-messages branch January 23, 2024 13:06
ownclouders pushed a commit that referenced this pull request Jan 24, 2024
fix: private link error messages and resolving hidden shares
ownclouders pushed a commit that referenced this pull request Jan 25, 2024
fix: private link error messages and resolving hidden shares
ownclouders pushed a commit that referenced this pull request Jan 26, 2024
fix: private link error messages and resolving hidden shares
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status:Needs-Review Needs review from a maintainer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants