Commit Graph

1445 Commits

Author SHA1 Message Date
Trung Dong Huynh
b22045bcd4 Replaced base Docker image with debian:buster-slim (#2373)
Using system Python 3 distribution (3.7.3) in order to allow the use of Debian packages for numpy, scipy, etc. without the need of building them or installing build dependencies.

Changed `#!/bin/sh` in shell scripts to `#!/bin/bash` to make `set -o pipefail` work.
2020-01-07 11:06:31 +00:00
Hunterx7
a0359d9d6a Bumped runtime for heroku. 2020-01-06 13:57:19 +01:00
browniebroke
bfe0949635 Update coverage from 5.0 to 5.0.2 2020-01-06 11:00:33 +00:00
browniebroke
41d514e6cf Update pre-commit from 1.20.0 to 1.21.0 2020-01-03 08:00:31 -03:00
browniebroke
e33e90fb69 Update pillow from 6.2.1 to 7.0.0 2020-01-02 08:00:30 -03:00
browniebroke
aa48a03c1f Update django-compressor from 2.3 to 2.4 2019-12-31 08:00:30 -03:00
howiezhao
16b219034a Update docs files 2019-12-28 17:26:43 +08:00
browniebroke
66991d9e95 Update sphinx from 2.3.0 to 2.3.1 2019-12-23 08:00:31 -03:00
David D
c7027526a3 Add Debian 10 (buster) OS dependencies 2019-12-22 12:52:22 +01:00
Bruno Alla
f3eadb0e04
Update mypy to 0.761 (#2377)
Update mypy to 0.761
2019-12-20 09:32:23 -03:00
browniebroke
b75cb6e6da Update mypy from 0.760 to 0.761 2019-12-20 08:00:35 -03:00
browniebroke
2b0027de71 Update django-allauth from 0.40.0 to 0.41.0 2019-12-19 08:00:30 -03:00
Bruno Alla
cba14881fc
Remove mypy defaults and set django-stubs setting (#2359)
Remove mypy defaults and set django-stubs setting
2019-12-18 09:50:38 -03:00
Bruno Alla
82a185d77d
Update mypy to 0.760 (#2371)
Update mypy to 0.760
2019-12-18 09:49:34 -03:00
browniebroke
29d2ff0ccf Update mypy from 0.750 to 0.760 2019-12-18 08:00:35 -03:00
browniebroke
2229a09fac Update django from 2.2.8 to 2.2.9 2019-12-18 08:00:31 -03:00
Bruno Alla
494beaa4c1
Update sphinx to 2.3.0 (#2369)
Update sphinx to 2.3.0
2019-12-16 09:17:14 -03:00
browniebroke
acd63b14b8 Update sphinx from 2.2.2 to 2.3.0 2019-12-16 08:00:34 -03:00
browniebroke
8211a83f3a Update celery from 4.3.0 to 4.4.0 2019-12-16 08:00:30 -03:00
browniebroke
b6a524c346 Update coverage from 4.5.4 to 5.0 2019-12-15 08:00:29 -03:00
browniebroke
d085a9c432 Update django-redis from 4.10.0 to 4.11.0 2019-12-14 08:00:29 -03:00
Bruno Alla
2861e6c60c
Update whitenoise to 5.0.1 (#2363)
Update whitenoise to 5.0.1
2019-12-13 09:50:54 -03:00
Bruno Alla
96667bbc8f
Update django-model-utils to 4.0.0 (#2362)
Update django-model-utils to 4.0.0
2019-12-13 09:50:21 -03:00
browniebroke
6ce4b13d83 Update djangorestframework from 3.10.3 to 3.11.0 2019-12-13 08:00:36 -03:00
browniebroke
d418909714 Update whitenoise from 4.1.4 to 5.0.1 2019-12-13 08:00:31 -03:00
browniebroke
c59062a496 Update django-model-utils from 3.2.0 to 4.0.0 2019-12-12 08:00:35 -03:00
Dani Hodovic
0f515974cb
Remove mypy defaults and set django-stubs setting
https://mypy.readthedocs.io/en/latest/config_file.html

ignore_errors = False
strict_optional = True

Are both set to these values by default. No need to set them in the
config.

```toml
[mypy.plugins.django-stubs]
django_settings_module = config.settings.local
```
mypy.plugins.django-stubs requires django_settings_module to be set.
https://github.com/typeddjango/django-stubs#configuration
2019-12-11 14:58:21 +01:00
Dani Hodovic
1dd8608142
Add django.middleware.common.BrokenLinkEmailsMiddleware
https://docs.djangoproject.com/en/2.2/howto/error-reporting/#errors

> If those conditions are met, Django will email the users listed in the
> MANAGERS setting whenever your code raises a 404 and the request has a
> referer. It doesn’t bother to email for 404s that don’t have a referer –
> those are usually just people typing in broken URLs or broken Web bots.
> It also ignores 404s when the referer is equal to the requested URL,
> since this behavior is from broken Web bots too.
2019-12-10 12:46:52 +01:00
Yuchen Xie
a88b6b04b6 Speed up django image build process, and reduce its size 2019-12-09 09:55:37 +08:00
browniebroke
97880e5046 Update sentry-sdk from 0.13.4 to 0.13.5 2019-12-06 11:00:30 +00:00
Ivan Khomutov
113ce88d9c Add option to choose CI tool 2019-12-06 10:55:00 +03:00
Bruno Alla
efbf164e84
Update ipdb to 0.12.3 (#2346)
Update ipdb to 0.12.3
2019-12-04 13:25:33 +00:00
browniebroke
e7923c6c5c Update flake8 from 3.7.8 to 3.7.9 2019-12-04 11:00:35 +00:00
browniebroke
112972d881 Update ipdb from 0.12.2 to 0.12.3 2019-12-04 11:00:32 +00:00
Bruno Alla
828f9c5cf8
updated werkzeug from 0.14.1 to 0.16.0 (#2341)
updated werkzeug from 0.14.1 to 0.16.0
2019-12-03 14:12:08 +00:00
Bruno Alla
676c9fb336
Update sphinx to 2.2.2 (#2344)
Update sphinx to 2.2.2
2019-12-03 14:11:25 +00:00
browniebroke
3140fe74ca Update sphinx from 2.2.1 to 2.2.2 2019-12-03 11:00:42 +00:00
Jelmert
2214951bbe updated werkzeug from 0.14.1 to 0.16.0 2019-12-03 11:19:01 +01:00
Fábio C. Barrionuevo da Luz
faa6cdafd4
Merge branch 'master' into pyup-update-mypy-0.740-to-0.750 2019-12-02 13:49:20 -03:00
Fábio C. Barrionuevo da Luz
9fade08a69
Merge pull request #2335 from pydanny/pyup-update-pytest-5.3.0-to-5.3.1
Update pytest to 5.3.1
2019-12-02 13:47:48 -03:00
browniebroke
b638ce0a1b Update django from 2.2.7 to 2.2.8 2019-12-02 11:00:31 +00:00
browniebroke
1453b32891 Update mypy from 0.740 to 0.750 2019-11-30 11:00:31 +00:00
Denis Savran
c76b3066d6 Upgrade to Traefik v2 2019-11-29 21:35:40 +03:00
browniebroke
9ec808e7f4 Update pytest from 5.3.0 to 5.3.1 2019-11-28 11:00:32 +00:00
Bruno Alla
595b0c8d52
Update sentry-sdk to 0.13.4 (#2334)
Update sentry-sdk to 0.13.4
2019-11-27 12:26:01 +00:00
browniebroke
4283ca76a4 Update sentry-sdk from 0.13.3 to 0.13.4 2019-11-27 11:00:38 +00:00
browniebroke
6a302ec703 Update gunicorn from 20.0.3 to 20.0.4 2019-11-27 11:00:34 +00:00
Fábio C. Barrionuevo da Luz
7d563e873c
Merge pull request #2329 from morenoh149/patch-1
Make update form button look like a button
2019-11-26 17:09:08 -03:00
browniebroke
832275a792 Update gunicorn from 20.0.2 to 20.0.3 2019-11-26 11:00:32 +00:00
Fábio C. Barrionuevo da Luz
500504d4c5
Merge pull request #2323 from pydanny/pyup-update-gunicorn-20.0.0-to-20.0.2
Update gunicorn to 20.0.2
2019-11-25 19:24:15 -03:00
Fábio C. Barrionuevo da Luz
cb7c99b12f
Merge pull request #2324 from pydanny/pyup-update-django-crispy-forms-1.8.0-to-1.8.1
Update django-crispy-forms to 1.8.1
2019-11-25 19:24:04 -03:00
Fábio C. Barrionuevo da Luz
4355243848
Merge pull request #2325 from pydanny/pyup-update-pylint-django-2.0.12-to-2.0.13
Update pylint-django to 2.0.13
2019-11-25 19:23:40 -03:00
Harry Moreno
82c8b51272
Make update form button look like a button
without `ban-primary` the button looks like some floating text.
2019-11-25 16:43:30 -05:00
browniebroke
fbd0fcbb61 Update sentry-sdk from 0.13.2 to 0.13.3 2019-11-25 11:00:33 +00:00
browniebroke
dce02bae70 Update pylint-django from 2.0.12 to 2.0.13 2019-11-24 11:00:31 +00:00
browniebroke
09d95d8ab4 Update django-crispy-forms from 1.8.0 to 1.8.1 2019-11-23 11:00:37 +00:00
browniebroke
b014121810 Update gunicorn from 20.0.0 to 20.0.2 2019-11-23 11:00:33 +00:00
browniebroke
9481a5a390 Update django-storages from 1.7.2 to 1.8 2019-11-21 11:00:34 +00:00
browniebroke
4daf3b9769 Update django-storages from 1.7.2 to 1.8 2019-11-21 11:00:33 +00:00
Bruno Alla
117c7d025b
Using WhiteNoise in development (#2304)
Using WhiteNoise in development
2019-11-20 18:57:02 +00:00
browniebroke
cdd9205075 Update pytest from 5.2.4 to 5.3.0 2019-11-20 11:00:35 +00:00
browniebroke
526f135e85 Update pytest from 5.2.3 to 5.2.4 2019-11-16 11:00:32 +00:00
browniebroke
0bd04dd5b3 Update pytest from 5.2.2 to 5.2.3 2019-11-15 11:00:33 +00:00
Dani Hodovic
ff0122acd6
Use pytest-django --reuse-db for faster tests
Pytest-django allows you to re-use database setups between tests for
quicker test runs. This is especially useful for large projects with many
migrations.

For example, here's a project of mine with 40+ migrations:

with --reuse-db
```
pytest --reuse-db  2.54s user 0.35s system 108% cpu 2.669 total
```

without --reuse-db
```
pytest 7.40s user 0.34s system 50% cpu 15.240 total
```

Caveat: if your model happens to change you need to manually --create-db
to ensure migrations are applied.

https://pytest-django.readthedocs.io/en/latest/database.html#reuse-db-reuse-the-testing-database-between-test-runs
2019-11-13 23:28:38 +01:00
browniebroke
a38c61369e Update django-debug-toolbar from 2.0 to 2.1 2019-11-12 11:00:32 +00:00
Bruno Alla
c2daa58fc4
Update pytest-django to 3.7.0 (#2308)
Update pytest-django to 3.7.0
2019-11-10 22:16:32 +00:00
Bruno Alla
ea37ed5ffd
Merge pull request #2307 from pydanny/pyup-update-sentry-sdk-0.13.1-to-0.13.2
Update sentry-sdk to 0.13.2
2019-11-10 22:16:16 +00:00
browniebroke
fd5e9be58b Update pytest-django from 3.6.0 to 3.7.0 2019-11-09 11:00:37 +00:00
browniebroke
eeda7dfe33 Update sentry-sdk from 0.13.1 to 0.13.2 2019-11-09 11:00:33 +00:00
browniebroke
8a1ec53a74 Update gunicorn from 19.9.0 to 20.0.0 2019-11-09 11:00:30 +00:00
Yuchen Xie
0374f11d09 Using WhiteNoise in development 2019-11-07 21:03:33 +08:00
browniebroke
9e58bb4e80 Update pylint-django from 2.0.11 to 2.0.12 2019-11-05 12:00:32 +01:00
Bruno Alla
d68db825e2
Add pre-commit for the generated project. (#2171) (#2295)
Add pre-commit for the generated project. (#2171)
2019-11-04 13:38:02 +01:00
Bruno Alla
8eaf55408a
Update black to 19.10b0 (#2294)
Update black to 19.10b0
2019-11-04 13:36:20 +01:00
Bruno Alla
84c4589e87
Update django to 2.2.7 (#2299)
Update django to 2.2.7
2019-11-04 13:35:08 +01:00
browniebroke
8f74fdb942 Update django from 2.2.6 to 2.2.7 2019-11-04 12:00:33 +01:00
Bruce Olivier
04f3ae75dc Added more settings to .editorconfig to run isort and have black compatibility. 2019-11-02 16:55:18 -05:00
leollon
4a194c6966 Add pre-commit for the generated project. (#2171) 2019-10-29 22:48:39 +08:00
browniebroke
10e395f65c Update black from 19.3b0 to 19.10b0 2019-10-29 11:00:32 +00:00
Bruno Alla
976303115f
Merge branch 'master' into pyup-update-python-slugify-3.0.6-to-4.0.0 2019-10-28 12:43:34 +00:00
Bruno Alla
e806222978
Update sphinx to 2.2.1 (#2288)
Update sphinx to 2.2.1
2019-10-28 12:42:30 +00:00
Bruno Alla
5398e4b0fc
Merge pull request #2290 from pydanny/pyup-update-argon2-cffi-19.1.0-to-19.2.0
Update argon2-cffi to 19.2.0
2019-10-28 12:41:35 +00:00
browniebroke
9b61317682 Update argon2-cffi from 19.1.0 to 19.2.0 2019-10-28 11:00:33 +00:00
browniebroke
d006bc610c Update collectfast from 1.3.0 to 1.3.1 2019-10-28 11:00:30 +00:00
browniebroke
caa8b5a303 Update sphinx from 2.2.0 to 2.2.1 2019-10-26 12:00:30 +01:00
Bruno Alla
04a04da355
Update sentry-sdk to 0.13.1 (#2287)
Update sentry-sdk to 0.13.1
2019-10-25 15:32:17 +01:00
browniebroke
b7976b9c36 Update sentry-sdk from 0.13.0 to 0.13.1 2019-10-25 12:00:40 +01:00
browniebroke
c2aa615fdc Update pytest from 5.2.1 to 5.2.2 2019-10-25 12:00:37 +01:00
browniebroke
3f0134a64b Update collectfast from 1.2.0 to 1.3.0 2019-10-23 12:00:31 +01:00
browniebroke
998733411c Update pillow from 6.2.0 to 6.2.1 2019-10-22 12:00:35 +01:00
Bruno Alla
6b65cb15e1
Merge pull request #2262 from pydanny/pin-traefik-v1
Pin Traefik Docker image to v1
2019-10-22 08:50:58 +01:00
Bruno Alla
808078c6ba
Merge pull request #2276 from foarsitter/remove_awscli_definition_2193
fix: remove the aws Dockerfile and remove the awscli definition from …
2019-10-22 08:50:29 +01:00
Yuchen Xie
400fcc4030 Prevent collectfast from guessing a wrong strategy
If `COLLECTFAST_STRATEGY` is not provided in `settings`, `collectfast` has to guess a "strategy". For the case with AWS, it guesses `BotoStrategy` in stead of `S3Boto3Storage`, which is a wrong decision as we `pip install django-storages[boto3]` (`boto3` in favor of `boto`).

Setting `COLLECTFAST_STRATEGY` is also encouraged as `collectfast` is not going to guess the strategy in the future.

Ref:
* f37dd1faa2/collectfast/management/commands/collectstatic.py (L33)
* f37dd1faa2/collectfast/strategies/base.py (L170)
2019-10-22 10:42:32 +08:00
Fábio C. Barrionuevo da Luz
35a00c7484
Merge pull request #2278 from pydanny/pyup-update-django-extensions-2.2.3-to-2.2.5
Update django-extensions to 2.2.5
2019-10-21 12:12:13 -03:00
browniebroke
8cce6df70a Update django-extensions from 2.2.3 to 2.2.5 2019-10-21 12:00:32 +01:00
browniebroke
39c33c550c Update python-slugify from 3.0.6 to 4.0.0 2019-10-21 12:00:29 +01:00
Jelmert
58f41fc97f fix: remove the aws Dockerfile and remove the awscli definition from production.yml when not selected 2019-10-21 10:07:17 +02:00
browniebroke
96ade99c66 Update psycopg2-binary from 2.8.3 to 2.8.4 2019-10-20 12:00:29 +01:00
Bruno Alla
3b4d6857f0
Merge pull request #2273 from pydanny/pyup-update-django-crispy-forms-1.7.2-to-1.8.0
Update django-crispy-forms to 1.8.0
2019-10-18 17:09:44 +01:00
browniebroke
42e5581198 Update django-crispy-forms from 1.7.2 to 1.8.0 2019-10-18 12:00:32 +01:00
browniebroke
c8ebb633cf Update sentry-sdk from 0.12.3 to 0.13.0 2019-10-18 12:00:29 +01:00
Bruno Alla
488b1a5587
Update mypy to 0.740 (#2270)
Update mypy to 0.740
2019-10-17 13:24:26 +01:00
browniebroke
f87757f4ab Update pytest-django from 3.5.1 to 3.6.0 2019-10-17 12:00:31 +01:00
browniebroke
f8cbea93aa Update mypy from 0.730 to 0.740 2019-10-17 12:00:29 +01:00
browniebroke
be8afa27b3 Update redis from 3.3.10 to 3.3.11 2019-10-14 12:00:29 +01:00
Bruno Alla
a89f381633
Update redis to 3.3.10 (#2265)
Update redis to 3.3.10
2019-10-11 12:53:08 +01:00
browniebroke
f26cad1faa Update redis from 3.3.8 to 3.3.10 2019-10-11 12:00:32 +01:00
browniebroke
93473cb39a Update python-slugify from 3.0.4 to 3.0.6 2019-10-11 12:00:29 +01:00
Bruno Alla
5e196b45e9
Pin Traefik Docker image to v1
Until we do the required changes to update to v2.

Fixes #2258
2019-10-10 11:36:48 +01:00
Fábio C. Barrionuevo da Luz
2459392a98
Merge pull request #2260 from pydanny/pyup-update-collectfast-1.1.0-to-1.2.0
Update collectfast to 1.2.0
2019-10-07 09:22:15 -03:00
Fábio C. Barrionuevo da Luz
8c92e5f787
Merge pull request #2261 from pydanny/pyup-update-pytz-2019.2-to-2019.3
Update pytz to 2019.3
2019-10-07 09:19:14 -03:00
browniebroke
ca9addbbef Update pytz from 2019.2 to 2019.3 2019-10-07 12:00:36 +01:00
browniebroke
b338a7490a Update collectfast from 1.1.0 to 1.2.0 2019-10-07 12:00:34 +01:00
browniebroke
86fd35bba6 Update pytest from 5.2.0 to 5.2.1 2019-10-07 12:00:31 +01:00
Bruno Alla
98a443626b
Update to latest Python 3.7 runtime on Heroku 2019-10-06 13:07:20 +01:00
Bruno Alla
6a9feea2fe
Support python 3.7 (#2240)
Support python 3.7
2019-10-06 11:06:03 +01:00
Bruno Alla
13a5767503
Fix #2250 -- No staticfile storage with GCP without Whitenoise (#2251)
Fix #2250 -- No staticfile storage with GCP without Whitenoise
2019-10-04 14:46:35 +01:00
Caio Ariede
ff8a9de24e Updates 2019-10-04 09:32:25 -03:00
browniebroke
b8248f4758 Update collectfast from 1.0.0 to 1.1.0 2019-10-04 12:00:29 +01:00
Bruno Alla
8431f2684f
Merge pull request #2254 from pydanny/pyup-update-django-extensions-2.2.2-to-2.2.3
Update django-extensions to 2.2.3
2019-10-03 15:30:57 +01:00
browniebroke
9f1821cadf Update django-extensions from 2.2.2 to 2.2.3 2019-10-03 12:00:34 +01:00
browniebroke
6e27a8beac Update sentry-sdk from 0.12.2 to 0.12.3 2019-10-03 12:00:31 +01:00
Caio Ariede
39e745dddf Fix #2250 -- No staticfile storage with GCP without Whitenoise 2019-10-02 10:10:32 -03:00
Bruno Alla
4cd784ed10
Merge pull request #2248 from pydanny/pyup-update-django-extensions-2.2.1-to-2.2.2
Update django-extensions to 2.2.2
2019-10-02 13:03:36 +01:00
browniebroke
8a471c97e8 Update django-extensions from 2.2.1 to 2.2.2 2019-10-02 12:00:33 +01:00
browniebroke
daa0265a39 Update pillow from 6.1.0 to 6.2.0 2019-10-02 12:00:29 +01:00
Bruno Alla
a7aeb75d02
Update django-anymail to 7.0.0 (#2220)
Update django-anymail to 7.0.0
2019-10-01 21:05:52 +01:00
Fábio C. Barrionuevo da Luz
fc0b9548df
Merge pull request #2241 from pydanny/pyup-update-django-2.2.5-to-2.2.6
Update django to 2.2.6
2019-10-01 12:29:35 -03:00
browniebroke
7b73c2eb92 Update pytest from 5.1.3 to 5.2.0 2019-10-01 12:00:33 +01:00
browniebroke
4aed40d74d Update django from 2.2.5 to 2.2.6 2019-10-01 12:00:29 +01:00
Nicolas Stefani
1f68e370ee Updated python version to 3.7 2019-09-29 21:07:59 -03:00
Nicolas Stefani
7d0f8606ed Update python image to 3.7 2019-09-29 09:41:13 -03:00
browniebroke
9e5343dd31 Update mypy from 0.720 to 0.730 2019-09-27 12:00:30 +01:00
Bruno Alla
164e2aa69c
Update pytest to 5.1.3 (#2233)
Update pytest to 5.1.3
2019-09-25 17:43:31 +01:00
browniebroke
e924a55d78 Update whitenoise from 4.1.3 to 4.1.4 2019-09-25 12:00:29 +01:00
browniebroke
aa57342794 Update pytest from 5.1.2 to 5.1.3 2019-09-23 12:00:28 +01:00
Bruno Alla
f280df0246
Merge pull request #2231 from pydanny/pyup-update-python-slugify-3.0.3-to-3.0.4
Update python-slugify to 3.0.4
2019-09-21 13:07:12 +01:00
browniebroke
02689f67e7 Update python-slugify from 3.0.3 to 3.0.4 2019-09-21 12:00:33 +01:00
browniebroke
ce3547e890 Update sentry-sdk from 0.12.0 to 0.12.2 2019-09-21 12:00:30 +01:00
browniebroke
f8963e0dd3 Update sentry-sdk from 0.11.2 to 0.12.0 2019-09-19 12:00:30 +01:00
Jerome Caisip
548417612f Additonal option to setup DRF. 2019-09-17 23:24:09 +08:00
Bruno Alla
bb6320efc8
Add context processor for settings variables (#2203)
Add context processor for settings variables
2019-09-11 22:50:53 +01:00
browniebroke
fab5bf8a04 Update django-storages from 1.7.1 to 1.7.2 2019-09-10 13:00:30 +02:00
browniebroke
db777571c4 Update django-storages from 1.7.1 to 1.7.2 2019-09-10 13:00:29 +02:00
browniebroke
e5f9dd2c78 Update django-anymail from 6.1.0 to 7.0.0 2019-09-08 13:00:29 +02:00
Bruno Alla
1df888b2b6
Merge branch 'master' into pyup-update-pytest-5.1.1-to-5.1.2 2019-09-05 18:53:46 +02:00
Dani Hodovic
69566f5456
Add context processor for settings variables
This allows for usage of settings variables in templates, e.g

```
{% if settings.USE_ANALYTICS %}
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id={{ settings.GOOGLE_TAG_MANAGER_ID }}" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
{% endif %}
```
2019-09-05 13:24:47 +02:00
browniebroke
c29795b1dc Update djangorestframework from 3.10.2 to 3.10.3 2019-09-05 13:00:31 +02:00
Bruno Alla
baab918874
Remove AWS_PRELOAD_METADATA (#2204)
Remove AWS_PRELOAD_METADATA
2019-09-04 20:34:23 +02:00
Bruno Alla
391feb393b
Add default tests.py file pattern to pytest (#2213)
Add default tests.py file pattern to pytest
2019-09-04 20:31:45 +02:00