Skip to content

Correctly generate the feedback URL for remote share - #15596

Merged
MorrisJobke merged 8 commits into
masterfrom
issue/15589
Apr 29, 2015
Merged

MorrisJobke merged 8 commits into
masterfrom
issue/15589

Conversation

@nickvergessen

Copy link
Copy Markdown
Contributor

The trailing slash was added in c78e3c4
to correctly generate the encryption keys

Fix #15589

@jvillafanez @schiesbn

@karlitschek

Copy link
Copy Markdown
Contributor

👍

@nickvergessen

Copy link
Copy Markdown
Contributor Author

@schiesbn can you review this :)

@DeepDiver1975

Copy link
Copy Markdown
Contributor

@nickvergessen can we unit test this somehow please? The next change will break this again unrecognized. THX

@nickvergessen

Copy link
Copy Markdown
Contributor Author

Added tests and also fixed one more problem 🙊

Comment thread tests/lib/share/share.php Outdated

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The parameter $c is not used and could be removed.

@MorrisJobke

Copy link
Copy Markdown
Contributor

For me the share is still present in the web UI of the sharee. :(

My steps:

  • share a file with a remote user via [email protected]
  • login as USERNAME at remote.address
  • cancel share

@nickvergessen

Copy link
Copy Markdown
Contributor Author

Ah, it works on the normal "unshare" now, after you accepted it once. Will try to find the root cause of this one aswell

@nickvergessen

Copy link
Copy Markdown
Contributor Author

Updated

works as expected now for insta decline and accept-decline scenarios

please review @PVince81 @MorrisJobke @rullzer

@PVince81

Copy link
Copy Markdown
Contributor

Tested, works 👍

Unsharing from self or refusing the share properly removes it from the sharers' shares list

@scrutinizer-notifier

Copy link
Copy Markdown

The inspection completed: 2 new issues, 3 updated code elements

@ghost

ghost commented Apr 28, 2015

Copy link
Copy Markdown

Refer to this link for build results (access rights to CI server needed):
https://ci.owncloud.org//job/pull-request-analyser-ng-simple/11877/
🚀 Test PASSed.🚀
chuck

@MorrisJobke

Copy link
Copy Markdown
Contributor

Works now 👍

MorrisJobke added a commit that referenced this pull request Apr 29, 2015
Correctly generate the feedback URL for remote share
@MorrisJobke
MorrisJobke merged commit 8c7db25 into master Apr 29, 2015
@MorrisJobke
MorrisJobke deleted the issue/15589 branch April 29, 2015 08:52
@MorrisJobke

Copy link
Copy Markdown
Contributor

@karlitschek @nickvergessen Backport?

@karlitschek

Copy link
Copy Markdown
Contributor

please backport

@DeepDiver1975

Copy link
Copy Markdown
Contributor

@nickvergessen please submit a pr against stable8 - THX

@nickvergessen

Copy link
Copy Markdown
Contributor Author

Done, but half of the test coverage is missing, because the PRs which made up the coverage where not backported

mmattel pushed a commit to mmattel/core that referenced this pull request May 22, 2015
Correctly generate the feedback URL for remote share
@lock lock Bot locked as resolved and limited conversation to collaborators Aug 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

File marked as shared but remote user cancelled the share

6 participants