Commit Graph

641 Commits

Author SHA1 Message Date
Bruno Alla
0164c330b3 Move to the python:alpine docker image (#1482)
* Move to the python:alpine docker image

- Switch the base images for local and production to alpine
- Install extra dependencies for psycopg2, Pillow and cffi
- Change shebang for shell scripts to use sh instead of bash

* Move to the python:alpine docker image

- Migrate group and user creation to Alpine syntax

* Move to the python:alpine docker image

- Remove `function` keyword, unsupported in shell

* Upgrade various places to the latest Python 3.6

* Test support for translations

* Add gettext library, required for translations support

* Add locale folder for translations support with README documenting it

* Update Changelog

* Tweak command to test translations support
2018-02-22 10:01:05 -05:00
pyup-bot
76334c086e Update boto3 from 1.5.31 to 1.5.33 2018-02-20 18:26:40 -05:00
Wan Liuyang
30dfbbd0ab Remove AWS S3 header bytes workaround 2018-02-20 16:04:16 +08:00
pyup.io bot
1452fe6ecd Update boto3 from 1.5.30 to 1.5.31 (#1517) 2018-02-18 19:20:27 +03:00
pyup.io bot
97f0ca6fa7 Update django from 2.0 to 2.0.2 (#1514) 2018-02-16 22:42:20 +01:00
Bruno Alla
642af90a37
Merge pull request #1421 from epicwhale/update-django-1.11.8-to-2.0
Upgrade Django to 2.0
2018-02-16 21:37:06 +00:00
Bruno Alla
3853094221
Merge pull request #1374 from svleeuwen/patch-1
Remove boto related settings that aren't used
2018-02-16 21:19:35 +00:00
pyup.io bot
68ae00e028 Update ipdb from 0.10.3 to 0.11 (#1511) 2018-02-16 18:16:23 +03:00
pyup.io bot
07d7482dbe Update boto3 from 1.5.27 to 1.5.30 (#1512) 2018-02-16 18:16:09 +03:00
Hashim Muqtadir
e8ca2dd8ea Add atomic requests setting to production.py (#1513)
Since config/production.py sets a new value for `DATABASES['default']`, the `DATABASES['default']['ATOMIC_REQUESTS'] = True` setting from base gets overridden. So it's probably a good idea to add it back.
2018-02-16 18:15:50 +03:00
Sander van Leeuwen
bef1bb856e
Add cache control via AWS_S3_OBJECT_PARAMETERS setting
Previously covered by AWS_HEADERS
2018-02-13 16:04:43 +01:00
Bruno Alla
d783367a86 Prevent pyup to Update Celery automatically 2018-02-13 14:37:40 +00:00
Bruno Alla
faabec8028
Merge pull request #1508 from pydanny/pyup-update-boto3-1.5.25-to-1.5.27
Update boto3 to 1.5.27
2018-02-13 14:35:08 +00:00
Bruno Alla
db42ec24ae
Merge pull request #1501 from pydanny/pyup-update-pytz-2017.3-to-2018.3
Update pytz to 2018.3
2018-02-13 14:34:49 +00:00
Bruno Alla
95f22eab4f
Merge pull request #1507 from pydanny/pyup-update-sphinx-1.6.7-to-1.7.0
Update sphinx to 1.7.0
2018-02-13 14:34:19 +00:00
pyup-bot
26e35a5c79 Update boto3 from 1.5.25 to 1.5.27 2018-02-12 21:26:27 -05:00
pyup-bot
c0bcf3d22e Update sphinx from 1.6.7 to 1.7.0 2018-02-12 11:00:24 -05:00
pyup-bot
7d291e8863 Update coverage from 4.5 to 4.5.1 2018-02-11 02:06:18 -05:00
pyup-bot
e7a47c6f9b Update coverage from 4.5 to 4.5.1 2018-02-11 02:06:17 -05:00
Bruno Alla
5e93bf954d Install psycopg2 with --no-binary option 2018-02-09 13:00:20 +00:00
pyup-bot
8941e4a81d Update pytz from 2017.3 to 2018.3 2018-02-09 02:46:23 -08:00
pyup-bot
dd756e432d Update boto3 from 1.5.24 to 1.5.25 2018-02-08 15:26:11 -08:00
pyup.io bot
7271934268 Update psycopg2 to 2.7.4 (#1497)
* Update psycopg2 from 2.7.3.2 to 2.7.4

* Update psycopg2 from 2.7.3.2 to 2.7.4

* Update psycopg2 from 2.7.3.2 to 2.7.4
2018-02-08 23:46:03 +03:00
pyup.io bot
4a81b8577d Update django-anymail from 1.3 to 1.4 (#1498) 2018-02-08 23:45:45 +03:00
David
fb83d8d8bd Add Debian 9 (Stretch) os dependencies (#1496) 2018-02-07 22:54:55 +03:00
Nikita Shupeyko
86e33e8714
Refactor *_gen_project hooks (#1490)
* Fix ./hooks/pre_gen_project.py asking user to select an option once only

+ prettify output

* Fix pre_gen hook not really exiting when it should

* Refactor & prettify ./hooks/post_gen_project.py

* Ensure same POSTGRES_USER is set across environments

+ get rid of env.example in favor of pre-generated .env.
2018-02-07 22:52:52 +03:00
Bruno Alla
93f11f6691
Merge branch 'master' into update-django-1.11.8-to-2.0 2018-02-07 14:59:20 +00:00
Bruno Alla
090c81731b
Merge pull request #1418 from reggieriser/django_python_upgrade_cleanups
Fixing leftovers from migration to Django 1.11 and Python 3.6.
2018-02-07 14:52:27 +00:00
Reggie Riser
5ffeb2bbdd
Update heroku runtime to 3.6.4 2018-02-07 08:45:56 -05:00
pyup.io bot
1148802655 Update boto3 from 1.5.23 to 1.5.24 (#1492) 2018-02-07 02:52:44 +03:00
pyup.io bot
e9511a1735 Update pytest-sugar from 0.9.0 to 0.9.1 (#1489) 2018-02-06 20:17:39 +03:00
Wan Liuyang
219b6ba817 Update pytest-sugar to 0.9.1 (#1486) 2018-02-06 20:16:24 +03:00
pyup-bot
fe39d9d4e4 Update boto3 from 1.5.22 to 1.5.23 2018-02-05 18:26:06 -08:00
Dayson Pais
d133026968
Update 0001_initial.py
Increase max length of User.last_name to 150 characters.
2018-02-05 23:29:36 +00:00
Bruno Alla
19547ac937 Bootstrap4 workarounds cleanup (#1470)
* Cleanup workaround CSS for Bootstrap 4 + DDT fix

* Cleanup custom Bootstrap 4 + crispy forms workaround
2018-02-05 07:10:49 -08:00
Dayson Pais
8edcb1cbfe
Merge branch 'master' into update-django-1.11.8-to-2.0 2018-02-05 10:24:58 +00:00
Dayson Pais
d4420e3dd6
Update base.txt 2018-02-05 10:23:10 +00:00
pyup-bot
179adb4f30 Update sphinx from 1.6.6 to 1.6.7 2018-02-04 16:35:06 -08:00
pyup-bot
a0abb0cc22 Update coverage from 4.4.2 to 4.5 2018-02-04 00:26:06 -08:00
pyup-bot
4f4c51d2bf Update coverage from 4.4.2 to 4.5 2018-02-04 00:26:04 -08:00
David
b24d0d0bd8 Fixes wsgi.py app_path to avoid deleting all /config occurrences. (#1467) 2018-02-03 00:01:28 +03:00
pyup.io bot
4b7a70d875 Update django-anymail from 1.2 to 1.3 (#1478) 2018-02-02 23:54:07 +03:00
pyup.io bot
b19b1e0f3c Update django-allauth from 0.34.0 to 0.35.0 (#1477) 2018-02-02 23:43:02 +03:00
pyup.io bot
cfbf49f36b Update opbeat from 3.6.0 to 3.6.1 (#1473) 2018-02-02 16:30:20 +03:00
pyup.io bot
fe7c4aa815 Update django from 1.11.9 to 1.11.10 (#1474) 2018-02-02 00:39:04 +03:00
pyup.io bot
8a4f3e036b Update boto3 from 1.5.20 to 1.5.22 (#1468) 2018-01-29 19:07:10 +03:00
pyup.io bot
8e68df4ac4 Update factory-boy to 2.10.0 (#1469)
* Update factory-boy from 2.9.2 to 2.10.0

* Update factory-boy from 2.9.2 to 2.10.0
2018-01-29 19:06:59 +03:00
Dayson Pais
9ca98e02d4
Update base.txt 2018-01-25 10:36:06 +01:00
pyup.io bot
2d041b6c4d Update raven from 6.4.0 to 6.5.0 (#1460) 2018-01-23 18:48:00 +03:00
pyup.io bot
ec6dd4fd02 Update boto3 from 1.5.14 to 1.5.20 (#1464) 2018-01-23 18:47:48 +03:00
Bruno Alla
af12f39996 Improve custom_bootstrap_compilation option (#1429)
* Add Bootstrap to package.json in case of custom_bootstrap_compilation

* Update JS task runners and base HTML to handle custom scss compilation

* Generate a vendors.js with custom bootstrap compilation + Gulp

* Update documentation accordingly

* Add missing if/endif in gulpfile

* Update to Bootstrap v4 final
2018-01-20 17:05:12 -08:00
Daniel Roy Greenfeld
793a46ba45 Removed expiramental elastic beanstalk support and bumped official Django version to 1.11.9 2018-01-15 12:33:51 -08:00
pyup.io bot
789bd97eff Update django-extensions from 1.9.8 to 1.9.9 (#1443) 2018-01-14 18:56:58 +03:00
pyup.io bot
b2025a8f72 Update boto3 from 1.5.12 to 1.5.14 (#1447) 2018-01-14 01:12:13 +03:00
pyup.io bot
a40121afd6 Update django-model-utils from 3.0.0 to 3.1.1 (#1442) 2018-01-10 18:36:17 +03:00
pyup.io bot
f3574df379 Update django-test-plus to 1.0.22 (#1441)
* Update django-test-plus from 1.0.21 to 1.0.22

* Update django-test-plus from 1.0.21 to 1.0.22
2018-01-10 18:31:00 +03:00
pyup.io bot
f5c0c2c759 Update boto3 from 1.5.11 to 1.5.12 (#1440) 2018-01-10 18:30:47 +03:00
pyup.io bot
0e9a8e0420 Update boto3 from 1.5.9 to 1.5.11 (#1439) 2018-01-09 22:16:09 +03:00
pyup.io bot
8bc20c14f0 Update sphinx from 1.6.5 to 1.6.6 (#1436) 2018-01-08 18:38:11 +03:00
pyup.io bot
c476ae6e83 Update boto3 from 1.5.8 to 1.5.9 (#1434) 2018-01-08 18:32:58 +03:00
pyup.io bot
a6baa1741c Update argon2-cffi from 16.3.0 to 18.1.0 (#1435) 2018-01-08 18:32:45 +03:00
pyup.io bot
f141ea655c Update pillow from 4.3.0 to 5.0.0 (#1424) 2018-01-05 19:29:16 +03:00
pyup.io bot
47bf26bd0e Update boto3 from 1.5.6 to 1.5.8 (#1427) 2018-01-05 19:25:01 +03:00
pyup.io bot
14868fad8b Update werkzeug from 0.13 to 0.14.1 (#1423) 2018-01-05 19:10:05 +03:00
Bruno Alla
0bf587c139 Fix duplicated and missing links in README (#1430) 2018-01-04 17:55:20 -08:00
Reggie Riser
f7bd7a5814 Fixing leftovers from migration to Django 1.11 and Python 3.6. 2018-01-03 08:44:54 -05:00
pyup-bot
5510c76147 Update django from 1.11.8 to 1.11.9 2018-01-01 21:57:56 -08:00
Dayson Pais
8bfe18b52a Update django from 1.11.8 to 2.0
- Refactor django.core.urlresolvers module import to django.urls. Resolves: The django.core.urlresolvers module is removed in favor of its new location, django.urls.

- Add an app namespace to urls in user app. Resolves: Support for setting a URL instance namespace without an application namespace is removed.
2017-12-30 12:16:19 +05:30
Reggie Riser
8725809f5e Fixed old Docker service name in PyCharm run configurations. (#1419) 2017-12-29 00:26:48 +03:00
Dan Shultz
35ab85b2a2 Add OS packages for Elastic Beanstalk deployments (#1277)
Fixes #1270
2017-12-28 08:28:08 -08:00
Audrey Roy Greenfeld
5395687f73 Upgraded to Django 1.11 to resolve 2017-12-28 08:19:19 -08:00
pyup.io bot
7797585a12 Update boto3 from 1.5.4 to 1.5.6 (#1414) 2017-12-28 15:36:12 +03:00
pyup.io bot
a48ef41e70 Update boto3 from 1.5.3 to 1.5.4 (#1412) 2017-12-21 04:13:21 +03:00
pyup.io bot
dfcf646ded Update boto3 from 1.5.2 to 1.5.3 (#1411) 2017-12-20 18:24:34 +03:00
pyup.io bot
cb7befdf52 Update boto3 from 1.5.1 to 1.5.2 (#1408) 2017-12-19 15:58:48 +03:00
pyup.io bot
d372ec05f9 Update django-test-plus to 1.0.21 (#1407)
* Update django-test-plus from 1.0.20 to 1.0.21

* Update django-test-plus from 1.0.20 to 1.0.21
2017-12-17 15:52:31 +03:00
pyup.io bot
5ba730bfa3 Update boto3 from 1.5.0 to 1.5.1 (#1406) 2017-12-17 15:44:51 +03:00
pyup.io bot
2fcaf55724 Update opbeat from 3.5.3 to 3.6.0 (#1404) 2017-12-15 16:12:20 +03:00
pyup.io bot
5e39a94621 Update boto3 from 1.4.8 to 1.5.0 (#1405) 2017-12-15 16:12:09 +03:00
Pierre Chiquet
d2dd265a99 Fix MediaRootS3BotoStorage: do not override existing files (#1367)
* Fix MediaRootS3BotoStorage: do not override existing files

see https://github.com/jschneier/django-storages/issues/50

* Update "other contributors"

* alphabetical order
2017-12-13 16:06:48 +03:00
pyup.io bot
0d1ced03ec Update collectfast from 0.5.2 to 0.6.0 (#1401) 2017-12-13 16:06:09 +03:00
pyup.io bot
c410a49ed1 Update werkzeug from 0.12.2 to 0.13 (#1403) 2017-12-13 16:05:54 +03:00
pyup.io bot
a4319f76bd Update boto3 from 1.4.7 to 1.4.8 (#1393) 2017-12-13 15:37:40 +03:00
Ivan Savov
8b1fd8ec44 added norecursedirs to pytest.ini (#1376)
This is to ensure running `pytest` in project root works when using Python 3.6 (otherwise tries to run python tests in `node-gyp` node module and fails with:

```
―――――――――――――――――――――――――――――――――――――――――――― ERROR collecting node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py ――――――――――――――――――――――――――――――――――――――――――――
../venv/lib/python3.6/site-packages/_pytest/python.py:395: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
../venv/lib/python3.6/site-packages/py/_path/local.py:662: in pyimport
    __import__(modname)
E     File "/Users/ivan/Projects/Minireference/ClassroomLinksProject/classroomlinks/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 37
E       print '%s:%s:%d:%s %s' % (mode.upper(), os.path.basename(ctx[0]),
E                            ^
E   SyntaxError: invalid syntax
```
2017-12-13 15:28:14 +03:00
pyup.io bot
480bc8ef25 Update django-extensions from 1.9.7 to 1.9.8 (#1398) 2017-12-13 15:25:55 +03:00
pyup.io bot
356a31806f Update raven from 6.3.0 to 6.4.0 (#1402) 2017-12-13 15:25:05 +03:00
pyup.io bot
baedec6e00 Update django-debug-toolbar from 1.9 to 1.9.1 (#1391) 2017-11-20 13:10:39 +03:00
pyup.io bot
d7ab9a9d33 Update django-debug-toolbar from 1.8 to 1.9 (#1387) 2017-11-13 23:16:42 +03:00
Bruno Alla
4f8cd89bb7 Set CONN_MAX_AGE to 60 seconds -- fixes #710 (#1382)
* Set CONN_MAX_AGE to 60 seconds -- fixes #710

Setting the value in the production config.

* Get CONN_MAX_AGE from the environment, default to 60 in .env

* Add test for CONN_MAX_AGE setting

* Remove duplication in default value & test cleanup

* Remove test for CONN_MAX_AGE value in settings
2017-11-13 23:08:47 +03:00
pyup.io bot
b00b402774 Update coverage to 4.4.2 (#1384)
* Update coverage from 4.4.1 to 4.4.2

* Update coverage from 4.4.1 to 4.4.2
2017-11-12 22:54:42 +03:00
pyup.io bot
006b8d200d Update django-anymail from 1.1 to 1.2 (#1383) 2017-11-03 01:30:40 +03:00
pyup.io bot
b2fbb36b9d Update django-extensions from 1.9.6 to 1.9.7 (#1381) 2017-10-31 20:04:21 +03:00
pyup-bot
0780d15ede Update django-test-plus from 1.0.19 to 1.0.20 2017-10-31 06:53:44 -07:00
pyup-bot
d40c5574a4 Update django-test-plus from 1.0.19 to 1.0.20 2017-10-31 06:53:43 -07:00
pyup.io bot
b718911012 Update raven from 6.2.1 to 6.3.0 (#1378) 2017-10-31 12:26:40 +03:00
pyup-bot
6716bb590d Update pytz from 2017.2 to 2017.3 2017-10-30 10:54:45 -07:00
pyup.io bot
6f16fa4e74 Update django-allauth from 0.33.0 to 0.34.0 (#1377) 2017-10-30 00:21:09 +03:00
pyup.io bot
f26a9fb9fe Update django-anymail from 1.0 to 1.1 (#1375) 2017-10-28 22:53:11 +03:00
Sander van Leeuwen
9661ecaf8f Remove boto related settings that aren't used
Since upgrade to boto3 in commit 12db5176d6 we don't need AWS_HEADERS anymore
2017-10-25 14:11:36 +02:00
Fábio C. Barrionuevo da Luz
c8e9ad46e6 Merge pull request #1372 from pydanny/pyup-update-psycopg2-2.7.3.1-to-2.7.3.2
Update psycopg2 to 2.7.3.2
2017-10-24 18:13:55 -03:00