Commit graph

155 commits

Author SHA1 Message Date
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
Benoît Bryon
c372cac003 Refs #57 - PathDownloadView opens files in binary mode by default. 2013-11-08 09:38:57 +01:00
Benoît Bryon
c32313ca8e Merge pull request #56 from benoitbryon/25-single-backend
Closes #25 - Introduced SmartDownloadMiddleware.
2013-11-06 15:12:03 -08:00
Benoît Bryon
e9d9b3dfaa Refs #25 - Introduced SmartDownloadMiddleware: makes it possible to setup several rules given a single optimization backend. 2013-11-07 00:09:30 +01:00
Benoît Bryon
e900c1a253 Merge pull request #55 from benoitbryon/api-readability
Closes #54, closes #53, closes #52, closes #51, closes #50, closes #49, closes #48, closes #42, refs #44, closes #40, closes #39 - Merge api-readability branch which contains almost all 1.3 release.
2013-11-05 16:52:18 -08:00
Benoît Bryon
970820c5e2 Updated CHANGELOG. 2013-11-06 01:46:55 +01:00
Benoît Bryon
6a4f421892 Dropped support (tests) for Python 2.6. 2013-11-05 11:53:29 +01:00
Benoît Bryon
2c1ad3c730 ObjectDownloadView now inherits from SingleObjectMixin and BaseDownloadView. Added example for setup_view() in documentation. 2013-11-05 11:44:48 +01:00
Benoît Bryon
0371f84f26 Added unit tests around BaseDownloadView. Introduced setup_view() test utility. 2013-11-05 07:29:58 +01:00
Benoît Bryon
def3e97a39 Added unit tests for DownloadMixin. 2013-11-04 23:20:13 +01:00
Benoît Bryon
4c3787b2a0 Refs #25 - Added unit tests about API and deprecated settings. 2013-10-29 09:25:48 +01:00
Benoît Bryon
1790094422 Standardized demo's packaging. 2013-10-28 21:07:42 +01:00
Benoît Bryon
2e5d778651 Renamed README to README.rst. Improved setup.py readability. 2013-10-28 18:15:09 +01:00
Benoît Bryon
9f82aea15b Updated description and keywords for PyPI. 2013-10-28 18:04:43 +01:00
Benoît Bryon
874f3b9b54 Refs #25, refs #39, refs #40, refs #42 - Big refactoring in documentation and demo: narrative documentation uses examples from demo project. 2013-10-28 16:58:18 +01:00
Benoît Bryon
413f7a9052 Refs #39 - Improved narrative documentation. Work in progress. 2013-10-21 15:06:19 +02:00
Benoît Bryon
cb68d7f8e5 Added few lines about vision in documentation. 2013-10-21 15:05:21 +02:00