Commit Graph

1211 Commits

Author SHA1 Message Date
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
Bruno Alla
823ee637d1 Remove dead link in .gitignore
Fixes #1972
2019-03-20 12:16:43 +00:00
Bruno Alla
5bf0a397ac Pin redis version 2019-03-20 12:09:43 +00:00
Bruno Alla
b0cb86f282
Merge pull request #1958 from rolep/kombu-update
Redis and Kombu update
2019-03-20 12:08:41 +00:00
Guilherme Fabrizio
7d1e90bdf5 Migrate to unified Sentry SDK (#1820)
The raven library is deprecated. Replace it by the new sentry-sdk library:

https://docs.sentry.io/error-reporting/quickstart/?platform=python

fixes #1818
2019-03-20 10:04:44 +00:00
Bruno Alla
997b22e4ce Merge branch 'fix/default-acl' 2019-03-19 20:02:41 +00:00
Bruno Alla
b594a15847 Add code style black to the generated README 2019-03-19 20:02:26 +00:00
Bruno Alla
6e9f87fced Set AWS_DEFAULT_ACL to None as per django-storages documentation
fixes #1885
2019-03-19 19:57:31 +00:00
Bruno Alla
e740a54da6
Update Flower version 2019-03-19 12:30:19 +00:00
Demetris
b312d516a4 Replace Caddy with Traefik (#1714)
## Description

Replace Caddy with Traefik

## Rationale

There is some trouble with the Caddy license (https://github.com/pydanny/cookiecutter-django/pull/1282#issuecomment-329617536) 

@drdaeman suggested using Traefik (https://github.com/pydanny/cookiecutter-django/pull/1282#issuecomment-353655273) which supports ACME and also plays very nice with Docker.

## Comments

I am currently using the proposed setup on a live site and it working great so far. If this PR is of interest to the maintainers, then I could commit more changes and take care of the documentation. Of course, any suggestions by the more experienced people around here, are welcome!
2019-03-19 09:32:45 +00:00
Bruno Alla
3bd7aa4e1a Fix build error with windows=y and docker=y combination
Fixes #1917
2019-03-18 20:55:47 +00:00
Bruno Alla
68f7268770
Run Black on Travis (#1957)
* Create a test matrix on Travis CI to help testing multiple options

* Change test_docker.sh to fail if any command in it fails

* Run black on the CI with --check option

* Fix formatting of project files using black

* Install black in the docker container

* Exclude migrations in black checks

* Fix Black formatting violations

* Run black on the whole generated project & fix issues
2019-03-18 17:49:43 +00:00
Bruno Alla
563e0938a8
Merge pull request #1664 from pydanny/clean-up-project-docs
Remove project doc files likely to remain unused
2019-03-13 14:40:18 -03:00
Oleg Russkin
638c93d1df Add kombu to base (celery) dependencies
Using latest version 4.4.0, previous suitable 4.3.0
also had bug: kombu/issues#1006
2019-03-12 16:38:43 +02:00
Oleg Russkin
6213af4b56 Update redis to 3.2.0
Related bug was fixed: celery/kombu#947
Moreover, recent kombu versiones demand
such redis version.
2019-03-12 16:35:03 +02:00
Bruno Alla
eb85627d1a Update to latest bug fix for Python 3.6 to fix Heroku warning when deploying
Python has released a security update! Please consider upgrading to python-3.6.8
Learn More: https://devcenter.heroku.com/articles/python-runtimes
2019-03-11 22:02:11 +00:00
Bruno Alla
9eab0b9365
Merge pull request #1956 from pydanny/conditional-redis-merge
## Description

This is the same as the pull request #1693 with the master branch merged into it to avoid all the extra unrelated commits which are already in master. Looks like Github is getting confused due to a rebase on that branch, which make that PR hard to review...

## Rationale

See #1693 - Locally, Redis is necessary only if Celery is used, while in Production it's also used for Caching.

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

Fixes #1691
2019-03-11 21:12:58 +00:00
yunti
1c5c4e52c0 Add automatic migrations to heroku deploys (#1951)
heroku now has a new feature for running tasks as part of deployment. Perfect for automatic migrations.
https://devcenter.heroku.com/articles/release-phase#specifying-release-phase-tasks
2019-03-11 21:05:31 +00:00
Bruno Alla
ae27ef3fae Merge branch 'master' into conditional-redis-merge 2019-03-11 20:53:36 +00:00
btknu
6e72169ffe Add missing script key to Travis CI config (#1950)
* Add failing test for travis.yml

I see three options to test travis.yml :

1. Testing that the YAML contains relevant value. Least useful and least
reliable, but simplest to implement.

2. Testing that the YAML is valid TravisCI YAML. Unfortunately this is
difficult / impossible. Doing 'travis lint' would succeed, this command
does not check for 'script' key presence and wouldn't be useful for us.

We could use 'travis-build' to verify that the YAML can be converted to
a worker config, but as of now 'travis-build' doesn't work out of the
box.

There is a new tool for validating travis YAML files 'travis-yml', but
as of now it's a ruby-only library and it's still a work in progress.

3. Running Travis CI task based on the generated YAML. This seems the
best approach, however since cookiecutter-django itself uses Travis CI,
that would require running Travis CI from within Travis CI.

Scheduling Travis CI job without a github push still requires a public
github repo, which is something that we can't generate on demand.

Given that I'm opting to use approach 1.

* Adds missing config to generated .travis.yml

The keys added are as follows:

1. 'script'

Required by Travis, cookiecutter-django used to provide it until it has
been removed together with hitch.

I'm assuming hitch has been replaced with pytest, I'm setting pytest as
the new value for the 'script' key.

2. 'install'

Not required by Travis, but necessary in our case; installs test
libraries, mostly pytest.

As of now this points to 'local.txt' requirements file. There used to be
a separate 'test.txt' requirements file but it has been decided to merge
it with 'local.txt', see discussion in
https://github.com/pydanny/cookiecutter-django/pull/1557 .

* Update CONTRIBUTORS.rst
2019-03-05 22:10:45 -03:00
keithjeb
aea5c807f6 Change eager celery setting in local Docker (#1945)
[//]: # (Thank you for helping us out: your efforts mean great deal to the project and the community as a whole!)

[//]: # (Before you proceed:)

[//]: # (1. Make sure to add yourself to `CONTRIBUTORS.rst` through this PR provided you're contributing here for the first time)
[//]: # (2. Don't forget to update the `docs/` presuming others would benefit from a concise description of whatever that you're proposing)


## Description

[//]: # (What's it you're proposing?)

Added a note around CELERY_TASK_ALWAYS_EAGER = True in docker config for local development. This causes tasks to be executed on the 'main' thread rather than by the workers. I understand why that might be desirable, but thought it worth calling out incase (like me) it makes people think something is broken.


## Rationale

[//]: # (Why does the project need that?)

Ease of use/troubleshooting


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

[//]: # ("Better to see something once than to hear about it a thousand times.")
2019-03-02 13:51:30 +00:00
Anna Sidwell
b6b7176d02 Make requested changes:
* Reorder meta tasks to the bottom
* Fix JS compilation issue
* Replace strings concatenation with templates
2019-02-27 10:11:20 +11:00
Anna Sidwell
2676401ed7 Update Gulp & other dependencies 2019-02-23 18:47:30 +11:00
pyup.io bot
1c11f0950f Update django from 2.0.10 to 2.0.13 (#1936) 2019-02-16 14:34:11 +03:00
pyup-bot
9e2d335ed3 Update mypy from 0.660 to 0.670 2019-02-08 16:28:37 -08:00
Bruno Alla
7fe87d9c97
Merge pull request #1925 from pydanny/pyup-update-pytest-django-3.4.5-to-3.4.7
Update pytest-django to 3.4.7
2019-02-05 10:26:10 +01:00
Bruno Alla
ca528c482c
Merge pull request #1926 from pydanny/pyup-update-flake8-3.7.4-to-3.7.5
Update flake8 to 3.7.5
2019-02-05 10:25:50 +01:00
pyup-bot
06a96b68dc Update sphinx from 1.8.3 to 1.8.4 2019-02-04 18:46:40 -08:00
pyup-bot
fe81992501 Update flake8 from 3.7.4 to 3.7.5 2019-02-04 18:46:34 -08:00
pyup-bot
6050368df0 Update pytest-django from 3.4.5 to 3.4.7 2019-02-03 13:54:30 -08:00
pyup-bot
8774ede3b0 Update flake8 from 3.7.3 to 3.7.4 2019-02-01 06:53:37 -08:00
Bruno Alla
65d2ce07fb
Merge pull request #1916 from pydanny/pyup-update-django-extensions-2.1.4-to-2.1.5
Update django-extensions to 2.1.5
2019-01-31 16:53:04 +01:00
Bruno Alla
11e7adfbd4
Merge pull request #1920 from pydanny/pyup-update-flake8-3.6.0-to-3.7.3
Update flake8 to 3.7.3
2019-01-31 16:52:30 +01:00
pyup-bot
43bfd66aa0 Update flake8 from 3.6.0 to 3.7.3 2019-01-31 05:23:23 -08:00
pyup-bot
8c7a3613ba Update pytest from 4.1.1 to 4.2.0 2019-01-30 16:40:23 -08:00
Fábio C. Barrionuevo da Luz
156afe675b
Merge pull request #1907 from pydanny/pyup-update-djangorestframework-3.9.0-to-3.9.1
Update djangorestframework to 3.9.1
2019-01-30 17:08:42 -03:00
pyup-bot
0ef965cbfd Update django-extensions from 2.1.4 to 2.1.5 2019-01-30 11:53:28 -08:00
pyup-bot
a7af2d5153 Update psycopg2-binary from 2.7.6.1 to 2.7.7 2019-01-22 11:58:06 -08:00
pyup.io bot
563ca77480 Update mypy from 0.650 to 0.660 (#1908) 2019-01-22 14:30:50 +03:00
pyup.io bot
e2f46e392e Update argon2-cffi from 18.3.0 to 19.1.0 (#1909) 2019-01-22 14:30:37 +03:00
pyup-bot
cf88911c36 Update djangorestframework from 3.9.0 to 3.9.1 2019-01-16 09:20:56 -08:00
pyup.io bot
b0380da4c0 Update pytz from 2018.7 to 2018.9 (#1902) 2019-01-13 16:48:23 +03:00
pyup.io bot
e5f779c9cc Update pytest-django from 3.4.4 to 3.4.5 (#1903) 2019-01-13 16:48:11 +03:00
pyup-bot
33d03e06ab Update pytest from 4.1.0 to 4.1.1 2019-01-12 23:34:49 -08:00
pyup.io bot
34620a1c57 Update pillow from 5.3.0 to 5.4.1 (#1901) 2019-01-07 02:04:50 +03:00
pyup.io bot
2bf8f286e4 Update pytest to 4.1.0 (#1900)
* Update pytest from 4.0.2 to 4.1.0

* Update pytest from 4.0.2 to 4.1.0
2019-01-07 02:04:14 +03:00
pyup-bot
530e94d30e Update django from 2.0.9 to 2.0.10 2019-01-04 13:34:34 -08:00
pyup.io bot
83150e9a55 Update python-slugify from 2.0.0 to 2.0.1 (#1898) 2019-01-04 10:17:12 +08:00
Fábio C. Barrionuevo da Luz
cfe8048929
Merge pull request #1896 from pydanny/pyup-update-sphinx-1.8.2-to-1.8.3
Update sphinx to 1.8.3
2018-12-27 12:00:30 -03:00
pyup-bot
d35bad4f99 Update sphinx from 1.8.2 to 1.8.3 2018-12-25 15:42:12 -08:00
pyup-bot
23f0f6e015 Update python-slugify from 1.2.6 to 2.0.0 2018-12-25 15:42:08 -08:00
pyup-bot
09f4b8225c Update raven from 6.9.0 to 6.10.0 2018-12-19 07:53:59 -08:00
Bruno Alla
c9f6159d62
Merge pull request #1883 from pydanny/pyup-update-django-debug-toolbar-1.10.1-to-1.11
Update django-debug-toolbar to 1.11
2018-12-17 14:25:48 +00:00
Bruno Alla
78a26b2690
Merge branch 'master' into pyup-update-mypy-0.641-to-0.650 2018-12-17 14:17:38 +00:00
pyup-bot
553e752a6b Update pytest from 4.0.1 to 4.0.2 2018-12-14 18:35:57 -08:00
pyup-bot
6fcded1ec9 Update mypy from 0.641 to 0.650 2018-12-07 13:33:34 -08:00
pyup-bot
928bf6fe4e Update django-debug-toolbar from 1.10.1 to 1.11 2018-12-03 11:28:28 -08:00
Tubo Shi
a1508f2600 updated spacing utility class name 2018-11-30 18:12:08 +13:00
pyup-bot
ebaddf6320 Update pytest from 4.0.0 to 4.0.1 2018-11-24 09:32:08 -08:00
pyup.io bot
e97304387d Update django-extensions from 2.1.3 to 2.1.4 (#1875) 2018-11-22 15:56:54 +00:00
Bruno Alla
6e85ee4aa9
Merge pull request #1869 from Egregors/master
Pinning redis version to >=2.10.6, <3
2018-11-20 16:17:38 +00:00
Bruno Alla
5df8a5cf64
Merge pull request #1852 from hpbruna/patch-1
CSRF in header
2018-11-20 09:57:49 +00:00
pyup.io bot
a598a0a67a Update whitenoise from 4.1.1 to 4.1.2 (#1872) 2018-11-20 10:10:30 +08:00
pyup-bot
0d5ce3c032 Update django-redis from 4.9.0 to 4.10.0 2018-11-19 02:19:54 -08:00
Vadim Iskuchekov
e407eb9c13
Clean up, version restriction not only for pyup
Default pip ignored # pyup notation. So now version restriction sets decidedly
2018-11-18 18:49:55 +01:00
Vadim Iskuchekov
ff6d331a20
Pinning redis version to >=2.10.6, <3
Fix #1868
2018-11-18 17:06:07 +01:00
pyup.io bot
f439e935a8 Update pytest to 4.0.0 (#1867)
* Update pytest from 3.10.1 to 4.0.0

* Update pytest from 3.10.1 to 4.0.0
2018-11-17 09:59:09 +00:00
pyup.io bot
c6fd1c1905 Update pytest-django from 3.4.3 to 3.4.4 (#1864) 2018-11-13 15:24:27 +00:00
Bruno Alla
3aa289e79b
Merge pull request #1861 from carlmjohnson/master
Settings: Use security settings in dev as well as prod
2018-11-13 12:46:54 +00:00
Bruno Alla
320c957f4e
Merge pull request #1863 from pydanny/pyup-update-coverage-4.5.1-to-4.5.2
Update coverage to 4.5.2
2018-11-13 08:30:45 +00:00
pyup-bot
7627ce4c30 Update coverage from 4.5.1 to 4.5.2 2018-11-12 16:08:48 -08:00
pyup-bot
7e03b56694 Update whitenoise from 4.1 to 4.1.1 2018-11-12 16:08:45 -08:00
Carl Johnson
1753812136 Settings: Use security settings in dev as well as prod 2018-11-12 15:04:03 -05:00
Leo Zhou
8217ea439b Config celery app immediately after the app being created, otherwise it is too late. 2018-11-12 17:59:26 +08:00
Bruno Alla
a6117de501
Merge pull request #1858 from pydanny/pyup-update-psycopg2-binary-2.7.5-to-2.7.6.1
Update psycopg2-binary to 2.7.6.1
2018-11-11 18:53:11 +00:00
Bruno Alla
90677a4efa
Merge pull request #1857 from pydanny/pyup-update-sphinx-1.8.1-to-1.8.2
Update sphinx to 1.8.2
2018-11-11 18:52:38 +00:00
pyup-bot
821e895323 Update pytest from 3.10.0 to 3.10.1 2018-11-11 10:12:43 -08:00
pyup-bot
ecf9b68129 Update psycopg2-binary from 2.7.5 to 2.7.6.1 2018-11-11 08:44:44 -08:00
pyup-bot
e15a0bac8f Update sphinx from 1.8.1 to 1.8.2 2018-11-11 08:44:40 -08:00
pyup.io bot
ca0265324e Update pytest-sugar from 0.9.1 to 0.9.2 (#1854) 2018-11-09 02:12:21 +03:00
HP Bruna
03e5670c25
CSRF in header
CSRF header is needed for a POST request in the Django REST framework.
2018-11-07 21:54:52 +01:00
pyup.io bot
33eb8fbe25 Update django-anymail from 4.3 to 5.0 (#1851) 2018-11-07 22:04:24 +03:00
pyup.io bot
36075be6dc Update pytest to 3.10.0 (#1848)
* Update pytest from 3.9.3 to 3.10.0

* Update pytest from 3.9.3 to 3.10.0
2018-11-05 10:31:50 +03:00
pyup.io bot
ee67e6019d Update pytz from 2018.6 to 2018.7 (#1845) 2018-10-29 22:15:57 +03:00
pyup.io bot
6c24de9c0f Update pytest to 3.9.3 (#1842)
* Update pytest from 3.9.2 to 3.9.3

* Update pytest from 3.9.2 to 3.9.3
2018-10-28 11:35:57 +03:00
Davit Tovmasyan
6cb59c6ca4 Keep ipython history (#1836) 2018-10-24 13:37:15 +03:00
pyup.io bot
ef2fc781f8 Update flake8 to 3.6.0 (#1839)
* Update flake8 from 3.5.0 to 3.6.0

* Update flake8 from 3.5.0 to 3.6.0
2018-10-24 13:36:48 +03:00
pyup.io bot
25477ac33d Update pytz from 2018.5 to 2018.6 (#1840) 2018-10-24 13:36:29 +03:00
pyup.io bot
649ca872d2 Update pytest to 3.9.2 (#1837)
* Update pytest from 3.9.1 to 3.9.2

* Update pytest from 3.9.1 to 3.9.2
2018-10-23 20:23:23 +03:00
Fábio C. Barrionuevo da Luz
07fa71b3a2
Merge pull request #1833 from pydanny/pyup-update-pytest-3.8.2-to-3.9.1
Update pytest to 3.9.1
2018-10-18 13:12:29 -03:00
pyup-bot
f5df324920 Update djangorestframework from 3.8.2 to 3.9.0 2018-10-18 09:46:59 -05:00
pyup-bot
784f6c9ca7 Update pytest from 3.8.2 to 3.9.1 2018-10-17 07:05:55 -05:00
pyup.io bot
9c9c831541 Update mypy from 0.630 to 0.641 (#1832) 2018-10-16 10:13:36 +08:00
pyup.io bot
c0487b667f Update django-anymail from 4.2 to 4.3 (#1831) 2018-10-12 11:41:15 +08:00
Bruno Alla
1bef404355
Merge pull request #1823 from pydanny/pyup-update-django-allauth-0.37.1-to-0.38.0
Update django-allauth to 0.38.0
2018-10-10 18:15:29 +01:00
Bruno Alla
71ef923885
Merge pull request #1826 from pydanny/pyup-update-gunicorn-19.8.1-to-19.9.0
Update gunicorn to 19.9.0
2018-10-10 16:29:02 +01:00
Bruno Alla
9ccb415dfb
Merge pull request #1822 from pydanny/pyup-update-pytest-3.8.1-to-3.8.2
Update pytest to 3.8.2
2018-10-10 16:27:39 +01:00
pyup-bot
5ef7522436 Update gunicorn from 19.8.1 to 19.9.0 2018-10-09 13:52:46 -07:00
Bruno Alla
f270741f06
Merge pull request #1805 from pydanny/docs-local-dev
Update documentation for local developement on bare metal
2018-10-04 23:24:39 +01:00
pyup-bot
06b80fc871 Update django-allauth from 0.37.1 to 0.38.0 2018-10-03 16:15:29 -05:00
pyup-bot
8ae766b7e5 Update pytest from 3.8.1 to 3.8.2 2018-10-03 07:09:30 -05:00
Bruno Alla
5f8e074903
Merge pull request #1816 from pydanny/pyup-update-pillow-5.2.0-to-5.3.0
Update pillow to 5.3.0
2018-10-01 20:15:46 +01:00
pyup-bot
a265756d48 Update django from 2.0.8 to 2.0.9 2018-10-01 06:50:15 -05:00
pyup-bot
32591ed655 Update pillow from 5.2.0 to 5.3.0 2018-10-01 06:50:11 -05:00
pyup-bot
cc2602661e Update django-extensions from 2.1.2 to 2.1.3 2018-09-29 18:18:21 -05:00
pyup.io bot
b626fac5c6 Update pytest to 3.8.1 (#1813)
* Update pytest from 3.8.0 to 3.8.1

* Update pytest from 3.8.0 to 3.8.1
2018-09-26 06:40:59 +00:00
pyup-bot
f259e0f17a Update sphinx from 1.8.0 to 1.8.1 2018-09-22 13:18:11 -07:00
pyup.io bot
78fb8c1475 Update mypy from 0.620 to 0.630 (#1807) 2018-09-20 13:36:16 +00:00
Bruno Alla
3a611d4767 Fix package.json
- Fix vertical spacing
- Fix jQuery dependency
2018-09-17 22:07:26 +01:00
Bruno Alla
f4cfe6c704
Merge pull request #1801 from ChrisPappalardo/master
fixed production bugs in caddyfile and middleware
2018-09-16 13:40:20 +01:00
pyup.io bot
49a7740850 Update pytest-django from 3.4.2 to 3.4.3 (#1806) 2018-09-16 17:49:45 +08:00
Bruno Alla
6dd64ddd53 Update documentation for bare metal local development
- Mention the need for Redis if Celery is selected
- Link to PostgreSQL & Redis download pages
- Detail better how to set the environment
- Improve internal links using Sphinx' :ref
- Remove unused link
2018-09-15 21:23:06 +01:00
Chris Pappalardo
ea53635a0a fixed production bugs in caddyfile and middleware 2018-09-15 12:45:10 -07:00
pyup.io bot
f60b6d464c Update whitenoise from 4.0 to 4.1 (#1797) 2018-09-12 19:23:28 +00:00
pyup.io bot
4258ba9e2d Update sphinx from 1.7.9 to 1.8.0 (#1798) 2018-09-12 19:16:22 +00:00
Umair Ashraf
bf6c7e8e9c fixed s3 http url for static and media storage 2018-09-12 13:45:30 -04:00
pyup-bot
ae4225e2ea Update django-debug-toolbar from 1.10 to 1.10.1 2018-09-11 02:52:44 -07:00
Bruno Alla
e50b0d333e
Merge pull request #1777 from pydanny/doc/grunt-cleanup
Cleanup outdated references to Grunt & Compass
2018-09-10 22:39:18 +01:00
Wan Liuyang
de5504f414
Rename custom S3Boto3Storage subclasses (#1784)
Closes #1788 

This PR preps for the upcoming `django-storages` 2.X:

1. ~~Explicitly set default ACL to None which was [incorrectly set](3f6ec74942/storages/backends/s3boto3.py (L195)) to `public-read` by `django-storages`~~

2. Renamed `StaticRootS3BotoStorage` to `StaticRootS3Boto3Storage` to avoid confusion. This is to prep for the upcoming `S3Boto` class deprecation.

See also:
https://django-storages.readthedocs.io/en/latest/backends/amazon-S3.html#settings
https://github.com/jschneier/django-storages/blob/master/CHANGELOG.rst
2018-09-09 19:59:04 +08:00
Bruno Alla
8dddd913c2
Merge pull request #1790 from pydanny/pyup-update-pytest-3.7.4-to-3.8.0
Update pytest to 3.8.0
2018-09-09 12:10:51 +01:00
Bruno Alla
e6a773c3d5
Merge pull request #1791 from pydanny/pyup-update-django-coverage-plugin-1.5.0-to-1.6.0
Update django-coverage-plugin to 1.6.0
2018-09-09 12:10:15 +01:00
pyup.io bot
6628fff9a0 Update django-anymail to 4.2 (#1792)
This PR updates [django-anymail[mailgun]](https://pypi.org/project/django-anymail) from **4.1** to **4.2**.



<details>
  <summary>Changelog</summary>
  
  
   ### 4.2
   ```
   ----

*2018-09-07*

Features
~~~~~~~~

*  **Postmark:** Support per-recipient template `merge_data` and batch sending. (Batch
   sending can be used with or without a template. See
   `docs &lt;https://anymail.readthedocs.io/en/stable/esps/postmark/postmark-templates&gt;`__.)

Fixes
~~~~~

*  **Postmark:** When using `template_id`, ignore empty subject and body. (Postmark
   issues an error if Django&#39;s default empty strings are used with template sends.)
   ```
   
  
</details>


 

<details>
  <summary>Links</summary>
  
  - PyPI: https://pypi.org/project/django-anymail
  - Changelog: https://pyup.io/changelogs/django-anymail/
  - Repo: https://github.com/anymail/django-anymail
</details>
2018-09-08 06:11:31 +08:00
pyup-bot
028cf5c5eb Update django-coverage-plugin from 1.5.0 to 1.6.0 2018-09-07 09:34:37 -07:00
pyup.io bot
ffbec778a6 Update django-debug-toolbar from 1.9.1 to 1.10 (#1789) 2018-09-07 08:37:37 +00:00
pyup-bot
bb837784ae Update pytest from 3.7.4 to 3.8.0 2018-09-06 18:39:21 -07:00
pyup.io bot
ff6e58e560 Update sphinx to 1.7.9 (#1787)
This PR updates [Sphinx](https://pypi.org/project/Sphinx) from **1.7.8** to **1.7.9**.



<details>
  <summary>Changelog</summary>
  
  
   ### 1.7.9
   ```
   =====================================

Features added
--------------

* 5359: Make generated texinfo files reproducible by sorting the anchors

Bugs fixed
----------

* 5361: crashed on incremental build if document uses include directive
   ```
   
  
</details>


 

<details>
  <summary>Links</summary>
  
  - PyPI: https://pypi.org/project/sphinx
  - Changelog: https://pyup.io/changelogs/sphinx/
  - Homepage: http://sphinx-doc.org/
</details>
2018-09-06 10:19:59 +08:00
pyup.io bot
602bb22a2e Update python-slugify to 1.2.6 (#1782)
This PR updates [python-slugify](https://pypi.org/project/python-slugify) from **1.2.5** to **1.2.6**.



<details>
  <summary>Changelog</summary>
  
  
   ### 1.2.6
   ```
   - Add support for case sensitive slugs (s-m-e)
   ```
   
  
</details>


 

<details>
  <summary>Links</summary>
  
  - PyPI: https://pypi.org/project/python-slugify
  - Changelog: https://pyup.io/changelogs/python-slugify/
  - Repo: https://github.com/un33k/python-slugify
</details>
2018-09-03 08:13:35 +08:00
Irfan
27ae9c36e4 Fix #1771: Use full-fledge S3 Storage class in production settings
sorl-thumbnail serialized and deserializes the storage class and during this
process location parameter is lost if factory is used. Using a full-fledge
storage class fixes this issue.

See: https://stackoverflow.com/a/18046120/104731
2018-09-01 11:49:01 +05:00
Bruno Alla
ebcd5ec098 Cleanup outdated references to Grunt - fixes #1721 2018-08-30 20:34:56 +01:00
pyup-bot
1ffe82dba9 Update pytest from 3.7.3 to 3.7.4 2018-08-30 03:17:44 -07:00
Bruno Alla
b5d782e252
Merge branch 'master' into mypy 2018-08-29 08:21:22 +01:00
pyup.io bot
4a090b8672 Update sphinx to 1.7.8 (#1772)
This PR updates [Sphinx](https://pypi.org/project/Sphinx) from **1.7.7** to **1.7.8**.



<details>
  <summary>Changelog</summary>
  
  
   ### 1.7.8
   ```
   =====================================

Incompatible changes
--------------------

* The type of ``env.included`` has been changed to dict of set

Bugs fixed
----------

* 5320: intersphinx: crashed if invalid url given
* 5326: manpage: crashed when invalid docname is specified as ``man_pages``
* 5322: autodoc: ``Any`` typehint causes formatting error
* 5327: &quot;document isn&#39;t included in any toctree&quot; warning on rebuild with
  generated files
* 5335: quickstart: escape sequence has been displayed with MacPorts&#39; python
   ```
   
  
</details>


 

<details>
  <summary>Links</summary>
  
  - PyPI: https://pypi.org/project/sphinx
  - Changelog: https://pyup.io/changelogs/sphinx/
  - Homepage: http://sphinx-doc.org/
</details>
2018-08-29 08:53:58 +08:00
pyup.io bot
217976a8da Update django-anymail from 3.0 to 4.1 (#1769) 2018-08-28 11:01:58 +08:00
pyup.io bot
53945865d6 Update django-allauth from 0.36.0 to 0.37.1 (#1768) 2018-08-28 09:24:02 +08:00
pyup.io bot
95f5438787 Update django-extensions to 2.1.2 (#1770)
This PR updates [django-extensions](https://pypi.org/project/django-extensions) from **2.1.0** to **2.1.2**.



<details>
  <summary>Changelog</summary>
  
  
   ### 2.1.2
   ```
   -----

Changes:
  - Fix: AutoSlugField, fix check on list or tuple type
   ```
   
  
  
   ### 2.1.1
   ```
   -----
   ```
   
  
</details>


 

<details>
  <summary>Links</summary>
  
  - PyPI: https://pypi.org/project/django-extensions
  - Changelog: https://pyup.io/changelogs/django-extensions/
  - Repo: http://github.com/django-extensions/django-extensions
</details>
2018-08-28 09:22:54 +08:00
pyup.io bot
967bdb89c3 Update pytest to 3.7.3 (#1764)
* Update pytest from 3.7.2 to 3.7.3

* Update pytest from 3.7.2 to 3.7.3
2018-08-27 19:56:08 +00:00
pyup.io bot
d95bdc6a37 Update sphinx from 1.7.6 to 1.7.7 (#1759) 2018-08-23 08:30:49 +00:00
pyup.io bot
7485ac28be Update pytest-django from 3.4.1 to 3.4.2 (#1760) 2018-08-20 19:35:24 +00:00
pyup.io bot
e81f7abbd7 Update argon2-cffi from 18.2.0 to 18.3.0 (#1758) 2018-08-19 13:05:42 +00:00
Denis Orehovsky
78efa64f73 Merge branch 'master' into mypy 2018-08-19 13:36:40 +03:00
pyup.io bot
44b924b54f Update argon2-cffi from 18.1.0 to 18.2.0 (#1756) 2018-08-19 10:20:31 +00:00
pyup.io bot
eb8e2a33c8 Update pytest to 3.7.2 (#1755)
This PR updates [pytest](https://pypi.org/project/pytest) from **3.7.1** to **3.7.2**.



<details>
  <summary>Changelog</summary>
  
  
   ### 3.7.2
   ```
   =========================

Bug Fixes
---------

- `3671 &lt;https://github.com/pytest-dev/pytest/issues/3671&gt;`_: Fix ``filterwarnings`` not being registered as a builtin mark.


- `3768 &lt;https://github.com/pytest-dev/pytest/issues/3768&gt;`_, `3789 &lt;https://github.com/pytest-dev/pytest/issues/3789&gt;`_: Fix test collection from packages mixed with normal directories.


- `3771 &lt;https://github.com/pytest-dev/pytest/issues/3771&gt;`_: Fix infinite recursion during collection if a ``pytest_ignore_collect`` hook returns ``False`` instead of ``None``.


- `3774 &lt;https://github.com/pytest-dev/pytest/issues/3774&gt;`_: Fix bug where decorated fixtures would lose functionality (for example ``mock.patch``).


- `3775 &lt;https://github.com/pytest-dev/pytest/issues/3775&gt;`_: Fix bug where importing modules or other objects with prefix ``pytest_`` prefix would raise a ``PluginValidationError``.


- `3788 &lt;https://github.com/pytest-dev/pytest/issues/3788&gt;`_: Fix ``AttributeError`` during teardown of ``TestCase`` subclasses which raise an exception during ``__init__``.


- `3804 &lt;https://github.com/pytest-dev/pytest/issues/3804&gt;`_: Fix traceback reporting for exceptions with ``__cause__`` cycles.



Improved Documentation
----------------------

- `3746 &lt;https://github.com/pytest-dev/pytest/issues/3746&gt;`_: Add documentation for ``metafunc.config`` that had been mistakenly hidden.
   ```
   
  
</details>


 

<details>
  <summary>Links</summary>
  
  - PyPI: https://pypi.org/project/pytest
  - Changelog: https://pyup.io/changelogs/pytest/
  - Homepage: http://pytest.org
</details>
2018-08-19 13:19:11 +08:00
pyup.io bot
b8f6f43a60 Update pytest-django to 3.4.1 (#1753)
This PR updates [pytest-django](https://pypi.org/project/pytest-django) from **3.3.3** to **3.4.1**.



<details>
  <summary>Changelog</summary>
  
  
   ### 3.4.0
   ```
   ------------------

Features
^^^^^^^^

* Added new fixture :fixture:`django_assert_max_num_queries` (547).
* Added support for ``connection`` and returning the wrapped context manager
  with :fixture:`django_assert_num_queries` (547).
* Added support for resetting sequences via
  :fixture:`django_db_reset_sequences` (619).

Bugfixes
^^^^^^^^

* Made sure to not call django.setup() multiple times (629, 531).

Compatibility
^^^^^^^^^^^^^

* Removed py dependency, use pathlib instead (631).
   ```
   
  
</details>


 

<details>
  <summary>Links</summary>
  
  - PyPI: https://pypi.org/project/pytest-django
  - Changelog: https://pyup.io/changelogs/pytest-django/
  - Docs: https://pytest-django.readthedocs.io/
</details>
2018-08-17 09:17:04 +08:00
pyup.io bot
36f3558ccc Update whitenoise from 3.3.1 to 4.0 (#1745) 2018-08-13 16:06:42 +03:00
pyup-bot
d78978abd5 Update pytest from 3.6.4 to 3.7.1 2018-08-03 02:05:01 -07:00
pyup.io bot
dc11195917 Update django to 2.0.8 (#1734)
This PR updates [django](https://pypi.org/project/django) from **2.0.7** to **2.0.8**.



<details>
  <summary>Changelog</summary>
  
  
   ### 2.0.8
   ```
   ==========================

*August 1, 2018*

Django 2.0.8 fixes a security issue and several bugs in 2.0.7.

CVE-2018-14574: Open redirect possibility in ``CommonMiddleware``
=================================================================

If the :class:`~django.middleware.common.CommonMiddleware` and the
:setting:`APPEND_SLASH` setting are both enabled, and if the project has a
URL pattern that accepts any path ending in a slash (many content management
systems have such a pattern), then a request to a maliciously crafted URL of
that site could lead to a redirect to another site, enabling phishing and other
attacks.

``CommonMiddleware`` now escapes leading slashes to prevent redirects to other
domains.

Bugfixes
========

* Fixed a regression in Django 2.0.7 that broke the ``regex`` lookup on MariaDB
  (even though MariaDB isn&#39;t officially supported) (🎫`29544`).

* Fixed a regression where ``django.template.Template`` crashed if the
  ``template_string`` argument is lazy (🎫`29617`).


==========================
   ```
   
  
</details>


 

<details>
  <summary>Links</summary>
  
  - PyPI: https://pypi.org/project/django
  - Changelog: https://pyup.io/changelogs/django/
  - Homepage: https://www.djangoproject.com/
</details>
2018-08-02 08:17:27 +08:00
pyup.io bot
6c2a130e3d Update pytest to 3.6.4 (#1731)
* Update pytest from 3.6.3 to 3.6.4

* Update pytest from 3.6.3 to 3.6.4
2018-07-29 14:12:41 +03:00
pyup.io bot
55debd5b6b Update pytest-django to 3.3.3 (#1728)
This PR updates [pytest-django](https://pypi.org/project/pytest-django) from **3.3.2** to **3.3.3**.



<details>
  <summary>Changelog</summary>
  
  
   ### 3.3.3
   ```
   ------------------

Bug fixes
^^^^^^^^^

* Fixed registration of :py:func:`~pytest.mark.ignore_template_errors` marker,
  which is required with ``pytest --strict`` (609).
* Fixed another regression with unittest (624, 625).

Docs
^^^^

* Use sphinx_rtf_theme (621).
* Minor fixes.
   ```
   
  
</details>


 

<details>
  <summary>Links</summary>
  
  - PyPI: https://pypi.org/project/pytest-django
  - Changelog: https://pyup.io/changelogs/pytest-django/
  - Docs: https://pytest-django.readthedocs.io/
</details>
2018-07-27 10:21:45 +08:00
Bruno Alla
6865f5b21f
Merge pull request #1722 from pydanny/pyup-update-celery-4.2.0-to-4.2.1
Update celery to 4.2.1
2018-07-23 10:30:22 +01:00
John Cass
bb01d961ed Use pytest's recommended command as the entry point for running tests. 2018-07-23 08:51:06 +02:00
John Cass
61be16a867 Update test coverage command for usage with py.test. 2018-07-18 17:15:44 +02:00
pyup-bot
72d6be7883 Update celery from 4.2.0 to 4.2.1 2018-07-18 04:03:29 -07:00
Bruno Alla
95ee1f159d
Merge pull request #1717 from hendrikschneider/master
removed default action from project.js #1716
2018-07-17 15:47:22 +01:00
pyup.io bot
e34ab9b875 Update sphinx from 1.7.5 to 1.7.6 (#1719) 2018-07-17 11:26:04 +08:00
pyup.io bot
399cce6eb7 Update django-extensions to 2.1.0 (#1720)
This PR updates [django-extensions](https://pypi.org/project/django-extensions) from **2.0.7** to **2.1.0**.



<details>
  <summary>Changelog</summary>
  
  
   ### 2.1.0
   ```
   Changes:
  - Fix: travis
   ```
   
  
  
   ### 2.0.9
   ```
   -----

Changes:
  - Improvement: use README as project description on PyPI
   ```
   
  
  
   ### 2.0.8
   ```
   -----

Please stop using ForeignKeyAutocompleteAdmin edition :-)

Changes:
  - Fix: special markers in runserver_plus.rst
  - Fix: shell_plus, refactor reading pythonrc file outside of exec(compile(...))
  - Fix: reset_db, fix default utf8 support
  - Fix: autoslugfield, Fix autoslug generation when existing model is copied
  - Improvement: Cleanup management commands options after argparse migration 916
  - Improvement: sqldiff, add more tests
  - Improvement: sqldiff, add DurationField and SearchVectorField
  - Improvement: shell_plus, add more tests
  - Improvement: shell_plus, backport macos fix for tab completion
  - Improvement: clear_cache, add --all option
  - Improvement: pipchecker, treat dev versions as unstable
  - Deprecation: ForeignKeyAutocompleteAdmin, Django 2.0 has similar capabilities, which are much better supported.
   ```
   
  
</details>


 

<details>
  <summary>Links</summary>
  
  - PyPI: https://pypi.org/project/django-extensions
  - Changelog: https://pyup.io/changelogs/django-extensions/
  - Repo: http://github.com/django-extensions/django-extensions
</details>
2018-07-17 11:25:36 +08:00
Mateusz Ostaszewski
80f6b1958e Update bootstrap to 4.1.1 (#1697)
* Update Bootstrap to 4.1.1

* Add myself to contributors
2018-07-12 12:35:28 +03:00
Bruno Alla
19b75e4dd1 Upgrade Heroku to the latest Python 3.6.x: 3.6.6 2018-07-11 16:57:43 +01:00
Hendrik Schneider
9932ea3b18
Update project.js 2018-07-11 10:43:19 +00:00
Hendrik Schneider
27bc27e634
Update project.js 2018-07-10 22:22:10 +00:00
pyup.io bot
f92acfacc4 Update pytest to 3.6.3 (#1709)
* Update pytest from 3.6.2 to 3.6.3

* Update pytest from 3.6.2 to 3.6.3
2018-07-05 17:41:25 +03:00
pyup.io bot
ed389e7401 Update django from 2.0.6 to 2.0.7 (#1707) 2018-07-02 22:18:13 +03:00
pyup.io bot
8586cb0cef Update pillow from 5.1.0 to 5.2.0 (#1704) 2018-07-02 22:17:46 +03:00
Denis Orehovsky
d7a05cf69d Add mypy to the local dependencies 2018-07-02 10:22:48 +03:00
pyup.io bot
f13c99f0a5 Update pytz from 2018.4 to 2018.5 (#1699) 2018-06-30 11:59:23 +03:00
Nikita P. Shupeyko
ac61117b59 Prevent AWS S3 bucket from being created automatically
Rationale: most of the time you want to create a bucket yourself in order to assign/tweak polices etc.
2018-06-28 16:35:35 +03:00
Demetris Stavrou
2c56b2e0e3 Added CELERY_BROKER_URL back to entrypoint and surrounded it with a conditional 2018-06-28 00:30:23 +03:00
Demetris Stavrou
7c69704f9f Moved CELERY_BROKER_URL definition to .django env file to resolve error when Celery is not used (PR #1693) 2018-06-28 00:30:23 +03:00
Demetris Stavrou
d79f122bc9 Redis config in local is now conditional on Celery. 2018-06-28 00:27:22 +03:00
Nikita P. Shupeyko
3ac9902670 Rename project template Docker Compose volumes
Rationale: consistent image, volume etc. naming conventions
2018-06-27 19:52:06 +03:00
Nikita P. Shupeyko
0a9c0cb06a Upgrade Docker Compose project template configs to version 3 2018-06-27 19:45:36 +03:00
Nikita Shupeyko
8ad7adb11a
Re-write users app tests in pytest style & perform minor refactoring (#1680) 2018-06-27 19:33:38 +03:00
Nikita Shupeyko
275c13292c
Integrate Flower with Docker Compose setup (#1655)
* Integrate Flower with Docker Compose setup locally

* Remove alien worker celeryd option

* Move Flower COPY section below the worker's

* Remove set -o pipefail command from Flower start script

* Flower client authentication

* Override flower service image name

* Move flower service to the end of local.yml

* Install flower==0.9.2 in all environments

* Introduce production flower service

* Fix local flower start script

* Document Flower integration

* Prettify *.django envs

Rationale: consistency.

* Reference local environment Flower docs from the production's

* 'two more services' -> 'three more services'
2018-06-27 19:33:21 +03:00
Bruno Alla
a183a8181d
Merge pull request #1694 from delneg/patch-2
Make 'duplicate_username' message translatable
2018-06-26 10:20:27 +02:00
pyup.io bot
eb0297aeb3 Update django-environ from 0.4.4 to 0.4.5 (#1695) 2018-06-26 10:53:36 +03:00
Denis
2a7ab8be2f
Try to fix flake8 2018-06-25 21:08:33 +03:00
Denis
0d1cfe548c
Make 'duplicate_username' message translatable
Added ugettext_lazy and used it on the 'duplicate_username' message
2018-06-24 02:34:08 +03:00
pyup.io bot
ee2bb3f2ef Update pytest-django to 3.3.2 (#1692)
This PR updates [pytest-django](https://pypi.org/project/pytest-django) from **3.3.0** to **3.3.2**.



<details>
  <summary>Changelog</summary>
  
  
   ### 3.3.1
   ```
   ------------------

Bug fixes
^^^^^^^^^

* Fixed test for classmethod with Django TestCases again (618,
  introduced in 598 (3.3.0)).

Compatibility
^^^^^^^^^^^^^

* Support Django 2.1 (no changes necessary) (614).
   ```
   
  
</details>


 

<details>
  <summary>Links</summary>
  
  - PyPI: https://pypi.org/project/pytest-django
  - Changelog: https://pyup.io/changelogs/pytest-django/
  - Docs: https://pytest-django.readthedocs.io/
</details>
2018-06-22 08:50:02 +08:00
Denis Orehovsky
83b5f00ac5 Add celery prefix for configuration (#1676)
* Add celery prefix for configuration

* Update CONTRIBUTORS.rst
2018-06-21 19:39:19 +00:00
Nikita Shupeyko
07060eaecc
Extend & enhance Celery configuration (#1679)
* CELERY_TASK_TIME_LIMIT

* CELERY_TASK_SOFT_TIME_LIMIT

* CELERY_ALWAYS_EAGER -> CELERY_TASK_ALWAYS_EAGER

* CELERY_EAGER_PROPAGATES = CELERY_TASK_ALWAYS_EAGER

Addresses https://github.com/pydanny/cookiecutter-django/pull/1446/files#r167238808

* CELERY_RESULT_BACKEND = CELERY_BROKER_URL always

* CELERY_TIMEZONE = TIME_ZONE

* CELERY_TASK_EAGER_PROPAGATES = True

* Name task limit settings appropriately

CELERY_TASK_TIME_LIMIT -> CELERYD_TASK_TIME_LIMIT, CELERY_TASK_SOFT_TIME_LIMIT -> CELERYD_TASK_SOFT_TIME_LIMIT
2018-06-21 19:38:48 +00:00
Wan Liuyang
5309fbf5e7
Upgrade celery to 4.2 (#1446)
* Update celery to 4.1.0

* Re-add endif closing block

* Update local.py

* Update base.txt

* Update local.py
2018-06-21 14:53:04 +08:00
pyup.io bot
75a0699848 Update pytest to 3.6.2 (#1690)
This PR updates [pytest](https://pypi.org/project/pytest) from **3.6.1** to **3.6.2**.



*The bot wasn't able to find a changelog for this release. [Got an idea?](https://github.com/pyupio/changelogs/issues/new)*

<details>
  <summary>Links</summary>
  
  - PyPI: https://pypi.org/project/pytest
  - Changelog: https://pyup.io/changelogs/pytest/
  - Repo: https://github.com/pytest-dev/pytest/issues
  - Homepage: http://pytest.org
</details>
2018-06-21 11:00:47 +08:00
pyup.io bot
f3d76a4134 Update celery from 3.1.25 to 3.1.26.post2 (#1683) 2018-06-19 01:07:14 +03:00
pyup-bot
24a7e535c6 Update psycopg2-binary from 2.7.4 to 2.7.5 2018-06-17 12:36:30 -07:00
Bruno Alla
c6c8ca953a Remove entry from other .gitignore causing compose/local to match 2018-06-16 15:07:40 +01:00
Bruno Alla
16c4e31d0e
Merge pull request #1684 from pydanny/pyup-update-django-test-plus-1.0.22-to-1.1.0
Update django-test-plus to 1.1.0
2018-06-15 22:44:30 +01:00
pyup-bot
cec06b2d81 Update pytest-django from 3.2.1 to 3.3.0 2018-06-15 14:20:32 -07:00
pyup-bot
a9db5b0982 Update django-test-plus from 1.0.22 to 1.1.0 2018-06-15 14:20:28 -07:00
Nikita P. Shupeyko
7d7eb78773 Remove duplicate Docker Compose service configuration
Rationale: those sections will always be there thanks to inheritance
2018-06-09 14:59:30 +03:00
Nikita P. Shupeyko
911e822e85 Gitignore .pytest_cache/ in project template 2018-06-06 09:40:24 +03:00
pyup.io bot
0ff3236ce4 Update pytest to 3.6.1 (#1675)
* Update pytest from 3.6.0 to 3.6.1

* Update pytest from 3.6.0 to 3.6.1
2018-06-06 09:38:28 +03:00
Nikita P. Shupeyko
d8526d1b2d Unset -o xtrace in compose start scripts 2018-06-05 12:28:11 +03:00
Nikita P. Shupeyko
c812e01fc5 Rename UsersConfig to UsersAppConfig 2018-06-05 12:18:35 +03:00
Nikita P. Shupeyko
95d218e3e4 Rename CeleryConfig to CeleryAppConfig 2018-06-05 12:18:07 +03:00
Nikita P. Shupeyko
5b5ad0e4fc Fix Py.Test unittests fail on new cookie
Fixes #1674
2018-06-05 12:13:50 +03:00
pyup-bot
77f87c4532 Update django from 2.0.5 to 2.0.6 2018-06-01 15:16:03 -07:00
pyup.io bot
cff7111edb Update django-anymail from 2.2 to 3.0 (#1668) 2018-05-31 16:14:37 +03:00
pyup.io bot
eea6cc94de Update raven to 6.9.0 (#1667)
This PR updates [raven](https://pypi.org/project/raven) from **6.8.0** to **6.9.0**.



<details>
  <summary>Changelog</summary>
  
  
   ### 6.9.0
   ```
   ------------------
* [Core] Switched from culprit to transaction for automatic transaction reporting.
* [CI] Removed py3.3 from build
* [Django] resolved an issue where the log integration would override the user.
   ```
   
  
</details>


 

<details>
  <summary>Links</summary>
  
  - PyPI: https://pypi.org/project/raven
  - Changelog: https://pyup.io/changelogs/raven/
  - Repo: https://github.com/getsentry/raven-python
</details>
2018-05-31 12:55:38 +08:00
pyup-bot
a4240bcf08 Update sphinx from 1.7.4 to 1.7.5 2018-05-28 21:18:55 -07:00
Nikita P. Shupeyko
b8c7ae8b4b Remove set -o pipefail command from celerybeat start script 2018-05-28 12:50:57 +03:00
Nikita P. Shupeyko
e08b6ab6f8 Remove set -o pipefail command from celeryworker start script 2018-05-28 12:50:54 +03:00
Nikita Shupeyko
fe3f45ba7d
Rename DJANGO_SENTRY_DSN env to SENTRY_DSN (#1663)
Rationale: so that Heroku auto-provisioned Sentry addon, with its SENTRY_DSN config var is being connected to out-of-box
2018-05-27 22:36:13 +03:00
Nikita P. Shupeyko
77f61de236 chown django /start-(celerybeat|celeryworker) in production Django 2018-05-25 12:55:27 +03:00
Nikita P. Shupeyko
3a17f9bc27 Remove project doc files likely to remain unused 2018-05-25 12:16:04 +03:00
Nikita P. Shupeyko
ea9a781cc8 Install Mailgun's (and potentially, other ESPs') dependencies with Anymail
Rationale: this is a [generic way](https://github.com/anymail/django-anymail#anymail-1-2-3) of handling Anymail ESP dependencies
2018-05-25 12:08:57 +03:00
pyup.io bot
39d897169c Update pytest to 3.6.0 (#1662)
* Update pytest from 3.5.1 to 3.6.0

* Update pytest from 3.5.1 to 3.6.0
2018-05-25 10:31:33 +03:00
Michel Sassano
c3b9f72f31 Remove openssl to fix unsatisfiable constraints error with libressl (#1661)
Removed the openssl-dev package from the Django Dockerfiles (local and production) to fix the unsatisfiable constraints error.

The error appears because you can't have openssl and libressl installed at the same time. One of the package used by the template/project installs libressl which create an error when trying to install openssl.

Thx to @browniebroke
2018-05-25 14:21:22 +08:00
Nikita P. Shupeyko
39c825a262 Fix latest Caddy version 2018-05-21 22:36:50 +03:00
Nikita P. Shupeyko
6cefe2b9dc Rename gunicorn script to start 2018-05-21 22:28:18 +03:00
Nikita P. Shupeyko
b069f8e40e Fix E303 in production.py 2018-05-21 21:57:52 +03:00
Nikita P. Shupeyko
600be33b85 Fix E402 in production.py 2018-05-21 21:57:31 +03:00
Nikita P. Shupeyko
5b6c8a89d3 Fix flake8 errors in wsgi.py 2018-05-21 21:36:03 +03:00
Nikita P. Shupeyko
8e429d7e3d Update PyCharm configs with respect to the latest IDE version 2018-05-21 16:29:18 +03:00
Nikita P. Shupeyko
4a1ea2fb45 Commit local django start scripts back 2018-05-21 15:39:12 +03:00
Nikita P. Shupeyko
cfff5b9d08 Commit local django celery start scripts back 2018-05-21 15:34:28 +03:00
Nikita P. Shupeyko
849f64e1a5 Remove .sh ext from executable scripts 2018-05-21 15:20:11 +03:00
Nikita P. Shupeyko
90953a83f2 Alter django entrypoint.sh output 2018-05-21 15:03:37 +03:00
Nikita P. Shupeyko
9b938647b4 Refactor exec "$@" in django entrypoint.sh 2018-05-21 14:59:26 +03:00
Nikita Shupeyko
820e3540da
Upgrade Caddy to 0.11 and pin its version to minor rather than patch (#1653) 2018-05-21 12:44:38 +03:00
Nguyễn Hồng Quân
39378e3b32 Replace awesome-slugify with python-slugify
The former drags us from getting update with new libraries (e.g
Unidecode).
2018-05-14 19:01:16 +07:00
Nikita P. Shupeyko
c3baadd8c7 Set DEBUG=True unconditionally in local config 2018-05-14 10:21:33 +03:00
Nikita P. Shupeyko
091a3b6d0f gunicorn --bind instead of gunicorn -b 2018-05-14 10:20:27 +03:00
Nikita P. Shupeyko
4bcd4c3343 Don't migrate during Heroku release phase
Closes #1646.
2018-05-14 10:15:51 +03:00
saschalalala
6d4be405d8 Migrate to Django2 path urls (#1637)
* Change users urls to Django 2 paths

* Change config urls to Django 2 paths

* Change admin url setting to Django 2 path syntax

* Replace more admin urls

* Add myself to contributors.rst
2018-05-14 10:09:24 +03:00
Nikita P. Shupeyko
fd15b20a08 Use string interpolation in production STATIC_URL 2018-05-13 17:03:04 +03:00
Nikita P. Shupeyko
be1024cd06 Drop Grunt support
Closes #1636.
2018-05-13 13:51:01 +03:00
pyup.io bot
dbdedb81c1 Update raven from 6.7.0 to 6.8.0 (#1642) 2018-05-12 22:57:24 +03:00
pyup.io bot
144f4ca3b7 Update django-model-utils from 3.1.1 to 3.1.2 (#1640) 2018-05-10 23:16:42 +02:00
Nikita P. Shupeyko
661fc3e449 Fix E402 2018-05-09 13:42:20 +03:00
Nikita P. Shupeyko
a07327459c Fix logging module imported unconditionally in production.py 2018-05-09 13:24:08 +03:00
Nikita P. Shupeyko
df1ce737d5 Replace os.environ.get with env call in local.py 2018-05-09 13:15:41 +03:00
Nikita P. Shupeyko
17739ff263 Refactor POSTGRES_PORT env 2018-05-09 12:58:37 +03:00
Nikita P. Shupeyko
906299ae39 Refactor POSTGRES_HOST env 2018-05-09 12:58:33 +03:00
pyup.io bot
b4b3c04253 Update django-allauth from 0.35.0 to 0.36.0 (#1638) 2018-05-08 15:28:52 +08:00
Nikita P. Shupeyko
00ff5c8506
Fix a typo in production.py 2018-05-07 20:33:34 +03:00
Nikita P. Shupeyko
35b2aac87a
Use relative -r path in production.txt 2018-05-07 20:30:14 +03:00
Nikita P. Shupeyko
74c838dc0c Link favicon from base.html 2018-05-05 22:25:07 +03:00
pyup.io bot
0d2f8fcfd9 Update factory-boy from 2.11.0 to 2.11.1 (#1635) 2018-05-05 22:18:56 +03:00
Nikita P. Shupeyko
5a3dd8f0c6 Uninstall gevent
Closes #1555.
2018-05-05 15:03:01 +03:00
Nikita P. Shupeyko
2eac9648a1 Install boto3 as extra of django-storages
Closes #1586.
2018-05-05 15:01:03 +03:00
Nikita P. Shupeyko
9f14254e8e Move pytest settings from setup.cfg to pytest.ini 2018-05-05 12:45:49 +03:00
Nikita P. Shupeyko
d8267edd09 Run black reformatting
https://github.com/ambv/black
2018-05-05 12:37:10 +03:00
Nikita P. Shupeyko
8ef1019e01 Use implicit path to manage.py in Procfile 2018-05-05 12:30:20 +03:00
Marlon
ec78d9ce97 Use Heroku's Release Phase for Migrations (#1615)
Automatically run migrations on deployments to Heroku. Advantages include deployments are rolled-back if a migration fails, preventing broken applications due to failed migrations, no time between when application is released and database is migrated, and removes risk of forgetting to manually run migrations.
2018-05-05 12:28:30 +03:00
Nikita Shupeyko
b4d0416530
Fix PostgreSQL backup restore (#1628)
* Export PG* envs when backing up postgres

* Export PG* envs when restoring postgres from backup

* Prevent postgres connection from dropping all at ones

* Alter postgres backups docs  

Include another crucial prerequisite.

* "feel free switching" -> "feel free to switch"

* Address the feedback
2018-05-05 12:27:27 +03:00
pyup.io bot
8203cfe4fc Update factory-boy to 2.11.0 (#1632) 2018-05-05 09:06:41 +08:00
Nikita Shupeyko
4944907fb5
Upgrade redis service to 3.2 (#1631) 2018-05-05 01:30:57 +03:00
Nikita P. Shupeyko
b7172cfeba Conditionally gitignore virtualenv files
Fixes #1321 the right way.
2018-05-05 01:29:47 +03:00
Bruno Alla
f22f8e3716
Merge pull request #1610 from AlekseiAQ/update-runtime-python-version-3.6.4-to-3.6.5
Update runtime python version from 3.6.4 to 3.6.5
2018-05-02 22:24:52 +01:00
pyup-bot
b8a709b191 Update django from 2.0.4 to 2.0.5 2018-05-02 01:08:03 -07:00
pyup.io bot
cf03bf74e7 Update gunicorn from 19.8.0 to 19.8.1 (#1627) 2018-04-30 22:16:09 +03:00
pyup.io bot
3e6caf6692 Update gunicorn from 19.7.1 to 19.8.0 (#1624) 2018-04-29 21:48:53 +03:00
pyup.io bot
34d9bd5d80 Update sphinx to 1.7.4 (#1620) 2018-04-26 09:06:35 +08:00
pyup-bot
f8e3221622 Update pytest from 3.5.0 to 3.5.1 2018-04-25 03:24:51 -07:00
pyup-bot
47cc9f03fe Update sphinx from 1.7.2 to 1.7.3 2018-04-22 21:36:42 -05:00
pyup.io bot
edae0854bf Update raven from 6.6.0 to 6.7.0 (#1614) 2018-04-18 22:56:29 +08:00
pyup.io bot
bbc69b3bf1 Update django-extensions to 2.0.7 (#1613) 2018-04-18 16:30:35 +08:00
pyup.io bot
cbc51bfc5f Update django-anymail to 2.2 (#1612) 2018-04-17 10:02:06 +08:00
Aleksei Kuznetcov
6a0a2e5637 Update runtime python version from 3.6.4 to 3.6.5 2018-04-15 17:14:11 -04:00
pyup.io bot
56b3ac7311 Update pytest-django from 3.1.2 to 3.2.1 (#1608) 2018-04-14 23:27:58 +08:00
pyup.io bot
1c5f1bb62b Update django-anymail from 2.0 to 2.1 (#1607) 2018-04-12 08:32:02 +08:00
pyup.io bot
b6c80ab333 Update pytz from 2018.3 to 2018.4 (#1605) 2018-04-10 20:34:01 +00:00