Rémy HUBSCHER
711b2e50b5
Run pre-commit on all files
2024-08-05 10:53:19 +02:00
Davide
51deef0a7e
Allow XResponses to keep original headers provided to base response
2024-08-01 08:35:53 +02:00
Davide
ff5073d00b
Use python3 super and remove useless method re-definitions
2023-09-26 11:26:43 +02:00
johnthagen
8c74a77ebe
Drop Python 3.6 support
2022-08-04 09:22:28 -04: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
Rémy HUBSCHER
8df2615a29
Merge pull request #171 from johnthagen/demo-python-version
...
Update demo README to reference Python 3
2021-01-21 17:39:06 +01: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
f225d87b85
Update demo README to reference Python 3
2021-01-21 11:37:12 -05:00
johnthagen
6338f61767
Drop support for end of life Django settings in demo project
2021-01-21 11:28:40 -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
7ec465d74d
Be ready for Jazzband move.
2020-09-18 16:50:33 +02:00
Rémy HUBSCHER
8e439d3485
Remove obsolete URL syntax.
2020-09-18 11:10:08 +02:00
Rémy HUBSCHER
6cd9ec3dd0
Fix test.
2020-09-18 10:50:26 +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
af30524bd2
Remove u'' in front of strings.
2020-01-07 15:21:34 +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
Rémy HUBSCHER
b893e52eba
Remove support for Python 2.7
2020-01-07 15:01:26 +01:00
Fabre Florian
ac1e4dc9ce
Fix StorageFile compatibility & some lint issues
2020-01-07 11:34:51 +01:00
Fabre Florian
0ad5e1238a
Fix middleware compatibility issues
2020-01-07 11:09:25 +01:00
Fabre Florian
4aa44b9dbe
Fix django.conf.urls compatibility issues
2020-01-07 09:57:48 +01:00
Fabre Florian
69bb9d864d
Add Django 2.x targets to tox & travis scripts
2020-01-07 09:54:28 +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
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
Benoît Bryon
e37612f2b9
Make sure HTTPDownloadView proxies Content-Type header. Refs #116
2016-03-14 17:42:30 +01:00
Benoît Bryon
ec969efa7e
Improved support of Python-3.5 and Django-1.9. Refs #112 , refs #113 .
2016-03-14 15:54:56 +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
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