diff --git a/.github/workflows/auto-merge-dependency-updates.yaml b/.github/workflows/auto-merge-dependency-updates.yaml index 53f271eaa..5451a5093 100644 --- a/.github/workflows/auto-merge-dependency-updates.yaml +++ b/.github/workflows/auto-merge-dependency-updates.yaml @@ -13,7 +13,7 @@ jobs: steps: - name: Dependabot metadata id: metadata - uses: dependabot/fetch-metadata@v1.3.3 + uses: dependabot/fetch-metadata@v1.3.4 with: github-token: "${{ secrets.GITHUB_TOKEN }}" - name: Approve diff --git a/.github/workflows/test-and-deploy.yaml b/.github/workflows/test-and-deploy.yaml index 12ff83c42..bcf48c649 100644 --- a/.github/workflows/test-and-deploy.yaml +++ b/.github/workflows/test-and-deploy.yaml @@ -131,7 +131,7 @@ jobs: tar -xz --file artifacts/static-files/static-files.tar.gz --directory codewof/staticfiles - name: Log in to the Container registry - uses: docker/login-action@v2.0.0 + uses: docker/login-action@v2.1.0 with: registry: ghcr.io username: ${{ github.actor }} @@ -147,7 +147,7 @@ jobs: type=ref,event=branch,priority=2 - name: Build and push Docker image - uses: docker/build-push-action@v3.1.1 + uses: docker/build-push-action@v3.2.0 with: file: ./infrastructure/production/django/Dockerfile context: . diff --git a/CHANGELOG.md b/CHANGELOG.md index 57c47a4e6..c6c5c2f28 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## 5.0.1 + +- Fix bug where a sequence of code characters could stop the JavaScript file from parsing correctly. +- Delete management command with duplicated command name +- Dependency updates: + - Update dependabot/fetch-metadata from v1.3.3 to v1.3.4. + - Update docker/login-action from v2.0.0 to v2.1.0. + - Update docker/build-push-action from v3.1.1 to v3.2.0. + - Update postcss from 8.4.16 to 8.4.18. + - Update yargs from 17.5.1 to 17.6.0. + - Update psycopg2 from 2.9.3 to 2.9.4. + - Update pytz from 2022.2.1 to 2022.4. + - Update django-modeltranslation from 0.18.4 to 0.18.5. + - Update mypy from 0.971 to 0.982. + - Update coverage from 6.4.4 to 6.5.0. + - Update django-debug-toolbar from 3.6.0 to 3.7.0. + ## 5.0.0 - Add question recommendations to users. diff --git a/codewof/config/__init__.py b/codewof/config/__init__.py index b3d6e3190..a0f1432c2 100644 --- a/codewof/config/__init__.py +++ b/codewof/config/__init__.py @@ -1,6 +1,6 @@ """Configuration for Django system.""" -__version__ = "5.0.0" +__version__ = "5.0.1" __version_info__ = tuple( [ int(num) if num.isdigit() else num diff --git a/codewof/package.json b/codewof/package.json index b29fd5ea2..ad684b579 100644 --- a/codewof/package.json +++ b/codewof/package.json @@ -30,13 +30,13 @@ "jquery": "3.6.1", "pixrem": "5.0.0", "popper.js": "1.16.1", - "postcss": "8.4.16", + "postcss": "8.4.18", "postcss-flexbugs-fixes": "5.0.2", "sass": "1.55.0", "skulpt": "0.11.1", "sortablejs": "1.15.0", "vinyl-buffer": "1.0.1", - "yargs": "17.5.1" + "yargs": "17.6.0" }, "engines": { "node": ">=8" diff --git a/codewof/programming/management/commands/update_data.py b/codewof/programming/management/commands/update_data.py deleted file mode 100644 index 650ec7957..000000000 --- a/codewof/programming/management/commands/update_data.py +++ /dev/null @@ -1,13 +0,0 @@ -"""Module for the custom Django updatedata command.""" - -from django.core import management - - -class Command(management.base.BaseCommand): - """Required command class for the custom Django updatedata command.""" - - help = "Update all data from content folders for all applications" - - def handle(self, *args, **options): - """Automatically called when the updatedata command is given.""" - management.call_command("load_questions") diff --git a/codewof/templates/programming/question.html b/codewof/templates/programming/question.html index 9c75e2cdb..d080dc6b4 100644 --- a/codewof/templates/programming/question.html +++ b/codewof/templates/programming/question.html @@ -115,7 +115,7 @@