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

Commit e3ca08b

Browse files
authored
Upload Endpoint (#152)
* Upload basics(#117) * add basic handleMultipleApiActions method and redux store * finish handle multiple api actions, implement it for delete and upload * add dropzone lib, improve redux store * test some file download stuff * move current folder content to redux store, so we can update it after uploading * update snapshot * adust fsEnity model to new refactored model * basics logic for preflight wip * add basic components for overwrite merge dialog * broken stuff * overwrite / merge / rename basic functional * selecting all and checking if name is valid * Yes it is possible to make a 100+ lines method readable, here is how! * remove debug * demo deltete * add second preflight logic * remove file when they are deleted, fix preflight result parser * add constant for Filehandler url, map download button * add basic download functiality * update tests * cant fix this test * fix some bugs with preflight handling * fix snapshot by removing modal * handle response for upload * fix comparion of paths * remove debug * ADD_TO_CONTENTS reducer now removes duplicates * use nginx for hosting and include reverse proxy features (#124) * use nginx for hosting and include reverse proxy features * use recomended tagging and updating in dockerfile * gitignore * tweak nginx config * fix proxy pass for fh * try to fix proxy for fe * try fe proxy when file does not exist (fallback to index) * fix proxy redirect to backend * Integrate Upload fixes (#153) * fix adding new fsEntities and add currentID * fix es lint * fix upload of empty folder and currentFsItemId check * update test * remove hardcoded fileIDS * fix current ID header parsing, design changes * add action to overwrite/merge all button * increase client_max_body_size of rest api * change constants * requested changes by @open-schnick
1 parent 1761242 commit e3ca08b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+32309
-1428
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,3 +410,5 @@ cypress/videos
410410
npm-debug.log*
411411
yarn-debug.log*
412412
yarn-error.log*
413+
414+
webapp_provider/public

package-lock.json

Lines changed: 30312 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"react": "17.0.2",
2222
"react-bootstrap": "1.5.2",
2323
"react-dom": "17.0.2",
24+
"react-dropzone": "^11.3.1",
2425
"react-redux": "7.2.4",
2526
"react-router-dom": "5.2.0",
2627
"react-scripts": "4.0.3",
@@ -68,6 +69,7 @@
6869
"eslint-plugin-cypress": "2.11.2",
6970
"npm-check-updates": "11.5.4",
7071
"prettier": "2.2.1",
72+
"rc-util": "^5.12.1",
7173
"react-is": "17.0.2",
7274
"react-test-renderer": "17.0.2",
7375
"sonarqube-scanner": "2.8.0"

0 commit comments

Comments
 (0)