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

[full-ci] Resolve alias links #7405

Merged
merged 5 commits into from
Oct 11, 2022
Merged

[full-ci] Resolve alias links #7405

merged 5 commits into from
Oct 11, 2022

Conversation

JammingBen
Copy link
Collaborator

@JammingBen JammingBen commented Aug 4, 2022

Description

Needs the alias link capability to be set to true in ocis. See owncloud/ocis#4324 (needs to be reverted after merge).

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

Open tasks:

@JammingBen JammingBen self-assigned this Aug 4, 2022
@ownclouders
Copy link
Contributor

ownclouders commented Aug 4, 2022

@JammingBen JammingBen changed the title [WIP] Resolve alias links [fill-ci] [WIP] Resolve alias links Aug 16, 2022
@JammingBen JammingBen changed the title [fill-ci] [WIP] Resolve alias links [full-ci] [WIP] Resolve alias links Aug 16, 2022
@owncloud owncloud deleted a comment from update-docs bot Aug 16, 2022
@JammingBen JammingBen marked this pull request as ready for review August 16, 2022 10:59
@AlexAndBear AlexAndBear changed the title [full-ci] [WIP] Resolve alias links [full-ci] Resolve alias links Aug 16, 2022
@JammingBen
Copy link
Collaborator Author

I've fixed the issue with resolving single files. However, currently there is no way to retrieve the file name in such case, so the IDs get used:

image

Backend team is aware and working on it. I don't know if it needs further adjustments in Web (probably yes), but IMO the PR is fine as alias links are disabled by default anyways.

@sonarcloud
Copy link

sonarcloud bot commented Aug 24, 2022

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

23.5% 23.5% Coverage
0.0% 0.0% Duplication

@kulmann
Copy link
Member

kulmann commented Aug 29, 2022

Currently blocked until cs3org/reva#3179 has been brought to ocis

@@ -571,6 +554,25 @@ export default defineComponent({
status: 'danger'
})
})
},

getAvailableRoleOptions(link) {
Copy link
Member

Choose a reason for hiding this comment

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

Can you add a type to link?

packages/web-app-files/src/helpers/resources.ts Outdated Show resolved Hide resolved
packages/web-runtime/src/pages/resolvePublicLink.vue Outdated Show resolved Hide resolved
packages/web-runtime/src/pages/resolvePublicLink.vue Outdated Show resolved Hide resolved
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.

LGTM 👍

packages/web-app-files/src/helpers/resources.ts Outdated Show resolved Hide resolved
@sonarcloud
Copy link

sonarcloud bot commented Oct 11, 2022

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

25.8% 25.8% Coverage
0.0% 0.0% Duplication

@JammingBen JammingBen merged commit 70d694d into master Oct 11, 2022
@delete-merged-branch delete-merged-branch bot deleted the resolve-alias-links branch October 11, 2022 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants