-
Notifications
You must be signed in to change notification settings - Fork 65
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
Add uploading (drag and drop) support for registered users #485
Conversation
I'd suggest to split this, then, start with the drag-and-drop and do the + button later. That way, we not only make the whole thing a bit smaller (easier to review and contribute to) but also ppl can start testing the drag-and-drop part. And, of course, if you don't have time to finish the 2nd part, the first is in. |
Yeah, good call. Even though I’d say the implementation via + button is more important and drag&drop is a nice addition for more advanced folks. |
No problem from my side. Also, this is a pre-requisite for drag and drop because it touches the way we collect information, so the quicker this is in, the quicker drag and drop can be implemented.
I think it's more about discovery, as you've mentioned in the issue itself. Some people won't know it's there unless there is a button or a message telling them things have changed. In any case, the important first step is to (in)validate the approach. |
OK, so is it working as expected at least? :P |
I tried to apply the patch to my stock ownCloud 8.2.2 Gallery app, got this: patching file controller/pagecontroller.php
patching file css/styles.css
Hunk #1 succeeded at 288 (offset 16 lines).
patching file js/gallery.js
patching file js/galleryimage.js
Hunk #1 succeeded at 4 (offset -11 lines).
patching file js/galleryview.js
Hunk #1 FAILED at 9.
Hunk #2 succeeded at 81 (offset -2 lines).
Hunk #3 succeeded at 210 (offset -2 lines).
1 out of 3 hunks FAILED -- saving rejects to file js/galleryview.js.rej
patching file js/thumbnail.js
patching file js/upload-helper.js
patching file service/searchmediaservice.php
patching file templates/part.content.php
Hunk #1 FAILED at 27.
Hunk #2 succeeded at 43 (offset -9 lines).
Hunk #3 succeeded at 69 (offset -9 lines).
Hunk #4 succeeded at 103 (offset -9 lines).
1 out of 4 hunks FAILED -- saving rejects to file templates/part.content.php.rej
patching file tests/unit/GalleryUnitTest.php
patching file tests/unit/controller/PageControllerTest.php
patching file tests/unit/service/SearchMediaServiceTest.php
I'm going to guess that with some fails this won't work well...
|
Correct. You need to use the 9.0 VM |
@oparoz Sure. Can you just tell me how to apply the correct patch? |
Look in the block below, click on the command line instructions and follow step 1. |
That's if you're using a git test instance, of course. I'm not sure it would work as-is on 8.2 |
I don't actually see a "block below", and I am on 8.2.2 rather than a git version. I'm fine with backing up the database and app files. I might be able to set up a second (git) install though. |
Here is the official help with detailed instructions. Only step 1 is required. Click on the tiny screenshots to see what we're talking about. If you don't want to setup a 2nd instance you can use daily VMs. They're great for testing as they're pretty much plug and play.
|
14609ac
to
3a3784c
Compare
Superseded by #520