Benoît Bryon
150e50653f
Refs #104 - Merged work of @benesch and @zerc.
2015-07-20 18:12:44 +02:00
Benoît Bryon
142d8de7fa
Declared project as production/stable.
2015-06-24 14:10:33 +02:00
Benoît Bryon
cfc57c19f0
Run demo with 'make demo runserver' (was broken). Closes #92
2015-06-13 01:39:05 +02:00
Benoît Bryon
5fa0a6caea
Psycho-rebased branch 87-double-quoted-filename on top of master
2015-06-13 00:57:44 +02:00
Benoît Bryon
8a0883d461
Refs #92 - 'make demo' installs demo, 'make runserver' runs demo server.
2015-06-13 00:56:57 +02:00
Benoît Bryon
0160c00df1
Refs #98 - Workaround documentation.
2015-06-12 19:30:57 +02:00
Benoît Bryon
d122c68455
Refs #97 - Splitted StringIteratorIO into TextIteratorIO and BytesIteratorIO. StringIteratorIO remains for backward compatibility.
2015-06-12 16:47:46 +02:00
Benoît Bryon
f04a4b4cd4
Refs #98 - Starting refresh of development environment. Work in progress.
2015-06-12 11:15:39 +02:00
Nikhil Benesch
9b87f181bf
add failing test cases for StaticFile IF_MODIFIED_SINCE handling
2015-05-29 16:15:19 -04:00
CJ
6ad1ae9704
refs #87 github url changed to githubsecurecontent
...
Hoping this fixes the error in 'simple_url' serves 'hello-world.txt' from Github
2014-06-06 13:37:11 -04:00
CJ
7d30adb802
refs #87 Spelling issue on Hello
2014-06-06 12:36:18 -04:00
CJ
def8df90ee
refs #87 resaving hello-world.txt
...
Test is failing on loading this file with:
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte
Not really sure what the issue is, seeing if this will fix it...
2014-06-06 12:30:27 -04:00
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
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
Rémy HUBSCHER
1ea2790ba9
Refs #46 -- Add Py3 support.
2014-02-16 19:13:44 +01: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
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
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
8b44724c90
Refs #36 - Introduced support of Apache X-Sendfile.
2013-11-26 09:30:19 +01: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
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
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
1790094422
Standardized demo's packaging.
2013-10-28 21:07:42 +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
588b1b0a6e
Introduced DownloadDispatcherMiddleware and settings.DOWNLOADVIEW_MIDDLEWARES. Deprecated most options for former global XAccelRedirectMiddleware. Splitted nginx module into a package. Introduced BaseDownloadMiddleware.
2013-10-04 18:11:16 +02:00
Benoît Bryon
e8266615ed
Refs #32 - Respect 'attachment' argument in X-Accel optimization.
2013-05-06 16:50:47 +02:00
Benoît Bryon
c2c152ec49
Fixed demo's 'http_download_hello_world' view: using 'basename' and not 'name'.
2013-04-11 11:39:08 +02:00
Benoît Bryon
a770727b5e
Encoded data written to StringIO.
2013-04-08 16:36:53 +02:00
Benoît Bryon
3b65324a06
Refs #29 - Introduced HTTPFile and HTTPDownloadView to create proxy to arbitrary HTTP URL.
2013-04-08 15:39:06 +02:00
Benoît Bryon
5a3ff57e23
Refs #13 - Using Django's StreamingHttpResponse. Requires Django>=1.5. Introduced django_downloadview.test.assert_download_response().
2013-03-20 16:00:20 +01:00
Benoît Bryon
060233abc5
Refs #23 - Implemented VirtualDownloadView and VirtualFile for basic support of in-memory (StringIO) or other generated files.
2013-02-06 20:11:42 +01:00
Benoît Bryon
02f0b7aa0d
Using doc comments instead of docstrings for attributes.
2013-02-06 19:07:23 +01:00
Benoît Bryon
e94054bcba
Refs #23 - Implemented and tested StorageDownloadView. This StorageDownloadView is to replace an use case of former DownloadView.
2013-02-06 19:02:43 +01:00
Benoît Bryon
cc3df73905
Refs #23 - Implemented and tested PathDownloadView. This PathDownloadView is to replace an use case of former DownloadView.
2013-02-06 11:02:55 +01:00
Benoît Bryon
b8d51c12fb
Minor refactoring in demo's tests.
2013-02-06 09:16:05 +01:00
Benoît Bryon
4dd718fba3
Refs #16 - Improved documentation for Nginx optimizations (references to demo project). Refs #18 - Moved temporary_media_root utility from demoproject.download.tests to django_downloadview.test.
2012-12-10 11:05:28 +01:00
Benoît Bryon
0d2d38718e
Improved demo project: provided initial data and a simple homepage with some links.
2012-12-04 12:21:45 +01:00
Benoît Bryon
4f29852ddb
Reviewed documentation. Preparing first public release.
2012-12-04 11:47:37 +01:00
Benoit Bryon
1f8876ba4f
Refs #1 - Experimental support for Nginx X-Accel. Work in progress
2012-11-28 16:53:56 +01:00
Benoit Bryon
0ae3653d1e
Clarified charset and encoding.
2012-11-19 14:41:52 +01:00
Benoit Bryon
33ad5d492e
Refactored generic download views. Added storage argument to DownloadView. Renamed DownloadView's 'file' argument to 'filename'.
2012-08-28 15:47:26 +02:00
Benoit Bryon
ab75aa6e08
Fixed tests: tests use a temporary settings.MEDIA_ROOT, so files are isolated for tests.
2012-08-28 10:13:41 +02:00
Benoit Bryon
24b15e0400
Improved testing. Fixed 'make documentation'.
2012-08-27 18:27:00 +02:00
Benoit Bryon
a45c79552e
Introduced ObjectDownloadView. UNSTABLE. Work in progress.
2012-08-27 17:05:24 +02:00
Benoit Bryon
536728bc0a
Introduced DownloadView. Introduced demo project, used to develop and test the library. Work in progress.
2012-08-27 15:57:47 +02:00