•  
     
    story #12812 get FRS file content via REST
Summary
Empty
get FRS file content via REST
Empty

Modify GET /frs_files/:id so download_url point to a new route /file/download/:id

This new route should allow

  • REST authentications (basic, token, accesskey)
  • Web authentication (cookie)

It returns the raw content of the file.

This route replaces the original "download.php" one.

download.php emits a 301 redirect to this new route.

Empty
Nouha Terzi (terzino), Denis PILAT (denis_pilat)
Status
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
#12812
Manuel Vacelet (vaceletm)
2019-05-09 17:07
2019-01-23 12:15
3721

References

Follow-ups

  • User avatar
    Thomas Gerbet (tgerbet)2019-05-09 17:07
    • Status changed from On going to Done
  • User avatar

    gerrit #14923 integrated in Tuleap 11.1.99.31

  • User avatar
    Thanks


    Cheers,
    Denis
  • User avatar
    last edited by: Manuel Vacelet (vaceletm) 2019-05-09 08:59

    It correpond to the following CR https://my.enalean.com/plugins/tracker/?aid=53673 and more specifically https://my.enalean.com/plugins/tracker/?aid=58343

  • User avatar
    HI

    Can you provide the backling to the SLA tracker on https://my.enalean.com, I can't find here where this CR comes from.

    Thanks
  • User avatar
    Thomas Gerbet (tgerbet)2019-05-07 18:16
    Hello,

    As this is about the download of a file already uploaded there is no limit on the size. Something that has been uploaded into the FRS should continue to be downloadable until its removed.
    There is no split of the file, the file can be downloaded with one HTTP GET request. However, users/tools will be able to download only a section of the file if they wish to using a range request, see request #13321 and RFC7233 [0] for more information.


    [0] https://tools.ietf.org/html/rfc7233

    • 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
    • Status changed from To be done to On going
  • User avatar
    Hi
    Is there any limit with the file size ?
    an automatic split into chunks for large files ?
    Thanks
  • User avatar
    • 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
    • CC list set to Denis PILAT (denis_pilat), Nouha Terzi (terzino)