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

Reply to share actions with full path #2177

Merged
merged 4 commits into from
Oct 26, 2021
Merged

Conversation

diocas
Copy link
Contributor

@diocas diocas commented Oct 14, 2021

When accessing "shared with others" or when accepting a share in "shared with me" (from the web), the replies all come without the full path, which we need to properly redirect the user.

So I've made these full paths in the backend. This is a first attempt, from someone who knows little about this code, so I need the tests to see what else I broke. If you have suggestions, let me know.
This was discussed and fixed in the past, but I guess this particular case was forgotten.

I already see some strange things (I think):

  • When accepting a share, Path gets again converted to trimmed path due to this
  • storage_id: "shared::/eos/user/etc/etc/etc"

@diocas diocas requested a review from labkode as a code owner October 14, 2021 16:02
@update-docs
Copy link

update-docs bot commented Oct 14, 2021

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@diocas diocas force-pushed the fix_sharing branch 2 times, most recently from 3a4874c to a1c7710 Compare October 21, 2021 08:32
@diocas diocas requested review from ishank011 and a team as code owners October 25, 2021 15:51
ishank011
ishank011 previously approved these changes Oct 25, 2021
Copy link
Contributor

@ishank011 ishank011 left a comment

Choose a reason for hiding this comment

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

Can be merged once the changelog file is renamed

refs
refs previously approved these changes Oct 25, 2021
@diocas diocas dismissed stale reviews from refs and ishank011 via ba2e45d October 25, 2021 19:41
@refs
Copy link
Member

refs commented Oct 25, 2021

IIRC Codacy caches the filename with underscore, for whatever reason. We've had the same at owncloud. IMO this is good to be merged. There was a fix but I don't exactly remember which was it, perhaps squashing and force pushing forces codacy to pull the new filename, or deleting the file and committing a new one (with the same name and contents) 😄

Copy link
Contributor

@ishank011 ishank011 left a comment

Choose a reason for hiding this comment

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

Yeah I tried to retrigger the codacy job, didn't work

@ishank011 ishank011 merged commit 5b66c1b into cs3org:master Oct 26, 2021
@diocas diocas deleted the fix_sharing branch October 26, 2021 07:41
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