1. 27 Aug, 2021 2 commits
  2. 03 Feb, 2020 1 commit
    • Add an empty OPTIONS route · 7e106311
      Janko Marohnić authored
      Uppy makes requests to the OPTIONS route before the upload, so we
      add a handler that just returns a successful response.
      
      Fixes #12
  3. 28 May, 2019 1 commit
  4. 17 May, 2019 1 commit
    • Don't retry aborting multipart upload · e1760e54
      Janko Marohnić authored
      Even though the AWS S3 documentation states that we should do it,
      neither Uppy Companion nor tusd are doing this and nobody complained, so
      apparently there is no need. If it was really that important, I would
      expect aws-sdk-s3 to have a method for "safe aborting".
      
      Since it's good to take every opportunity to make code simpler, we
      remove the code that retries aborting the multipart upload.
  5. 04 May, 2019 1 commit
  6. 19 Feb, 2019 1 commit
    • Fix mounting on "/s3/multipart" not working with Rails · bf2bdb1d
      Janko Marohnić authored
      Unlike some other web frameworks like Roda, Rails adds a trailing slash
      to PATH_INFO when calling mounted apps on root requests. This means that
      for `POST /s3/multipart`, the Uppy::S3Multipart::App will receive
      
        SCRIPT_NAME: "/s3/multipart"
        PATH_INFO: "/"
      
      instead of
      
        SCRIPT_NAME: "/s3/multipart"
        PATH_INFO: ""
      
      So we update the app to handle that trailing slash.
  7. 19 Dec, 2018 1 commit
  8. 08 Dec, 2018 3 commits
  9. 05 Dec, 2018 1 commit
    • Allow and recommend mounting on "/s3/multipart" · f9165a37
      Janko Marohnić authored
      This allows defining other /s3/* routes without potential clashes when
      Uppy::S3Multipart::App isn't mounted last. One example of such route is
      "/s3/params", which is called by the AWS S3 Uppy plugin.
      
      We still keep backwards compatibility for users that currently have it
      mounted on "/s3".
  10. 27 Aug, 2018 1 commit