From 854ab89777f582586d8c941e30589d7cb6a8db18 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 23 May 2023 01:47:02 +0200 Subject: [PATCH 01/49] =?UTF-8?q?=E2=AC=86(deps):=20Bump=20xlsxwriter=20fr?= =?UTF-8?q?om=203.1.0=20to=203.1.1=20(#655)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [xlsxwriter](https://github.com/jmcnamara/XlsxWriter) from 3.1.0 to 3.1.1. - [Changelog](https://github.com/jmcnamara/XlsxWriter/blob/main/Changes) - [Commits](https://github.com/jmcnamara/XlsxWriter/compare/RELEASE_3.1.0...RELEASE_3.1.1) --- updated-dependencies: - dependency-name: xlsxwriter dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 1b93102b8..9f169ad54 100644 --- a/requirements.txt +++ b/requirements.txt @@ -29,4 +29,4 @@ channels-redis==4.1.0 bleach[css]==6.0.0 Pillow==9.5.0 uuid==1.30 -XlsxWriter==3.1.0 +XlsxWriter==3.1.1 From 1a244ebcc9c8c02a21e25a961fc1a0667b6749f6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 30 May 2023 15:18:48 +0200 Subject: [PATCH 02/49] =?UTF-8?q?=E2=AC=86(deps):=20Bump=20xlsxwriter=20fr?= =?UTF-8?q?om=203.1.1=20to=203.1.2=20(#656)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [xlsxwriter](https://github.com/jmcnamara/XlsxWriter) from 3.1.1 to 3.1.2. - [Changelog](https://github.com/jmcnamara/XlsxWriter/blob/main/Changes) - [Commits](https://github.com/jmcnamara/XlsxWriter/compare/RELEASE_3.1.1...RELEASE_3.1.2) --- updated-dependencies: - dependency-name: xlsxwriter dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 9f169ad54..c9887b682 100644 --- a/requirements.txt +++ b/requirements.txt @@ -29,4 +29,4 @@ channels-redis==4.1.0 bleach[css]==6.0.0 Pillow==9.5.0 uuid==1.30 -XlsxWriter==3.1.1 +XlsxWriter==3.1.2 From 9c9d505ef5cb407ed43a15a8d1e3cb965ee88a5e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 8 Jun 2023 15:33:57 +0200 Subject: [PATCH 03/49] =?UTF-8?q?=E2=AC=86(deps):=20Bump=20django-extensio?= =?UTF-8?q?ns=20from=203.2.1=20to=203.2.3=20(#658)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [django-extensions](https://github.com/django-extensions/django-extensions) from 3.2.1 to 3.2.3. - [Release notes](https://github.com/django-extensions/django-extensions/releases) - [Changelog](https://github.com/django-extensions/django-extensions/blob/main/CHANGELOG.md) - [Commits](https://github.com/django-extensions/django-extensions/compare/3.2.1...3.2.3) --- updated-dependencies: - dependency-name: django-extensions dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index c9887b682..95ae0984c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,7 +6,7 @@ django-cleanup==7.0.0 django-constance[database]==2.9.1 django-decorator-include==3.0 # (See this page for a list of all management commands: https://django-extensions.readthedocs.io/en/latest/command_extensions.html) -django-extensions==3.2.1 +django-extensions==3.2.3 django-ical==1.9.1 django-multiselectfield==0.1.12 django-phonenumber-field[phonenumbers]==7.1.0 From 1b91770ef80e6a37d741c7e709a9a2f7537e64cf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 16 Jun 2023 09:13:51 +0200 Subject: [PATCH 04/49] =?UTF-8?q?=E2=AC=86(deps):=20Bump=20django-ical=20f?= =?UTF-8?q?rom=201.9.1=20to=201.9.2=20(#659)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [django-ical](https://github.com/jazzband/django-ical) from 1.9.1 to 1.9.2. - [Release notes](https://github.com/jazzband/django-ical/releases) - [Changelog](https://github.com/jazzband/django-ical/blob/master/CHANGES.rst) - [Commits](https://github.com/jazzband/django-ical/compare/1.9.1...1.9.2) --- updated-dependencies: - dependency-name: django-ical dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 95ae0984c..fec755d94 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,7 +7,7 @@ django-constance[database]==2.9.1 django-decorator-include==3.0 # (See this page for a list of all management commands: https://django-extensions.readthedocs.io/en/latest/command_extensions.html) django-extensions==3.2.3 -django-ical==1.9.1 +django-ical==1.9.2 django-multiselectfield==0.1.12 django-phonenumber-field[phonenumbers]==7.1.0 django-simple-history==3.3.0 From 7e4a80c451f8282bedac710d4b4a1ab189c261c1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 16 Jun 2023 09:15:16 +0200 Subject: [PATCH 05/49] =?UTF-8?q?=E2=AC=86(deps):=20Bump=20django-cleanup?= =?UTF-8?q?=20from=207.0.0=20to=208.0.0=20(#660)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [django-cleanup](https://github.com/un1t/django-cleanup) from 7.0.0 to 8.0.0. - [Changelog](https://github.com/un1t/django-cleanup/blob/master/CHANGELOG.md) - [Commits](https://github.com/un1t/django-cleanup/compare/7.0.0...8.0.0) --- updated-dependencies: - dependency-name: django-cleanup dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index fec755d94..6a7d68774 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ Django==4.1.7 django-hosts==5.2 django-ckeditor==6.5.1 -django-cleanup==7.0.0 +django-cleanup==8.0.0 django-constance[database]==2.9.1 django-decorator-include==3.0 # (See this page for a list of all management commands: https://django-extensions.readthedocs.io/en/latest/command_extensions.html) From 7af17f13145a6316c5dc7173b4dc1444398f7c8b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 23 Jun 2023 19:56:59 +0200 Subject: [PATCH 06/49] =?UTF-8?q?=E2=AC=86(deps):=20Bump=20django-ckeditor?= =?UTF-8?q?=20from=206.5.1=20to=206.6.1=20(#661)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [django-ckeditor](https://github.com/django-ckeditor/django-ckeditor) from 6.5.1 to 6.6.1. - [Changelog](https://github.com/django-ckeditor/django-ckeditor/blob/main/CHANGELOG.rst) - [Commits](https://github.com/django-ckeditor/django-ckeditor/compare/6.5.1...6.6.1) --- updated-dependencies: - dependency-name: django-ckeditor dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 6a7d68774..fe8d57272 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ # Django-related packages Django==4.1.7 django-hosts==5.2 -django-ckeditor==6.5.1 +django-ckeditor==6.6.1 django-cleanup==8.0.0 django-constance[database]==2.9.1 django-decorator-include==3.0 From e2ebadd76a51a45e6593d9be50cfeaa6788cd473 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 4 Jul 2023 19:07:20 +0200 Subject: [PATCH 07/49] =?UTF-8?q?=E2=AC=86(deps):=20Bump=20pillow=20from?= =?UTF-8?q?=209.5.0=20to=2010.0.0=20(#663)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [pillow](https://github.com/python-pillow/Pillow) from 9.5.0 to 10.0.0. - [Release notes](https://github.com/python-pillow/Pillow/releases) - [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst) - [Commits](https://github.com/python-pillow/Pillow/compare/9.5.0...10.0.0) --- updated-dependencies: - dependency-name: pillow dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index fe8d57272..e626ddf13 100644 --- a/requirements.txt +++ b/requirements.txt @@ -27,6 +27,6 @@ channels-redis==4.1.0 # Misc. packages bleach[css]==6.0.0 -Pillow==9.5.0 +Pillow==10.0.0 uuid==1.30 XlsxWriter==3.1.2 From 9165bc4424604a05fe91ad67accc552d704d0e69 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 31 Jul 2023 20:12:09 +0200 Subject: [PATCH 08/49] =?UTF-8?q?=E2=AC=86(deps):=20Bump=20django-ckeditor?= =?UTF-8?q?=20from=206.6.1=20to=206.7.0=20(#666)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [django-ckeditor](https://github.com/django-ckeditor/django-ckeditor) from 6.6.1 to 6.7.0. - [Changelog](https://github.com/django-ckeditor/django-ckeditor/blob/main/CHANGELOG.rst) - [Commits](https://github.com/django-ckeditor/django-ckeditor/compare/6.6.1...6.7) --- updated-dependencies: - dependency-name: django-ckeditor dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index e626ddf13..aa1bfb7cf 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ # Django-related packages Django==4.1.7 django-hosts==5.2 -django-ckeditor==6.6.1 +django-ckeditor==6.7.0 django-cleanup==8.0.0 django-constance[database]==2.9.1 django-decorator-include==3.0 From e7f3242d421a675013ae2125e2af0f600f375ac1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 22 Aug 2023 16:42:01 +0000 Subject: [PATCH 09/49] =?UTF-8?q?=E2=AC=86(deps):=20Bump=20django-constanc?= =?UTF-8?q?e[database]=20from=202.9.1=20to=203.1.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [django-constance[database]](https://github.com/jazzband/django-constance) from 2.9.1 to 3.1.0. - [Release notes](https://github.com/jazzband/django-constance/releases) - [Changelog](https://github.com/jazzband/django-constance/blob/master/docs/changes.rst) - [Commits](https://github.com/jazzband/django-constance/compare/2.9.1...3.1.0) --- updated-dependencies: - dependency-name: django-constance[database] dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index aa1bfb7cf..350e597e2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,7 +3,7 @@ Django==4.1.7 django-hosts==5.2 django-ckeditor==6.7.0 django-cleanup==8.0.0 -django-constance[database]==2.9.1 +django-constance[database]==3.1.0 django-decorator-include==3.0 # (See this page for a list of all management commands: https://django-extensions.readthedocs.io/en/latest/command_extensions.html) django-extensions==3.2.3 From 989e5c84f5500eb3f8a3170e013e58b02711285d Mon Sep 17 00:00:00 2001 From: Anders <6058745+ddabble@users.noreply.github.com> Date: Fri, 25 Aug 2023 17:30:12 +0000 Subject: [PATCH 10/49] Removed constance database app from installed apps ...as mentioned in `django-constance`'s changelog for v3.0.0: https://django-constance.readthedocs.io/en/latest/changes.html#v3-0-0-2023-07-27. As a side note, I found it weird that the tests passed, even though this non-existent app was enabled in the settings. However, through a little bit of experimentation, I found out that it seems like Django doesn't care whether the modules listed in `INSTALLED_APPS` are actually apps - i.e. that they contain a file (named `apps.py` by default) containing a subclass of `AppConfig`. --- src/web/settings.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/web/settings.py b/src/web/settings.py index c0a118ee0..5b8f8acd2 100644 --- a/src/web/settings.py +++ b/src/web/settings.py @@ -102,7 +102,6 @@ INSTALLED_APPS = [ # `django-constance` should be listed before project apps (see https://django-constance.readthedocs.io/en/stable/#configuration) 'constance', - 'constance.backends.database', # App used for things regarding the whole project or across other apps # (Should be listed first, to be able to override things like management commands) 'web.apps.WebConfig', From f8d5d59fc12fcaf2b85ce3aa45bfc0d2b4b45fe6 Mon Sep 17 00:00:00 2001 From: Anders <6058745+ddabble@users.noreply.github.com> Date: Fri, 25 Aug 2023 17:37:00 +0000 Subject: [PATCH 11/49] Removed database extra from django-constance The `[database]` extra was removed in `django-constance` v3.0.0, in this commit: https://github.com/jazzband/django-constance/commit/2cb2ccd0634dc9d48b9f8cd1ed5234cfc96ade67#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7. --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 350e597e2..e5c0d4b68 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,7 +3,7 @@ Django==4.1.7 django-hosts==5.2 django-ckeditor==6.7.0 django-cleanup==8.0.0 -django-constance[database]==3.1.0 +django-constance==3.1.0 django-decorator-include==3.0 # (See this page for a list of all management commands: https://django-extensions.readthedocs.io/en/latest/command_extensions.html) django-extensions==3.2.3 From 48578eb1a57e05e79a01e44cf7509f2f60ad87c3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Sep 2023 19:07:05 +0200 Subject: [PATCH 12/49] =?UTF-8?q?=E2=AC=86(deps):=20Bump=20social-auth-app?= =?UTF-8?q?-django=20from=205.2.0=20to=205.3.0=20(#671)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [social-auth-app-django](https://github.com/python-social-auth/social-app-django) from 5.2.0 to 5.3.0. - [Release notes](https://github.com/python-social-auth/social-app-django/releases) - [Changelog](https://github.com/python-social-auth/social-app-django/blob/master/CHANGELOG.md) - [Commits](https://github.com/python-social-auth/social-app-django/compare/5.2.0...5.3.0) --- updated-dependencies: - dependency-name: social-auth-app-django dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index e5c0d4b68..c9117e963 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,7 +14,7 @@ django-simple-history==3.3.0 sorl-thumbnail==12.9.0 # Packages related to authentication and other "social" stuff -social-auth-app-django==5.2.0 +social-auth-app-django==5.3.0 # This is already a requirement of `social-auth-app-django`, but it's listed here to provide the `openidconnect` extra # (see https://python-social-auth.readthedocs.io/en/stable/installing.html#using-the-extras-options) social-auth-core[openidconnect]==4.4.2 From e1e8acaf2818910d4745ae9b92e2041ea081e4d6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Sep 2023 19:10:01 +0200 Subject: [PATCH 13/49] =?UTF-8?q?=F0=9F=91=B7(deps):=20Bump=20tibdex/githu?= =?UTF-8?q?b-app-token=20from=201.8.0=20to=201.8.2=20(#673)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [tibdex/github-app-token](https://github.com/tibdex/github-app-token) from 1.8.0 to 1.8.2. - [Release notes](https://github.com/tibdex/github-app-token/releases) - [Commits](https://github.com/tibdex/github-app-token/compare/b62528385c34dbc9f38e5f4225ac829252d1ea92...0d49dd721133f900ebd5e0dff2810704e8defbc6) --- updated-dependencies: - dependency-name: tibdex/github-app-token dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/_reusable_add-content-to-project.yml | 2 +- .github/workflows/label-deployment-pull-request.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/_reusable_add-content-to-project.yml b/.github/workflows/_reusable_add-content-to-project.yml index 2b1a7e5b4..3b25b0f40 100644 --- a/.github/workflows/_reusable_add-content-to-project.yml +++ b/.github/workflows/_reusable_add-content-to-project.yml @@ -42,7 +42,7 @@ jobs: steps: - name: Generate token id: generate_token - uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92 # v1.8.0 + uses: tibdex/github-app-token@0d49dd721133f900ebd5e0dff2810704e8defbc6 # v1.8.2 with: app_id: ${{ secrets.MAKE_BOT_APP_ID }} private_key: ${{ secrets.MAKE_BOT_APP_PEM }} diff --git a/.github/workflows/label-deployment-pull-request.yml b/.github/workflows/label-deployment-pull-request.yml index 06e8b4a0b..d923bb2d2 100644 --- a/.github/workflows/label-deployment-pull-request.yml +++ b/.github/workflows/label-deployment-pull-request.yml @@ -25,7 +25,7 @@ jobs: steps: - name: Generate token id: generate_token - uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92 # v1.8.0 + uses: tibdex/github-app-token@0d49dd721133f900ebd5e0dff2810704e8defbc6 # v1.8.2 with: app_id: ${{ secrets.MAKE_BOT_APP_ID }} private_key: ${{ secrets.MAKE_BOT_APP_PEM }} From c463a8987a2a973cb7b1273ecceb6e7cb36961e8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Sep 2023 19:12:35 +0200 Subject: [PATCH 14/49] =?UTF-8?q?=F0=9F=91=B7(deps):=20Bump=20actions/chec?= =?UTF-8?q?kout=20from=203=20to=204=20(#672)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/python.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 6a741a3e4..91eb44597 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -34,7 +34,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install System Dependencies # Retries installing files 3 times, as the GitHub Actions CI is occasionally unreliable diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index ac9da9bbc..995d6d65d 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -12,7 +12,7 @@ jobs: python-version: [ "3.10", "3.11" ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 From 3db8d5ccfebc16d74b83369ec209de8b5da23067 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 15 Sep 2023 16:55:55 +0000 Subject: [PATCH 15/49] =?UTF-8?q?=E2=AC=86(deps):=20Bump=20django-simple-h?= =?UTF-8?q?istory=20from=203.3.0=20to=203.4.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [django-simple-history](https://github.com/jazzband/django-simple-history) from 3.3.0 to 3.4.0. - [Release notes](https://github.com/jazzband/django-simple-history/releases) - [Changelog](https://github.com/jazzband/django-simple-history/blob/master/CHANGES.rst) - [Commits](https://github.com/jazzband/django-simple-history/compare/3.3.0...3.4.0) --- updated-dependencies: - dependency-name: django-simple-history dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index c9117e963..4caaf57cb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10,7 +10,7 @@ django-extensions==3.2.3 django-ical==1.9.2 django-multiselectfield==0.1.12 django-phonenumber-field[phonenumbers]==7.1.0 -django-simple-history==3.3.0 +django-simple-history==3.4.0 sorl-thumbnail==12.9.0 # Packages related to authentication and other "social" stuff From 1b893f51301958272e6f7205945af82a149ac0fb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Sep 2023 16:34:32 +0000 Subject: [PATCH 16/49] =?UTF-8?q?=F0=9F=91=B7(deps):=20Bump=20tibdex/githu?= =?UTF-8?q?b-app-token=20from=201.8.2=20to=202.1.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [tibdex/github-app-token](https://github.com/tibdex/github-app-token) from 1.8.2 to 2.1.0. - [Release notes](https://github.com/tibdex/github-app-token/releases) - [Commits](https://github.com/tibdex/github-app-token/compare/0d49dd721133f900ebd5e0dff2810704e8defbc6...3beb63f4bd073e61482598c45c71c1019b59b73a) --- updated-dependencies: - dependency-name: tibdex/github-app-token dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/_reusable_add-content-to-project.yml | 2 +- .github/workflows/label-deployment-pull-request.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/_reusable_add-content-to-project.yml b/.github/workflows/_reusable_add-content-to-project.yml index 3b25b0f40..1a55d92fb 100644 --- a/.github/workflows/_reusable_add-content-to-project.yml +++ b/.github/workflows/_reusable_add-content-to-project.yml @@ -42,7 +42,7 @@ jobs: steps: - name: Generate token id: generate_token - uses: tibdex/github-app-token@0d49dd721133f900ebd5e0dff2810704e8defbc6 # v1.8.2 + uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0 with: app_id: ${{ secrets.MAKE_BOT_APP_ID }} private_key: ${{ secrets.MAKE_BOT_APP_PEM }} diff --git a/.github/workflows/label-deployment-pull-request.yml b/.github/workflows/label-deployment-pull-request.yml index d923bb2d2..357615555 100644 --- a/.github/workflows/label-deployment-pull-request.yml +++ b/.github/workflows/label-deployment-pull-request.yml @@ -25,7 +25,7 @@ jobs: steps: - name: Generate token id: generate_token - uses: tibdex/github-app-token@0d49dd721133f900ebd5e0dff2810704e8defbc6 # v1.8.2 + uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0 with: app_id: ${{ secrets.MAKE_BOT_APP_ID }} private_key: ${{ secrets.MAKE_BOT_APP_PEM }} From 6621e51902137ea5620f86ec3ed3b4ea8393820f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 5 Oct 2023 16:35:55 +0000 Subject: [PATCH 17/49] =?UTF-8?q?=E2=AC=86(deps):=20Bump=20django-phonenum?= =?UTF-8?q?ber-field[phonenumbers]=20from=207.1.0=20to=207.2.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [django-phonenumber-field[phonenumbers]](https://github.com/stefanfoulis/django-phonenumber-field) from 7.1.0 to 7.2.0. - [Release notes](https://github.com/stefanfoulis/django-phonenumber-field/releases) - [Changelog](https://github.com/stefanfoulis/django-phonenumber-field/blob/main/CHANGELOG.rst) - [Commits](https://github.com/stefanfoulis/django-phonenumber-field/compare/7.1.0...7.2.0) --- updated-dependencies: - dependency-name: django-phonenumber-field[phonenumbers] dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index c9117e963..c39577916 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,7 +9,7 @@ django-decorator-include==3.0 django-extensions==3.2.3 django-ical==1.9.2 django-multiselectfield==0.1.12 -django-phonenumber-field[phonenumbers]==7.1.0 +django-phonenumber-field[phonenumbers]==7.2.0 django-simple-history==3.3.0 sorl-thumbnail==12.9.0 From e82580be66f4f219124066af40c3367e7b282a7c Mon Sep 17 00:00:00 2001 From: Gunvor4 Date: Thu, 5 Oct 2023 18:54:17 +0200 Subject: [PATCH 18/49] Fixed translation of apply button in English header MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixed the translation of the former "søk verv" button in the English header. The button now has the English title "apply to MAKE" --- src/locale/nb/LC_MESSAGES/django.mo | Bin 53721 -> 53765 bytes src/locale/nb/LC_MESSAGES/django.po | 20 ++++++++++++-------- src/web/settings.py | 2 +- src/web/templates/web/header.html | 2 +- 4 files changed, 14 insertions(+), 10 deletions(-) diff --git a/src/locale/nb/LC_MESSAGES/django.mo b/src/locale/nb/LC_MESSAGES/django.mo index b05aa27f6a429a348cb586169b42a232eeb4dc39..c098d9c25ecbd39e3cd4d857990b029674e911d5 100644 GIT binary patch delta 14455 zcmZA72YgT0|HttwkwJ!t5QGe3&mcC5h*5h}n~1$fP~&TFHKI~`?=AMIy=rUK{881a zpHgZRZMFZ`+d26?`uN{RPoL*}&bepZb8nLVez#V+Ph9Qpx)+%K3x{iwo8#od*Flam z-Q9666jIc2-jy@)_n4h>w(`ajn3HmC48;W0{o`zWne_m2t8*PopNP_ae~1QGhjYcgA%BYDq$GbL0{~NYB$t67DFgc$BeiR{cxu(A4T~?-_<-6<@5*Lk`7j6ND%O^mo$>(8iqmX)xh?OP&nJE zi4;ZcNF{U~ArnJ}$L{=t1u>|qSwR)lO6%HkbJUh5U~%k)O>iN`<1-A$QZbGbflW~> z9)jAL(Ww5Wq8?px4EwJJYiz@<7)E(7Y71{5hs5~_^W!_zSqO`DoHE!Do8kmyZ09EO zj}u(Y9L`ploAMwmi*qm%&te!ptLAc?C^CL=j^l|jm<4O1wyHH|!XB6thocVBJk(iO zgL!Z#s{M6a{t8R z3#%LZuV);DnpimMzGA3}#G%em6D)weQ9Iz8N2WHJT^NBMY(-cNbI4*)D{O_D@d#80 z3$Y{~$6WXdb?5?Wnt`gKCfLf_6Z26XiJIU_WP&bd8yTH}lc)(?L>;o{SQOu)RuWmu zJemrq_VrOKYk@jcT~QtP$AUNtJ#j5|#x1Bv7r<(@lM(pw{Vz&JuTcfmj2mKl?1cI* zbhVB~56bgV11?6jUyC|3`;bj=E?|2M{KPD10D4hQ##Xop`KCFqF_QD=6t82xTuo8W z-i4a!=cpAdLp|HIw!9NH@P6bVJLhp4`qlmTEpxs^cgo+QcIYOm-^Zx?-r918dW@wH zNp>%!mh3J8~N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0b5X)_)GFzus$h=o_}QumfMDE zmy>)rKF3Np0;iLjlm7+(eU)R-!XzJCzT8$u5Jyv9fuw7k!JanrM~#Z2R5FLguSvIT zqm|@;BOhRIUS-SwgI#TzEpiIdb}vcScsx%EBb_8oqU~tP_3L{ev99KnHU3v0ZS?$G zl1fmxPc690(m2%K@G)_B@}FQjZI<95(m#|PB2}Wyi*%8E5#$r}|E?6uCQ_G$q$>;Y z0_*`O6p)8)%ntULsEgi*@o{?WldP7=c@B6}9jQS^( z>(Vblx_VI8%hnT`^IwC4>!cl|`P`I9%Dj$K7DVt0!zrJMp0@G|`L9ViNV_v{z+~DD zrR**F2DY!dwtg_>Ic@$&jemlI#Webk!f(iDUhT;gpxlRajl3J_9`%DUH)WxuGsMS; zb&V(1wVSf*xEaS|JmpcgZY=R)%0EM0WAri6m2RzK?ZXXC$j`Gks!d(;d2D=@_;1_x z0{I_EZq((*;LLLCaQvI{%cR<*ZN#ypdL&mxZrVe}gNhV zzL2ErG!CG=uZ>mq3#mP2Pbterejq7^SijaUz$RD}hmd~MuWVCjIGn;k6zFLXSlu5 zwsTU6>trKwQPPTTT85=>>H~Nux*!)TQbC z@1w%QHk?boJZ0&mBvOCk0VG|`NVjahIrbynr|c0HAiYN){#cEadEF-8hrr$TpI|GR z5#OXPQE>s%ANHmWID|Nc)R`1bnqY5E!$Q>GrYslvmsn)M(QXB{{w*YXp;Z{ diff --git a/src/locale/nb/LC_MESSAGES/django.po b/src/locale/nb/LC_MESSAGES/django.po index 27dbc0ac9..0b706b015 100644 --- a/src/locale/nb/LC_MESSAGES/django.po +++ b/src/locale/nb/LC_MESSAGES/django.po @@ -3,7 +3,7 @@ msgid "" msgstr "" "Project-Id-Version: MAKE NTNU website\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-05-07 21:15+0200\n" +"POT-Creation-Date: 2023-10-05 18:43+0200\n" "PO-Revision-Date: 2018-10-09 14:05+0200\n" "Last-Translator: Sindre Stephansen \n" "Language-Team: Norwegian Bokmål \n" @@ -3052,31 +3052,31 @@ msgstr "" msgid "One or more languages have no content." msgstr "Ett eller flere språk mangler innhold." -#: src/web/settings.py:307 +#: src/web/settings.py:306 msgid "" -"Determines whether the “Søk verv” button in the navigation menu in the " +"Determines whether the “Apply to MAKE” button in the navigation menu in the " "header is visible." msgstr "" "Bestemmer om «Søk verv»-knappen skal være synlig i navigasjonsmenyen i " "toppteksten." -#: src/web/settings.py:311 +#: src/web/settings.py:310 msgid "Link to the guide on what should be done when a new member enrolls." msgstr "Lenke til guiden med ting som skal gjøres når et nytt medlem tas opp." -#: src/web/settings.py:316 +#: src/web/settings.py:315 msgid "Link to the guide on what should be done when a member retires." msgstr "Lenke til guiden med ting som skal gjøres når et medlem panger." -#: src/web/settings.py:321 +#: src/web/settings.py:320 msgid "Link to the guide on what should be done when a member quits." msgstr "Lenke til guiden med ting som skal gjøres når et medlem slutter." -#: src/web/settings.py:327 +#: src/web/settings.py:326 msgid "Main Site Settings" msgstr "Hovedsideinnstillinger" -#: src/web/settings.py:330 +#: src/web/settings.py:329 msgid "Internal Site Settings" msgstr "Internsideinnstillinger" @@ -3266,6 +3266,10 @@ msgstr "Om" msgid "About us" msgstr "Om oss" +#: src/web/templates/web/header.html:76 +msgid "Apply to MAKE" +msgstr "Søk verv" + #: src/web/templates/web/header.html:99 msgid "Administration" msgstr "Administrasjon" diff --git a/src/web/settings.py b/src/web/settings.py index 5b8f8acd2..efd32ba75 100644 --- a/src/web/settings.py +++ b/src/web/settings.py @@ -303,7 +303,7 @@ def generate_all_hosts(subdomains): CONSTANCE_CONFIG = { 'SHOW_APPLY_BUTTON_IN_HEADER_NAV': ( True, - _("Determines whether the “Søk verv” button in the navigation menu in the header is visible."), + _("Determines whether the “Apply to MAKE” button in the navigation menu in the header is visible."), ), 'ENROLL_MEMBERS_GUIDE_LINK': ( "", diff --git a/src/web/templates/web/header.html b/src/web/templates/web/header.html index 130cf6e7b..d4e568799 100644 --- a/src/web/templates/web/header.html +++ b/src/web/templates/web/header.html @@ -73,7 +73,7 @@ {% if config.SHOW_APPLY_BUTTON_IN_HEADER_NAV %} -
Søk verv
+
{% translate "Apply to MAKE" %}
{% endif %} From d0129a01c80e3a0fcc07cc0884aa2b48dfa4fb6b Mon Sep 17 00:00:00 2001 From: Gunvor4 Date: Thu, 5 Oct 2023 19:05:23 +0200 Subject: [PATCH 19/49] Changed CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index afa6e1fe2..38eb6827f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ A summary of changes made to the codebase, grouped per deployment. ### New features -- +- The apply button in the English header, which previously read "søk verv", has now been translated to English ("apply to MAKE") ### Improvements From 2dfeb80de468bc9c8e66c7c074952a13e2db8647 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 Oct 2023 16:06:09 +0000 Subject: [PATCH 20/49] =?UTF-8?q?=E2=AC=86(deps):=20Bump=20pillow=20from?= =?UTF-8?q?=2010.0.0=20to=2010.1.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [pillow](https://github.com/python-pillow/Pillow) from 10.0.0 to 10.1.0. - [Release notes](https://github.com/python-pillow/Pillow/releases) - [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst) - [Commits](https://github.com/python-pillow/Pillow/compare/10.0.0...10.1.0) --- updated-dependencies: - dependency-name: pillow dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index c9117e963..62bc73868 100644 --- a/requirements.txt +++ b/requirements.txt @@ -27,6 +27,6 @@ channels-redis==4.1.0 # Misc. packages bleach[css]==6.0.0 -Pillow==10.0.0 +Pillow==10.1.0 uuid==1.30 XlsxWriter==3.1.2 From 837ad451daf733dca7c1f96a874702fd73f2010a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 17 Jan 2024 16:26:55 +0000 Subject: [PATCH 21/49] =?UTF-8?q?=E2=AC=86(deps):=20Bump=20django-phonenum?= =?UTF-8?q?ber-field[phonenumbers]=20from=207.2.0=20to=207.3.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [django-phonenumber-field[phonenumbers]](https://github.com/stefanfoulis/django-phonenumber-field) from 7.2.0 to 7.3.0. - [Release notes](https://github.com/stefanfoulis/django-phonenumber-field/releases) - [Changelog](https://github.com/stefanfoulis/django-phonenumber-field/blob/main/CHANGELOG.rst) - [Commits](https://github.com/stefanfoulis/django-phonenumber-field/compare/7.2.0...7.3.0) --- updated-dependencies: - dependency-name: django-phonenumber-field[phonenumbers] dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index ed7ed2480..d8aa8a24e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,7 +9,7 @@ django-decorator-include==3.0 django-extensions==3.2.3 django-ical==1.9.2 django-multiselectfield==0.1.12 -django-phonenumber-field[phonenumbers]==7.2.0 +django-phonenumber-field[phonenumbers]==7.3.0 django-simple-history==3.4.0 sorl-thumbnail==12.9.0 From 9f0298c401b9160b8f7beb00bf87d66839e04f74 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 17 Jan 2024 16:27:01 +0000 Subject: [PATCH 22/49] =?UTF-8?q?=E2=AC=86(deps):=20Bump=20pillow=20from?= =?UTF-8?q?=2010.1.0=20to=2010.2.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [pillow](https://github.com/python-pillow/Pillow) from 10.1.0 to 10.2.0. - [Release notes](https://github.com/python-pillow/Pillow/releases) - [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst) - [Commits](https://github.com/python-pillow/Pillow/compare/10.1.0...10.2.0) --- updated-dependencies: - dependency-name: pillow dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index ed7ed2480..c85597303 100644 --- a/requirements.txt +++ b/requirements.txt @@ -27,6 +27,6 @@ channels-redis==4.1.0 # Misc. packages bleach[css]==6.0.0 -Pillow==10.1.0 +Pillow==10.2.0 uuid==1.30 XlsxWriter==3.1.2 From 07daa069f491377aded14f847f264051ad361fbb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 25 Jan 2024 18:12:11 +0000 Subject: [PATCH 23/49] =?UTF-8?q?=E2=AC=86(deps):=20Bump=20sorl-thumbnail?= =?UTF-8?q?=20from=2012.9.0=20to=2012.10.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [sorl-thumbnail](https://github.com/jazzband/sorl-thumbnail) from 12.9.0 to 12.10.0. - [Release notes](https://github.com/jazzband/sorl-thumbnail/releases) - [Changelog](https://github.com/jazzband/sorl-thumbnail/blob/master/CHANGES.rst) - [Commits](https://github.com/jazzband/sorl-thumbnail/compare/12.9.0...12.10.0) --- updated-dependencies: - dependency-name: sorl-thumbnail dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 57a9ca9ca..f0e0968f4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,7 +11,7 @@ django-ical==1.9.2 django-multiselectfield==0.1.12 django-phonenumber-field[phonenumbers]==7.3.0 django-simple-history==3.4.0 -sorl-thumbnail==12.9.0 +sorl-thumbnail==12.10.0 # Packages related to authentication and other "social" stuff social-auth-app-django==5.3.0 From aad38900870276e7624917cceea546b0e0d512b9 Mon Sep 17 00:00:00 2001 From: elisakiv Date: Thu, 18 Jan 2024 19:41:00 +0100 Subject: [PATCH 24/49] Bump django from 4.1.7 to 4.2.9 --- requirements.txt | 2 +- src/web/settings.py | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index ed7ed2480..4cb5be2e5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ # Django-related packages -Django==4.1.7 +Django==4.2.9 django-hosts==5.2 django-ckeditor==6.7.0 django-cleanup==8.0.0 diff --git a/src/web/settings.py b/src/web/settings.py index efd32ba75..31460c938 100644 --- a/src/web/settings.py +++ b/src/web/settings.py @@ -403,7 +403,11 @@ def generate_all_hosts(subdomains): # This is based on Django's ManifestStaticFilesStorage, which appends every static file's MD5 hash to its filename, # which avoids waiting for browsers' cache to update if a file's contents change -STATICFILES_STORAGE = 'web.static.ManifestStaticFilesStorage' +STORAGES = { + "staticfiles": { + "BACKEND": "web.static.ManifestStaticFilesStorage", + }, +} # Ignores adding a hash to the files whose paths match these glob patterns: # NOTE: Ignored files should be named so that it's obvious that they should be renamed when their contents update, # to avoid being "stuck" in browsers' cache - which is what `ManifestStaticFilesStorage` would have prevented From 066cce6f3e5acd75bc178f88c4097f3be5ccfd69 Mon Sep 17 00:00:00 2001 From: elisakiv Date: Thu, 25 Jan 2024 19:05:55 +0100 Subject: [PATCH 25/49] Added necessary default storage to settings --- src/web/settings.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/web/settings.py b/src/web/settings.py index 31460c938..3e65a1fe0 100644 --- a/src/web/settings.py +++ b/src/web/settings.py @@ -404,8 +404,11 @@ def generate_all_hosts(subdomains): # This is based on Django's ManifestStaticFilesStorage, which appends every static file's MD5 hash to its filename, # which avoids waiting for browsers' cache to update if a file's contents change STORAGES = { - "staticfiles": { - "BACKEND": "web.static.ManifestStaticFilesStorage", + "default": { + "BACKEND": "django.core.files.storage.FileSystemStorage", + }, + 'staticfiles': { + 'BACKEND': 'web.static.ManifestStaticFilesStorage', }, } # Ignores adding a hash to the files whose paths match these glob patterns: From 80366e19aa6cc0f07d1b2433e6f2ec519359367a Mon Sep 17 00:00:00 2001 From: elisakiv Date: Thu, 25 Jan 2024 19:06:54 +0100 Subject: [PATCH 26/49] Fixed issue in static.py --- src/web/static.py | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/web/static.py b/src/web/static.py index 8a7a7e001..1cc16b3a3 100644 --- a/src/web/static.py +++ b/src/web/static.py @@ -66,13 +66,14 @@ def get_full_static_url(url: str): return f"{settings.STATIC_URL}{url}" def file_hash(self, name, content=None): - normalized_file_path = Path(name).as_posix() - # Don't hash the filename if the path matches any of the patterns in the `MANIFEST_STATICFILES_IGNORE_PATTERNS` setting - if any( - fnmatchcase(normalized_file_path, pattern) - for pattern in settings.MANIFEST_STATICFILES_IGNORE_PATTERNS - ): - return None + if name: + normalized_file_path = Path(name).as_posix() + # Don't hash the filename if the path matches any of the patterns in the `MANIFEST_STATICFILES_IGNORE_PATTERNS` setting + if any( + fnmatchcase(normalized_file_path, pattern) + for pattern in settings.MANIFEST_STATICFILES_IGNORE_PATTERNS + ): + return None return super().file_hash(name, content) From eff6c2849c14ba9c5f601017c9df4219a77dc6df Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 8 Feb 2024 17:49:00 +0000 Subject: [PATCH 27/49] =?UTF-8?q?=E2=AC=86(deps):=20Bump=20django-hosts=20?= =?UTF-8?q?from=205.2=20to=206.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [django-hosts](https://github.com/jazzband/django-hosts) from 5.2 to 6.0. - [Changelog](https://github.com/jazzband/django-hosts/blob/master/docs/changelog.rst) - [Commits](https://github.com/jazzband/django-hosts/compare/5.2...6.0) --- updated-dependencies: - dependency-name: django-hosts dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 75e480c7a..3c9876deb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ # Django-related packages Django==4.2.9 -django-hosts==5.2 +django-hosts==6.0 django-ckeditor==6.7.0 django-cleanup==8.0.0 django-constance==3.1.0 From c8af5d72eefab3296bf07d4978d3c3d4596bf111 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 8 Feb 2024 17:49:04 +0000 Subject: [PATCH 28/49] =?UTF-8?q?=E2=AC=86(deps):=20Bump=20django=20from?= =?UTF-8?q?=204.1.7=20to=205.0.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [django](https://github.com/django/django) from 4.1.7 to 5.0.2. - [Commits](https://github.com/django/django/compare/4.1.7...5.0.2) --- updated-dependencies: - dependency-name: django dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 75e480c7a..5a8ec380a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ # Django-related packages -Django==4.2.9 +Django==5.0.2 django-hosts==5.2 django-ckeditor==6.7.0 django-cleanup==8.0.0 From cf59cb4d5b4b542cb6e97817c1151349994d1828 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 8 Feb 2024 18:12:32 +0000 Subject: [PATCH 29/49] =?UTF-8?q?=E2=AC=86(deps):=20Bump=20xlsxwriter=20fr?= =?UTF-8?q?om=203.1.2=20to=203.1.9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [xlsxwriter](https://github.com/jmcnamara/XlsxWriter) from 3.1.2 to 3.1.9. - [Changelog](https://github.com/jmcnamara/XlsxWriter/blob/main/Changes) - [Commits](https://github.com/jmcnamara/XlsxWriter/compare/RELEASE_3.1.2...RELEASE_3.1.9) --- updated-dependencies: - dependency-name: xlsxwriter dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 75e480c7a..e762fe623 100644 --- a/requirements.txt +++ b/requirements.txt @@ -29,4 +29,4 @@ channels-redis==4.1.0 bleach[css]==6.0.0 Pillow==10.2.0 uuid==1.30 -XlsxWriter==3.1.2 +XlsxWriter==3.1.9 From 07a3933d2075a7468f7b1ce2cd4584977f6143dc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 8 Feb 2024 17:49:04 +0000 Subject: [PATCH 30/49] Made changed in migration files Made changes in migration files to avoid error in timezone data, since Django 5.0.2 has removed the django.utils.timezone.utc alias to datetime.timezone.utc --- .../migrations/0008_contentbox_last_modified.py | 5 ++--- src/faq/migrations/0003_question_last_modified.py | 5 ++--- ...08_committee_and_inheritancegroup_last_modified.py | 7 +++---- .../0012_member_and_systemaccess_last_modified.py | 7 +++---- ...inter3dcourse_and_reservationrule_last_modified.py | 11 +++++------ .../migrations/0030_machine_info_message.py | 4 +--- .../migrations/0006_equipment_last_modified.py | 5 ++--- ...3_article_and_event_and_timeplace_last_modified.py | 9 ++++----- ...ntticket_creation_date_and_active_last_modified.py | 7 +++---- 9 files changed, 25 insertions(+), 35 deletions(-) diff --git a/src/contentbox/migrations/0008_contentbox_last_modified.py b/src/contentbox/migrations/0008_contentbox_last_modified.py index 2bb97d05e..bafd4ab1c 100644 --- a/src/contentbox/migrations/0008_contentbox_last_modified.py +++ b/src/contentbox/migrations/0008_contentbox_last_modified.py @@ -1,8 +1,7 @@ # Generated by Django 3.2.8 on 2021-10-25 18:28 -from datetime import datetime +from datetime import datetime, timezone from django.db import migrations, models -from django.utils.timezone import utc class Migration(migrations.Migration): @@ -15,7 +14,7 @@ class Migration(migrations.Migration): migrations.AddField( model_name='contentbox', name='last_modified', - field=models.DateTimeField(auto_now=True, default=datetime.utcfromtimestamp(0).replace(tzinfo=utc), verbose_name='last modified'), + field=models.DateTimeField(auto_now=True, default=datetime.utcfromtimestamp(0), verbose_name='last modified'), preserve_default=False, ), ] diff --git a/src/faq/migrations/0003_question_last_modified.py b/src/faq/migrations/0003_question_last_modified.py index b654b3642..b758f732c 100644 --- a/src/faq/migrations/0003_question_last_modified.py +++ b/src/faq/migrations/0003_question_last_modified.py @@ -1,8 +1,7 @@ # Generated by Django 3.2.8 on 2021-10-25 18:28 -from datetime import datetime +from datetime import datetime, timezone from django.db import migrations, models -from django.utils.timezone import utc class Migration(migrations.Migration): @@ -15,7 +14,7 @@ class Migration(migrations.Migration): migrations.AddField( model_name='question', name='last_modified', - field=models.DateTimeField(auto_now=True, default=datetime.utcfromtimestamp(0).replace(tzinfo=utc), verbose_name='last modified'), + field=models.DateTimeField(auto_now=True, default=datetime.utcfromtimestamp(0), verbose_name='last modified'), preserve_default=False, ), ] diff --git a/src/groups/migrations/0008_committee_and_inheritancegroup_last_modified.py b/src/groups/migrations/0008_committee_and_inheritancegroup_last_modified.py index 979802006..eb31d7072 100644 --- a/src/groups/migrations/0008_committee_and_inheritancegroup_last_modified.py +++ b/src/groups/migrations/0008_committee_and_inheritancegroup_last_modified.py @@ -1,8 +1,7 @@ # Generated by Django 3.2.8 on 2021-10-25 18:28 -from datetime import datetime +from datetime import datetime, timezone from django.db import migrations, models -from django.utils.timezone import utc class Migration(migrations.Migration): @@ -15,13 +14,13 @@ class Migration(migrations.Migration): migrations.AddField( model_name='committee', name='last_modified', - field=models.DateTimeField(auto_now=True, default=datetime.utcfromtimestamp(0).replace(tzinfo=utc), verbose_name='last modified'), + field=models.DateTimeField(auto_now=True, default=datetime.utcfromtimestamp(0), verbose_name='last modified'), preserve_default=False, ), migrations.AddField( model_name='inheritancegroup', name='last_modified', - field=models.DateTimeField(auto_now=True, default=datetime.utcfromtimestamp(0).replace(tzinfo=utc), verbose_name='last modified'), + field=models.DateTimeField(auto_now=True, default=datetime.utcfromtimestamp(0), verbose_name='last modified'), preserve_default=False, ), ] diff --git a/src/internal/migrations/0012_member_and_systemaccess_last_modified.py b/src/internal/migrations/0012_member_and_systemaccess_last_modified.py index c71992f62..014d0fb98 100644 --- a/src/internal/migrations/0012_member_and_systemaccess_last_modified.py +++ b/src/internal/migrations/0012_member_and_systemaccess_last_modified.py @@ -1,8 +1,7 @@ # Generated by Django 3.2.8 on 2021-10-25 18:28 -from datetime import datetime +from datetime import datetime, timezone from django.db import migrations, models -from django.utils.timezone import utc class Migration(migrations.Migration): @@ -15,13 +14,13 @@ class Migration(migrations.Migration): migrations.AddField( model_name='member', name='last_modified', - field=models.DateTimeField(auto_now=True, default=datetime.utcfromtimestamp(0).replace(tzinfo=utc), verbose_name='last modified'), + field=models.DateTimeField(auto_now=True, default=datetime.utcfromtimestamp(0), verbose_name='last modified'), preserve_default=False, ), migrations.AddField( model_name='systemaccess', name='last_modified', - field=models.DateTimeField(auto_now=True, default=datetime.utcfromtimestamp(0).replace(tzinfo=utc), verbose_name='last modified'), + field=models.DateTimeField(auto_now=True, default=datetime.utcfromtimestamp(0), verbose_name='last modified'), preserve_default=False, ), ] diff --git a/src/make_queue/migrations/0024_machine_and_machineusagerule_and_printer3dcourse_and_reservationrule_last_modified.py b/src/make_queue/migrations/0024_machine_and_machineusagerule_and_printer3dcourse_and_reservationrule_last_modified.py index a2d037afc..7ef95981e 100644 --- a/src/make_queue/migrations/0024_machine_and_machineusagerule_and_printer3dcourse_and_reservationrule_last_modified.py +++ b/src/make_queue/migrations/0024_machine_and_machineusagerule_and_printer3dcourse_and_reservationrule_last_modified.py @@ -1,8 +1,7 @@ # Generated by Django 3.2.8 on 2021-10-26 01:43 -from datetime import datetime +from datetime import datetime, timezone from django.db import migrations, models -from django.utils.timezone import utc class Migration(migrations.Migration): @@ -15,25 +14,25 @@ class Migration(migrations.Migration): migrations.AddField( model_name='machine', name='last_modified', - field=models.DateTimeField(auto_now=True, default=datetime.utcfromtimestamp(0).replace(tzinfo=utc), verbose_name='last modified'), + field=models.DateTimeField(auto_now=True, default=datetime.utcfromtimestamp(0), verbose_name='last modified'), preserve_default=False, ), migrations.AddField( model_name='machineusagerule', name='last_modified', - field=models.DateTimeField(auto_now=True, default=datetime.utcfromtimestamp(0).replace(tzinfo=utc), verbose_name='last modified'), + field=models.DateTimeField(auto_now=True, default=datetime.utcfromtimestamp(0), verbose_name='last modified'), preserve_default=False, ), migrations.AddField( model_name='printer3dcourse', name='last_modified', - field=models.DateTimeField(auto_now=True, default=datetime.utcfromtimestamp(0).replace(tzinfo=utc), verbose_name='last modified'), + field=models.DateTimeField(auto_now=True, default=datetime.utcfromtimestamp(0), verbose_name='last modified'), preserve_default=False, ), migrations.AddField( model_name='reservationrule', name='last_modified', - field=models.DateTimeField(auto_now=True, default=datetime.utcfromtimestamp(0).replace(tzinfo=utc), verbose_name='last modified'), + field=models.DateTimeField(auto_now=True, default=datetime.utcfromtimestamp(0), verbose_name='last modified'), preserve_default=False, ), ] diff --git a/src/make_queue/migrations/0030_machine_info_message.py b/src/make_queue/migrations/0030_machine_info_message.py index 2cf97c236..8099a7567 100644 --- a/src/make_queue/migrations/0030_machine_info_message.py +++ b/src/make_queue/migrations/0030_machine_info_message.py @@ -3,12 +3,10 @@ from datetime import datetime from django.db import migrations, models import django.utils.timezone -from django.utils.timezone import utc - def set_info_message_date_for_existing_machines(apps, schema_editor): Machine = apps.get_model('make_queue', 'Machine') - Machine.objects.update(info_message_date=datetime.utcfromtimestamp(0).replace(tzinfo=utc)) + Machine.objects.update(info_message_date=datetime.utcfromtimestamp(0)) class Migration(migrations.Migration): diff --git a/src/makerspace/migrations/0006_equipment_last_modified.py b/src/makerspace/migrations/0006_equipment_last_modified.py index 44ede267e..70f519ad7 100644 --- a/src/makerspace/migrations/0006_equipment_last_modified.py +++ b/src/makerspace/migrations/0006_equipment_last_modified.py @@ -1,8 +1,7 @@ # Generated by Django 3.2.8 on 2021-10-25 18:28 -from datetime import datetime +from datetime import datetime, timezone from django.db import migrations, models -from django.utils.timezone import utc class Migration(migrations.Migration): @@ -15,7 +14,7 @@ class Migration(migrations.Migration): migrations.AddField( model_name='equipment', name='last_modified', - field=models.DateTimeField(auto_now=True, default=datetime.utcfromtimestamp(0).replace(tzinfo=utc), verbose_name='last modified'), + field=models.DateTimeField(auto_now=True, default=datetime.utcfromtimestamp(0), verbose_name='last modified'), preserve_default=False, ), ] diff --git a/src/news/migrations/0023_article_and_event_and_timeplace_last_modified.py b/src/news/migrations/0023_article_and_event_and_timeplace_last_modified.py index 2dbc2f29e..8219690d3 100644 --- a/src/news/migrations/0023_article_and_event_and_timeplace_last_modified.py +++ b/src/news/migrations/0023_article_and_event_and_timeplace_last_modified.py @@ -1,8 +1,7 @@ # Generated by Django 3.2.8 on 2021-11-01 11:10 -from datetime import datetime +from datetime import datetime, timezone from django.db import migrations, models -from django.utils.timezone import utc class Migration(migrations.Migration): @@ -15,19 +14,19 @@ class Migration(migrations.Migration): migrations.AddField( model_name='article', name='last_modified', - field=models.DateTimeField(auto_now=True, default=datetime.utcfromtimestamp(0).replace(tzinfo=utc), verbose_name='last modified'), + field=models.DateTimeField(auto_now=True, default=datetime.utcfromtimestamp(0), verbose_name='last modified'), preserve_default=False, ), migrations.AddField( model_name='event', name='last_modified', - field=models.DateTimeField(auto_now=True, default=datetime.utcfromtimestamp(0).replace(tzinfo=utc), verbose_name='last modified'), + field=models.DateTimeField(auto_now=True, default=datetime.utcfromtimestamp(0), verbose_name='last modified'), preserve_default=False, ), migrations.AddField( model_name='timeplace', name='last_modified', - field=models.DateTimeField(auto_now=True, default=datetime.utcfromtimestamp(0).replace(tzinfo=utc), verbose_name='last modified'), + field=models.DateTimeField(auto_now=True, default=datetime.utcfromtimestamp(0), verbose_name='last modified'), preserve_default=False, ), ] diff --git a/src/news/migrations/0030_eventticket_creation_date_and_active_last_modified.py b/src/news/migrations/0030_eventticket_creation_date_and_active_last_modified.py index 15931a9d4..8cc6ffc6a 100644 --- a/src/news/migrations/0030_eventticket_creation_date_and_active_last_modified.py +++ b/src/news/migrations/0030_eventticket_creation_date_and_active_last_modified.py @@ -1,8 +1,7 @@ # Generated by Django 4.0.6 on 2022-09-12 19:51 -from datetime import datetime +from datetime import datetime, timezone from django.db import migrations, models -from django.utils.timezone import utc import django.utils.timezone @@ -16,7 +15,7 @@ class Migration(migrations.Migration): migrations.AddField( model_name='eventticket', name='active_last_modified', - field=models.DateTimeField(blank=True, default=datetime.utcfromtimestamp(0).replace(tzinfo=utc), verbose_name='last changed to active/canceled'), + field=models.DateTimeField(blank=True, default=datetime.utcfromtimestamp(0), verbose_name='last changed to active/canceled'), preserve_default=False, ), migrations.AlterField( @@ -27,7 +26,7 @@ class Migration(migrations.Migration): migrations.AddField( model_name='eventticket', name='creation_date', - field=models.DateTimeField(auto_now_add=True, default=datetime.utcfromtimestamp(0).replace(tzinfo=utc), verbose_name='original registration date'), + field=models.DateTimeField(auto_now_add=True, default=datetime.utcfromtimestamp(0), verbose_name='original registration date'), preserve_default=False, ), ] From 50d9538553129197663bbfc3490f68b6be1876f0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Feb 2024 15:38:00 +0000 Subject: [PATCH 31/49] =?UTF-8?q?=E2=AC=86(deps):=20Bump=20python-ldap=20f?= =?UTF-8?q?rom=203.4.3=20to=203.4.4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [python-ldap](https://github.com/python-ldap/python-ldap) from 3.4.3 to 3.4.4. - [Release notes](https://github.com/python-ldap/python-ldap/releases) - [Commits](https://github.com/python-ldap/python-ldap/compare/python-ldap-3.4.3...python-ldap-3.4.4) --- updated-dependencies: - dependency-name: python-ldap dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 3e0fc9cce..5d5b3bbab 100644 --- a/requirements.txt +++ b/requirements.txt @@ -19,7 +19,7 @@ social-auth-app-django==5.3.0 # (see https://python-social-auth.readthedocs.io/en/stable/installing.html#using-the-extras-options) social-auth-core[openidconnect]==4.4.2 # TODO: updated, pre-built Windows wheels might be available after this is resolved: https://github.com/python-ldap/python-ldap/issues/511 -python-ldap==3.4.3 +python-ldap==3.4.4 # Async-related packages (mainly for sending of emails) channels[daphne]==4.0.0 From 6043019f835aa1a7b63126d9ccf41fe5e6e94e9c Mon Sep 17 00:00:00 2001 From: Gunvor4 Date: Mon, 26 Feb 2024 17:35:10 +0100 Subject: [PATCH 32/49] Made changes to README file Christoph Gohlke has released new versions of python-ldap wheels on GitHub (:-D), and his old site is no longer working. The README file has now been updated with the correct link for python-ldap wheels. --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 5f76dc89e..8f4fd485f 100644 --- a/README.md +++ b/README.md @@ -66,8 +66,7 @@ and set the following settings (File → Settings...): ``` 1. Install requirements: * If using Windows, first download the correct wheel for the [`python-ldap`](https://pypi.org/project/python-ldap/) package - from [Christoph Gohlke's page](https://www.lfd.uci.edu/~gohlke/pythonlibs/#_python-ldap) - (linked to by [`python-ldap`'s documentation](https://www.python-ldap.org/en/python-ldap-3.4.0/installing.html#windows)) + from [Christoph Gohlke](https://github.com/cgohlke)'s [python-ldap-build repository](https://github.com/cgohlke/python-ldap-build). and install it: ```shell pip install [path to .whl file] From bb2ea2bccfd958dbb289d9349ec3269f71779c43 Mon Sep 17 00:00:00 2001 From: Gunvor4 Date: Mon, 26 Feb 2024 17:44:56 +0100 Subject: [PATCH 33/49] Included link to updated python-ldap wheels in requirements.txt --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 5d5b3bbab..5579ac463 100644 --- a/requirements.txt +++ b/requirements.txt @@ -18,7 +18,7 @@ social-auth-app-django==5.3.0 # This is already a requirement of `social-auth-app-django`, but it's listed here to provide the `openidconnect` extra # (see https://python-social-auth.readthedocs.io/en/stable/installing.html#using-the-extras-options) social-auth-core[openidconnect]==4.4.2 -# TODO: updated, pre-built Windows wheels might be available after this is resolved: https://github.com/python-ldap/python-ldap/issues/511 +# python-ldap wheels are now available via https://github.com/cgohlke/python-ldap-build/releases python-ldap==3.4.4 # Async-related packages (mainly for sending of emails) From 56053158b1fbc0f77aba1f954fca53f97f846635 Mon Sep 17 00:00:00 2001 From: elisakiv Date: Tue, 27 Feb 2024 14:14:24 +0100 Subject: [PATCH 34/49] Fixed issues in the 3D printer course form Made changes in 3D printer course form, because Django 5.2 no longer allows passing unsaved model instances to related filters. --- src/make_queue/forms/course.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/make_queue/forms/course.py b/src/make_queue/forms/course.py index 71d28a1d7..ac8b0a165 100644 --- a/src/make_queue/forms/course.py +++ b/src/make_queue/forms/course.py @@ -23,8 +23,12 @@ class Meta: def __init__(self, *args, **kwargs): super().__init__(**kwargs) + if self.instance.user: + queryset = User.objects.filter(Q(printer_3d_course=self.instance)) + else: + queryset = User.objects.filter(Q(printer_3d_course=None)) self.fields['user'] = forms.ModelChoiceField( - queryset=User.objects.filter(Q(printer_3d_course=None) | Q(printer_3d_course=self.instance)), + queryset=queryset, required=False, widget=SemanticSearchableChoiceInput(prompt_text=_("Select user")), label=Printer3DCourse._meta.get_field('user').verbose_name, From d3bbee7cd66f6ebe53390d76cc2e9a331cc9c8e7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 1 Mar 2024 16:13:11 +0000 Subject: [PATCH 35/49] =?UTF-8?q?=E2=AC=86(deps):=20Bump=20django-simple-h?= =?UTF-8?q?istory=20from=203.4.0=20to=203.5.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [django-simple-history](https://github.com/jazzband/django-simple-history) from 3.4.0 to 3.5.0. - [Release notes](https://github.com/jazzband/django-simple-history/releases) - [Changelog](https://github.com/jazzband/django-simple-history/blob/master/CHANGES.rst) - [Commits](https://github.com/jazzband/django-simple-history/compare/3.4.0...3.5.0) --- updated-dependencies: - dependency-name: django-simple-history dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 5579ac463..a8a9e2cb9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10,7 +10,7 @@ django-extensions==3.2.3 django-ical==1.9.2 django-multiselectfield==0.1.12 django-phonenumber-field[phonenumbers]==7.3.0 -django-simple-history==3.4.0 +django-simple-history==3.5.0 sorl-thumbnail==12.10.0 # Packages related to authentication and other "social" stuff From abb6d13f55115dca8361b8889274db4de7e27d70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gunvor=20Bjerkelund=20R=C3=B8kke?= <114504373+Gunvor4@users.noreply.github.com> Date: Thu, 7 Mar 2024 21:20:48 +0100 Subject: [PATCH 36/49] Remove Discord username validation (#717) After a somewhat recent update (see https://discord.com/blog/usernames and https://support.discord.com/hc/en-us/articles/12620128861463-New-Usernames-Display-Names), Discord usernames no longer have any particularly distinguishable structure, and so it's neither very useful nor practical to (properly) validate them. Also removed `help_text` and `validators` from the existing migrations that contain the `discord_username` field - namely `0015` and `0027`. This is safe to do, since neither field option (keyword argument) affect the database schema in any way. --------- Co-authored-by: Gunvor4 Co-authored-by: Anders <6058745+ddabble@users.noreply.github.com> --- CHANGELOG.md | 2 +- ...thub_and_discord_and_minecraft_username.py | 2 +- ...lmember_and_historicalmember_committees.py | 10 +-- src/internal/models.py | 5 +- src/internal/validators.py | 7 -- src/locale/nb/LC_MESSAGES/django.mo | Bin 53765 -> 53332 bytes src/locale/nb/LC_MESSAGES/django.po | 64 +++++++----------- 7 files changed, 31 insertions(+), 59 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 38eb6827f..781802ba6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,7 @@ A summary of changes made to the codebase, grouped per deployment. ### Fixes -- +- The Discord username field in the internal site's member form no longer enforces Discord's old username format ### Other changes diff --git a/src/internal/migrations/0015_member_gmail_and_MAKE_email_and_ntnu_starting_semester_and_github_and_discord_and_minecraft_username.py b/src/internal/migrations/0015_member_gmail_and_MAKE_email_and_ntnu_starting_semester_and_github_and_discord_and_minecraft_username.py index bf29c9227..345c6b605 100644 --- a/src/internal/migrations/0015_member_gmail_and_MAKE_email_and_ntnu_starting_semester_and_github_and_discord_and_minecraft_username.py +++ b/src/internal/migrations/0015_member_gmail_and_MAKE_email_and_ntnu_starting_semester_and_github_and_discord_and_minecraft_username.py @@ -18,7 +18,7 @@ class Migration(migrations.Migration): migrations.AddField( model_name='member', name='discord_username', - field=web.modelfields.UnlimitedCharField(blank=True, help_text='The username must include the hashtag and the four digits at the end.', validators=[django.core.validators.RegexValidator(re.compile('^(.+)#([0-9]{4})$'), 'Enter a valid Discord username – including the hashtag and the four digits at the end.')], verbose_name='Discord username'), + field=web.modelfields.UnlimitedCharField(blank=True, verbose_name='Discord username'), ), migrations.AddField( model_name='member', diff --git a/src/internal/migrations/0024_historicalmember_and_historicalmember_committees.py b/src/internal/migrations/0024_historicalmember_and_historicalmember_committees.py index cbb51cff1..4c36c327a 100644 --- a/src/internal/migrations/0024_historicalmember_and_historicalmember_committees.py +++ b/src/internal/migrations/0024_historicalmember_and_historicalmember_committees.py @@ -123,15 +123,7 @@ class Migration(migrations.Migration): ( "discord_username", web.modelfields.UnlimitedCharField( - blank=True, - help_text="The username must include the hashtag and the four digits at the end.", - validators=[ - django.core.validators.RegexValidator( - re.compile("^(.+)#([0-9]{4})$"), - "Enter a valid Discord username – including the hashtag and the four digits at the end.", - ) - ], - verbose_name="Discord username", + blank=True, verbose_name="Discord username" ), ), ( diff --git a/src/internal/models.py b/src/internal/models.py index 02afa34cd..c01bbed0b 100644 --- a/src/internal/models.py +++ b/src/internal/models.py @@ -19,7 +19,7 @@ from web.modelfields import UnlimitedCharField from .modelfields import SemesterField from .util import date_to_semester, year_to_semester -from .validators import WhitelistedEmailValidator, discord_username_validator +from .validators import WhitelistedEmailValidator class Member(models.Model): @@ -57,8 +57,7 @@ class Member(models.Model): honorary = models.BooleanField(default=False, verbose_name=_("honorary")) # Our code shouldn't have to keep track of these services' username length constraints, so we should not limit the length github_username = UnlimitedCharField(blank=True, verbose_name=_("GitHub username")) - discord_username = UnlimitedCharField(blank=True, validators=[discord_username_validator], verbose_name=_("Discord username"), - help_text=_("The username must include the hashtag and the four digits at the end.")) + discord_username = UnlimitedCharField(blank=True, verbose_name=_("Discord username")) minecraft_username = UnlimitedCharField(blank=True, verbose_name=_("Minecraft username")) last_modified = models.DateTimeField(auto_now=True, verbose_name=_("last modified")) diff --git a/src/internal/validators.py b/src/internal/validators.py index f8cc3ea1b..11ad07a15 100644 --- a/src/internal/validators.py +++ b/src/internal/validators.py @@ -32,10 +32,3 @@ def validate_semester_float(value): "%(value)s is not a valid semester float", params={'value': value}, ) - - -discord_username_regex = re.compile(r'^(.+)#([0-9]{4})$') -discord_username_validator = RegexValidator( - discord_username_regex, - _("Enter a valid Discord username – including the hashtag and the four digits at the end."), -) diff --git a/src/locale/nb/LC_MESSAGES/django.mo b/src/locale/nb/LC_MESSAGES/django.mo index c098d9c25ecbd39e3cd4d857990b029674e911d5..60af57a72aa3da35dcaec1e2e8ed6e27efe4bc76 100644 GIT binary patch delta 14357 zcm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Vo3gIG#IEDpsO8lo9%<{wQ_doO5Os~yq0u$N z+Q>SH8`_dzY;RPXX5NQwrwwy|C;1Qoj-=<#;qCnH}OwMuaI_8u1RW6a@Xgk z{bce}k%|vd*J1JvshdlF0cj<9UHgbHCFwec!-yx_vSJTN-HH87On(lgkfJCD;Sy|% z5jc``S3lfm(J+JHa00r%vz`5kZ%|GmrBJt)@+&x5jkr1+oYKU55${JzAnAG)U8LvK zH6+b8Vdn?(Er|b!k4d@b&&jYi+IG%p%CF`$;MK#fHXn;0&}hK_YQLHI>!g>d8%UZ? zeM`!XY`cx*kCT3*t}JORDV93@pG%xWR1~lc7m01#jDbjIC%-`6hK5Kj*K(C-$ZuIFeWmQg2dq(qwz{L@Y)9 zm&AO@|BhuS*TfgE!4&>YszY4^QdRQlwC_RcNjdjQ)cAb~{6v~hWgmQ>+AiczkY7yx z5$PrJ(O8kVECV7)qlXBMIGbi)k zfAr^uE;L?&t#Og9nm~Rx`8mXg;xCkS)uOEHRYT4{@7sKBOtSR~4dk9|TbDy-=_=mt z1hQ3V)d%0B#SQewh@2+;Bq6_pRL+*KT6{y zhb1HqN=`}2UR-Bup%(GUX^F#A`@1sIl2TI=h9$Yao|NfIPDvb^(LXt5peub)l50>x z+Mx7=fv$v<{yF6V!!uG{{gVeKr>D6R(sM#dDg7g}D>qLo7x&+ehGnFs+n$pCU;Qjk zXzG^cMYRDImLAKpOyY!x@vhef06$I&9~(- diff --git a/src/locale/nb/LC_MESSAGES/django.po b/src/locale/nb/LC_MESSAGES/django.po index 0b706b015..38ee42675 100644 --- a/src/locale/nb/LC_MESSAGES/django.po +++ b/src/locale/nb/LC_MESSAGES/django.po @@ -3,7 +3,7 @@ msgid "" msgstr "" "Project-Id-Version: MAKE NTNU website\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-10-05 18:43+0200\n" +"POT-Creation-Date: 2024-02-27 17:42+0100\n" "PO-Revision-Date: 2018-10-09 14:05+0200\n" "Last-Translator: Sindre Stephansen \n" "Language-Team: Norwegian Bokmål \n" @@ -406,7 +406,7 @@ msgid "URL name" msgstr "URL-navn" #: src/contentbox/models.py:20 src/docs/models.py:15 -#: src/internal/models.py:262 src/makerspace/models.py:23 +#: src/internal/models.py:261 src/makerspace/models.py:23 #: src/news/models.py:39 msgid "title" msgstr "tittel" @@ -417,8 +417,8 @@ msgstr "Ekstra rettigheter som kreves for å kunne endre på innholdsboksen." #: src/contentbox/models.py:29 src/docs/models.py:60 src/faq/models.py:42 #: src/groups/models.py:39 src/groups/models.py:111 -#: src/internal/models.py:63 src/internal/models.py:209 -#: src/internal/models.py:281 +#: src/internal/models.py:62 src/internal/models.py:208 +#: src/internal/models.py:280 #: src/internal/templates/internal/secret_list.html:67 #: src/make_queue/models/course.py:37 src/make_queue/models/machine.py:186 #: src/make_queue/models/machine.py:240 @@ -711,12 +711,12 @@ msgstr "gruppe" msgid "clickbait" msgstr "lokketekst" -#: src/groups/models.py:107 src/internal/models.py:264 +#: src/groups/models.py:107 src/internal/models.py:263 #: src/makerspace/models.py:24 msgid "description" msgstr "beskrivelse" -#: src/groups/models.py:108 src/internal/models.py:197 +#: src/groups/models.py:108 src/internal/models.py:196 #: src/news/admin.py:313 #: src/news/templates/admin/news/event/change_form_ticket_table.html:17 #: src/users/admin.py:36 @@ -757,7 +757,7 @@ msgstr "Endre {committee}" msgid "full name" msgstr "fullt navn" -#: src/internal/admin.py:50 src/internal/models.py:275 +#: src/internal/admin.py:50 src/internal/models.py:274 msgid "extra view permissions" msgstr "ekstra visningsrettigheter" @@ -916,63 +916,59 @@ msgid "Discord username" msgstr "Discord-brukernavn" #: src/internal/models.py:61 -msgid "The username must include the hashtag and the four digits at the end." -msgstr "Brukernavnet må inkludere hashtaggen og de fire sifrene på slutten." - -#: src/internal/models.py:62 #: src/internal/templates/internal/member_list.html:402 msgid "Minecraft username" msgstr "Minecraft-brukernavn" -#: src/internal/models.py:192 +#: src/internal/models.py:191 msgid "Drive" msgstr "Drive" -#: src/internal/models.py:193 +#: src/internal/models.py:192 msgid "Slack" msgstr "Slack" -#: src/internal/models.py:194 +#: src/internal/models.py:193 #: src/make_queue/templates/make_queue/reservation_list.html:117 #: src/make_queue/templates/make_queue/reservation_list.html:197 msgid "Calendar" msgstr "Kalender" -#: src/internal/models.py:195 +#: src/internal/models.py:194 msgid "Trello" msgstr "Trello" -#: src/internal/models.py:198 +#: src/internal/models.py:197 msgid "Website" msgstr "Nettside" -#: src/internal/models.py:205 +#: src/internal/models.py:204 msgid "member" msgstr "medlem" -#: src/internal/models.py:207 +#: src/internal/models.py:206 msgid "system" msgstr "system" -#: src/internal/models.py:208 +#: src/internal/models.py:207 msgid "access" msgstr "tilgang" -#: src/internal/models.py:219 +#: src/internal/models.py:218 #, python-brace-format msgid "Access for {member} to {name}: {has_access}" msgstr "Tilgang for {member} til {name}: {has_access}" -#: src/internal/models.py:268 src/make_queue/models/machine.py:54 +#: src/internal/models.py:267 src/make_queue/models/machine.py:54 #: src/make_queue/models/machine.py:182 src/makerspace/models.py:30 msgid "priority" msgstr "prioritet" -#: src/internal/models.py:269 +#: src/internal/models.py:268 msgid "If specified, the secrets are sorted ascending by this value." msgstr "Hvis spesifisert, sorteres hemmelighetene stigende på denne verdien." -#: src/internal/models.py:277 +#: src/internal/models.py:276 msgid "" "Extra permissions that are required for viewing the secret. If a user does " "not have all the chosen permissions, it will be hidden to them." @@ -980,23 +976,23 @@ msgstr "" "Ekstra rettigheter som kreves for å se hemmeligheten. Hvis en bruker ikke " "har alle de valgte rettighetene vil den være skjult for vedkommende." -#: src/internal/models.py:301 +#: src/internal/models.py:300 msgid "quote" msgstr "sitat" -#: src/internal/models.py:302 +#: src/internal/models.py:301 msgid "quoted" msgstr "sitert" -#: src/internal/models.py:302 +#: src/internal/models.py:301 msgid "The person who is quoted." msgstr "Personen som blir sitert." -#: src/internal/models.py:303 +#: src/internal/models.py:302 msgid "context" msgstr "kontekst" -#: src/internal/models.py:304 +#: src/internal/models.py:303 #: src/make_queue/templates/make_queue/course/printer_3d_course_list.html:100 #: src/make_queue/views/course.py:125 #: src/news/templates/news/event/event_list_contents.html:26 @@ -1005,11 +1001,11 @@ msgstr "kontekst" msgid "date" msgstr "dato" -#: src/internal/models.py:309 +#: src/internal/models.py:308 msgid "author" msgstr "forfatter" -#: src/internal/models.py:316 +#: src/internal/models.py:315 #, python-brace-format msgid "“{quote}” —{quoted}" msgstr "«{quote}» —{quoted}" @@ -1260,14 +1256,6 @@ msgstr "Oppgi en gyldig e-postadresse som slutter med «@makentnu.no»." msgid "Enter a valid format for a semester." msgstr "Oppgi et gyldig format for et semester." -#: src/internal/validators.py:40 -msgid "" -"Enter a valid Discord username – including the hashtag and the four digits " -"at the end." -msgstr "" -"Oppgi et gyldig Discord-brukernavn – inkludert hashtaggen og de fire sifrene " -"på slutten." - #: src/internal/views.py:85 msgid "Add New Member" msgstr "Legg til nytt medlem" From 03964e79f60deaac8cc089f2c6242774a857229a Mon Sep 17 00:00:00 2001 From: elisakiv Date: Mon, 18 Mar 2024 17:30:36 +0100 Subject: [PATCH 37/49] Created a custom implementation of MultiSelectField This was done in order to achieve compatibility with Django 5.0. MultiSelectField is not comptible with Django 5.0, because it uses _get_flatchoices, which is no longer usable. In order to still use the package, a custom implementation was created that overwrites the deprecated method. --- src/make_queue/models/reservation.py | 4 ++-- src/web/modelfields.py | 25 +++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/src/make_queue/models/reservation.py b/src/make_queue/models/reservation.py index 01ae66a37..da4eb8dfe 100644 --- a/src/make_queue/models/reservation.py +++ b/src/make_queue/models/reservation.py @@ -10,13 +10,13 @@ from django.utils.formats import time_format from django.utils.text import capfirst from django.utils.translation import gettext_lazy as _ -from multiselectfield import MultiSelectField + from news.models import TimePlace from users.models import User from util.locale_utils import exact_weekday_to_day_name, short_datetime_format, timedelta_to_hours from util.model_utils import ComparisonType, comparison_boilerplate -from web.modelfields import UnlimitedCharField +from web.modelfields import UnlimitedCharField, MultiSelectField from .machine import Machine, MachineType diff --git a/src/web/modelfields.py b/src/web/modelfields.py index 0e5dee30f..93d0cdc43 100644 --- a/src/web/modelfields.py +++ b/src/web/modelfields.py @@ -1,5 +1,6 @@ from django import forms from django.db import models +from multiselectfield import MultiSelectField as MSField class UnlimitedCharField(models.TextField): @@ -21,3 +22,27 @@ def formfield(self, **kwargs): 'widget': forms.URLField.widget, # Overrides TextField's Textarea widget **kwargs, }) + + +class MultiSelectField(MSField): + """ + Custom Implementation of MultiSelectField to achieve Django 5.0 compatibility + #TODO remove when MultiSelectField fully supports Django 5.0 + + See: https://github.com/goinnn/django-multiselectfield/issues/141#issuecomment-1911731471 + """ + + def _get_flatchoices(self): + flat_choices = super(models.CharField, self).flatchoices + + class MSFFlatchoices(list): + # Used to trick django.contrib.admin.utils.display_for_field into not treating the list of values as a + # dictionary key (which errors out) + def __bool__(self): + return False + + __nonzero__ = __bool__ + + return MSFFlatchoices(flat_choices) + + flatchoices = property(_get_flatchoices) From 89b47f65dc6251ed8395cf1fae583d4913a43eba Mon Sep 17 00:00:00 2001 From: elisakiv Date: Thu, 4 Apr 2024 19:20:15 +0200 Subject: [PATCH 38/49] Run makemigrations after updates to reservation model --- .../0034_alter_reservationrule_start_days.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/make_queue/migrations/0034_alter_reservationrule_start_days.py diff --git a/src/make_queue/migrations/0034_alter_reservationrule_start_days.py b/src/make_queue/migrations/0034_alter_reservationrule_start_days.py new file mode 100644 index 000000000..2cb17e2c3 --- /dev/null +++ b/src/make_queue/migrations/0034_alter_reservationrule_start_days.py @@ -0,0 +1,19 @@ +# Generated by Django 5.0.2 on 2024-04-04 17:18 + +import web.modelfields +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('make_queue', '0033_historicalmachine'), + ] + + operations = [ + migrations.AlterField( + model_name='reservationrule', + name='start_days', + field=web.modelfields.MultiSelectField(choices=[(1, 'Monday'), (2, 'Tuesday'), (3, 'Wednesday'), (4, 'Thursday'), (5, 'Friday'), (6, 'Saturday'), (7, 'Sunday')], max_length=13, verbose_name='start days for rule periods'), + ), + ] From 1b23eeeda17b584bd1dc45cf0cf9fd682880b3ca Mon Sep 17 00:00:00 2001 From: elisakiv Date: Thu, 4 Apr 2024 19:32:10 +0200 Subject: [PATCH 39/49] Updated CHANGELOG --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 781802ba6..0042da162 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,7 +18,7 @@ A summary of changes made to the codebase, grouped per deployment. ### Other changes -- +- Updated Django to 5.0.2 ## 2023-05-10 ([#654](https://github.com/MAKENTNU/web/pull/654)) From 780d462aef2f9a3647f0832a14f91a0ddb539113 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 4 Apr 2024 19:02:09 +0000 Subject: [PATCH 40/49] =?UTF-8?q?=E2=AC=86(deps):=20Bump=20django-cleanup?= =?UTF-8?q?=20from=208.0.0=20to=208.1.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [django-cleanup](https://github.com/un1t/django-cleanup) from 8.0.0 to 8.1.0. - [Changelog](https://github.com/un1t/django-cleanup/blob/master/CHANGELOG.md) - [Commits](https://github.com/un1t/django-cleanup/compare/8.0.0...8.1.0) --- updated-dependencies: - dependency-name: django-cleanup dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index e35e99000..4d4cf4869 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ Django==5.0.2 django-hosts==6.0 django-ckeditor==6.7.0 -django-cleanup==8.0.0 +django-cleanup==8.1.0 django-constance==3.1.0 django-decorator-include==3.0 # (See this page for a list of all management commands: https://django-extensions.readthedocs.io/en/latest/command_extensions.html) From ebb5f0cf41d4743664699cc4f6b593261cd32c55 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 11 Apr 2024 16:26:08 +0000 Subject: [PATCH 41/49] =?UTF-8?q?=F0=9F=91=B7(deps):=20Bump=20actions/setu?= =?UTF-8?q?p-python=20from=204=20to=205?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/python.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 995d6d65d..54aae9887 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} cache: "pip" From a0270e49152df2536d1d3f9429fd082bf3046e4d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 25 Apr 2024 16:58:15 +0000 Subject: [PATCH 42/49] =?UTF-8?q?=E2=AC=86(deps):=20Bump=20social-auth-app?= =?UTF-8?q?-django=20from=205.3.0=20to=205.4.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [social-auth-app-django](https://github.com/python-social-auth/social-app-django) from 5.3.0 to 5.4.1. - [Release notes](https://github.com/python-social-auth/social-app-django/releases) - [Changelog](https://github.com/python-social-auth/social-app-django/blob/master/CHANGELOG.md) - [Commits](https://github.com/python-social-auth/social-app-django/compare/5.3.0...5.4.1) --- updated-dependencies: - dependency-name: social-auth-app-django dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 4d4cf4869..2d79a7e0d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,7 +14,7 @@ django-simple-history==3.5.0 sorl-thumbnail==12.10.0 # Packages related to authentication and other "social" stuff -social-auth-app-django==5.3.0 +social-auth-app-django==5.4.1 # This is already a requirement of `social-auth-app-django`, but it's listed here to provide the `openidconnect` extra # (see https://python-social-auth.readthedocs.io/en/stable/installing.html#using-the-extras-options) social-auth-core[openidconnect]==4.4.2 From b5a8d66c3c6324eda9cc9e324ce3a4e8193e7df8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 2 May 2024 17:15:07 +0000 Subject: [PATCH 43/49] =?UTF-8?q?=E2=AC=86(deps):=20Bump=20bleach[css]=20f?= =?UTF-8?q?rom=206.0.0=20to=206.1.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [bleach[css]](https://github.com/mozilla/bleach) from 6.0.0 to 6.1.0. - [Changelog](https://github.com/mozilla/bleach/blob/main/CHANGES) - [Commits](https://github.com/mozilla/bleach/compare/v6.0.0...v6.1.0) --- updated-dependencies: - dependency-name: bleach[css] dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 4d4cf4869..cf1edb6c2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -26,7 +26,7 @@ channels[daphne]==4.0.0 channels-redis==4.1.0 # Misc. packages -bleach[css]==6.0.0 +bleach[css]==6.1.0 Pillow==10.2.0 uuid==1.30 XlsxWriter==3.1.9 From 3c2e5921aa799c97d874e797d8d94ce40b0affee Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 2 May 2024 17:23:19 +0000 Subject: [PATCH 44/49] =?UTF-8?q?=E2=AC=86(deps):=20Bump=20channels[daphne?= =?UTF-8?q?]=20from=204.0.0=20to=204.1.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [channels[daphne]](https://github.com/django/channels) from 4.0.0 to 4.1.0. - [Changelog](https://github.com/django/channels/blob/main/CHANGELOG.txt) - [Commits](https://github.com/django/channels/compare/4.0.0...4.1.0) --- updated-dependencies: - dependency-name: channels[daphne] dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index cf1edb6c2..5c4b7cc9a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -22,7 +22,7 @@ social-auth-core[openidconnect]==4.4.2 python-ldap==3.4.4 # Async-related packages (mainly for sending of emails) -channels[daphne]==4.0.0 +channels[daphne]==4.1.0 channels-redis==4.1.0 # Misc. packages From 17cde353ca78ba58821c837a96f2b195fda10987 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 2 May 2024 18:18:00 +0000 Subject: [PATCH 45/49] =?UTF-8?q?=E2=AC=86(deps):=20Bump=20channels-redis?= =?UTF-8?q?=20from=204.1.0=20to=204.2.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [channels-redis](https://github.com/django/channels_redis) from 4.1.0 to 4.2.0. - [Changelog](https://github.com/django/channels_redis/blob/main/CHANGELOG.txt) - [Commits](https://github.com/django/channels_redis/commits) --- updated-dependencies: - dependency-name: channels-redis dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 5c4b7cc9a..d5cdb2961 100644 --- a/requirements.txt +++ b/requirements.txt @@ -23,7 +23,7 @@ python-ldap==3.4.4 # Async-related packages (mainly for sending of emails) channels[daphne]==4.1.0 -channels-redis==4.1.0 +channels-redis==4.2.0 # Misc. packages bleach[css]==6.1.0 From 1647cdad83341eabf40d298004b279e1fb5f0713 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 3 May 2024 16:42:01 +0000 Subject: [PATCH 46/49] =?UTF-8?q?=E2=AC=86(deps):=20Bump=20xlsxwriter=20fr?= =?UTF-8?q?om=203.1.9=20to=203.2.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [xlsxwriter](https://github.com/jmcnamara/XlsxWriter) from 3.1.9 to 3.2.0. - [Changelog](https://github.com/jmcnamara/XlsxWriter/blob/main/Changes) - [Commits](https://github.com/jmcnamara/XlsxWriter/compare/RELEASE_3.1.9...RELEASE_3.2.0) --- updated-dependencies: - dependency-name: xlsxwriter dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index ff9a6b8eb..119fdf7b0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -29,4 +29,4 @@ channels-redis==4.1.0 bleach[css]==6.1.0 Pillow==10.2.0 uuid==1.30 -XlsxWriter==3.1.9 +XlsxWriter==3.2.0 From 59509b145cfab0a678db27939edff8ff0528c9f6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 10 May 2024 14:58:37 +0000 Subject: [PATCH 47/49] =?UTF-8?q?=E2=AC=86(deps):=20Bump=20pillow=20from?= =?UTF-8?q?=2010.2.0=20to=2010.3.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [pillow](https://github.com/python-pillow/Pillow) from 10.2.0 to 10.3.0. - [Release notes](https://github.com/python-pillow/Pillow/releases) - [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst) - [Commits](https://github.com/python-pillow/Pillow/compare/10.2.0...10.3.0) --- updated-dependencies: - dependency-name: pillow dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 119fdf7b0..7acccbdc3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -27,6 +27,6 @@ channels-redis==4.1.0 # Misc. packages bleach[css]==6.1.0 -Pillow==10.2.0 +Pillow==10.3.0 uuid==1.30 XlsxWriter==3.2.0 From 77debc843581f167b424cf28db57cf1d3559a6d9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 10 May 2024 15:57:34 +0000 Subject: [PATCH 48/49] =?UTF-8?q?=F0=9F=91=B7(deps):=20Bump=20github/codeq?= =?UTF-8?q?l-action=20from=202=20to=203?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/v2...v3) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/codeql-analysis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 91eb44597..e434c6266 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -44,7 +44,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -58,7 +58,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java). # If this step fails, then you should remove it and run the build manually (see below). - name: Autobuild - uses: github/codeql-action/autobuild@v2 + uses: github/codeql-action/autobuild@v3 # ℹ️ Command-line programs to run using the OS shell. # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun @@ -71,6 +71,6 @@ jobs: # ./location_of_script_within_repo/buildscript.sh - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 with: category: "/language:${{matrix.language}}" From 4d85a53297511f3b334cdae37e24f315fd9ccbce Mon Sep 17 00:00:00 2001 From: Gunvor4 Date: Fri, 10 May 2024 20:48:45 +0200 Subject: [PATCH 49/49] Added CHANGELOG release date for #730 --- CHANGELOG.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0042da162..f90fd1ccb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ A summary of changes made to the codebase, grouped per deployment. ### New features -- The apply button in the English header, which previously read "søk verv", has now been translated to English ("apply to MAKE") +- ### Improvements @@ -14,11 +14,27 @@ A summary of changes made to the codebase, grouped per deployment. ### Fixes +- + +### Other changes + +- + + +## 2024-05-10 ([#730](https://github.com/MAKENTNU/web/pull/730)) + +### New features + +- The apply button in the English header, which previously read "søk verv", has now been translated to English ("apply to MAKE") + +### Fixes + - The Discord username field in the internal site's member form no longer enforces Discord's old username format ### Other changes - Updated Django to 5.0.2 +- Updated a ridiculous amount of packages ## 2023-05-10 ([#654](https://github.com/MAKENTNU/web/pull/654))