Commit graph

144 commits

Author SHA1 Message Date
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
Benoît Bryon
47cc4ce04d Refs #41 - Introduced experimental port of django-sendfile's sendfile() function. 2013-10-21 15:04:30 +02:00
Benoît Bryon
4547cc2f90 Refs #42 - Ignored Content-Length header for generated files. 2013-10-21 15:02:37 +02:00
Benoît Bryon
a38876d15c Refs #42 - Introduced StringIteratorIO, for use in VirtualDownloadView when you need to stream generated content (yield). 2013-10-21 14:59:25 +02:00
Benoît Bryon
7c3b3a8de2 Splitted django_downloadview.views in several smaller modules. 2013-10-21 14:57:54 +02:00
Benoît Bryon
f34deba503 Moved API imports from django_downloadview's __init__.py to api.py. 2013-10-21 14:54:57 +02:00
Benoît Bryon
5f0e40e23f Refs #39 - Removed auto-generated API documentation. 2013-10-21 14:36:46 +02:00
Benoît Bryon
80392705b7 Refs #25, refs #39 - Simplified INSTALL, reviewed docs/settings.txt. 2013-10-21 14:35:06 +02:00
Benoît Bryon
81e9607b82 Reviewed README. 2013-10-21 14:30:41 +02:00
Benoît Bryon
f623728bb9 Enabled collective.recipe.omelette in DEV environment. 2013-10-21 14:29:12 +02:00
Benoît Bryon
a93561601a Changed encoding declaration style in setup.py. 2013-10-21 14:27:38 +02:00
Benoît Bryon
fbfd2ecee4 Using sphinx.ext.intersphinx to reference Django and Python documentations. 2013-10-21 14:26:46 +02:00