Skip to content
Snippets Groups Projects
  1. Oct 16, 2019
  2. Jul 11, 2019
  3. Jul 02, 2019
  4. Apr 24, 2019
  5. Mar 08, 2019
  6. Mar 07, 2019
  7. Mar 04, 2019
  8. Mar 03, 2019
  9. Feb 21, 2019
  10. Feb 20, 2019
  11. Feb 19, 2019
  12. Feb 04, 2019
  13. Jan 22, 2019
    • Loïc Gelle's avatar
      Fix regression during file upload. · 9bf7ac02
      Loïc Gelle authored
      Regression caused by commit 05e4d0f3. Files are
      copied from a temp file to the final destination as the file has not been fully
      uploaded and flushed. That yielded to grading corrupted or empty files.
      9bf7ac02
  14. Jan 09, 2019
  15. Oct 21, 2018
    • Chaskiel Grundman's avatar
      Use tornado streaming for uploads (#154) · 05e4d0f3
      Chaskiel Grundman authored
      * use tornado streaming for uploads
      
      use tornado.web.stream_request_body for the upload handler to avoid
      reading the entire upload into a memory buffer *in the IOLoop*. Instead,
      hash the content as it's streamed in and store it in a temporary file under
      COURSELABS. Then the upload business logic can just rename the temporary file
      over the destination if the upload is accepted. This significantly improves
      latency when large files are uploaded
      
      * Remove tempfile if it's a duplicate
      
      Remove the temporary upload file if it's a duplicate instead of leaving it
      in the temp directory.
      05e4d0f3
  16. Jul 26, 2017
  17. Feb 13, 2017
  18. Feb 12, 2017
  19. Feb 08, 2017
  20. Oct 02, 2016
  21. May 11, 2016
  22. Apr 07, 2016
  23. Mar 17, 2016
  24. Feb 25, 2016
  25. Feb 22, 2016
Loading