•  
     
    story #10722 Modal new document for files
Summary
Empty
Modal new document for files
Empty

Add the new option dowload file in modal + add the corresponding REST routes:

Technically:

2 new REST routes:

  • POST to create the file
    • the new version is "un-published" until all chunks are uploaded. People should not be able to do any action on the "un-published" version
    • there cannot be 2 concurrent upload of version for the same file
  • PATCH to send chunks
    • Last chunk is identified so the file can be marked as published
    • If file size > to a configured size, a 400 error is thrown and uploaded chunks are discarded

In addition to that, in SYSTEM_CHECK (every 30 minutes) files partially uploaded and not yet published are discarded (given a resonable delay to avoid discarding a file being currently uploaded).

We should check that non fully uploaded document are not displayed in old view.

  •  
Empty
Empty
Status
Done
Development
Empty
Empty
Details
#10722
Manuel Vacelet (vaceletm)
2019-01-28 08:57
2017-10-04 11:43
3648

References

Follow-ups

  • User avatar
    gerrit #13798 integrated into Tuleap 10.9.99.177
  • User avatar
    • Status changed from On going to Done
  • User avatar
    gerrit #13792 integrated into Tuleap 10.9.99.159
  • User avatar
    gerrit #13777 integrated into Tuleap 10.9.99.157
  • User avatar
    gerrit #13763 integrated into Tuleap 10.9.99.156
  • User avatar
    gerrit #13767 integrated into Tuleap 10.9.99.145
  • User avatar
    gerrit #13758 integrated into Tuleap 10.9.99.143
  • User avatar
    • Status changed from To be done to On going
  • User avatar
    • Status changed from On going to To be done
  • User avatar
    • Status changed from To be done to On going
  • User avatar
    • I want to
      -have modale for new documents 
      +Modal new document for files 
    • Acceptance criteria
    • Permissions set to