-
-
Notifications
You must be signed in to change notification settings - Fork 297
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
File & directory deletion feature #1093
base: master
Are you sure you want to change the base?
Conversation
Lines 329 to 330 in 82dd826
I am curious why the upload feature is implemented like so. I guess it's good for unforeseen future extensibility, but there is semantic duplication between the The real question I want to ask, is should I implement the deletion feature in a similar manner? I.e. something like this: app.service(web::resource("/delete").route(web::delete().to(file_rm::rm_file))); |
Are you suggesting it might have been better to just have I see how this is a bit of a conundrum with delete. I also want to add WebDAV at some point and that will introduce even more semantics. Perhaps it's the best to go with what you suggested just now and eat the semantic duplication for the time being. It's not like it can't be changed later. |
Hi, unfortunately I can't directly help... just wanted to say that I appreciate the effort and if it gets done at some point, my life would be somehow better :) |
Thanks for reminding me. I have too many things on hand and honestly just forgot about this whole matter. I will find some time to work on it this week, hopefully. |
td.actions-cell .rm_form button { | ||
background: var(--rm_button_background); | ||
color: var(--rm_button_text_color); | ||
} |
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.
I suck at visual design. So any styling improvement suggestion is welcomed.
Rebased on #1331. |
Rebased on |
Rebased on |
Could you add some tests? Since this is going to be deleting things, it needs some proper tests. |
Yeah I'm working on that on and off. The tests are actually written but several are failing. My original intention was to combine the tests and the fixes into one commit, but I guess there's no harm in splitting them up. I'll push the tests first and then look to fix them. |
If you can spare some time, please take a look at the test suite; make sure they are testing the correct behaviour. Thanks. |
No worries. There's no rush to get this in. Just take your time and make sure things look good.
I will try to squeeze a review in but no promises, I'm fairly low on time currently. |
Rebased on #1454. |
This should be ready now, finally. Everything works as expected, as far as I can tell. But you may wish to merge the other PR first. |
Needs a rebase and then I will do a proper review. :) |
Actually, let me do an interactive rebase to reorganise things. Then it'd be a bit tidier. |
This allows the encoding set definitions to be `include!`ed into integration tests
hey, how's the feature going? |
Implementation is complete. Just waiting on review. @svenstaro You got time to take a look? |
I will take some time. Might take a look on the weekend. |
Closes #397.
Todo