Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Conversation

open-schnick
Copy link
Member

No description provided.

@open-schnick open-schnick added Feature Feature Label BugFix / Cleanup Bugfixes, Cleanups, Small changes labels Dec 26, 2020
@open-schnick open-schnick requested a review from a team December 26, 2020 16:01
@open-schnick open-schnick changed the title Feature/ff 251 FF-251 Delete FileSystemItem API Endpoint Dec 26, 2020
@open-schnick
Copy link
Member Author

open-schnick commented Dec 26, 2020

As you can see, i changed the exceptions quite a lot.

@open-schnick
Copy link
Member Author

lovely @qvalentin

@open-schnick
Copy link
Member Author

still working on it. will be ugly to implement, let me know if you have a better implementation

@qvalentin
Copy link
Member

How should the FE behave when the user selects multiple files and wants to delete them?

  • send all requests at the same time
  • send them one by one (showing a progress bar)
  • have another endpoint that accepts an array of fileIDs to delete

What would be the best for the database performance and also for the filehandler?

@open-schnick
Copy link
Member Author

open-schnick commented Dec 29, 2020

How should the FE behave when the user selects multiple files and wants to delete them?

  • send all requests at the same time
  • send them one by one (showing a progress bar)
  • have another endpoint that accepts an array of fileIDs to delete

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.

Copy link
Member

@qvalentin qvalentin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice nice

@open-schnick open-schnick marked this pull request as ready for review January 9, 2021 11:16
@open-schnick open-schnick merged commit d42da81 into master Jan 9, 2021
@open-schnick open-schnick deleted the feature/FF-251 branch January 9, 2021 19:46
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.
Labels
BugFix / Cleanup Bugfixes, Cleanups, Small changes Feature Feature Label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants