Commit Graph

2236 Commits

Author SHA1 Message Date
Bruno Alla
382dce2803 Fix linting issues in Gulpfile 2021-04-07 20:57:04 +01:00
Bruno Alla
c7bb4834e0 Fix pre-commit hook issues with Docker & Celery 2021-04-07 20:57:04 +01:00
Bruno Alla
c382894934 Fix pre-commit hook issues 2021-04-07 20:57:04 +01:00
Bruno Alla
c6d7739d7a
Merge pull request #3112 from Tamerz/fix-gitlab-ci 2021-04-07 20:49:40 +01:00
pyup-bot
3a23b5f45e Update sentry-sdk from 0.20.3 to 1.0.0 2021-04-07 20:28:35 +01:00
Bruno Alla
bfe1d22c1e
Merge pull request #3108 from pydanny/pyup-update-gunicorn-20.0.4-to-20.1.0
Update gunicorn to 20.1.0
2021-04-07 20:26:05 +01:00
Bruno Alla
1379fc08e2
Merge pull request #3118 from pydanny/pyup-update-pre-commit-2.11.1-to-2.12.0
Update pre-commit to 2.12.0
2021-04-07 20:25:23 +01:00
Bruno Alla
2e7a7d68ce
Merge pull request #3116 from pydanny/pyup-update-django-extensions-3.1.1-to-3.1.2
Update django-extensions to 3.1.2
2021-04-07 20:24:58 +01:00
Bruno Alla
1039b310e8
Merge pull request #3113 from pydanny/pyup-update-pillow-8.1.2-to-8.2.0
Update pillow to 8.2.0
2021-04-07 20:24:39 +01:00
Bruno Alla
71f75cf558
Merge pull request #3117 from pydanny/pyup-update-django-3.1.7-to-3.1.8
Update django to 3.1.8
2021-04-07 20:24:17 +01:00
pyup-bot
a567c85fb5 Update pre-commit from 2.11.1 to 2.12.0 2021-04-06 21:03:28 -07:00
pyup-bot
289a14aef1 Update django from 3.1.7 to 3.1.8 2021-04-06 17:56:14 -07:00
pyup-bot
a5727efc55 Update django-extensions from 3.1.1 to 3.1.2 2021-04-05 08:36:26 -07:00
pyup-bot
9e62ff99d5 Update pytest from 6.2.2 to 6.2.3 2021-04-04 12:36:50 -07:00
pyup-bot
0ef98a118b Update pillow from 8.1.2 to 8.2.0 2021-04-02 11:19:19 -07:00
Tames McTigue
49bf68aa00 Fixed blank space 2021-03-30 13:26:12 +03:00
Tames McTigue
5314faaf8a Fixed placement of image key value for non-Docker run. 2021-03-30 13:09:29 +03:00
pyup-bot
0073683c70 Update gunicorn from 20.0.4 to 20.1.0 2021-03-27 02:04:38 -07:00
pyup-bot
140c3a961c Update djangorestframework from 3.12.3 to 3.12.4 2021-03-26 09:30:46 -07:00
pyup-bot
a7847ec2cc Update djangorestframework from 3.12.2 to 3.12.3 2021-03-25 09:30:30 -07:00
pyup-bot
b07c5d5d90 Update django-crispy-forms from 1.11.1 to 1.11.2 2021-03-22 07:21:59 -07:00
pyup-bot
3487781079 Update sphinx from 3.5.1 to 3.5.3 2021-03-22 04:18:19 -07:00
Bruno Alla
91299af8ee
Merge pull request #3102 from pydanny/pyup-update-ipdb-0.13.5-to-0.13.7
Update ipdb to 0.13.7
2021-03-22 11:17:26 +00:00
pyup-bot
be4e70bbd9 Update ipdb from 0.13.5 to 0.13.7 2021-03-22 03:52:19 -07:00
pyup-bot
7792708322 Update sphinx-autobuild from 2020.9.1 to 2021.3.14 2021-03-22 03:51:35 -07:00
Bruno Alla
34170967bf
Merge pull request #3089 from pydanny/pyup-update-pre-commit-2.10.1-to-2.11.1
Update pre-commit to 2.11.1
2021-03-22 09:46:17 +00:00
Bruno Alla
b1af3c4eac
Merge pull request #3096 from pydanny/pyup-update-flake8-3.8.4-to-3.9.0 2021-03-22 09:45:47 +00:00
Bruno Alla
e409dd5e69
Merge pull request #3084 from pydanny/pyup-update-pillow-8.1.1-to-8.1.2
Update pillow to 8.1.2
2021-03-22 09:45:30 +00:00
Fábio C. Barrionuevo da Luz
b9eaa50ff5
Add non-python requirements file for Ubuntu 20.04 2021-03-21 22:48:36 -03:00
browniebroke
d36f7e8617 Auto-update pre-commit hooks 2021-03-22 00:27:06 +00:00
pyup-bot
b6c6d682ff Update flake8 from 3.8.4 to 3.9.0 2021-03-15 14:27:22 -07:00
pyup-bot
569ab9af4a Update pre-commit from 2.10.1 to 2.11.1 2021-03-10 08:50:25 -08:00
pyup-bot
fb6cb0f51e Update pillow from 8.1.1 to 8.1.2 2021-03-06 23:08:35 -08:00
Bruno Alla
03f54fa276
Merge pull request #3070 from arnav13081994/make_tests_dryer 2021-03-05 09:09:21 +00:00
Arnav Choudhury
1371d6a3e6 Reverting the use of get_absolute_url method in getting the detail view url. Purpose was to test if the url could be created correctly and not if the view was working correctly. 2021-03-04 19:34:58 +05:30
pyup-bot
d47052388f Update ipdb from 0.13.4 to 0.13.5 2021-03-02 17:00:27 -08:00
Bruno Alla
d999846ca2 Fix Github CI with Docker 2021-03-02 20:11:15 +00:00
Bruno Alla
c3ee08fbb2 Tweak formatting of workflow file 2021-03-02 20:03:27 +00:00
Bruno Alla
c1ec7e3cd1 Add necessary services for GH actions without Docker 2021-03-02 20:03:14 +00:00
Bruno Alla
9793511266 Support both master and main branches 2021-03-02 19:48:26 +00:00
Bruno Alla
003a8c8c5e
Merge pull request #3075 from pydanny/pyup-update-pillow-8.1.0-to-8.1.1
Update pillow to 8.1.1
2021-03-02 09:12:24 +00:00
pyup-bot
51b92b935f Update pillow from 8.1.0 to 8.1.1 2021-03-01 21:07:12 -08:00
pyup-bot
691229b979 Update coverage from 5.4 to 5.5 2021-03-01 12:00:56 -08:00
Arnav Choudhury
fa0b278225 Updated test_urls and views to re-use User.get_absolute_url method instead of using reverse on the user:detail view 2021-02-26 12:04:48 +05:30
Arnav Choudhury
2345c2c92d
Update {{cookiecutter.project_slug}}/compose/production/django/Dockerfile
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2021-02-24 16:26:58 +05:30
Arnav Choudhury
15453df824 Updated the local and production dockerfiles with more repeatability and easier to update in mind. 2021-02-24 10:58:28 +05:30
Bruno Alla
483b636fcb Only indent with spaces in django Dockerfile 2021-02-23 20:36:52 +00:00
Bruno Alla
ff98d8f517 Remove --use-feature=2020-resolver in pip commands
They are now the default and cause a warning:

