Rémy HUBSCHER
b893e52eba
Remove support for Python 2.7
2020-01-07 15:01:26 +01:00
Rémy HUBSCHER
2773a2b158
Back to development: 2.0
2020-01-07 14:45:29 +01:00
Rémy HUBSCHER
9014f292e7
Preparing release 1.10
2020-01-07 14:45:15 +01:00
Rémy HUBSCHER
31bb096a77
Merge pull request #147 from joehybird/master
...
Add Django 2.2, Django 3.0 support & Drop Django 1.5, 1.6, 1.7, 1.8, 1.9, 1.10, 2.0 and 2.1 as well as Python 3.4 and 3.5
2020-01-07 14:39:30 +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
Rémy HUBSCHER
cc1e77c405
Update setup.py
2020-01-07 14:13:49 +01:00
Rémy HUBSCHER
2988aa65e7
Simplify travis config.
2020-01-07 14:11:59 +01:00
Rémy HUBSCHER
9a82b76faf
@natim review.
2020-01-07 14:03:49 +01:00
Fabre Florian
433b2d5b80
Fix travis matrix
2020-01-07 13:51:30 +01:00
Fabre Florian
256974ab80
Update changelog
2020-01-07 11:55:19 +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
Rémy HUBSCHER
1c829c5413
Merge pull request #140 from joehybird/master
...
Fix compatibility from django1.5 to django1.11 with python 2.7 and 3.x
2017-09-14 19:26:43 +07:00
Fabre Florian
9aaa069e23
Fix flake8 issue
2017-09-14 11:40:27 +02:00
Fabre Florian
5306a54222
Fix travis config.
2017-09-14 11:37:13 +02:00
Fabre Florian
ade4c06670
Fix travis config.
2017-09-14 11:15:24 +02:00
Fabre Florian
24afd546c6
Fix travis config.
2017-09-14 11:08: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
Rémy HUBSCHER
414c083aa3
Merge pull request #124 from adamchainz/readthedocs.io
...
Convert readthedocs links for their .org -> .io migration for hosted projects
2016-06-28 08:38:45 +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
Rémy HUBSCHER
6166783914
Merge pull request #119 from mbaechtold/fix-documentation-optimization-examples
...
Fix code examples in the optimization chapter of the documentation.
2016-05-13 13:05:13 +02: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
af67e0036f
Back to development: 1.10
2016-03-15 12:18:35 +01:00
Benoît Bryon
2862d2f24e
Preparing release 1.9
2016-03-15 12:16:24 +01:00
Benoît Bryon
0c445389f7
HTTPFile has 'content_type' property. It makes HTTPDownloadView proxy Content-Type header. Closes #116
2016-03-15 12:13:31 +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
56214264f1
HTTPFile has 'content_type' property. Allows HTTPDownloadView to proxy Content-Type header. Refs #116
2016-03-14 17:05:32 +01:00
Benoît Bryon
18fd9abcc8
Introduced support of Python-3.5 and Django-1.9. Refs #112 , refs #113 .
2016-03-14 16:59:30 +01: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
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
a3203f2298
Added Python-3.5 and Django-1.9 to test suites. Refs #112 , refs #113 .
2016-03-14 15:22:48 +01:00
Benoît Bryon
1ec890fb20
Back to development: 1.9
2015-07-20 18:55:22 +02:00
Benoît
ae54019a27
Preparing release 1.8
2015-07-20 18:53:00 +02:00
Benoît Bryon
c18e57037b
Pass numeric timestamp to Django's was_modified_since() (was receiving datetime). Thanks @benesch and @zerc.
2015-07-20 18:43:46 +02:00
Benoît Bryon
3a3d3ebb9f
Refs #104 - Assert timestamp is passed to was_modified_since().
2015-07-20 18:28:28 +02:00
Benoît Bryon
bdf8e6e368
Psycho-rebased work of @benesch and @zerc on top of master.
2015-07-20 18:14:08 +02:00
Benoît Bryon
150e50653f
Refs #104 - Merged work of @benesch and @zerc.
2015-07-20 18:12:44 +02:00
Benoît Bryon
ea033b8eb2
PathDownloadView.get_file() makes a single call to PathDownloadView.get_path() (was doing it twice). Thanks @rleonhardt. Closes #103
2015-07-20 17:43:18 +02:00
zero13cool
bf7b0f23fd
Refs #104 - Convert datetime to unix timestamp
2015-07-16 22:00:27 +03:00
René Leonhardt
5e4ae2fdc9
Changed assertCalledOnceWith() to assert_called_once_with()
...
When I change assertCalledOnceWith() to assert_called_once_with(), make test succeeds but shows another failure:
```
AssertionError: Expected call: mock(sentinel.size, sentinel.modified_time)
Actual call: mock(sentinel.since, sentinel.modified_time, sentinel.size)
```
After changing the call accordingly, all 59 tests succeed.
2015-07-14 14:53:14 +02:00
René Leonhardt
75b51ce214
Avoid calling get_path() twice inside get_file
...
Overridden PathDownloadView.get_path() may contain database lookups and logging which should not be called twice if not necessary, as it was in my case.
Because the acquired filename does not change inside get_file(), I replaced the duplicate call.
2015-07-14 12:03:52 +02:00
Benoît Bryon
142d8de7fa
Declared project as production/stable.
2015-06-24 14:10:33 +02:00
Benoît
2596bc60e1
Back to development: 1.8
2015-06-13 01:46:40 +02:00
Benoît
652e5de854
Preparing release 1.7
2015-06-13 01:45:31 +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
0c282664ca
Filenames with commas are now supported. In download responses, filename is now surrounded by double quotes. Closes #87
2015-06-13 01:37:33 +02:00