•  
     
    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
Empty
Done
Development
  • [ ] Does it involves User Interface? 
  • [ ] Are there any mockups?
  • [ ] Are permissions checked?
  • [ ] Does it need Javascript development?
  • [ ] Does it need a forge upgrade bucket?
  • [ ] Does it need to execute things in system events?
  • [ ] Does it impact project creation (templates)?
  • [ ] Is it exploratory?
Empty
Details
#10722
Manuel Vacelet (vaceletm)
2019-01-28 08:57
2017-10-04 11:43
4242

References

Follow-ups

User avatar
  • I want to
    -have modale for new documents 
    +Modal new document for files 
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
  • Permissions set to