WARNING: --use-feature=2020-resolver no longer has any effect, since it is now the default dependency resolver in pip. This will become an error in pip 21.0.
2021-02-23 20:34:41 +00:00
Bruno Alla
25000e1015 Merge branch 'master' into django-multi 2021-02-23 20:09:58 +00:00
Bruno Alla
4e96b64261 Merge branch 'master' into fix_django_31
# Conflicts:
#	{{cookiecutter.project_slug}}/requirements/base.txt
2021-02-23 19:10:52 +00:00
Bruno Alla
e4ce5c5f2a
Merge pull request #3066 from arnav13081994/update_cicd 2021-02-23 19:07:47 +00:00
Arnav Choudhury
c988a6fbdc Removed the step for installing dependencies 2021-02-23 19:20:17 +05:30
Bruno Alla
ddc102d0f1
Merge pull request #2992 from Andrew-Chen-Wang/patch-3
Use exception var in status code pages if available
2021-02-23 08:43:33 +00:00
Arnav Choudhury
db636c8e36 Updated tests with the updated github stage names. 2021-02-23 11:11:03 +05:30
Arnav Choudhury
a4f1acf17e Updated the github action to run all pre-commit hooks on all files in the linter stage so that there is only 1 place that is used to maange all code quality tools. 2021-02-23 10:59:30 +05:30
Andrew Chen Wang
1aa4c31b87
Change confusing CSRF 403 message
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2021-02-22 15:45:05 -05:00
Bruno Alla
4acba3dddd
Merge pull request #2865 from lcd1232/patch-1 2021-02-22 20:26:05 +00:00
Bruno Alla
d4bc89bcbe
Merge pull request #3055 from Andrew-Chen-Wang/patch-6 2021-02-22 20:18:54 +00:00
Bruno Alla
34ad90bdd8
Merge pull request #3064 from danihodovic/remove-default-cache
refactor: remove default cache settings in test.py
2021-02-22 20:04:04 +00:00
Bruno Alla
43544c5fb2
Merge pull request #3060 from pydanny/pyup-update-django-3.0.12-to-3.0.13
Update django to 3.0.13
2021-02-22 19:45:16 +00:00
Bruno Alla
139c9f1681
Merge pull request #3063 from pydanny/pyup-update-django-crispy-forms-1.11.0-to-1.11.1
Update django-crispy-forms to 1.11.1
2021-02-22 19:43:06 +00:00
Bruno Alla
9b05759044
Merge pull request #3062 from pydanny/pyup-update-uvicorn-0.13.3-to-0.13.4
Update uvicorn to 0.13.4
2021-02-22 19:42:42 +00:00
Bruno Alla
28887cdf2b
Merge pull request #3061 from pydanny/pyup-update-mypy-0.800-to-0.812
Update mypy to 0.812
2021-02-22 19:42:14 +00:00
Bruno Alla
57574a2bb4
Merge pull request #3059 from pydanny/pyup-update-sentry-sdk-0.20.2-to-0.20.3
Update sentry-sdk to 0.20.3
2021-02-22 19:41:44 +00:00
Dani Hodovic
977e033352
refactor: remove default cache settings in test.py
It's LocMemCache by default, there is no need to specify this in test.py
```python
django.core.cache.backends.locmem.LocMemCache
```

