Commit Graph

880 Commits

Author SHA1 Message Date
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
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
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
Bruno Alla
8fa24e9c5e
Merge pull request #1599 from pydanny/pyup-update-djangorestframework-3.7.7-to-3.8.2
Update djangorestframework to 3.8.2
2018-04-10 15:52:51 +01:00
Osaetin Daniel
a4f059196e Removed unnecessary sentry configuration (#1598) 2018-04-10 10:39:44 +08:00
Daniel Roy Greenfeld
3f753e0411
First pass at running black across the project (#1602) 2018-04-08 17:03:29 -05:00
pyup-bot
dffacdc2ed Update djangorestframework from 3.7.7 to 3.8.2 2018-04-06 11:40:11 -05:00
Nikita P. Shupeyko
26ccf9307f Fix REDIS_URL missing
Fixes #1570.
2018-04-04 13:42:01 +03:00
Nikita P. Shupeyko
ae9dc2e782 Distinguish between local and production compose services
Rationale: 
1. building production stack on the same machine with local doesn't lead to conflicts anymore;
2. production and local service images are now clearly distinguished by name.
2018-04-04 13:38:57 +03:00
Nikita P. Shupeyko
2fa5adc2b0 Designate 'postgres' as a variable in entrypoint.sh
Rationale: clarity.
2018-04-04 11:43:39 +03:00
Nikita P. Shupeyko
897d54b690 Alter Dockerfile comment url to point at dev Django 2018-04-04 11:16:11 +03:00
Nikita P. Shupeyko
34673ff686 Merge .celery envs file with .django
Rationale: workflow simplification.
2018-04-04 10:52:16 +03:00
Nikita P. Shupeyko
418b53bf77 Rename use_sentry_for_error_reporting to use_sentry
Rationale: consistency
2018-04-03 12:12:26 +03:00
pyup.io bot
53186d2697 Update django from 2.0.3 to 2.0.4 (#1593) 2018-04-03 10:46:34 +03:00
pyup.io bot
3c3d5914d2 Update pillow to 5.1.0 (#1592) 2018-04-03 09:50:34 +08:00
Nikita P. Shupeyko
bf089fd2b6 Fix celery services exit with status code 2
Fixes #1588.
2018-03-28 18:18:26 +03:00
Nikita Shupeyko
59cd5b4849
Celery code blocks are still generated even though Celery is not opted out for (#1587)
* Celery jinja condition in .gitignore

* Celery jinja conditions in Django Dockerfiles

* Re-phrase Django Dockerfile requirements comments

* Remove celery compose dirs through post_gen_project.py
2018-03-27 18:40:44 +03:00
pyup.io bot
9c09675cb8 Update django-storages from 1.6.5 to 1.6.6 (#1585) 2018-03-27 11:43:29 +08:00
pyup.io bot
60ebda8bf7 Update sphinx from 1.7.1 to 1.7.2 (#1579) 2018-03-25 15:45:00 +03:00
pyup.io bot
3264e77696 Update pytest to 3.5.0 (#1580)
* Update pytest from 3.4.2 to 3.5.0

* Update pytest from 3.4.2 to 3.5.0
2018-03-25 15:30:58 +03:00
Wan Liuyang
d1198f63b1
Drop Opbeat (#1578) 2018-03-21 19:54:27 +08:00
pyup.io bot
f0175aa9be Update collectfast to 0.6.2 (#1575) 2018-03-17 22:29:44 +08:00
Daniel Roy Greenfeld
d6e0b95d81
Adding coreapi and moving DRF to end of base.txt 2018-03-17 06:58:16 -05:00
Bruno Alla
80618f0ace Install psycopg2-binary when not using docker locally (#1569)
- The binary package should be installable on Windows locally
- The binary package is not recommended for Production, compile from
  source
2018-03-16 16:32:43 -05:00
jose Gabriel Guzman Lopez
0601a1b858
Local
add  "127.0.0.1"
2018-03-16 11:35:39 -05:00
pyup-bot
f3d0c6baf0 Update django-extensions from 2.0.5 to 2.0.6 2018-03-15 16:28:44 -05:00
Nikita Shupeyko
bcd0a8c46e
Fix & improve PostgreSQL backup/restore scripts (#1571)
* Fix & imporve postgres backup/restore scripts

* Update PostgreSQL backup/restore docs

* Fix postgres Dockerfile regression

* Extend error messages in PostgreSQL maintenance scipts
2018-03-14 13:44:16 +03:00
Daniel Roy Greenfeld
b32fd78012
Update base.py 2018-03-13 22:21:01 -05:00
Daniel Roy Greenfeld
19501ef26b
Adding DRF 2018-03-13 22:17:46 -05:00
Daniel Roy Greenfeld
c06ce847b3
Added DRF 2018-03-13 22:13:36 -05:00
Nikita P. Shupeyko
edef0167fe Gitignore MailHog in template 2018-03-11 12:21:49 +03:00
pyup.io bot
09af25547b Update django-extensions from 2.0.3 to 2.0.5 (#1568) 2018-03-11 11:33:10 +03:00
pyup.io bot
05e97777e2 Update django-crispy-forms from 1.7.1 to 1.7.2 (#1567) 2018-03-09 19:21:40 +03:00
Nikita P. Shupeyko
3e2bf3f701 Prettify template's pytest.ini 2018-03-09 13:06:45 +03:00