Commits

Show all
Author Commit Message Labels Comments Date
Daniel Izquierdo
Modify xsendfile to fix problem with filenames with spaces
Daniel Izquierdo
Make serve_file work with filenames with spaces The filename in the content-disposition header is now wrapped in double quotes (") so that filenames with spaces don't get truncated.
Waldemar Kornewald
added eol def
Waldemar Kornewald
fixed license
Waldemar Kornewald
added BSD license
Waldemar Kornewald
fixed setup.py
Waldemar Kornewald
setup.py cleanup
Waldemar Kornewald
simplification
Waldemar Kornewald
unified settings and backend naming
Waldemar Kornewald
added delegate backend which delegates uploads to other backends based on private=True or False. useful for e.g. letting Blobstore handle private uploads and letting S3 handle public uploads
Waldemar Kornewald
extended API with a public downloads URL function and template filter and a kwargs which allows for marking uploads as private (prepare_upload(private=True)), so e.g. an Amazon S3 backend could mark permissions accordingly. by default uploads are now public if it's supported by the backend. also, replaced the redirect backend with a public_url backend that directs downloads to a public download URL and added a backend that directs downloads to file.url (should only be used if file.url actually points to a publicly accessible download location)
Waldemar Kornewald
added docstrings to all backends
Waldemar Kornewald
added URL download backend which redirects to file.url
Waldemar Kornewald
fixed default backends
Waldemar Kornewald
added redirect backend and fixed a bug in xsendfile
Waldemar Kornewald
finalized API
Waldemar Kornewald
initial import