This repository was archived by the owner on Apr 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
FF-251 Delete FileSystemItem API Endpoint #62
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
As you can see, i changed the exceptions quite a lot. |
open-schnick
commented
Dec 27, 2020
src/test/java/de/filefighter/rest/cucumber/ViewFolderContentsSteps.java
Outdated
Show resolved
Hide resolved
lovely @qvalentin |
still working on it. will be ugly to implement, let me know if you have a better implementation |
How should the FE behave when the user selects multiple files and wants to delete them?
What would be the best for the database performance and also for the filehandler? |
i think it does not really matter. I personally like opt 2 most. |
qvalentin
reviewed
Dec 30, 2020
src/main/java/de/filefighter/rest/domain/filesystem/business/FileSystemBusinessService.java
Outdated
Show resolved
Hide resolved
src/main/java/de/filefighter/rest/domain/filesystem/business/FileSystemBusinessService.java
Outdated
Show resolved
Hide resolved
qvalentin
reviewed
Jan 3, 2021
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 nice
src/main/java/de/filefighter/rest/domain/filesystem/business/FileSystemBusinessService.java
Outdated
Show resolved
Hide resolved
src/main/java/de/filefighter/rest/domain/filesystem/business/FileSystemBusinessService.java
Outdated
Show resolved
Hide resolved
src/main/java/de/filefighter/rest/domain/filesystem/business/FileSystemBusinessService.java
Outdated
Show resolved
Hide resolved
src/main/java/de/filefighter/rest/domain/filesystem/business/FileSystemBusinessService.java
Show resolved
Hide resolved
src/main/java/de/filefighter/rest/domain/filesystem/business/FileSystemBusinessService.java
Show resolved
Hide resolved
qvalentin
reviewed
Jan 3, 2021
src/test/java/de/filefighter/rest/cucumber/CommonCucumberSteps.java
Outdated
Show resolved
Hide resolved
src/test/java/de/filefighter/rest/cucumber/ViewFolderContentsSteps.java
Outdated
Show resolved
Hide resolved
open-schnick
commented
Jan 3, 2021
src/test/java/de/filefighter/rest/cucumber/ViewFolderContentsSteps.java
Outdated
Show resolved
Hide resolved
open-schnick
commented
Jan 3, 2021
src/test/java/de/filefighter/rest/cucumber/ViewFolderContentsSteps.java
Outdated
Show resolved
Hide resolved
open-schnick
commented
Jan 3, 2021
src/main/java/de/filefighter/rest/domain/filesystem/business/FileSystemBusinessService.java
Outdated
Show resolved
Hide resolved
# Conflicts: # src/main/java/de/filefighter/rest/domain/filesystem/data/persistence/FileSystemEntity.java # src/test/java/de/filefighter/rest/domain/user/business/UserBusinessServiceUnitTest.java
qvalentin
approved these changes
Jan 9, 2021
src/main/java/de/filefighter/rest/domain/filesystem/business/FileSystemBusinessService.java
Outdated
Show resolved
Hide resolved
Gimleux
pushed a commit
that referenced
this pull request
May 20, 2021
* FF-251 Added basic structure and exception + handler. * Cleanup. Reworked custom Exceptions. * Cleanup. Implemented Change in UnitTests. * Cleanup. Implemented necessary changes to cucumber steps * added the .feature file for deleting * FileSystemItem now includes the User * fixed copy pesto, added step function * removed the empty lines * minor fixes, recusive scenarion for permissions * Cleanup. Refactored getContentsOfFolder. * Commented out feature. * Implemented TODO, updated tests. * WIP. basic structure, added wip comments * WIP. added checks for invisible entities. * WIP. started implementing. Added more comments. * Fixed Tests. * FF-251 finished adding logic. * Added UnitTests (1/2) * added some comments to understand the recursion * Fixing, refactoring. * Added UnitTests (1,95/2) * Fixing spelling, and minor bugs in feature files. * Implemented requested changes by @qvalentin * Some more cleanup. * Implemented return value, and Cucumber Steps. * It seems that deleteAll doesnt work, so we need to do that. * WIP: update tests. * Fixed broken merge. * Fixed Tests, finished implementing. * Added one more scenario * Bumped Version to v0.0.7 * Implemented changes by @qvalentin Co-authored-by: qvalentin <valentin.theodor@web.de>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.