Commit graph

28 commits

Author SHA1 Message Date
Rémy HUBSCHER
711b2e50b5
Run pre-commit on all files 2024-08-05 10:53:19 +02:00
Peter Marheine
cb3ec3a091 Stop using nosetests
Nose is no longer maintained and is incompatible with Python 3.10, so
can no longer be used. This change runs `coverage` manually to collect
coverage and uses `pytest` to run doctests, collectively covering what
was tested using django_nose.
2021-12-23 11:51:53 +11:00
johnthagen
cc4636098b
Remove extra newline
Co-authored-by: Rémy HUBSCHER <hubscher.remy@gmail.com>
2021-01-21 11:37:57 -05:00
johnthagen
6338f61767 Drop support for end of life Django settings in demo project 2021-01-21 11:28:40 -05:00
Rémy HUBSCHER
8e439d3485
Remove obsolete URL syntax. 2020-09-18 11:10:08 +02:00
Rémy HUBSCHER
56e419bfc7
Add isort config. 2020-01-07 15:51:55 +01:00
Rémy HUBSCHER
8dad97c92d
Fix flake8 2020-01-07 15:42:04 +01:00
Rémy HUBSCHER
6c7c8d9a60
Add isort support. 2020-01-07 15:19:22 +01:00
Rémy HUBSCHER
b094ed6cec
Add black support. 2020-01-07 15:12:51 +01:00
Fabre Florian
0ad5e1238a Fix middleware compatibility issues 2020-01-07 11:09:25 +01:00
Fabre Florian
9aaa069e23 Fix flake8 issue 2017-09-14 11:40:27 +02:00
Fabre Florian
235f95b967 Fix django 1.10 deprecation of django.conf.urls.patterns. Add django 1.11 to tox targets. Downgrade django-nose because versions >= 1.4.3 no longer supports django 1.5. 2017-09-14 10:09:59 +02:00
Benoît Bryon
142d8de7fa Declared project as production/stable. 2015-06-24 14:10:33 +02:00
Benoît Bryon
0160c00df1 Refs #98 - Workaround documentation. 2015-06-12 19:30:57 +02:00
Benoît Bryon
f04a4b4cd4 Refs #98 - Starting refresh of development environment. Work in progress. 2015-06-12 11:15:39 +02: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
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
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
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
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
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
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
536728bc0a Introduced DownloadView. Introduced demo project, used to develop and test the library. Work in progress. 2012-08-27 15:57:47 +02:00