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
delete within viewer, try #2 #619
Conversation
@jakobroehrl if you're stuck on the tests, do you want to find some time and do a call so I can fix them with you so you understand them a bit better? |
Once in, would be nice to backport this to 20 😁 |
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
/compile amend / |
2 similar comments
/compile amend / |
/compile amend / |
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
cadd311
to
6252260
Compare
Will this be backported to NC20? |
Hey, no. Viewer is too tightly bound with server |
@skjnldsv |
@jakobroehrl I guess we are not requesting the permissions in photos, so viewer is not aware of them? |
@skjnldsv This could be true, could I do something to get this running? |
I guess the filesystem permission is missing for that? |
But this will also disable the possibility to limit the app to specific groups |
No, it needs to be added there iirc: https://github.com/nextcloud/photos/blob/master/src/services/DavRequest.js |
@skjnldsv How to do this exactly? What do I have to add above? |
You need to add the same properties as the webdav returns |
Has this been released in NC21 or is it waiting for some further tests? |
Not IIRC. |
Yes it's part of 21 |
In photos I cannot delete any item while viewing. My NC is at v21.0.2 |
this is viewer, photos needs a fix yes |
Ah, good point. NC 21 File/Viewer indeed has a "Delete" option in menu. Yet, the |
This is tracked here: #897 |
@skjnldsv How to define the permissions? What do I have to add exactly into props? |
I'm on Nextcloud Hub II (23.0.4). Should the delete button be available for me in the viewer? Just not sure if something in my settings is wrong or not. |
viewer/src/services/FileInfo.js Line 45 in 267fd25
|
This implementation was never finished. |
What's the status of this PR? It says merged, but I can't find a way to delete photos from within the gallery in NC 24. |
The feature is available within the files app. |
It will be available in the photos app with NC25, IIRC |
You made the same mistake like me: The viewer component is used in Files App to view images. This is not related to the viewer component in photos app and therefor no delete button for us. That was my understanding. |
NC25 only? |
Signed-off-by: Jakob Röhrl jakob.roehrl@web.de