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
Contributor

@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
@JammingBen JammingBen force-pushed the resolve-alias-links branch from 171f09e to b9d4aec Compare August 16, 2022 08:39
@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
Contributor 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.

@JammingBen JammingBen requested a review from kulmann August 17, 2022 10:01
@JammingBen JammingBen force-pushed the resolve-alias-links branch from 2a36a1d to 557fbf1 Compare August 22, 2022 12:27
@JammingBen JammingBen force-pushed the resolve-alias-links branch from 557fbf1 to d78ed98 Compare August 23, 2022 09:27
@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

@JammingBen JammingBen requested a review from kulmann August 24, 2022 09:34
@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