Commit Graph

971 Commits

Author SHA1 Message Date
Bruno Alla
895298c28f Refactor Celery integration according to current best practices
- Change celery app to not be a Django app, more like a WSGI app
- Define a Celery task in the Django users app
- Write a test to execute the task
- Update scripts to use the new app to start workers
- Update documentation

Fix #865
2019-04-02 15:40:32 +01:00
browniebroke
fbce0c8ba1 Update pillow from 5.4.1 to 6.0.0 2019-04-02 12:00:29 +01:00
Bruno Alla
c645e7bb2e
Merge pull request #2008 from pydanny/pyup-update-celery-4.2.1-to-4.3.0
Update celery to 4.3.0
2019-04-01 13:11:29 +01:00
Bruno Alla
b8f24563ba
Merge pull request #2007 from pydanny/pyup-update-python-slugify-3.0.1-to-3.0.2
Update python-slugify to 3.0.2
2019-04-01 13:01:29 +01:00
Bruno Alla
b3680c8d72
Remove Kombu from direct dependencies 2019-04-01 12:59:05 +01:00
browniebroke
faf0e0bc7e Update pytest from 4.3.1 to 4.4.0 2019-04-01 12:00:43 +01:00
browniebroke
e10aafe802 Update celery from 4.2.1 to 4.3.0 2019-04-01 12:00:35 +01:00
browniebroke
22801fe30e Update python-slugify from 3.0.1 to 3.0.2 2019-04-01 12:00:32 +01:00
Bruno Alla
717bbbdb13
Merge pull request #2005 from pydanny/pyup-update-sentry-sdk-0.7.8-to-0.7.9
Update sentry-sdk to 0.7.9
2019-04-01 08:48:15 +01:00
Bruno Alla
4e70a4b55a
Test all possible template combinations (#1993)
## Description

Fixes #591.

## Rationale

We are currently not testing many combinations, we run Flake8 on the generated project with default options, but that rarely catch any issues.

## Use case(s) / visualization(s)

Catch problems with invalid combinations, for instance, it fails due to Whitenoise breaking flake8 with `django-compressor` because `STATIC_URL` was undefined here:

b91c70d755/%7B%7Bcookiecutter.project_slug%7D%7D/config/settings/production.py (L185)
2019-04-01 08:47:46 +01:00
browniebroke
1bc185d2f7 Update sentry-sdk from 0.7.8 to 0.7.9 2019-03-31 12:00:28 +01:00
browniebroke
3b6f73afb2 Update sphinx from 1.8.5 to 2.0.0 2019-03-29 11:00:31 +00:00
browniebroke
28c60116a6 Update pylint-django from 0.9.4 to 2.0.6 2019-03-27 11:00:31 +00:00
Bruno Alla
55ef75e7a0
Merge pull request #1991 from hanaquadara/issue-1590/add-plugins-to-reqs
Add pylint plugins to requirements.txt
2019-03-26 21:45:51 +00:00
hanasuhail
c2f8569eb3 add sources 2019-03-26 17:16:40 -04:00
Bruno Alla
1842061be0
Merge pull request #1995 from pydanny/pyup-update-python-slugify-3.0.0-to-3.0.1
Update python-slugify to 3.0.1
2019-03-26 11:43:43 +00:00
browniebroke
99d7e1d5ef Update python-slugify from 3.0.0 to 3.0.1 2019-03-26 11:00:35 +00:00
browniebroke
5db400fbcf Update sentry-sdk from 0.7.7 to 0.7.8 2019-03-26 11:00:32 +00:00
hanasuhail
b261ce27c4 update restructured text link; add condition for celery linter 2019-03-25 15:52:49 -04:00
Bruno Alla
b91c70d755
Add a node image to run Gulp when selecting it with Docker (#1687)
## Description

Following up on @webyneter attempt in #1205, which is now getting outdated, I've tried to make Gulp task runner work with Docker. There is no documentation yet, but this seems to work locally with the custom bootstrap compilation...

- [x] Add a node image for local developement
- [x] Proxy the django image rather than localhost in Browser sync, pass header to keep hostname
- [x] Don't call the runserver command from Gulp, let docker-compose handle
- [x] Update package.json & gulpfile.js templates to reduce the number of unwanted empty lines
- [x] Use [multi-stage build](https://docs.docker.com/develop/develop-images/multistage-build/) in production to make sure the static assets are produced
- [x] Update documentation
- [x] Verify that the previous issue with static assets missing from production isn't there 

## Rationale

Currently, the static build isn't working nicely with Docker, extra manual setup is required.

Fixes #1762
2019-03-25 12:10:55 +00:00
Hana Quadara
85aea55fc6 add plugins to req file; remove pylint-common 2019-03-23 00:01:23 -04:00
browniebroke
7f3aa6cebb Update werkzeug from 0.15.0 to 0.15.1 2019-03-22 11:00:31 +00:00
Bruno Alla
9f9e2344b4
Merge branch 'master' into pyup-update-ipdb-0.11-to-0.12 2019-03-21 18:30:13 +00:00
Bruno Alla
cd4d70573b
Merge pull request #1985 from pydanny/pyup-update-black-18.9b0-to-19.3b0
Update black to 19.3b0
2019-03-21 18:29:33 +00:00
Bruno Alla
b9a9726e0f
Merge pull request #1987 from pydanny/pyup-update-pytest-django-3.4.7-to-3.4.8
Update pytest-django to 3.4.8
2019-03-21 17:59:18 +00:00
Bruno Alla
8901e70a2f
Merge pull request #1986 from pydanny/pyup-update-django-extensions-2.1.5-to-2.1.6
Update django-extensions to 2.1.6
2019-03-21 17:58:53 +00:00
Bruno Alla
bd57ab615f
Merge branch 'master' into pyup-update-black-18.9b0-to-19.3b0 2019-03-21 17:38:56 +00:00
Bruno Alla
5e90722341
Merge pull request #1984 from pydanny/pyup-update-coverage-4.5.2-to-4.5.3
Update coverage to 4.5.3
2019-03-21 17:38:13 +00:00
Bruno Alla
0126cebd07
Merge pull request #1983 from pydanny/pyup-update-pytest-4.2.0-to-4.3.1
Update pytest to 4.3.1
2019-03-21 17:37:52 +00:00
Bruno Alla
3afdde4934
Merge pull request #1982 from pydanny/pyup-update-sphinx-1.8.4-to-1.8.5
Update sphinx to 1.8.5
2019-03-21 17:12:52 +00:00
Bruno Alla
78b735bd68
Merge pull request #1979 from pydanny/pyup-update-djangorestframework-3.9.1-to-3.9.2
Update djangorestframework to 3.9.2
2019-03-21 17:12:29 +00:00
Bruno Alla
31d53c75f2
Merge branch 'master' into pyup-update-ipdb-0.11-to-0.12 2019-03-21 17:04:48 +00:00
Bruno Alla
6c6aa7c215
Merge pull request #1980 from pydanny/pyup-update-werkzeug-0.14.1-to-0.15.0
Update werkzeug to 0.15.0
2019-03-21 17:03:53 +00:00
Bruno Alla
85dea50436
Merge pull request #1978 from pydanny/pyup-update-django-allauth-0.38.0-to-0.39.1
Update django-allauth to 0.39.1
2019-03-21 16:45:47 +00:00
Bruno Alla
cfc82a668f
Merge pull request #1976 from pydanny/pyup-update-python-slugify-2.0.1-to-3.0.0
Update python-slugify to 3.0.0
2019-03-21 16:39:37 +00:00
Bruno Alla
6e53dcaa30
Merge pull request #1975 from pydanny/pyup-update-django-anymail-5.0-to-6.0
Update django-anymail to 6.0
2019-03-21 16:26:40 +00:00
browniebroke
65d315ed29 Update pytest-django from 3.4.7 to 3.4.8 2019-03-21 16:01:31 +00:00
browniebroke
a8c52e2d45 Update django-extensions from 2.1.5 to 2.1.6 2019-03-21 16:01:28 +00:00
browniebroke
d92754684f Update black from 18.9b0 to 19.3b0 2019-03-21 16:01:24 +00:00
browniebroke
3995e9e807 Update coverage from 4.5.2 to 4.5.3 2019-03-21 16:01:21 +00:00
browniebroke
a7163b9409 Update pytest from 4.2.0 to 4.3.1 2019-03-21 16:01:18 +00:00
browniebroke
b5ab945ca2 Update sphinx from 1.8.4 to 1.8.5 2019-03-21 16:01:14 +00:00
browniebroke
f67a78903e Update ipdb from 0.11 to 0.12 2019-03-21 16:01:08 +00:00
browniebroke
7b83d47e2b Update werkzeug from 0.14.1 to 0.15.0 2019-03-21 16:01:05 +00:00
browniebroke
f04e96e30f Update djangorestframework from 3.9.1 to 3.9.2 2019-03-21 16:01:00 +00:00
browniebroke
dd85d6df39 Update django-allauth from 0.38.0 to 0.39.1 2019-03-21 16:00:57 +00:00
browniebroke
bb26ed565b Update python-slugify from 2.0.1 to 3.0.0 2019-03-21 16:00:50 +00:00
browniebroke
4cd30e4657 Update django-anymail from 5.0 to 6.0 2019-03-21 16:00:47 +00:00
browniebroke
1ed1e6ac47 Update sentry-sdk from 0.7.6 to 0.7.7 2019-03-21 16:00:43 +00:00
Bruno Alla
91585a0eb2 Add OS requirements for Ubuntu Bionic 18.04
Fixes #1973
2019-03-20 12:54:58 +00:00