https://docs.djangoproject.com/en/dev/ref/settings/#caches
2021-02-21 19:25:32 +02:00
Areski Belaid
26540f4cc9
Merge branch 'master' into fix_django_31 2021-02-21 17:56:24 +01:00
areski
86f79e08b2 Update Django to 3.1.7 2021-02-21 17:55:05 +01:00
pyup-bot
f97513d0ca Update django-crispy-forms from 1.11.0 to 1.11.1 2021-02-21 06:12:17 -08:00
pyup-bot
bf4d502941 Update uvicorn from 0.13.3 to 0.13.4 2021-02-21 06:12:15 -08:00
pyup-bot
5d138cc0f5 Update mypy from 0.800 to 0.812 2021-02-20 08:00:22 -08:00
pyup-bot
d67dbf9d36 Update django from 3.0.12 to 3.0.13 2021-02-20 00:58:50 -08:00
pyup-bot
81812fd8c2 Update sentry-sdk from 0.20.2 to 0.20.3 2021-02-19 06:29:09 -08:00
pyup-bot
119a4d0660 Update sphinx from 3.5.0 to 3.5.1 2021-02-16 18:21:04 -08:00
Andrew Chen Wang
8aeee881bb
Remove email from User API Test 2021-02-16 18:35:47 -05:00
Andrew Chen Wang
17499a12c9
Remove email from User API 2021-02-16 18:33:27 -05:00
Bruno Alla
0d5e9132f7
Merge pull request #3054 from pydanny/pyup-update-sentry-sdk-0.20.1-to-0.20.2
Update sentry-sdk to 0.20.2
2021-02-16 15:33:55 +00:00
pyup-bot
3795bc04d0 Update sentry-sdk from 0.20.1 to 0.20.2 2021-02-16 06:27:45 -08:00
pyup-bot
583f8c6688 Update sphinx from 3.4.3 to 3.5.0 2021-02-14 15:08:48 -08:00
pyup-bot
179ba90299 Update sentry-sdk from 0.20.0 to 0.20.1 2021-02-13 00:19:41 -08:00
Bruno Alla
8559dad889
Merge pull request #3045 from pydanny/pyup-update-pre-commit-2.10.0-to-2.10.1
Update pre-commit to 2.10.1
2021-02-12 13:42:46 +00:00
pyup-bot
ae151f04a2 Update sentry-sdk from 0.19.5 to 0.20.0 2021-02-11 23:54:12 -08:00
pyup-bot
073625445b Update django-extensions from 3.1.0 to 3.1.1 2021-02-08 07:23:24 -08:00
pyup-bot
416e052de2 Update pre-commit from 2.10.0 to 2.10.1 2021-02-06 20:36:09 -08:00
Bruno Alla
e5bc9af44c
Merge pull request #3041 from arnav13081994/update_test_case 2021-02-06 17:07:00 +00:00
Bruno Alla
131b3ca75b
Merge pull request #3029 from arnav13081994/update_forms 2021-02-06 17:00:46 +00:00
Arnav Choudhury
352232f617 Fixed Formatting Issues. 2021-02-05 09:55:30 +05:30
Arnav Choudhury
47768d495f Refactored test_views to test only the required characteristics of the UserCreationForm. 2021-02-05 09:47:06 +05:30
Arnav Choudhury
4a48b1725e Merge branch 'master' of github.com:pydanny/cookiecutter-django into update_forms 2021-02-05 09:33:07 +05:30
areski
39033fa8ab Fix pyup for Django 3.1 2021-02-04 19:09:09 +01:00
areski
002b3eaf41 Update Django 3.0.11 to 3.1.6 2021-02-04 16:52:45 +01:00
Arnav Choudhury
3cf7e74a77 Removed unused Http404 import. 2021-02-04 15:54:26 +05:30
Arnav Choudhury
fc8e2ea8a2 Removed unnecessary test for username case sensitivity since django usernames are case sensitive by default. Also made the redirecting to the login url more dynamic by fetching the defined login_url from settings 2021-02-04 15:28:08 +05:30
Arnav Choudhury
08334ba979 Fixed the Middleware deprecation warnings by creating a dummy response function. 2021-02-02 13:19:27 +05:30
pyup-bot
c575092016 Update django from 3.0.11 to 3.0.12 2021-02-01 18:38:12 -08:00
pyup-bot
d442074ce3 Update pytz from 2020.5 to 2021.1 2021-02-01 01:49:28 -08:00
pyup-bot
ba97025971 Update django-crispy-forms from 1.10.0 to 1.11.0 2021-01-31 05:43:22 -08:00
Arnav Choudhury
e8996ef281 Updated the test_clean_username test to also test for the custom validation message raised in case username already exists in the db 2021-01-30 11:41:16 +05:30
Arnav Choudhury
0a241a8f75 Updated test_forms.py to not check whether UserCreationForm has a clean_username() method 2021-01-29 22:16:11 +05:30
Arnav Choudhury
e0cf956fe2 Refactored users.forms to make the code more readeable 2021-01-29 17:55:10 +05:30
Bruno Alla
a463c185f0
Merge pull request #3028 from pydanny/pyup-update-pre-commit-2.9.3-to-2.10.0
Update pre-commit to 2.10.0
2021-01-28 17:44:33 +00:00
pyup-bot
e546500bd0 Update pre-commit from 2.9.3 to 2.10.0 2021-01-28 09:24:44 -08:00
pyup-bot
f12fdbafaf Update django-anymail from 8.1 to 8.2 2021-01-28 09:24:41 -08:00
pyup-bot
b2613405b0 Update django-anymail from 8.1 to 8.2 2021-01-28 09:24:40 -08:00
pyup-bot
0059a87a85 Update django-anymail from 8.1 to 8.2 2021-01-28 09:24:39 -08:00
pyup-bot
f4a5b106a7 Update django-anymail from 8.1 to 8.2 2021-01-28 09:24:38 -08:00
pyup-bot
dceee9bb5c Update django-anymail from 8.1 to 8.2 2021-01-28 09:24:37 -08:00
pyup-bot
70adb22529 Update django-anymail from 8.1 to 8.2 2021-01-28 09:24:36 -08:00
pyup-bot
346c91c761 Update django-anymail from 8.1 to 8.2 2021-01-28 09:24:35 -08:00
pyup-bot
f9b0b5a422 Update django-anymail from 8.1 to 8.2 2021-01-28 09:24:35 -08:00
pyup-bot
7bfac19625 Update django-anymail from 8.1 to 8.2 2021-01-28 09:24:34 -08:00
Bruno Alla
9969f8fa0d
Handle error if node hasn't started yet 2021-01-28 09:19:14 +00:00
pyup-bot
d5d42b1797 Update coverage from 5.3.1 to 5.4 2021-01-26 10:51:06 -08:00
Bruno Alla
d62ad403a4
Merge pull request #3018 from Andrew-Chen-Wang/patch-6 2021-01-26 18:51:00 +00:00
areski
a1d551d067 Update from Python3.8 to Python3.9 2021-01-26 16:13:27 +01:00
Bruno Alla
75fb13dde4
Merge pull request #3020 from pydanny/pyup-update-pytest-6.2.1-to-6.2.2
Update pytest to 6.2.2
2021-01-26 12:18:29 +00:00
Bruno Alla
8b15f29fa0
Merge pull request #3019 from pydanny/pyup-update-django-cors-headers-3.6.0-to-3.7.0
Update django-cors-headers to 3.7.0
2021-01-26 12:18:13 +00:00
Arnav Choudhury
125f1a8afe Fixing Formatting issues 2021-01-26 10:34:18 +05:30
Arnav Choudhury
d358fc948d Using SuccessMessageMixin to pass the message to django template instead of overriding form_valid 2021-01-26 09:56:24 +05:30
pyup-bot
880cdeb2df Update pytest from 6.2.1 to 6.2.2 2021-01-25 17:42:43 -08:00
pyup-bot
1b7b003f15 Update django-cors-headers from 3.6.0 to 3.7.0 2021-01-25 17:42:39 -08:00
Bruno Alla
d12d01d325 Fix mypy error 2021-01-25 22:13:19 +00:00
Bruno Alla
37e0d6ae04 Add test for the UserAdmin 2021-01-25 21:55:14 +00:00
Bruno Alla
d1409e2fb3 Missing import 2021-01-25 21:08:33 +00:00
Andrew Chen Wang
cbb3cdb2b1
Update admin to ignore *_name User attributes
Fixes #3016
2021-01-25 11:20:34 -05:00
Bruno Alla
c2060bf34a
Add logo to badge 2021-01-24 23:16:45 +00:00
Bruno Alla
26a424e09c Merge branch 'master' into patch-1 2021-01-24 21:49:00 +00:00
Bruno Alla
8d103f3aec Merge branch 'master' into test 2021-01-24 17:06:43 +00:00
Bruno Alla
d25e5f7de6
Merge pull request #2989 from vascop/patch-1
Sentry Redis integration enabled by default in production.
2021-01-24 16:50:09 +00:00
Bruno Alla
6a4a9ba6ee Merge branch 'master' into defer-js 2021-01-24 15:42:12 +00:00
Bruno Alla
eb6fad5f32 Remove pinning of django-timezone-field
fixes #2950
2021-01-24 15:23:56 +00:00
Bruno Alla
24ebd22c02 Merge branch 'master' into pyup-update-django-celery-beat-2.1.0-to-2.2.0 2021-01-24 15:22:36 +00:00
Bruno Alla
42f33527c5 Refactor test 2021-01-24 15:17:01 +00:00
Bruno Alla
e293d8c00e
Merge pull request #2949 from thorrak/add_test 2021-01-24 15:08:22 +00:00
Bruno Alla
bf2d5370be
Merge pull request #3013 from pydanny/pyup-update-mypy-0.790-to-0.800
Update mypy to 0.800
2021-01-24 14:29:14 +00:00
Bruno Alla
aee2559d4f
Merge pull request #2998 from Andrew-Chen-Wang/patch-6 2021-01-24 14:26:23 +00:00
Bruno Alla
23c7616bd4
Merge pull request #2986 from pydanny/pyup-update-factory-boy-3.1.0-to-3.2.0 2021-01-24 14:25:16 +00:00
Bruno Alla
b7c95f6eed Update factory-boy's .generate to evaluate
Co-Authored-By: Timo Halbesma <timo@halbesma.com>
2021-01-24 14:20:39 +00:00
pyup-bot
4f52366a91 Update mypy from 0.790 to 0.800 2021-01-22 13:28:28 -08:00
Andrew Chen Wang
3cbd840a96
Use self.request.user instead of second query 2021-01-21 19:02:01 -05:00
pyup-bot
3e0c40f5b6 Update django-celery-beat from 2.1.0 to 2.2.0 2021-01-19 20:45:44 -08:00
Fabio C. Barrionuevo da Luz
ea57990b06 Update Heroku runtime to python3.8.7 2021-01-18 19:38:53 -03:00
Fabio C. Barrionuevo da Luz
af1cfc82c6 Fix docker container stop command on github action 2021-01-18 18:05:22 -03:00
Fabio C. Barrionuevo da Luz
1858fc2be8 Revert "Move sentry-sdk requirement to base.txt"
This reverts commit 2d84fe89dd.
2021-01-18 17:58:00 -03:00
Fabio C. Barrionuevo da Luz
2d84fe89dd Move sentry-sdk requirement to base.txt 2021-01-18 16:06:31 -03:00
pyup-bot
a99833e8c6 Update pylint-django from 2.4.1 to 2.4.2 2021-01-10 05:14:01 -08:00
pyup-bot
42f6b1c3a5 Update pylint-django from 2.4.0 to 2.4.1 2021-01-08 02:34:59 -08:00
Bruno Alla
8acb745c18
Merge pull request #3000 from pydanny/pyup-update-sphinx-3.4.2-to-3.4.3
Update sphinx to 3.4.3
2021-01-08 09:34:05 +01:00
Bruno Alla
7041e581ca
Merge pull request #2996 from pydanny/pyup-update-pylint-django-2.3.0-to-2.4.0
Update pylint-django to 2.4.0
2021-01-08 09:32:59 +01:00
pyup-bot
305347e7c7 Update sphinx from 3.4.2 to 3.4.3 2021-01-07 22:04:13 -08:00
Andrew Chen Wang
5809eabb31
Ignore typing override in name removals 2021-01-07 22:39:18 -05:00