Commit graph

171 commits

Author SHA1 Message Date
Benoît Bryon
eeaabd2a37 Refs #80 - Added a test around demo's 'object:inline_file' URL. 2014-03-03 08:15:46 +01:00
Benoît Bryon
ffef9ce703 Refs #80 - Referenced options inherited from DownloadMixin in each view's documentation. 2014-03-03 07:58:43 +01:00
Benoît Bryon
7875999fe2 Refs #80 - Improved documentation about 'DownnloadMixin.attachment' attribute. 2014-03-03 07:49:30 +01:00
Benoît Bryon
8e83ec559f Refs #80 - Changed wording in 'serve file inline' documentation. 2014-03-03 07:11:38 +01:00
Benoît Bryon
af0ffa3e2c Psycho-rebased branch 80-no-attachment-docs on top of master 2014-03-02 19:42:17 +01:00
Benoît Bryon
3b725c2ab4 Introduced support of Python >= 3.3. Closes #46. 2014-03-02 19:35:20 +01:00
Benoît Bryon
5850ffac81 Fixed indentation in tox.ini file. 2014-02-25 01:07:59 +01:00
Benoît Bryon
5cde2b0d2d Revert "Minor changes in tox configuration file."
This reverts commit cfb6964af3.
2014-02-25 01:06:59 +01:00
Benoît Bryon
2d4f8c9773 Refs #46 - Updated changelog. 2014-02-25 00:57:07 +01:00
Benoît Bryon
cfb6964af3 Minor changes in tox configuration file. 2014-02-25 00:56:50 +01:00
Benoît Bryon
70c6b00442 Refs #46 - Fixed Python 2 and Python 3 compatibility in doctests related to string/unicode. 2014-02-25 00:47:20 +01:00
Benoît Bryon
546bdc2461 Test of README build to HTML is now done with 'rst2html' command via tox. 2014-02-25 00:43:09 +01:00
Rémy HUBSCHER
1ea2790ba9 Refs #46 -- Add Py3 support. 2014-02-16 19:13:44 +01:00
Erik Dykema
21cb8f6409 Add documentation for serving a file inline.
Responsive to issue #80
2014-02-10 14:30:41 -05:00
Erik Dykema
558bd757a3 Add non-downloading inline_file_view
To be used in documentation for issue #80
2014-02-10 14:29:48 -05:00
Benoît Bryon
6232fcb736 Using tox in development environment. Makefile no longer uses buildout or virtualenv. Dropped tests for Python 2.6. Closes #74. 2014-02-10 01:38:28 +01:00
Benoît Bryon
d587c515f0 Refs #74 - Switched to tox as test-environment manager. Added flake8 to the test suite. Dropped python 2.6 tests. Makefile no longer creates a virtualenv. 2014-02-10 01:27:14 +01:00
Benoît Bryon
2962b84135 Refs #74 - Removing zc.buildout for DEV/TEST environments. WORK IN PROGRESS. 2014-01-24 15:26:16 +01:00
Benoît Bryon
e28951d0a1 Back to development: 1.6 2013-11-29 09:23:54 +01:00
Benoît Bryon
32322c1163 Preparing release 1.5 2013-11-29 09:23:32 +01:00
Benoît Bryon
40f407b627 Upgraded versions in development environment. 2013-11-29 09:21:26 +01:00
Benoît Bryon
9b2a745383 Merge pull request #73 from benoitbryon/41-django-sendfile
Closes #41 - django_downloadview.sendfile is a port of django-sendfile's sendfile function
2013-11-28 16:01:40 -08:00
Benoît Bryon
6dd090757a Refs #41 - Added 'mimetype' and 'encoding' arguments to 'DownloadMixin' => supported all arguments of original sendfile() function. Added documentation about migrating from django-sendfile to django-downloadview. 2013-11-29 00:55:46 +01:00
Benoît Bryon
59d9b4966e Refs #41 - django_downloadview.sendfile is a PathDownloadView (was StorageDownloadView). PathDownloadView.get_file() raises FileNotFound if file does not exists. 2013-11-28 23:29:50 +01:00
Benoît Bryon
194699045c Merge pull request #72 from benoitbryon/2-lighttpd-x-sendfile
Closes #2 - Introduced support of Lighttpd's X-Sendfile
2013-11-28 14:05:38 -08:00
Benoît Bryon
e33a8165ef Refs #2 - Introduced support of Lighttpd's X-Sendfile (mostly copied from django_downloadview.apache). 2013-11-28 23:02:40 +01:00
Benoît Bryon
b5191c6a6f Merge pull request #71 from benoitbryon/36-apache-x-sendfile
Closes #36 - Introduced support of Apache X-Sendfile
2013-11-28 13:23:23 -08:00
Benoît Bryon
ce31392efb Refs #36 - Updated changelog. 2013-11-28 22:21:11 +01:00
Benoît Bryon
8b44724c90 Refs #36 - Introduced support of Apache X-Sendfile. 2013-11-26 09:30:19 +01:00
Benoît Bryon
13c0f8b103 Back to development: 1.5 2013-11-24 11:18:03 +01:00
Benoît Bryon
8210e87bc6 Preparing release 1.4 2013-11-24 11:17:31 +01:00
Benoît Bryon
62b8a80f7f Merge pull request #66 from benoitbryon/65-versions-kgs
Closes #65 - Added notes about requirements and known good set of versions in INSTALL
2013-11-24 02:13:04 -08:00
Benoît Bryon
dd6c4bf70a Refs #65 - Updated CHANGELOG. 2013-11-24 11:12:25 +01:00
Benoît Bryon
b8c5120f20 Refs #65 - Added notes about requirements and known good set of versions in INSTALL. 2013-11-24 11:09:50 +01:00
Benoît Bryon
cf086e0458 Merge pull request #64 from benoitbryon/43-file-not-found-404
Closes #43. ObjectDownloadView returns HTTP 404 if file field is empty
2013-11-24 01:41:22 -08:00
Benoît Bryon
8d3d119be8 Refs #43 - Updated CHANGELOG. 2013-11-24 10:37:45 +01:00
Benoît Bryon
567cf591b9 Refs #43 - ObjectDownloadView.get_file() raises FileNotFound if field is empty. Raises AttributeError if field does not exist (view or model is misconfigured). 2013-11-24 10:09:46 +01:00
Benoît Bryon
0b2a26e180 Refs #43 - ObjectDownloadView.get_file() raises FileNotFound if file field does not exists or is empty. Introduced DownloadMixin.file_not_found_response(). 2013-11-24 10:03:11 +01:00
Benoît Bryon
b31e7b16ed Merge pull request #63 from benoitbryon/7-content-disposition-encoding
Closes #7 - Urlencoded non US-ASCII characters in Content-Disposition header
2013-11-18 03:15:18 -08:00
Benoît Bryon
f2d5a92b99 Refs #7 - Urlencoded non US-ASCII characters in Content-Disposition header (file name). 2013-11-18 12:12:02 +01:00
Benoît Bryon
cbf1e19f84 Merge pull request #62 from benoitbryon/10-djangopackages
Closes #10 - Used djangopackages.com in "docs/about/alternatives".
2013-11-17 14:07:15 -08:00
Benoît Bryon
fce6583583 Refs #10 - Simplified 'alternatives' documentation: djangopackages's 'file-streaming' grid is enough to compare django-downloadview, django-private-files and django-protected-files. 2013-11-17 23:00:56 +01:00
Benoît Bryon
448e9e849c Refs #10 - Referenced 'file-streaming' grid on djangopackages.com. Refreshed 'django.contrib.staticfiles' highlights. 2013-11-17 22:58:30 +01:00
Benoît Bryon
bb982b84be Upgraded software in development environment, including zc.buildout 2.2.1 and Django 1.6. 2013-11-08 11:51:22 +01:00
Benoît Bryon
a0f7b7400b Back to development: 1.4 2013-11-08 11:31:59 +01:00
Benoît Bryon
b0ddcc9202 Preparing release 1.3 2013-11-08 11:31:11 +01:00
Benoît Bryon
fb1de9996d Merge pull request #61 from benoitbryon/60-virtualfile-force-bytes
Closes #60 - VirtualFile uses force_bytes()
2013-11-08 01:00:47 -08:00
Benoît Bryon
f170c8904b Psycho-rebased branch 60-virtualfile-force-bytes on top of master 2013-11-08 09:59:51 +01:00
Benoît Bryon
443d76b636 Merge pull request #59 from benoitbryon/57-binary-mode
Closes #57 - PathDownloadView opens files in binary mode by default.
2013-11-08 00:57:57 -08:00
Benoît Bryon
c141f027de Refs #60 - VirtualFile uses force_bytes(). Removed (wrong) patch of File.__iter__(). 2013-11-08 09:56:26 +01:00