-
Notifications
You must be signed in to change notification settings - Fork 156
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
Add alias links to web UI #7133
Conversation
c02184a
to
97f529e
Compare
This does now work on the link-creator side, but I run into problems when trying to open the (permissionless) link - I'd expect it to render the login form, but it shows an error page (with a 401 when listing drives) |
97f529e
to
7c33803
Compare
@pascalwengerter I took the liberty of rebasing this PR, as the public link resolving has changed in the web runtime today (see #7072 for reference). However, whenever I want to create an internal link I get |
Did some investigation now and can confirm it doesn't work - I thought we had implemented the necessary changes in the SDK already, but getting an |
7c33803
to
1c22ebd
Compare
Turns out sending a |
Ideally we also get an E2E test for alias links in oCIS to make sure they don't break unnoticed in the near future |
1c22ebd
to
261e462
Compare
This PR handles creating internal / permissionless links, that works with updated ocis/reva as you mentioned. Respective commit id has been bumped in web already, so a rebase was sufficient. But: resolving an internal link is not handled in the public link resolve page. I'd like to merge this PR but flip the default of the capability to internal links being disabled, until we implement resolving internal links in a separate PR. Do you agree @pascalwengerter ? |
Please do push to this PR as you deem necessary, I don't have any preference on how to proceed here ;) |
261e462
to
2c2014d
Compare
I rebased and updated the PR to go along with current master. No idea why the condition coverage does not cover Besides that, this should be ready for review. LGTM to me, although I'm not too invested in the topic. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some nitpicks (see comments). Also: please update the ocis commit id in .drone.env
to one after the alias capability value has changed in ocis.
packages/web-app-files/src/components/SideBar/Shares/FileLinks.vue
Outdated
Show resolved
Hide resolved
Arghs I forgot the |
d9eb76b
to
7743ee2
Compare
7743ee2
to
551cde7
Compare
551cde7
to
f3a1f64
Compare
Kudos, SonarCloud Quality Gate passed! |
Description
Cleaning up my local git stash and came across this draft. Needs concepting how to properly turn this into an oCIS-only feature.Update: alias-link capability has landed in oCISRelated Issue