Rémy HUBSCHER
711b2e50b5
Run pre-commit on all files
2024-08-05 10:53:19 +02:00
Peter Marheine
60c1839bf5
Replace use of pkg_resources (setuptools)
...
Since Python 3.12, setuptools isn't included with Python
and importlib is the recommended replacement, available
since Python 3.8.
2024-07-31 11:41:25 +00:00
Davide
c51720296a
Update references to middleware settings
2024-07-30 13:01:56 +02:00
David Wolf
f715f72032
Add missing ) to settings docs sample
2022-04-14 17:02:49 +02:00
Rémy HUBSCHER
cbd53d813e
Merge pull request #179 from johnthagen/storage-download-docs
...
Fix StorageDownloadView code snippets
2021-04-10 18:53:18 +02:00
Rémy HUBSCHER
3543a3b8fc
Merge pull request #180 from johnthagen/path-doc-fixes
...
Fix code snippet in PathDownloadView docs
2021-04-10 18:53:04 +02:00
johnthagen
a06c511d8f
Fix code snippet in PathDownloadView docs
2021-02-02 10:30:34 -05:00
johnthagen
a67f3dc41e
Fix StorageDownloadView code snippets
2021-02-02 10:27:38 -05:00
johnthagen
9c01be6cc8
Replace mention of deprecated NGINX_DOWNLOAD_MIDDLEWARE_SOURCE_DIR
2021-02-02 10:10:59 -05:00
johnthagen
707c392f6e
Fix the code snippets in the NGINX documentation page
2021-01-26 16:00:11 -05:00
johnthagen
ed3d470908
Fix url example code
2021-01-21 13:07:36 -05:00
johnthagen
eb223f169b
Fix "Mapping file attributes to model's" example code
2021-01-21 12:59:36 -05:00
johnthagen
700b1246df
Fix "serving a specific file field" example code
2021-01-21 12:56:36 -05:00
johnthagen
2586cc5a97
Fix doc code include in ObjectDownloadView
2021-01-21 12:50:16 -05:00
Rémy HUBSCHER
cee7810cfd
Fix links.
2021-01-21 17:45:42 +01:00
johnthagen
deddd2fd2d
Update external documentation links to point to latest Django and Python releases
2021-01-21 11:35:00 -05:00
Jannis Leidel
9f42e65986
Migrate to GitHub Actions. ( #165 )
...
* Add GitHub Actions test workflow.
* Add django version env var handling to tox config.
* Update badges.
* Add release workflow.
* Remove Travis.
* Fix typo.
* Fix more typos.
* Write coverage.xml.
* Remove the need for the VERSION file.
* Simplify demo setup.py.
* Remove VERSION file.
* Update demo/setup.py
* Update setup.py
2020-12-23 11:12:35 +01:00
Rémy HUBSCHER
0c59d6d261
Preparing release 2.2
2020-10-05 11:19:05 +02:00
Rémy HUBSCHER
7ec465d74d
Be ready for Jazzband move.
2020-09-18 16:50:33 +02:00
Rémy HUBSCHER
3da22537df
Fix doc.
2020-09-18 11:27:42 +02:00
Rémy HUBSCHER
6cd9ec3dd0
Fix test.
2020-09-18 10:50:26 +02:00
Aleksi Häkli
839b7bda38
Add signed file system storage
...
Fixes #138
2020-01-13 11:25:40 +02:00
Rémy HUBSCHER
586a50aa5a
Fix sphinx lines.
2020-01-07 15:28:26 +01:00
Rémy HUBSCHER
28a077b1c3
Another broken link.
2020-01-07 14:32:17 +01:00
Rémy HUBSCHER
1ce8aedfd1
Update documentation link.
2020-01-07 14:17:08 +01:00
Adam Chainz
a4cc84d758
Convert readthedocs links for their .org -> .io migration for hosted projects
...
As per [their blog post of the 27th April](https://blog.readthedocs.com/securing-subdomains/ ) ‘Securing subdomains’:
> Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard.
Test Plan: Manually visited all the links I’ve modified.
2016-06-27 22:42:16 +01:00
Martin Bächtold
e0dc0b0c41
Fix code examples in the optimization chapter of the documentation.
2016-05-06 10:15:50 +02:00
Benoît Bryon
5fecce8017
Improved support of Python-3.5 and Django-1.9. Refs #112 , refs #113 .
2016-03-14 16:24:16 +01:00
Benoît Bryon
08031dab21
Improved support of Python-3.5 and Django-1.9. Refs #112 , refs #113 .
2016-03-14 15:40:13 +01: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
Benoît Bryon
abd6d5daff
Reviewed Makefile, development environment and contributor guide.
2014-03-03 14:38:33 +01:00
Benoît Bryon
d29e3532e8
Refs #80 - Updated changelog.
2014-03-03 08:19:43 +01: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
ffef9ce703
Refs #80 - Referenced options inherited from DownloadMixin in each view's documentation.
2014-03-03 07:58:43 +01:00
Benoît Bryon
7875999fe2
Refs #80 - Improved documentation about 'DownnloadMixin.attachment' attribute.
2014-03-03 07:49:30 +01:00
Benoît Bryon
8e83ec559f
Refs #80 - Changed wording in 'serve file inline' documentation.
2014-03-03 07:11:38 +01:00
Erik Dykema
21cb8f6409
Add documentation for serving a file inline.
...
Responsive to issue #80
2014-02-10 14:30:41 -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
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
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
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
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
2e5d778651
Renamed README to README.rst. Improved setup.py readability.
2013-10-28 18:15:09 +01:00