Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi file upload support #56

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

osalabs
Copy link

@osalabs osalabs commented Jun 10, 2015

I tried to do minimal changes to support multiple files upload, so this version compatible with old one.
What's changed/added:

  • settings.key now is not required. If it's empty - original file name will be used (and so uploaded to the root of S3 bucket, unless settings.key_prefix set - see below)
  • settings.key_prefix added. If not empty - prefixed to settings.key to create full S3 "path"
  • settings.content_type now empty by default - content type detected from uploaded file mime type
  • settings.content_disposition added. By default = true, if false - "Content-Disposition:attachment" header will not be added to S3 file meta.
  • settings.on_complete_all callback added. Called when all selected files processed.
  • php backend sample updated
  • created multi file upload demo page for php backend
  • readme updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant