Commit Graph

2837 Commits

Author SHA1 Message Date
pyup.io bot
c326c3476b
Update mypy to 1.1.1 (#4196) 2023-03-07 20:40:09 +00:00
pyup.io bot
305364f5ad
Update django-environ to 0.10.0 (#4195) 2023-03-07 20:39:49 +00:00
Arkadiusz Michał Ryś
06369bfd4c
Add option to serve media files locally using nginx (#2457)
* Add option to serve media files locally using nginx

* Fix nginx media location and storage issue

* Fix traefik django-media typo

* Add certresolver property to web-media-router

* Add trailing slash in nginx configuration to avoid path traversal exploits

* Remove autoindexing from nginx configuration so nginx uses its default off setting

* Use nginx to serve media files if cloud provider is None

* Add back warning about lack of media files without Docker or Cloud providers

* Update documentation

* Fix typos and rephrase

Co-authored-by: Arkadiusz Ryś <arkadiusz.michal.rys@gmail.com>

---------

Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2023-03-04 18:36:11 +00:00
pyup.io bot
46868bed26
Update pytest to 7.2.2 (#4191)
* Update pytest from 7.2.1 to 7.2.2

* Update pytest from 7.2.1 to 7.2.2
2023-03-04 18:21:53 +00:00
pyup.io bot
c4b8bbb0c7
Update drf-spectacular to 0.26.0 (#4192) 2023-03-04 18:21:32 +00:00
pyup.io bot
6706128924
Update pre-commit to 3.1.1 (#4188)
* Update pre-commit from 3.1.0 to 3.1.1

* Update pre-commit from 3.1.0 to 3.1.1
2023-02-28 09:28:12 +00:00
pyup.io bot
af2e4cb26a
Update sentry-sdk to 1.16.0 (#4187) 2023-02-27 14:09:51 +00:00
dependabot[bot]
6a1aa159b6
Bump traefik from v2.2.11 to 2.9.8 (#4164)
Bumps traefik from v2.2.11 to 2.9.8.

---
updated-dependencies:
- dependency-name: traefik
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-26 20:47:54 +00:00
Delphine LEMIRE
2bbec96f31
Fix readthedocs config file for generated project (#4172)
* FIX: Uptade Template ci.yml linter requirements

* IMPROVMENT_FIX: Template CI actions up to date

* FIX: template readthedocs instructions

* Update ci.yml

* Update readthedocs config file

* Update {{cookiecutter.project_slug}}/.readthedocs.yml

---------

Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2023-02-26 20:33:45 +00:00
pyup.io bot
9665b067d7
Update coverage to 7.2.1 (#4186) 2023-02-26 20:07:25 +00:00
dependabot[bot]
757c9f45e2
Bump garland/aws-cli-docker from 1.15.47 to 1.16.140 (#4136)
Bumps garland/aws-cli-docker from 1.15.47 to 1.16.140.

---
updated-dependencies:
- dependency-name: garland/aws-cli-docker
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-25 12:44:24 +00:00
Bruno Alla
eeb02c2198
Run linting with pre-commit on GitLab (#4150)
* Run linting with pre-commit on GitLab

* Update tests
2023-02-25 12:33:30 +00:00
Hoai-Thu Vuong
b74af5b1d1
Add instuction to run celery beat (#4162)
* add instuction to run celery beat

* Extend explanations for celery beat

---------

Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2023-02-25 12:09:52 +00:00
pyup.io bot
ad1edba711
Update djangorestframework-stubs to 1.9.1 (#4184) 2023-02-25 12:02:35 +00:00
pyup.io bot
961ec7df6b
Update whitenoise to 6.4.0 (#4180) 2023-02-25 11:53:35 +00:00
pyup.io bot
c2059693d8
Update django-stubs to 1.15.0 (#4183) 2023-02-25 11:53:08 +00:00
pyup.io bot
972b927a2c
Update django-crispy-forms to 2.0 (#4158) 2023-02-25 11:51:16 +00:00
pyup.io bot
bee85e4454
Update django-cors-headers to 3.14.0 (#4181) 2023-02-25 11:48:00 +00:00
pyup.io bot
7739f41f77
Update python-slugify to 8.0.1 (#4178) 2023-02-25 11:47:48 +00:00
pyup.io bot
64a66c332a
Update pre-commit to 3.1.0 (#4176)
* Update pre-commit from 3.0.4 to 3.1.0

* Update pre-commit from 3.0.4 to 3.1.0
2023-02-25 11:47:29 +00:00
pyup.io bot
8bd7667f19
Update mypy to 1.0.1 (#4168) 2023-02-25 11:46:34 +00:00
Delphine LEMIRE
4e649af5f0
Disable caching for linter job on GitHub actions (#4166)
* FIX: Uptade Template ci.yml linter requirements

* Disable unused cache for lint job

---------

Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2023-02-25 11:31:07 +00:00
pyup.io bot
aa6d0bc2ad
Update werkzeug to 2.2.3 (#4160) 2023-02-25 11:18:38 +00:00
pyup.io bot
ab149684b1
Update coverage to 7.2.0 (#4177) 2023-02-25 11:18:16 +00:00
pyup.io bot
1767190a1a
Update django to 4.0.10 (#4159) 2023-02-25 11:17:46 +00:00
pyup.io bot
2d9dceb0fb
Update hiredis to 2.2.2 (#4156)
* Update hiredis from 2.2.1 to 2.2.2

* Update hiredis from 2.2.1 to 2.2.2
2023-02-25 11:16:20 +00:00
Delphine LEMIRE
95e7300604
Update version of github actions on the template project (#4167) 2023-02-17 10:42:02 -03:00
Bruno Alla
0fe1fb9ca1
Remove unused pip cache paths in GHA & add a note for pre-commit.ci (#4151)
* Remove unused pip caching paths in GHA

* Add note about pre-commit.ci for open source
2023-02-09 21:56:57 +00:00
pyup.io bot
3c71b54e4c
Update mypy to 0.991 (#4106)
* Update mypy from 0.982 to 0.991

* Ignore type error in test

* Don't build on non-master branch pushes by default

* Ignore type error in DRF view test

---------

Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
2023-02-09 09:35:41 +00:00
pyup.io bot
9eb480f60f
Update sphinx to 6.1.3 (#4148)
* Update sphinx from 5.3.0 to 6.1.3

* Update sphinx from 5.3.0 to 6.1.3
2023-02-08 23:31:25 +00:00
pyup.io bot
379522507a
Update redis to 4.5.1 (#4147) 2023-02-08 17:50:04 +00:00
dependabot[bot]
e81b483944
Bump postcss-preset-env from 7.8.3 to 8.0.1 (#4115)
Bumps [postcss-preset-env](https://github.com/csstools/postcss-plugins/tree/HEAD/plugin-packs/postcss-preset-env) from 7.8.3 to 8.0.1.
- [Release notes](https://github.com/csstools/postcss-plugins/releases)
- [Changelog](https://github.com/csstools/postcss-plugins/blob/main/plugin-packs/postcss-preset-env/CHANGELOG.md)
- [Commits](https://github.com/csstools/postcss-plugins/commits/HEAD/plugin-packs/postcss-preset-env)

---
updated-dependencies:
- dependency-name: postcss-preset-env
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-07 20:57:51 +00:00
dependabot[bot]
ff9da7ec1b
Bump sass-loader from 12.6.0 to 13.2.0 (#4116)
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 12.6.0 to 13.2.0.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v12.6.0...v13.2.0)

---
updated-dependencies:
- dependency-name: sass-loader
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-07 20:47:49 +00:00
dependabot[bot]
a3cfb0f0e8
Bump babel-loader from 8.3.0 to 9.1.2 (#4117)
Bumps [babel-loader](https://github.com/babel/babel-loader) from 8.3.0 to 9.1.2.
- [Release notes](https://github.com/babel/babel-loader/releases)
- [Changelog](https://github.com/babel/babel-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel-loader/compare/v8.3.0...v9.1.2)

---
updated-dependencies:
- dependency-name: babel-loader
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-07 20:38:45 +00:00
dependabot[bot]
3d4fa2fcae
Bump postcss-loader from 6.2.1 to 7.0.2 (#4114)
Bumps [postcss-loader](https://github.com/webpack-contrib/postcss-loader) from 6.2.1 to 7.0.2.
- [Release notes](https://github.com/webpack-contrib/postcss-loader/releases)
- [Changelog](https://github.com/webpack-contrib/postcss-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/postcss-loader/compare/v6.2.1...v7.0.2)

---
updated-dependencies:
- dependency-name: postcss-loader
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-07 20:36:36 +00:00
dependabot[bot]
2db71965ca
Bump webpack-cli from 4.10.0 to 5.0.1 in /{{cookiecutter.project_slug}} (#4118)
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.10.0 to 5.0.1.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.10.0...webpack-cli@5.0.1)

---
updated-dependencies:
- dependency-name: webpack-cli
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-07 20:35:46 +00:00
pyup.io bot
fade9bd0ac
Update redis to 4.5.0 (#4142) 2023-02-07 17:43:11 +00:00
pyup.io bot
dc68912c07
Update sentry-sdk to 1.15.0 (#4141) 2023-02-07 14:20:32 +00:00
pyup.io bot
9be5544464
Update hiredis to 2.2.1 (#4123)
* Update hiredis from 2.1.1 to 2.2.1

* Update hiredis from 2.1.1 to 2.2.1
2023-02-06 19:13:12 +00:00
Bruno Alla
5bc4bed952
Change RequestFactory to APIRequestFactory in tests for API views (#4110) 2023-02-06 18:33:08 +00:00
Bruno Alla
4080e9a86d
Fix django-webpack-loader setup when running tests (#4128)
* Add an integration test

This should cover the problem raised for webpack loader issues

* Add a DummyWebpackLoader for running tests

* Replace DummyWebpackLoader by the one from webpack_loader package

* Fix post-gen hook

* Remove integration test
2023-02-06 16:16:48 +00:00
pyup.io bot
d76c3de4e6
Update django to 4.0.9 (#4134) 2023-02-06 15:09:22 +00:00
pyup.io bot
c24fa1f6c4
Update django-webpack-loader to 1.8.1 (#4132) 2023-02-06 14:46:39 +00:00
pyup.io bot
3f05da0ee7
Update pre-commit to 3.0.4 (#4127)
* Update pre-commit from 3.0.3 to 3.0.4

* Update pre-commit from 3.0.3 to 3.0.4
2023-02-03 15:54:51 -03:00
pyup.io bot
ac3e5da6c1
Update python-slugify to 8.0.0 (#4111) 2023-02-02 11:30:25 +00:00
pyup.io bot
3150813bdb
Update pre-commit to 3.0.3 (#4121)
* Update pre-commit from 3.0.1 to 3.0.3

* Update pre-commit from 3.0.1 to 3.0.3
2023-02-02 11:28:16 +00:00
pyup.io bot
119df8c61b
Update black to 23.1.0 (#4120)
* Update black from 22.12.0 to 23.1.0

* Update black from 22.12.0 to 23.1.0

* Update code style according to newer version of black

* Update black pre-commit hook (#4122)

Co-authored-by: browniebroke <browniebroke@users.noreply.github.com>

---------

Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: browniebroke <browniebroke@users.noreply.github.com>
2023-02-02 11:25:41 +00:00
Bruno Alla
cbb0e19de7
Add Webpack support (#3623)
* Add support for Webpack as frontend pipeline

* Rename CI jobs

* Fix a couple of issues with Webpack + Docker

* Don't include Boostrap CSS from CDN with Webpack

* Rename variable

* Set publicPath in prod webpack config

* Fix removal of SASS files in post-gen hooks

* Add Webpack to readme usage section

* Run Django + Webpack dev server concurrently without Docker

* Fix async runserver command with Gulp/Webpack

* Upgrade django-webpack-loader to 1.5.0

* Pass variables required by Webpack at build time

* Upgrade django-webpack-loader to 1.7.0

* Add missing condition

* Add support for Azure Storage + Webpack

* Whitespaces

* Rename ROOT_DIR -> BASE_DIR

* Rename jobs

* Bump django-webpack-loader to latest

* Document limitation of Docker + Webpack + no Whitenoise

* Update section on custom Bootstrap compilation in generated readme
2023-01-29 12:12:12 +00:00
Bruno Alla
977ffd91a3
Remove BrokenLinkEmailsMiddleware (#4112) 2023-01-29 11:45:13 +00:00
github-actions[bot]
c09fa55b36
Auto-update pre-commit hooks (#4108)
Co-authored-by: browniebroke <browniebroke@users.noreply.github.com>
2023-01-28 17:47:29 +00:00