Add upload button in public shares#1523
Conversation
Signed-off-by: Philip Gouverneur <[email protected]>
|
Great news, thanks for your effort. |
|
Finally, my most anticipated memories feature is being worked on. This will make it a good alternative to Immich and Google photos for shared Family Event, Holiday trips and so much more. A few more ideas that might make this feature even better (from my limited understanding not yet implemented, sorry if they are):
Thank you for your work. I am happy to test it, as soon as you deem it ready |
Signed-off-by: Philip Gouverneur <[email protected]>
|
To be honest, this PR is still a work in progress. I think I published it too early, and it will take a while longer until everything is ready. |
Signed-off-by: Philip Gouverneur <[email protected]>
Signed-off-by: Philip Gouverneur <[email protected]>
Signed-off-by: Philip Gouverneur <[email protected]>
|
@Rdeisenroth, regarding your comment: |
|
@major-mayer, the first version is ready and working on my end. |
|
Yes very much. I will try to get it done in the next few days. |
|
@major-mayer Yes, that would be a possibility. I personally have used the Nextcloud development environment (https://github.com/juliusknorr/nextcloud-docker-dev) and don't know if I would currently recommend using it in a nextcloud instance that is used productively. @pulsejet, What do you think? How do you normally test? |
Signed-off-by: Philip Gouverneur <[email protected]>
Signed-off-by: Philip Gouverneur <[email protected]>
Signed-off-by: Philip Gouverneur <[email protected]>
|
@major-mayer, thanks for testing. Here are my answers:
|
Signed-off-by: Philip Gouverneur <[email protected]>
Signed-off-by: Philip Gouverneur <[email protected]>
Looks better, I agree. I would suggest to align the icons vertically centered whenever the progress bar is not visible.
I know that those are PHP variables, that apply to the whole web server.
Looking better now, but still not as smooth as with the existing, authenticated upload functionality in Memories.
Fair enough, but I think that's a pity and the PR would benefit greatly from it. In general, I wonder why the seemingly existing logic and UI (upload button, progress bar) for uploading files (but in an authenticated state) in Memories cannot be re-used. If necessary, it seems to make use of chunked uploading as well: |
Signed-off-by: Philip Gouverneur <[email protected]>
…om/gouverneurp/memories into add-upload-button-in-public-shares Signed-off-by: Philip Gouverneur <[email protected]>
Signed-off-by: Philip Gouverneur <[email protected]>
Signed-off-by: Philip Gouverneur <[email protected]>
|
Hey @major-mayer, |
|
Hi @gouverneurp, The only remaining thing that I noticed is that when you change the link type to "edit" mode, it allows you to upload new files - as expected - but it doesn't allow you to delete existing files using the external share. Since the Memories UI already has a button to delete selected files (when logged in), can you simply enable it if the share type includes the delete permission? Similarly, in the viewer there is a delete button, that's currently not working: Furthermore, there are also buttons that allow you to edit and rotate images, which are also leading to error messages as you can see in the screenshot above. Thank you for the great work so far, this will be a great addition to the app. I really hope that @pulsejet will merge this eventually. |
…able permission Signed-off-by: Philip Gouverneur <[email protected]>
…ble permission Signed-off-by: Philip Gouverneur <[email protected]>
Signed-off-by: Philip Gouverneur <[email protected]>
Signed-off-by: Philip Gouverneur <[email protected]>
|
Thank you for testing again, @major-mayer!
Unfortunately, the latest commits make the PR more complicated and the list of changes longer. I hope that it is still acceptable and would now like to wait for feedback from @pulsejet. |
|
Thanks for the quick update.
I like this change too, hopefully it will be accepted. We are almost there :) |
Signed-off-by: Philip Gouverneur <[email protected]>
|
Looking good, thanks for the fix :) |
|
I hope this can be included in the next release. |
|
Very nicely done, thank you! |
|
Sry for necrobumping. Just wanted to say thank you all, I waited for this feature for years! Can't wait for it to be released. |
|
I don't think one should have to apologise for saying thank you :) |
|
uhm... when is this going to get released btw? I was wondering, since it seems to be done and merged. |
|
This is finally release and working as expected 🥳 |










Feature: Anonymous uploads for public folder shares
This pull request adds the ability for anonymous users to upload files to public folder shares.
The upload button will only appear on a public share link if it has been created with "Can edit" permissions, ensuring that folder owners retain full control. When a user uploads files, a progress bar is displayed. After the upload is successfully completed, the page reloads to show the newly added files.
Demo:
