Commit graph

119 commits

Author SHA1 Message Date
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
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
47fc5bc9e3 Enhanced buildout configuration for development environment: using crate.io, upgraded to python-termstyle 0.1.10. 2013-07-26 01:38:38 +02:00
Benoît Bryon
b7f660c5e3 Back to development: 1.3 2013-05-28 15:52:26 +02:00
Benoît Bryon
0d29e332d0 Preparing release 1.2 2013-05-28 15:51:32 +02:00
Benoît Bryon
7f26fc362d Upgraded zest.releaser to version 3.45 (support of VERSION file). 2013-05-28 15:50:43 +02:00
Benoît Bryon
01299a4351 Merge pull request #37 from benoitbryon/26-virtual-download-size
Closes #26 - Do not compute size of virtual files, unless file wrapper implements was_modified_since()
2013-05-28 06:31:04 -07:00
Benoît Bryon
d21d07c1e7 Refs #26 - Fixed assertIs() compatibility for Python<2.7 2013-05-28 15:21:55 +02:00
Benoît Bryon
121fb4d391 Refs #26 - Do not compute size of virtual files, unless file wrapper implements was_modified_since(). 2013-05-28 15:17:01 +02:00
Benoît Bryon
44f1ca3be3 Refs #35 - Fixed conversion of README from reStructuredText to HTML. 2013-05-28 14:40:46 +02:00
Benoît Bryon
ce0569612b Refs #35 - Removed :doc: directives in README. 2013-05-28 08:52:15 +02:00
Benoît Bryon
086aae5964 Refs #34 - Updated changelog 2013-05-28 08:51:31 +02:00
Benoît Bryon
e3aa01bd45 Refs #34 - Merged branch 34-modification-time. 2013-05-28 08:41:23 +02:00
Benoît Bryon
db5ed370c6 Merge pull request #34 from novagile/master
Some file doesn't have the modified_time attribute.
2013-05-27 23:37:27 -07:00
Benoît Bryon
6c40354f4a Refs #34, refs #35 - Added documentation about DownloadMixin and BaseDownloadView. 2013-05-28 08:34:33 +02:00
Benoît Bryon
31c0a0f4b9 Refs #34 - Introduced unit tests for DownloadMixin.was_modified_since(). Refactored DownloadMixin: easier to test, better docstrings. 2013-05-14 00:25:30 +02:00
Rémy HUBSCHER
af2133909e Fix AttributeError: 'File' object has no attribute 'modified_time' 2013-05-07 18:50:51 +02:00
Benoît Bryon
f69458afcb Merge pull request #33 from novagile/master
Closes #32 - X-Accel + attachment=False
2013-05-06 07:56:23 -07: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
eff185b858 Frozen version of evg.recipe.activate in development environment. 2013-05-06 16:48:49 +02:00
Benoît Bryon
c00b4425ac Back to development: 1.2 2013-04-11 15:57:47 +02:00
Benoît Bryon
8a3fd20f3c Preparing release 1.1 2013-04-11 15:56:44 +02:00
Benoît Bryon
f67757baaa Reviewed documentation. 2013-04-11 15:42:28 +02:00
Benoît Bryon
cd4a0dcf24 Reviewed documentation. 2013-04-11 15:02:45 +02:00
Benoît Bryon
57b3cefbc9 Frozen version of evg.recipe.activate in development environment. 2013-04-11 14:42:25 +02:00
Benoît Bryon
33a23a48c3 Merge pull request #31 from novagile/master
Refs #29 - Improved HTTPDownloadView
2013-04-11 03:09:16 -07:00