-
Notifications
You must be signed in to change notification settings - Fork 168
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] feat: resolve public link to actual location if possible #9299
Conversation
f1e3dcf
to
e2b5da0
Compare
e2b5da0
to
ba1c5c7
Compare
Results for acceptance oCIS https://drone.owncloud.com/owncloud/web/36914/68/1 |
3141acb
to
28f67a0
Compare
Results for e2e-tests oCIS-2 https://drone.owncloud.com/owncloud/web/36848/13/1 💥 To see the trace, please open the link in the console ...
npx playwright show-trace https://cache.owncloud.com/public/owncloud/web/36848/tracing/participant-management-alice-2023-6-28-12-48-02.zipnpx playwright show-trace https://cache.owncloud.com/public/owncloud/web/36848/tracing/participant-management-anonymous-2023-6-28-12-48-35.zipnpx playwright show-trace https://cache.owncloud.com/public/owncloud/web/36848/tracing/participant-management-brian-2023-6-28-12-48-11.zipnpx playwright show-trace https://cache.owncloud.com/public/owncloud/web/36848/tracing/participant-management-carol-2023-6-28-12-48-24.zipnpx playwright show-trace https://cache.owncloud.com/public/owncloud/web/36848/tracing/participant-management-david-2023-6-28-12-48-15.zipnpx playwright show-trace https://cache.owncloud.com/public/owncloud/web/36848/tracing/participant-management-edith-2023-6-28-12-48-20.zip |
Results for acceptance oC10 https://drone.owncloud.com/owncloud/web/36975/38/1 |
Results for e2e-tests oCIS-1 https://drone.owncloud.com/owncloud/web/36892/12/1 💥 To see the trace, please open the link in the console ...
npx playwright show-trace https://cache.owncloud.com/public/owncloud/web/36892/tracing/search-for-content-of-file-alice-2023-6-29-09-26-02.zipnpx playwright show-trace https://cache.owncloud.com/public/owncloud/web/36892/tracing/search-for-content-of-file-brian-2023-6-29-09-26-07.zip |
28f67a0
to
f0f30d7
Compare
0c09f07
to
4d1674c
Compare
ab9fa39
to
907311a
Compare
if (internalSpace) { | ||
const resource = await clientService.webdav.getFileInfo(internalSpace, { path }) | ||
|
||
const resourceId = resource.type !== 'folder' ? resource.parentFolderId : resource.fileId |
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.
Can you explain this a little? Why is the parent folder of the space relevant?
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.
Sure, it's relevant because in case of a single file, we want to resolve its parent folder/space and mark the file in the filelist.
Bug encountered while testing User A shares new file.txt from Personal home with User B User B sees a empty files list, while new file.txt shows in breadcrumbs |
Bug encountered Expectation: |
E2E tests are missing, might be added in Follow UP |
907311a
to
b7a4f5f
Compare
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.
Fyi: The changes here were made in the past but got lost because they never made it to master: https://github.com/owncloud/web/pull/8310/files#diff-a4dfebeac8039a0664a3aaf5e347a693b1d02a0304fcb203e111cd92df3c907f
b7a4f5f
to
a6ce929
Compare
a6ce929
to
7b25228
Compare
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.
NICE!
Resolve public links to their actual location if the user has proper access to the resource (either via space or share).
Fixes an issue where opening public links in an authenticated context would prevent uploading resources.
c444858
to
0dc0499
Compare
3107e6a
to
7224a1b
Compare
SonarCloud Quality Gate failed.
|
Description
Resolve public links to their actual location if the user has proper access to the resource (either via space or share). Also fixes an issue where opening public links in an authenticated context would prevent uploading resources.
Related Issue
Types of changes