Enhancement #1459

Add the possibility to modify files (before export)

Added by Blatti Yves 6 months ago. Updated 2 months ago.

Status:ClosedStart date:11/20/2018
Priority:NormalDue date:
Assignee:Blatti Yves% Done:

100%

Category:EXTRACT
Target version:4.5.1
Sponsor: Ergonomic impact:

(See mockups)

Functional impact:

Users can alter extracted files


Description

Description

  • The objective is to be able to add and delete files when the element is in a stopped state (ERROR, STANDBY, EXPORT_FAIL)
  • It is impossible to add files if processing is completed or cancelled
  • Changes are made in the detail screen of an item https://[extractserver]/extract/requests/[id]
  • File Deletion :
    • The deletion is proposed by a red trashcan icon, on the right of the file download link (fa-trash class)
    • The deletion is preceded by a confirmation (Message: Are you sure you want to delete the"[file_name]" file), in modal, like the other application confirmations.
    • If the deletion is confirmed, the file is deleted immediately (AJAX, or reloading the same page)
    • If the deletion is cancelled, no action is taken and the user remains on the same page.
    • The files are deleted from the temporary folder of the element (output)
  • File Add:
    • A button allows you to browse to upload 1 or more files
    • Text of the button in French: "Add files..."
    • When you click, the browser's file selection window is opened
    • The user selects one or more files
    • If it confirms (open button of the browser modal), the files are immediately uploaded (AJAX, or reloading the same page)
    • If it cancels, no action is taken and the user remains on the same page.
    • If one or more files are already present for this request element, a message informs that the files with the same name will be overwritten.
    • "Files with the same name will be overwritten."
    • During upload, files whose names contain dangerous characters, or which may be poorly supported by OSs (' ´ " / \ : : ; ; ; etc...) are renamed (cleaned). See realization of EM91/archiving in v1.0. Example: l'apéro.zip -> l_apero.zip
    • The files are uploaded to the temporary folder of the element (output)

Models

Adding files and deleting:

If no file present :

Select multiple files:

Delete confirm:

No change possible if processing in progress (active status) or if processing completed/cancelled:

Source (french) : https://projets.asitvd.ch/issues/16683

16831_add_or_delete_files.png (47.2 KB) Blatti Yves, 11/20/2018 03:15 PM

16831_add_multiple_files.png (28.6 KB) Blatti Yves, 11/20/2018 03:15 PM

16831_add_files_no_files_present.png (4.1 KB) Blatti Yves, 11/20/2018 03:16 PM

16831_delete-file-confirm.png (37 KB) Blatti Yves, 11/20/2018 03:17 PM

16831_process_complete.png (7.89 KB) Blatti Yves, 11/20/2018 03:18 PM

History

#1 Updated by Blatti Yves 6 months ago

  • Subject changed from Cancel plugin to Added the possibility to modify files (before export)

#2 Updated by Blatti Yves 6 months ago

  • Subject changed from Added the possibility to modify files (before export) to Add the possibility to modify files (before export)

#3 Updated by Blatti Yves 2 months ago

  • Status changed from Request For Comments to Accepted

#4 Updated by Blatti Yves 2 months ago

  • Status changed from Accepted to Affected

#5 Updated by Blatti Yves 2 months ago

  • Assignee changed from Technical Committee to Blatti Yves

#6 Updated by Blatti Yves 2 months ago

  • Status changed from Affected to Resolved

#7 Updated by Blatti Yves 2 months ago

  • Status changed from Resolved to To merge

#8 Updated by Blatti Yves 2 months ago

  • % Done changed from 0 to 100

#9 Updated by Blatti Yves 2 months ago

  • Status changed from To merge to Closed

Also available in: Atom PDF