Skip to content
Snippets Groups Projects
  1. Feb 11, 2020
  2. Nov 07, 2019
  3. Oct 16, 2019
  4. Jul 11, 2019
  5. Jul 02, 2019
  6. Apr 24, 2019
  7. Mar 08, 2019
  8. Mar 07, 2019
  9. Mar 04, 2019
  10. Mar 03, 2019
  11. Feb 21, 2019
  12. Feb 20, 2019
  13. Feb 19, 2019
  14. Feb 04, 2019
  15. 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
  16. Jan 09, 2019
  17. 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
  18. Jul 26, 2017
  19. Feb 13, 2017
  20. Feb 12, 2017
  21. Feb 08, 2017
  22. Oct 02, 2016
  23. May 11, 2016
  24. Apr 07, 2016
  25. Mar 17, 2016
  26. Feb 25, 2016
Loading