File upload in certain folders #18

Closed
opened 2021-08-30 12:33:30 +02:00 by mpeltriaux · 1 comment
Owner

Status quo

Current file upload is rather dumb: It simply pushes the new file into the code base folder.

Enhancement

Add configurable paths for each data type which can hold data:

  1. Intervention
    1. Revocation as subfolder in intervention
  2. Compensation
  3. EcoAccount
  4. EMA

Each data type folder should contain folders with the unique and unchangeable uuid as folder name, where the associated files live inside.

Removing

In case of removing files via the frontend, the folders should be removed as well:

  1. Revocation subfolders should always be removed with the containing file
  2. If no further documents are present for the object of interest, the whole folder shall be removed to keep the amount of folders reasonably low on the hard drive
# Status quo Current file upload is rather dumb: It simply pushes the new file into the code base folder. # Enhancement Add configurable paths for each data type which can hold data: 1. Intervention 1. Revocation as subfolder in intervention 1. Compensation 1. EcoAccount 1. EMA Each data type folder should contain folders with the unique and unchangeable uuid as folder name, where the associated files live inside. ## Removing In case of removing files via the frontend, the folders should be removed as well: 1. Revocation subfolders should always be removed with the containing file 1. If no further documents are present for the object of interest, the whole folder shall be removed to keep the amount of folders reasonably low on the hard drive
mpeltriaux added the
enhancement
label 2021-08-30 12:33:30 +02:00
mpeltriaux self-assigned this 2021-08-30 12:33:30 +02:00
Author
Owner

Merged in #21

# Merged in #21
mpeltriaux referenced this issue from a commit 2021-09-20 12:30:21 +02:00
mpeltriaux referenced this issue from a commit 2021-09-20 12:47:57 +02:00
btuelek referenced this issue from a commit 2024-12-05 13:18:35 +01:00
btuelek referenced this issue from a commit 2024-12-05 13:18:35 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: IT-Naturschutz/konova#18
No description provided.