diff --git a/.github/workflows/publish-python-package.yml b/.github/workflows/publish-python-package.yml index aac41fa7c..11d9b3e3a 100644 --- a/.github/workflows/publish-python-package.yml +++ b/.github/workflows/publish-python-package.yml @@ -1,4 +1,5 @@ name: Publish Python Package + on: push: branches: @@ -6,18 +7,19 @@ on: paths-ignore: - "CHANGELOG.md" - "portal/__init__.py" + jobs: publish-pypi-packages: name: Publish PyPi Packages runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 persist-credentials: false - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.8" architecture: "x64" @@ -25,16 +27,11 @@ jobs: run: | pip install pipenv pipenv install --dev --system - - name: Configure Git - run: | - git config --local user.name cfl-bot - git config --local user.email codeforlife-bot@ocado.com - name: Release codeforlife-portal uses: relekang/python-semantic-release@v7.34.6 with: github_token: ${{ secrets.CFL_BOT_GITHUB_TOKEN }} pypi_token: ${{ secrets.PYPI_TOKEN }} - continue-on-error: true - name: Build cfl-common package run: | pip install wheel @@ -46,8 +43,8 @@ jobs: with: user: __token__ password: ${{ secrets.PYPI_TOKEN }} - packages_dir: cfl_common/dist/ - skip_existing: true + packages-dir: cfl_common/dist/ + skip-existing: true - name: Trigger staging deployment uses: actions/github-script@v6 with: diff --git a/.github/workflows/snyk.yaml b/.github/workflows/snyk.yaml index 2aad94ad6..fb6ac4bb3 100644 --- a/.github/workflows/snyk.yaml +++ b/.github/workflows/snyk.yaml @@ -11,11 +11,11 @@ jobs: LANG: C.UTF-8 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup python-version - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.8" architecture: "x64" diff --git a/CHANGELOG.md b/CHANGELOG.md index b6b289789..5c4deaf2d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,387 +1,382 @@ # CHANGELOG +## v6.45.2 (2024-06-27) +### Fix -## v6.33.5 (2023-07-20) +* fix: Try scrapping old action and use official GA instead ([`a007eb1`](https://github.com/ocadotechnology/codeforlife-portal/commit/a007eb1c5e867620da58f5227f3811ae63945f8d)) -### Build +* fix: Test removing setup step in publish job ([`56681cb`](https://github.com/ocadotechnology/codeforlife-portal/commit/56681cb6f660000a3c304f8f6d51332aaefda7a2)) -* build(deps): Bump word-wrap from 1.2.3 to 1.2.4 in /portal_frontend (#2148) +* fix(deps): bump djangorestframework from 3.13.1 to 3.15.2 (#2318) -Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. -- [Release notes](https://github.com/jonschlinkert/word-wrap/releases) -- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4) +* fix(deps): bump djangorestframework from 3.13.1 to 3.15.2 + +Bumps [djangorestframework](https://github.com/encode/django-rest-framework) from 3.13.1 to 3.15.2. +- [Release notes](https://github.com/encode/django-rest-framework/releases) +- [Commits](https://github.com/encode/django-rest-framework/compare/3.13.1...3.15.2) --- updated-dependencies: -- dependency-name: word-wrap - dependency-type: indirect +- dependency-name: djangorestframework + dependency-type: direct:production ... -Signed-off-by: dependabot[bot] <support@github.com> ([`039c855`](https://github.com/ocadotechnology/codeforlife-portal/commit/039c855179a8997e30c1aa88f18f69c3e5c2b4df)) +Signed-off-by: dependabot[bot] <support@github.com> + +* Also update DRF in common + +Co-Authored-By: faucomte97 <f.aucomte@hotmail.co.uk> ([`3bff5bf`](https://github.com/ocadotechnology/codeforlife-portal/commit/3bff5bfa5563fb51a01aa4bfddeb324169a94462)) + +## v6.45.1 (2024-05-28) ### Fix -* fix: Get fields depending on page (#2149) ([`942fc93`](https://github.com/ocadotechnology/codeforlife-portal/commit/942fc93284ce85b22d083d557a8e60974b77a7bb)) +* fix: [bugfix/2306] Changed the domain in redirect button for Gmail to new domain (#2311) +* [bugfix/2306] Changed the domain in redirect button for Gmail to refer the new domain -## v6.33.4 (2023-07-12) +* fix: [bugfix/2306] Changed the domain in redirect button for Gmail to refer the new domain -### Build +* Merge branch 'bugfix/2306' of github.com:Jibran1998/codeforlife-portal into bugfix/2306 -* build(deps): Bump semver from 6.3.0 to 6.3.1 in /portal_frontend +* Merge branch 'master' into bugfix/2306 -Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 6.3.1. -- [Release notes](https://github.com/npm/node-semver/releases) -- [Changelog](https://github.com/npm/node-semver/blob/v6.3.1/CHANGELOG.md) -- [Commits](https://github.com/npm/node-semver/compare/v6.3.0...v6.3.1) +* [Update] Resolved PR comment to remove u/0/ from the URL ---- -updated-dependencies: -- dependency-name: semver - dependency-type: indirect -... +* Merge branch 'master' into bugfix/2306 -Signed-off-by: dependabot[bot] <support@github.com> ([`cbb114f`](https://github.com/ocadotechnology/codeforlife-portal/commit/cbb114f439350b909fc4a58de92b1221575b40ce)) +Co-Authored-By: Florian Aucomte <f.aucomte@hotmail.co.uk> ([`67a1dac`](https://github.com/ocadotechnology/codeforlife-portal/commit/67a1dacc1c1cd4d0fe754240a8edd2c6b007b60b)) -* build(deps): Bump tough-cookie from 4.0.0 to 4.1.3 in /portal_frontend (#2119) +## v6.45.0 (2024-05-24) -Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.0.0 to 4.1.3. -- [Release notes](https://github.com/salesforce/tough-cookie/releases) -- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md) -- [Commits](https://github.com/salesforce/tough-cookie/compare/v4.0.0...v4.1.3) +### Feature ---- -updated-dependencies: -- dependency-name: tough-cookie - dependency-type: indirect -... +* feat: Deverify released students, send new verify email and update join request error message (#2313) -Signed-off-by: dependabot[bot] <support@github.com> ([`c0d4219`](https://github.com/ocadotechnology/codeforlife-portal/commit/c0d421995c1c7398a1013163b1aec1f8bccdf59d)) +* feat: Deverify released students, send new verify email and update join request error message + +* Merge branch 'master' into student_join_release_fixes + +* Fine tune logic + +* Merge branch 'student_join_release_fixes' of https://github.com/ocadotechnology/codeforlife-portal into student_join_release_fixes + +* Merge branch 'master' into student_join_release_fixes ([`d726720`](https://github.com/ocadotechnology/codeforlife-portal/commit/d726720ac8a53c57c77319a0f725997ddeaf607b)) + +## v6.44.10 (2024-05-23) ### Fix -* fix: build(deps): Bump semver from 6.3.0 to 6.3.1 in /portal_frontend +* fix: Create necessary fields for CSE (#2310) -build(deps): Bump semver from 6.3.0 to 6.3.1 in /portal_frontend ([`c9e625e`](https://github.com/ocadotechnology/codeforlife-portal/commit/c9e625e995c9f9319f67c1d1ee2f1d66b3d46912)) +* fix: Create necessary fields for CSE +* Merge branch 'master' into cse_new_fields ([`3ce7025`](https://github.com/ocadotechnology/codeforlife-portal/commit/3ce702519607e0e0e4296971eb198279d1d3462e)) -## v6.33.3 (2023-07-07) +## v6.44.9 (2024-05-23) ### Fix -* fix: Fix logic of frontend password strength check (#2117) +* fix: Upgrade requests to 2.32.2 ([`1723529`](https://github.com/ocadotechnology/codeforlife-portal/commit/17235297cb58cd0072eb09ea44c967296f7636f7)) -* fix: Fix logic of frontend password strength check +### Unknown -* Remove new line +* Merge branch 'master' of https://github.com/ocadotechnology/codeforlife-portal ([`963f08f`](https://github.com/ocadotechnology/codeforlife-portal/commit/963f08f73ea2e890e0a2b069bb5fe4c39d605ca8)) -* Remove typo ([`031d6de`](https://github.com/ocadotechnology/codeforlife-portal/commit/031d6de507e4f4a81f7d0f7f5d70144fae3f63da)) +## v6.44.8 (2024-05-23) +### Fix -## v6.33.2 (2023-07-06) +* fix: Revert to semantic-release deployment and update action versions ([`c23c35c`](https://github.com/ocadotechnology/codeforlife-portal/commit/c23c35c7a288c44138924fa33ac258e9ad094565)) -### Build +* fix: Try publishing to PyPI directly, add long_description ([`43e4bdb`](https://github.com/ocadotechnology/codeforlife-portal/commit/43e4bdb9ae6087bce40eb8f7bcc87d80bce42dd0)) -* build(deps): Bump django from 3.2.19 to 3.2.20 (#2115) +* fix: Try publishing to PyPI directly (not semantic-release) ([`112e0a6`](https://github.com/ocadotechnology/codeforlife-portal/commit/112e0a6e34f329ce76dfa7d16213dc9e912f7b30)) -* build(deps): Bump django from 3.2.19 to 3.2.20 +## v6.44.7 (2024-05-22) -Bumps [django](https://github.com/django/django) from 3.2.19 to 3.2.20. -- [Commits](https://github.com/django/django/compare/3.2.19...3.2.20) +### Fix ---- +* fix(deps): bump requests from 2.31.0 to 2.32.0 (#2309) + +* --- updated-dependencies: -- dependency-name: django +- dependency-name: requests dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> -* Update Django in cfl common too +* Merge branch 'master' into dependabot/pip/requests-2.32.0 -Co-Authored-By: faucomte97 <f.aucomte@hotmail.co.uk> ([`7c3f377`](https://github.com/ocadotechnology/codeforlife-portal/commit/7c3f37719f3fd007ba928d57dbb84b6d56e1bd7f)) +Co-Authored-By: Florian Aucomte <f.aucomte@hotmail.co.uk> ([`80a1f6e`](https://github.com/ocadotechnology/codeforlife-portal/commit/80a1f6e2e07dbc38491b7f06169110b1556b7467)) + +## v6.44.6 (2024-05-22) ### Fix -* fix: Dummy commit to bump version ([`255f457`](https://github.com/ocadotechnology/codeforlife-portal/commit/255f457e63f38c9c505d0ee3b3879c4496636fb1)) +* fix: Remove legacy weekly stats email (#2307) +* fix: Remove legacy weekly stats email -## v6.33.1 (2023-06-29) +* Remove test ([`f23610c`](https://github.com/ocadotechnology/codeforlife-portal/commit/f23610c2ac6d4f7e2457cc583d5a83f479e4f6e9)) + +## v6.44.5 (2024-05-16) ### Fix -* fix: self hosted images ([`8769345`](https://github.com/ocadotechnology/codeforlife-portal/commit/87693451607a08fc10111e24b59fb84ab78f49b8)) +* fix: update contribute page (#2302) ([`bd69d47`](https://github.com/ocadotechnology/codeforlife-portal/commit/bd69d4767e8d25a927e935a48f704d7ffaf3d463)) +## v6.44.4 (2024-05-13) -## v6.33.0 (2023-06-27) +### Fix -### Build +* fix: add gmail and outlook buttons ([`8ae60b9`](https://github.com/ocadotechnology/codeforlife-portal/commit/8ae60b9be21f9a851f99a602ea3a58b5f4a1a3ab)) -* build(deps): Bump semver from 7.3.8 to 7.5.3 (#2105) +## v6.44.3 (2024-05-09) -Bumps [semver](https://github.com/npm/node-semver) from 7.3.8 to 7.5.3. -- [Release notes](https://github.com/npm/node-semver/releases) -- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md) -- [Commits](https://github.com/npm/node-semver/compare/v7.3.8...v7.5.3) +### Fix ---- -updated-dependencies: -- dependency-name: semver - dependency-type: indirect -... +* fix: Use update in migration 0051 ([`c639f95`](https://github.com/ocadotechnology/codeforlife-portal/commit/c639f95f0ed6a61bffba64777f613c83d28fd258)) -Signed-off-by: dependabot[bot] <support@github.com> ([`234b51f`](https://github.com/ocadotechnology/codeforlife-portal/commit/234b51f6cfeb60d1f899862d97288f1e75be1496)) +## v6.44.2 (2024-05-08) -### Feature +### Fix -* feat: added the backend feature of pwned passwords (#2106) +* fix: Add iterator to migration 0051 ([`c2f7fa0`](https://github.com/ocadotechnology/codeforlife-portal/commit/c2f7fa0de628e89c7426132452364c49cf485c21)) -* feat: added the backend feature of pwned passwords - -* fix: fixed the frontend tests - -* fix: added frontend tests as well as updated the password strength meter - -* fix interval already defined problem - -* added missing field to the test - -* fixed the popup window - -* increase the test cov - -* remove sample test - -* remvoed lev distance from frontend - -* last codecov update - -* last codecov update - -* added register test to cover codecov - -* update codecov - -* addressing comments - -* remove console logs - -* addressing comments #2 - -* addressing comments #3 - -* fixed test ([`d09d0c0`](https://github.com/ocadotechnology/codeforlife-portal/commit/d09d0c05057677207fe93f51a567b28564806fe3)) +## v6.44.1 (2024-05-08) + +### Fix +* fix: Improve Django admin pages (#2296) ([`c129884`](https://github.com/ocadotechnology/codeforlife-portal/commit/c129884ed792f52dda56e23800b971e50074be5b)) -## v6.32.0 (2023-06-23) +## v6.44.0 (2024-05-07) ### Feature -* feat: Upgrade Python to 3.8 (#2104) +* feat: Update footer with new social media icons (#2293) -* update Pipfile +* feat: Update footer with new social media icons -* update github action +* Merge branch 'master' into footer_update ([`8a16646`](https://github.com/ocadotechnology/codeforlife-portal/commit/8a16646aa6a0493fb02c71337e1ff27d2e8f7eca)) -* update github workflow +## v6.43.3 (2024-05-03) -* update again ([`41fe95b`](https://github.com/ocadotechnology/codeforlife-portal/commit/41fe95b6fba639076ae262717ed179e9bf17c204)) +### Fix +* fix: move remaining emails to dotdigital (#2295) -## v6.31.2 (2023-06-16) +* move remaining emails to dotdigital -### Fix +* Merge branch 'master' into move-remaining-emails-to-dotdigital -* fix: Allow more scripts from GTM in CSP (#2103) ([`eb074d5`](https://github.com/ocadotechnology/codeforlife-portal/commit/eb074d521f03470aaa28293790302e2559884763)) +* fix typos +* update tests -## v6.31.1 (2023-06-16) +* fix tests -### Fix +* fix tests -* fix: Correct repo name ([`a85994d`](https://github.com/ocadotechnology/codeforlife-portal/commit/a85994dbd8a30bd18df76523f381ac3a8290e19a)) +* get rid of unnecessary email messages -* fix: Go back to actual semantic release repo ([`c12eb7e`](https://github.com/ocadotechnology/codeforlife-portal/commit/c12eb7ec47328f401407a2116b0e349632bfabba)) +* address PR comments -* fix: 1454 shorten url in aws emails (#2101) +* fix patch -* make url shorter +* testing some changes to the tests -* modify other functions involved +* add import -* clean up +* debug tests -* Merge branch 'master' into 1454-shorten-url-in-aws-emails ([`5f4d68c`](https://github.com/ocadotechnology/codeforlife-portal/commit/5f4d68c0604611cb271fcadc9d2a173bc9db1496)) +* debug tests -* fix: Update Gtag reference to new GA4 (#2099) +* debug tests -* fix: Update Gtag reference to new GA4 +* debug tests -* Merge branch 'master' into ga4_upgrade ([`ee50987`](https://github.com/ocadotechnology/codeforlife-portal/commit/ee50987efb571d2e9bc721e89da17e7be5213963)) +* change arg order +* debug tests -## v6.31.0 (2023-06-14) +* debug tests -### Build +* debug tests -* build: Update reportlab and requests (#2097) ([`1e302d4`](https://github.com/ocadotechnology/codeforlife-portal/commit/1e302d469d0c7e1c7d32209278cc11323379bd32)) +* debug tests -### Feature +* debug tests -* feat: remove intermediate pages and go direct to gitbook resources (#2098) +* debug tests -* feat: remove intermediate pages and go direct to gitbook resources +* debug tests -* fix: add icon to independent student link +* remove import -* fix: add target blank to gitbook links +* add import -* fix: _blank not blank +* debug tests -Co-Authored-By: Seb Palmer <s.palmer1@ocado.com> ([`2c6cb61`](https://github.com/ocadotechnology/codeforlife-portal/commit/2c6cb61b9753ecaa610e0d3d479ac5cf3eaf7210)) +* debug tests +* debug tests -## v6.30.11 (2023-05-31) +* debug tests -### Fix +* fix login_link url creation -* fix: Bring back Riveted (#2096) ([`44724af`](https://github.com/ocadotechnology/codeforlife-portal/commit/44724af961b7493bef73a428d6f2f12943fe8e36)) +* debug tests +* finalize some tests -## v6.30.10 (2023-05-23) +* debug tests -### Fix +* debug tests -* fix: Upgrade JS libraries (#2090) +* debug tests -* fix: Upgrade JS libraries +* reset things I tried while debugging -* Merge branch 'master' into upgrade_js_libs ([`96551bb`](https://github.com/ocadotechnology/codeforlife-portal/commit/96551bbef8777bc185203a7de2547c711ca8b0bc)) +* fix invite email condition +* add one more email ID -## v6.30.9 (2023-05-23) +* address PR comment ([`3abb334`](https://github.com/ocadotechnology/codeforlife-portal/commit/3abb3341029c09913519644eee870b32b3cbc550)) -### Build +### Unknown -* build(deps): Bump requests from 2.25.0 to 2.31.0 (#2095) +* Merge pull request #2294 from ocadotechnology/move-all-student-join-request-emails -Bumps [requests](https://github.com/psf/requests) from 2.25.0 to 2.31.0. -- [Release notes](https://github.com/psf/requests/releases) -- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md) -- [Commits](https://github.com/psf/requests/compare/v2.25.0...v2.31.0) +fix: move student join request emails ([`ba49895`](https://github.com/ocadotechnology/codeforlife-portal/commit/ba49895e46f33bd29e3f0454a8787ff6a2d342f4)) ---- -updated-dependencies: -- dependency-name: requests - dependency-type: direct:production -... +* delete old email messages ([`3431c51`](https://github.com/ocadotechnology/codeforlife-portal/commit/3431c512d34a217f4cd90217b4ddadf43fbe0200)) -Signed-off-by: dependabot[bot] <support@github.com> ([`92b4122`](https://github.com/ocadotechnology/codeforlife-portal/commit/92b41226a1b30a5548fc4fc64b248a73cc0f0d01)) +* Merge branch 'master' into move-all-student-join-request-emails ([`98964d7`](https://github.com/ocadotechnology/codeforlife-portal/commit/98964d79ab227b9ebf02c89cce3323165e76d903)) + +## v6.43.2 (2024-05-02) ### Fix -* fix: Bump up version ([`87b1646`](https://github.com/ocadotechnology/codeforlife-portal/commit/87b1646512acd1e2442f67e40d9eb62c17e6eb62)) +* fix: move account deletion email to dotdigital (#2289) +* move account deletion email to dotdigital -## v6.30.8 (2023-05-22) +* delete unnecessary import -### Fix +* update tests -* fix: Handle cases where School has no classes (#2088) +* try to fix patch -* fix: Handle cases where School has no classes +* try to fix patch -* Merge branch 'master' into fix_school_admin_2 ([`7832b2d`](https://github.com/ocadotechnology/codeforlife-portal/commit/7832b2d8443b5766be239c3d881ac91b2fa5f6ad)) +* fix test assert +* fix test -## v6.30.7 (2023-05-16) +* add log line -### Fix +* attempt to fix redirect issue -* fix: script loading (#2089) ([`a3bb0e8`](https://github.com/ocadotechnology/codeforlife-portal/commit/a3bb0e81e48dd24ef69ed6977222e7264ff1d41b)) +* remove redundant piece of test +* add back piece of test -## v6.30.6 (2023-05-15) +* rework delete account tests -### Fix +* fix test -* fix: Remove old arg from School admin (#2087) ([`a75ab10`](https://github.com/ocadotechnology/codeforlife-portal/commit/a75ab103854de4221d00badd00aabbe2c3708d04)) +* Merge branch 'master' into move-account-deletion-email +* Merge branch 'master' into move-account-deletion-email -## v6.30.5 (2023-05-10) +* address PR comments -### Build +* address PR comments -* build(deps): Bump django from 3.2.18 to 3.2.19 (#2084) +Co-Authored-By: Florian Aucomte <f.aucomte@hotmail.co.uk> ([`40ddfde`](https://github.com/ocadotechnology/codeforlife-portal/commit/40ddfde7f8d61e45dc0cb904ca3a4d7358155c46)) -* build(deps): Bump django from 3.2.18 to 3.2.19 +### Unknown -Bumps [django](https://github.com/django/django) from 3.2.18 to 3.2.19. -- [Commits](https://github.com/django/django/compare/3.2.18...3.2.19) +* Merge branch 'master' into move-all-student-join-request-emails ([`50098b2`](https://github.com/ocadotechnology/codeforlife-portal/commit/50098b2bbc80d1472546a7b39eeb931b2ab02a3b)) ---- -updated-dependencies: -- dependency-name: django - dependency-type: direct:production -... +* fix typo ([`18a1526`](https://github.com/ocadotechnology/codeforlife-portal/commit/18a152600764c4b0ad92eab3973a079d57723b66)) -Signed-off-by: dependabot[bot] <support@github.com> +## v6.43.1 (2024-05-02) -* Update Django in common too +### Fix -Co-Authored-By: faucomte97 <f.aucomte@hotmail.co.uk> ([`47a3baf`](https://github.com/ocadotechnology/codeforlife-portal/commit/47a3bafc0b34b6ce405c87245687b8eadcaa6091)) +* fix: move admin given/revoked emails to dotdigital (#2292) -### Fix +* move admin given/revoked emails to dotdigital -* fix: Bump up version commit ([`1f762ef`](https://github.com/ocadotechnology/codeforlife-portal/commit/1f762eff66890a9d0ca4967d6daec395f9d0935b)) +* correct teacher email +* fix tests -## v6.30.4 (2023-04-27) +* address PR comment -### Fix +* Merge branch 'master' into move-admin-given-and-revoked-emails -* fix: Add details about admin features in Terms of Use (#2078) ([`2dbd369`](https://github.com/ocadotechnology/codeforlife-portal/commit/2dbd3692b09f3c10e1ce51a367801e75fcf7e43f)) +* Try codecov quick fix +* Ubuntu latest everywhere -## v6.30.3 (2023-04-26) +* Add project to codecov yaml -### Fix +Co-Authored-By: faucomte97 <f.aucomte@hotmail.co.uk> ([`c9fddfb`](https://github.com/ocadotechnology/codeforlife-portal/commit/c9fddfb3b7037434c8c77090c365393441629737)) -* fix: Copy email over to username field (#2082) +### Unknown -* fix: Copy email over to username field +* finish moving emails ([`3b0f3a4`](https://github.com/ocadotechnology/codeforlife-portal/commit/3b0f3a417dbdc4069185df8714b66b1d298b7dd3)) -* Update tests ([`6ab0dcc`](https://github.com/ocadotechnology/codeforlife-portal/commit/6ab0dcc6d268852c95ad5052d8bf0a39000e29d5)) +* begin moving emails ([`595c82b`](https://github.com/ocadotechnology/codeforlife-portal/commit/595c82b5255c14670fed1d743ad9e57ec7c4b418)) +* address PR comment ([`a76828f`](https://github.com/ocadotechnology/codeforlife-portal/commit/a76828f240270c4b9cf14d16f9d67387f01327be)) -## v6.30.2 (2023-04-25) +## v6.43.0 (2024-05-02) -### Fix +### Feature -* fix: Reimplement JWTs and add reverse code to migration 0037 (#2081) +* feat: Clean illogical data (#2290) ([`831200f`](https://github.com/ocadotechnology/codeforlife-portal/commit/831200fb60836ca12db9ad3cff4605a62b7c9baa)) -* Revert "fix: Revert JWT tokens (#2079)" +### Unknown -This reverts commit b069472e9886cce73fa26cfeba06151d60906c64. +* fix tests ([`bb4341c`](https://github.com/ocadotechnology/codeforlife-portal/commit/bb4341cade608181e501ccd4b6da271787b4dfd8)) -* Add revert code to JWT migration +* correct teacher email ([`b1f8f0e`](https://github.com/ocadotechnology/codeforlife-portal/commit/b1f8f0e4b11611a72d81cd224a50cbeffd90e409)) -* Improve query in migration 0037 ([`44dcf3a`](https://github.com/ocadotechnology/codeforlife-portal/commit/44dcf3a1a038a840e068af9194ce647bb2293138)) +* move admin given/revoked emails to dotdigital ([`5d47998`](https://github.com/ocadotechnology/codeforlife-portal/commit/5d47998d9dcf8e13d4615bd2b3d46c7ca8290ea9)) +## v6.42.0 (2024-04-29) -## v6.30.1 (2023-04-25) +### Feature + +* feat: Enable atomic transactions (#2288) ([`00fe5cd`](https://github.com/ocadotechnology/codeforlife-portal/commit/00fe5cd19e761086798dae0f9a83cd318764f9f1)) + +## v6.41.12 (2024-04-23) ### Build -* build(deps): Bump sqlparse from 0.4.2 to 0.4.4 (#2077) +* build: Relock Pipfile ([`07da96d`](https://github.com/ocadotechnology/codeforlife-portal/commit/07da96d5b5b2140aad6b771962d0740af60a4620)) -* build(deps): Bump sqlparse from 0.4.2 to 0.4.4 +### Fix -Bumps [sqlparse](https://github.com/andialbrecht/sqlparse) from 0.4.2 to 0.4.4. -- [Release notes](https://github.com/andialbrecht/sqlparse/releases) +* fix: Move jQuery load earlier (#2287) ([`5fed9b2`](https://github.com/ocadotechnology/codeforlife-portal/commit/5fed9b21c3b359ff0aac4d53c56f85a3ed20e13f)) + +## v6.41.11 (2024-04-16) + +### Fix + +* fix(deps): bump sqlparse from 0.4.4 to 0.5.0 (#2284) + +* fix(deps): bump sqlparse from 0.4.4 to 0.5.0 + +Bumps [sqlparse](https://github.com/andialbrecht/sqlparse) from 0.4.4 to 0.5.0. - [Changelog](https://github.com/andialbrecht/sqlparse/blob/master/CHANGELOG) -- [Commits](https://github.com/andialbrecht/sqlparse/compare/0.4.2...0.4.4) +- [Commits](https://github.com/andialbrecht/sqlparse/compare/0.4.4...0.5.0) --- updated-dependencies: @@ -391,3527 +386,2540 @@ updated-dependencies: Signed-off-by: dependabot[bot] <support@github.com> -* Relock pipfile +* Upgrade libsass too -* Relock pipfile pt. 2 +Co-Authored-By: faucomte97 <f.aucomte@hotmail.co.uk> ([`3620a68`](https://github.com/ocadotechnology/codeforlife-portal/commit/3620a6889d7aebfb400cce4f7ca5630bb91c9d44)) -Co-Authored-By: faucomte97 <f.aucomte@hotmail.co.uk> ([`bb40308`](https://github.com/ocadotechnology/codeforlife-portal/commit/bb4030845dc9005d1bee176960a4dfd658a6bb7e)) +## v6.41.10 (2024-04-12) ### Fix -* fix: Revert JWT tokens (#2079) +* fix: Update from email address in Gmail button filter (#2283) -* fix: Add details about admin features in Terms of Use +* fix: Update from email address in Gmail button filter -* Revert JWT code ([`b069472`](https://github.com/ocadotechnology/codeforlife-portal/commit/b069472e9886cce73fa26cfeba06151d60906c64)) +* Remove u/0 ([`4ab1add`](https://github.com/ocadotechnology/codeforlife-portal/commit/4ab1add30b0d0fe31bd037571bf5ba17ec3580ee)) +## v6.41.9 (2024-04-11) -## v6.30.0 (2023-04-18) +### Fix -### Feature +* fix: move reset password email (#2281) -* feat: implemented jwt as an email authentication (#2073) +* fix: move verification emails to Dotdigital -* feat: implemented jwt as an email authentication +* Merge branch 'master' into move-verification-emails-to-dotdigital -* Merge branch 'master' into email_jwt +* fix: fix dotdigital email tests -* update packages +* fix: fix parent email test -* conflicts +* fix: add github secret binding -* remove head +* fix: add chrome to dev container -* add self.data) +* fix: attempt to fix under 13 test -* swap jwt for pyjwt package +* fix: attempt to fix patching -* package update +* fix: continue work on updating tests -* Add jwt library to common and fix wrong argument +* fix: continue to update tests -* Try removing codecov package +* fix: fix package names -* Fix wrong argument again +* fix: fix test assert -* Update Cypress fixture +* fix: fix assert -* Some cleanup and delete EV model +* fix: update tests -* Make regex vs pattern consistent +* fix: rearrange decorators -Co-Authored-By: faucomte97 <f.aucomte@hotmail.co.uk> ([`623e50d`](https://github.com/ocadotechnology/codeforlife-portal/commit/623e50d9510088d6787f273c66b8dea77e815780)) +* fix: continue work on tests +* fix: fix typo -## v6.29.6 (2023-04-12) +* fix: testing something out -### Fix +* fix: testing something out -* fix: Improve verification logic + send verification before newsletter email (#2070) +* fix: undo chrome changes -* fix: Improve verification logic + send verification before newsletter email +* fix: adding additional mocks -* Merge branch 'master' into fix_emails_order +* fix: debug tests -* Merge branch 'master' into fix_emails_order ([`cb93011`](https://github.com/ocadotechnology/codeforlife-portal/commit/cb93011f4e07f1aeaea13091582bb1bc44644d1a)) +* fix: debug tests +* fix: debug tests -## v6.29.5 (2023-04-11) +* fix: debug tests -### Build +* fix: debug tests -* build(deps): Bump webpack from 5.72.0 to 5.76.1 in /portal_frontend (#2036) +* fix: debug tests -Bumps [webpack](https://github.com/webpack/webpack) from 5.72.0 to 5.76.1. -- [Release notes](https://github.com/webpack/webpack/releases) -- [Commits](https://github.com/webpack/webpack/compare/v5.72.0...v5.76.1) - ---- -updated-dependencies: -- dependency-name: webpack - dependency-type: indirect -... - -Signed-off-by: dependabot[bot] <support@github.com> ([`316b151`](https://github.com/ocadotechnology/codeforlife-portal/commit/316b15143f224e4e72b9ba1b2a87f3d1d57e6a7b)) +* fix: debug tests -### Fix +* fix: debug tests -* fix: 2067 link to account page (#2071) +* fix: debug tests -* add dashboard_account page +* fix: add forgotten import -* test teach_dashboard_account_page +* fix: update dotdigital auth -* change to the approach that hides tab bar +* fix: fix environmental variable -* delete unnecessary tests +* fix: address PR comments -* black formatter ([`9adab9b`](https://github.com/ocadotechnology/codeforlife-portal/commit/9adab9b9c1bba7e66f7936bb8c7614a89d8c9dde)) +* fix: address PR comments +* fix: debug tests -## v6.29.4 (2023-03-14) +* fix: debug tests -### Build +* fix: tidy code, replace verification reminder emails -* build(deps): Bump dns-packet from 5.3.1 to 5.4.0 in /portal_frontend (#2034) +* fix: fix verification reminder email tests -Bumps [dns-packet](https://github.com/mafintosh/dns-packet) from 5.3.1 to 5.4.0. -- [Release notes](https://github.com/mafintosh/dns-packet/releases) -- [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md) -- [Commits](https://github.com/mafintosh/dns-packet/compare/v5.3.1...5.4.0) +* fix: debug tests ---- -updated-dependencies: -- dependency-name: dns-packet - dependency-type: indirect -... +* fix: debug tests -Signed-off-by: dependabot[bot] <support@github.com> ([`f1a9347`](https://github.com/ocadotechnology/codeforlife-portal/commit/f1a9347db3c42847a99538db008d55a027aff944)) +* fix: fix patch mock -* build(deps): bump django from 3.2.17 to 3.2.18 (#2032) +* fix: move reset password email -* build(deps): bump django from 3.2.17 to 3.2.18 +* fix: tidy code -Bumps [django](https://github.com/django/django) from 3.2.17 to 3.2.18. -- [Release notes](https://github.com/django/django/releases) -- [Commits](https://github.com/django/django/compare/3.2.17...3.2.18) +* fix: remove old code ---- -updated-dependencies: -- dependency-name: django - dependency-type: direct:production -... +* fix: debug tests -Signed-off-by: dependabot[bot] <support@github.com> +* fix: debug tests -* fix: Update Django, libsass and pypdf +* fix: debug tests -* build(deps): bump django from 3.2.17 to 3.2.18 +* Update ci.yml -Bumps [django](https://github.com/django/django) from 3.2.17 to 3.2.18. -- [Release notes](https://github.com/django/django/releases) -- [Commits](https://github.com/django/django/compare/3.2.17...3.2.18) +* Update ci.yml ---- -updated-dependencies: -- dependency-name: django - dependency-type: direct:production -... +* Update ci.yml -Signed-off-by: dependabot[bot] <support@github.com> +* Update ci.yml -* Merge branch 'master' into dependabot/pip/django-3.2.18 +* Merge branch 'master' into move-reset-password-email -* Update lockfile properly +* fix: tidy code -* Merge branch 'dependabot/pip/django-3.2.18' of https://github.com/ocadotechnology/codeforlife-portal into dependabot/pip/django-3.2.18 +* fix: tidy code -Co-Authored-By: faucomte97 <f.aucomte@hotmail.co.uk> ([`e79fb79`](https://github.com/ocadotechnology/codeforlife-portal/commit/e79fb79da7d5547e7777faf89e6a60cbed7fb675)) +* Merge branch 'master' into move-reset-password-email -### Fix +* fix: address PR comments -* fix: Update Get Involved cards (#2012) +* Merge branch 'master' into move-reset-password-email -* Issue #1971 Changed text for get involved card +Co-Authored-By: Florian Aucomte <f.aucomte@hotmail.co.uk> ([`e00604f`](https://github.com/ocadotechnology/codeforlife-portal/commit/e00604f4db531b7b45d2eff5b0e0bb0b43e1c947)) -* Issue #1971 updated as adviced <p> text has been changed +## v6.41.8 (2024-04-11) -* Merge branch 'master' into #1971 +### Fix -* Read more button has been align with the rest of them +* fix: YouTube text to main policy and update last updated ([`91657e6`](https://github.com/ocadotechnology/codeforlife-portal/commit/91657e60d09d3b9bb14209e72d1b59df3d118156)) -* midified the card__text as requested +## v6.41.7 (2024-04-11) -* Merge branch 'master' into #1971 +### Fix -* Added "justify-content: space-between;" - to the right class as required +* fix: Fix broken Mouseflow cookie (#2276) -* Make card text aligned +* fix: Fix broken Mouseflow cookie -* Merge branch 'master' into #1971 +* Merge branch 'master' into cookies_notice_update -Co-Authored-By: faucomte97 <f.aucomte@hotmail.co.uk> ([`20ca0fc`](https://github.com/ocadotechnology/codeforlife-portal/commit/20ca0fce9a9438cb41deaf00d15dc9eee214089e)) +* Add YouTube text +* Merge branch 'master' into cookies_notice_update ([`bbe09e5`](https://github.com/ocadotechnology/codeforlife-portal/commit/bbe09e514500ba96616d99dabee16b3a19670caa)) -## v6.29.3 (2023-02-16) +## v6.41.6 (2024-04-10) ### Build -* build: Update lockfile (#2029) ([`b768aa0`](https://github.com/ocadotechnology/codeforlife-portal/commit/b768aa0c0e4e44d1cfdb83c67fc6177554e7bbe3)) - -### Fix - -* fix(deps): bump django from 3.2.17 to 3.2.18 (#2030) - -* fix(deps): bump django from 3.2.17 to 3.2.18 +* build(deps-dev): bump black from 24.2.0 to 24.3.0 (#2274) -Bumps [django](https://github.com/django/django) from 3.2.17 to 3.2.18. -- [Release notes](https://github.com/django/django/releases) -- [Commits](https://github.com/django/django/compare/3.2.17...3.2.18) +Bumps [black](https://github.com/psf/black) from 24.2.0 to 24.3.0. +- [Release notes](https://github.com/psf/black/releases) +- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) +- [Commits](https://github.com/psf/black/compare/24.2.0...24.3.0) --- updated-dependencies: -- dependency-name: django - dependency-type: direct:production +- dependency-name: black + dependency-type: direct:development ... -Signed-off-by: dependabot[bot] <support@github.com> +Signed-off-by: dependabot[bot] <support@github.com> ([`cd5d67b`](https://github.com/ocadotechnology/codeforlife-portal/commit/cd5d67bb1dc8a74b0178662949689cb6ad0ec821)) -* fix: Update Django, libsass and pypdf +### Ci -Co-Authored-By: faucomte97 <f.aucomte@hotmail.co.uk> ([`72b1285`](https://github.com/ocadotechnology/codeforlife-portal/commit/72b1285facf80573ff3e518f09b33d4856462a27)) +* ci: test discovery (#2278) ([`afdced8`](https://github.com/ocadotechnology/codeforlife-portal/commit/afdced88ce855ba70aeb9b0a28117cacf24d9e7e)) +### Fix -## v6.29.2 (2023-02-10) +* fix: move verification emails to Dotdigital (#2277) -### Build +* fix: move verification emails to Dotdigital -* build(deps): bump django from 3.2.16 to 3.2.17 (#2024) +* Merge branch 'master' into move-verification-emails-to-dotdigital -* build(deps): bump django from 3.2.16 to 3.2.17 - -Bumps [django](https://github.com/django/django) from 3.2.16 to 3.2.17. -- [Release notes](https://github.com/django/django/releases) -- [Commits](https://github.com/django/django/compare/3.2.16...3.2.17) - ---- -updated-dependencies: -- dependency-name: django - dependency-type: direct:production -... - -Signed-off-by: dependabot[bot] <support@github.com> - -* Update lockfile properly - ---------- - -Signed-off-by: dependabot[bot] <support@github.com> -Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> -Co-authored-by: faucomte97 <f.aucomte@hotmail.co.uk> ([`df867ad`](https://github.com/ocadotechnology/codeforlife-portal/commit/df867adde6a2d03f943a820daa1832d2f6cb7f5b)) +* fix: fix dotdigital email tests -### Fix +* fix: fix parent email test -* fix: Update lockfile properly (#2028) ([`f3d9272`](https://github.com/ocadotechnology/codeforlife-portal/commit/f3d9272472900126b0c89cb7a19eef2878455c2d)) +* fix: add github secret binding +* fix: add chrome to dev container -## v6.29.1 (2023-02-06) +* fix: attempt to fix under 13 test -### Fix +* fix: attempt to fix patching -* fix: Version bump with new semantic-release ([`8f5c00b`](https://github.com/ocadotechnology/codeforlife-portal/commit/8f5c00b459a51cfa055b1660423bc40bbb982eae)) +* fix: continue work on updating tests -* fix: Version bump ([`183100c`](https://github.com/ocadotechnology/codeforlife-portal/commit/183100c734082b791852e9a9e1b7022ea069e45c)) +* fix: continue to update tests -* fix(deps): bump django from 3.2.16 to 3.2.17 (#2022) +* fix: fix package names -* build(deps): bump django from 3.2.16 to 3.2.17 +* fix: fix test assert -Bumps [django](https://github.com/django/django) from 3.2.16 to 3.2.17. -- [Release notes](https://github.com/django/django/releases) -- [Commits](https://github.com/django/django/compare/3.2.16...3.2.17) +* fix: fix assert ---- -updated-dependencies: -- dependency-name: django - dependency-type: direct:production -... +* fix: update tests -Signed-off-by: dependabot[bot] <support@github.com> +* fix: rearrange decorators -* Update Django in setup.py too +* fix: continue work on tests -Co-Authored-By: faucomte97 <f.aucomte@hotmail.co.uk> ([`c4071be`](https://github.com/ocadotechnology/codeforlife-portal/commit/c4071bebb7147f1d0150535c3c46a0bfda511706)) +* fix: fix typo +* fix: testing something out -## v6.29.0 (2023-02-03) +* fix: testing something out -### Feature +* fix: undo chrome changes -* feat: student rate limit in progress (#2019) +* fix: adding additional mocks -* trying to fix the ratelimit +* fix: debug tests -* IT WORKS +* fix: debug tests -* removing prints +* fix: debug tests -* removing prints +* fix: debug tests -* removing prints +* fix: debug tests -* commnets #2 +* fix: debug tests -* comments #2 -- continued +* fix: debug tests -* feat: fixing tests +* fix: debug tests -* comments #3 ([`845028b`](https://github.com/ocadotechnology/codeforlife-portal/commit/845028b717ef7cad20bef7b512673473c951d63e)) +* fix: debug tests +* fix: add forgotten import -## v6.28.5 (2023-01-27) +* fix: update dotdigital auth -### Fix +* fix: fix environmental variable -* fix: Rename daily lockout fields (#2017) ([`eada5ee`](https://github.com/ocadotechnology/codeforlife-portal/commit/eada5eead62f5055c3b8b2c06ffc55738d3ce477)) +* fix: address PR comments +* fix: address PR comments -## v6.28.4 (2023-01-26) +* fix: debug tests -### Fix +* fix: debug tests -* fix: add ratelimit to student login (#2013) +* fix: tidy code, replace verification reminder emails -* fix: adding tests - -* fixed tests, made the page lockout student - -* cleaned up access_code with regex - -* cleaned up access_code with regex - -* cleaned up access_code with regex - -* cleaned up access_code with regex - -* update test - -* update test - -* comments and cleaned up decorators - -* renamed user_lockout - -* RFGJSFDNSYRHJNG - -* commends and cleaned up the student rate limit with tracking for reset passwords - -* comments #3 ([`e9f355c`](https://github.com/ocadotechnology/codeforlife-portal/commit/e9f355ce2770c4c4cc1e3e4fc78d344910dac4b2)) +* fix: fix verification reminder email tests +* fix: debug tests -## v6.28.3 (2023-01-25) +* fix: debug tests -### Fix +* fix: fix patch mock -* fix: Update PN section on personal data (#2016) ([`08f8496`](https://github.com/ocadotechnology/codeforlife-portal/commit/08f8496c4227dc8d265223c26a5c9165e90c0fad)) +* fix: tidy code +* fix: add id to footer element -## v6.28.2 (2023-01-24) +* fix: remove id -### Fix +* fix: dummy commit -* fix: Update old divs (#2015) +* fix: undo dummy commit ([`19b96d6`](https://github.com/ocadotechnology/codeforlife-portal/commit/19b96d6a6824d2d14f174c2c497ccf75628d6004)) -* fix: Update old divs +## v6.41.5 (2024-03-20) -* Upgrade RR ([`68b862b`](https://github.com/ocadotechnology/codeforlife-portal/commit/68b862bb121ff1927e7ee934f5f2819b0b6e3e8e)) +### Unknown +* Merge pull request #2270 from ocadotechnology/change-website-logos-to-trademarked -## v6.28.1 (2023-01-24) +fix: change-website-logos-to-trademarked ([`9988e9d`](https://github.com/ocadotechnology/codeforlife-portal/commit/9988e9df450c01cc4fc395846e89b474786783b7)) -### Build +* Merge branch 'master' into change-website-logos-to-trademarked ([`eb61b0a`](https://github.com/ocadotechnology/codeforlife-portal/commit/eb61b0ab2c5c08939940a9d79f8850a33d82e4cc)) -* build(deps): Remove future from dependencies (#2010) +## v6.41.4 (2024-03-19) -* build(deps): bump future from 0.18.2 to 0.18.3 +### Fix -Bumps [future](https://github.com/PythonCharmers/python-future) from 0.18.2 to 0.18.3. -- [Release notes](https://github.com/PythonCharmers/python-future/releases) -- [Changelog](https://github.com/PythonCharmers/python-future/blob/master/docs/changelog.rst) -- [Commits](https://github.com/PythonCharmers/python-future/compare/v0.18.2...v0.18.3) +* fix(deps): bump django from 3.2.24 to 3.2.25 (#2272) + +* fix(deps): bump django from 3.2.24 to 3.2.25 + +Bumps [django](https://github.com/django/django) from 3.2.24 to 3.2.25. +- [Commits](https://github.com/django/django/compare/3.2.24...3.2.25) --- updated-dependencies: -- dependency-name: future +- dependency-name: django dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> -* Remove future altogether - -* Merge branch 'master' into dependabot/pip/future-0.18.3 - -Co-Authored-By: faucomte97 <florian.aucomt1@ocado.com> ([`1626ff9`](https://github.com/ocadotechnology/codeforlife-portal/commit/1626ff91dfb473fd8c4dafab1b1279a03ed940c5)) +* Set Django to 3.2.25 in common -### Fix +--------- -* fix: Update privacy notice and fix styling issues (#2011) +Signed-off-by: dependabot[bot] <support@github.com> +Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> +Co-authored-by: faucomte97 <f.aucomte@hotmail.co.uk> ([`dde6774`](https://github.com/ocadotechnology/codeforlife-portal/commit/dde6774782f6303b880a44473be9c23677929a28)) -* fix: Update privacy notice and fix styling issues +* fix: correct logo colors ([`741c224`](https://github.com/ocadotechnology/codeforlife-portal/commit/741c2243b54330143d1b07d41b3e746e11a03db3)) -* Merge branch 'master' into pp_child_update_pt2 +## v6.41.3 (2024-03-14) -* Merge branch 'master' into pp_child_update_pt2 +### Ci -* Merge branch 'pp_child_update_pt2' of https://github.com/ocadotechnology/codeforlife-portal into pp_child_update_pt2 ([`493a4d3`](https://github.com/ocadotechnology/codeforlife-portal/commit/493a4d3b21f65bb245c86f933de0b64764790b3e)) +* ci: add dev container (#2266) +* add dev container -## v6.28.0 (2023-01-18) +* configure submodule -### Feature +* pipenv instal --dev -* feat: added tracking reset passwords (#2008) +* Merge branch 'master' into dev_container_clean_up -* feat: added tracking reset passwords - -* fixed typo - -* fixes - -* comments :) - -* comments #2 - -* seeing if a test fails still - -* move tests to test_ratelimit.py - -* comments #3 ([`aeefbc8`](https://github.com/ocadotechnology/codeforlife-portal/commit/aeefbc80574cacdbedf8174a633ec35774f4e190)) +Co-Authored-By: Florian Aucomte <f.aucomte@hotmail.co.uk> ([`a535404`](https://github.com/ocadotechnology/codeforlife-portal/commit/a535404d1231a7fbc9890f371c6c0b07c1fa8644)) +### Fix -## v6.27.10 (2023-01-18) +* fix: Make email spam warning more prominent (#2268) -### Fix +* fix: Make message to check spam more prominent -* fix: reverting setuptools back to 62.1.0 (#2009) +* Fix button style -* fix: reverting setuptools back to 62.1.0 - -* pipfile.lock relocked ([`1425a2d`](https://github.com/ocadotechnology/codeforlife-portal/commit/1425a2d6a1ea50d5f8507df6264639faa9354add)) +* Make back button consistent ([`e3aa963`](https://github.com/ocadotechnology/codeforlife-portal/commit/e3aa96320422f2d019bf867a3d559bedece0a7eb)) +* fix: rename variable for clarity ([`de55cd4`](https://github.com/ocadotechnology/codeforlife-portal/commit/de55cd49feb5386380bb82ce626059655cefa87e)) -## v6.27.9 (2023-01-10) +* fix: change website logos to trademarked versions ([`7b603ec`](https://github.com/ocadotechnology/codeforlife-portal/commit/7b603eca2d2ec9f820bf591aa6bfffff558914e5)) -### Build +## v6.41.2 (2024-02-28) -* build(deps): bump json5 from 1.0.1 to 1.0.2 in /portal_frontend (#1995) ([`24da0e7`](https://github.com/ocadotechnology/codeforlife-portal/commit/24da0e7c84c074cdeab63d727625721690149f3b)) +### Documentation -* build(deps): bump setuptools from 62.1.0 to 65.5.1 (#1991) +* docs: Add licence info to Readme (#2264) ([`4539dd5`](https://github.com/ocadotechnology/codeforlife-portal/commit/4539dd593a6e520e65af465e82bcce7bbf8f8460)) -* build(deps): bump setuptools from 62.1.0 to 65.5.1 +### Fix -Bumps [setuptools](https://github.com/pypa/setuptools) from 62.1.0 to 65.5.1. -- [Release notes](https://github.com/pypa/setuptools/releases) -- [Changelog](https://github.com/pypa/setuptools/blob/main/CHANGES.rst) -- [Commits](https://github.com/pypa/setuptools/compare/v62.1.0...v65.5.1) +* fix: Fix scoring data in student dashboard (#2265) ---- -updated-dependencies: -- dependency-name: setuptools - dependency-type: direct:production -... +* fix: Fix scoring data in student dashboard -Signed-off-by: dependabot[bot] <support@github.com> +* Simplify code -* Merge branch 'master' into dependabot/pip/setuptools-65.5.1 +* Docstring -* Also update lockfile +* Update lockfile ([`529e99c`](https://github.com/ocadotechnology/codeforlife-portal/commit/529e99c6c7ae979a542c34edca9cfa4c77b612ed)) -Co-Authored-By: Florian Aucomte <33633200+faucomte97@users.noreply.github.com> ([`cbf07f4`](https://github.com/ocadotechnology/codeforlife-portal/commit/cbf07f4245e543cb2a1c41b7f77eedcfc210f5fd)) +## v6.41.1 (2024-02-14) ### Fix -* fix: Updates to privacy policy (#1997) ([`f818a75`](https://github.com/ocadotechnology/codeforlife-portal/commit/f818a7563a4ce4c896dd8bfc778f6c881f31814e)) +* fix: insert badge into footer (#2263) +* fix: insert badge into footer -## v6.27.8 (2022-12-30) +* Merge branch 'master' into 10_years_badge -### Build +* fix: feedback -* build: Update github script (#1988) ([`ec3ea10`](https://github.com/ocadotechnology/codeforlife-portal/commit/ec3ea10cd3d528ad65fb55ea5ce331ee5c22520f)) +* Merge branch '10_years_badge' of https://github.com/ocadotechnology/codeforlife-portal into 10_years_badge -* build: Update Github actions (#1987) ([`b06ec27`](https://github.com/ocadotechnology/codeforlife-portal/commit/b06ec27ba1b658926210ccafa247e7365dbb2519)) +* feeback -### Fix +Co-Authored-By: Florian Aucomte <f.aucomte@hotmail.co.uk> ([`aa0a3b5`](https://github.com/ocadotechnology/codeforlife-portal/commit/aa0a3b5a8f4e9c81642dbcac2630e64bc8b454a3)) -* fix: made the the page open in the same window (#1993) ([`ad4c035`](https://github.com/ocadotechnology/codeforlife-portal/commit/ad4c0357d369e94d4b6b15914f05d05d98a2a2a1)) +## v6.41.0 (2024-02-14) + +### Feature +* feat: outlook button on verify email (#2262) ([`9b3baf7`](https://github.com/ocadotechnology/codeforlife-portal/commit/9b3baf78b33e66e86f62e19674ca2e1c6a546414)) -## v6.27.7 (2022-12-14) +## v6.40.1 (2024-02-08) ### Fix -* fix: fixed the typo (#1986) ([`0a3b566`](https://github.com/ocadotechnology/codeforlife-portal/commit/0a3b5669565b0204f84de12dd4365184095156f0)) +* fix(deps): bump django from 3.2.23 to 3.2.24 (#2259) +* fix(deps): bump django from 3.2.23 to 3.2.24 -## v6.27.6 (2022-12-14) +Bumps [django](https://github.com/django/django) from 3.2.23 to 3.2.24. +- [Commits](https://github.com/django/django/compare/3.2.23...3.2.24) -### Fix +--- +updated-dependencies: +- dependency-name: django + dependency-type: direct:production +... -* fix: added a coding clubs link to learning/teaching resources (#1985) +Signed-off-by: dependabot[bot] <support@github.com> -* fix: added a coding clubs link to learning/teaching resources - -* fix: modfied text and link ([`637ef60`](https://github.com/ocadotechnology/codeforlife-portal/commit/637ef6003a20fd56612577cc1cfeb2ed0e288a20)) +* Update Django in common too +Co-Authored-By: faucomte97 <f.aucomte@hotmail.co.uk> ([`e635b2d`](https://github.com/ocadotechnology/codeforlife-portal/commit/e635b2d59d46e79e2b8119a00de83c6b6fab1aac)) -## v6.27.5 (2022-12-13) +## v6.40.0 (2024-02-02) -### Fix +### Build -* fix: broken newsletter for indy students (#1984) +* build(deps-dev): bump aiohttp from 3.9.1 to 3.9.2 (#2256) -* fix: fix indy student newsletter bug +* build(deps-dev): bump aiohttp from 3.9.1 to 3.9.2 -* fixed breaking bug +Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.9.1 to 3.9.2. +- [Release notes](https://github.com/aio-libs/aiohttp/releases) +- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst) +- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.9.1...v3.9.2) -* fix: change the usertype added +--- +updated-dependencies: +- dependency-name: aiohttp + dependency-type: indirect +... -* respond to comments ([`4aa55fb`](https://github.com/ocadotechnology/codeforlife-portal/commit/4aa55fbff0116a257f0303f2d3833b681bc8a761)) +Signed-off-by: dependabot[bot] <support@github.com> +* fix test -## v6.27.4 (2022-12-09) +* fix test 2 -### Build +Co-Authored-By: faucomte97 <f.aucomte@hotmail.co.uk> ([`72ec343`](https://github.com/ocadotechnology/codeforlife-portal/commit/72ec343af1a32c312148f8db46e53d5a448de5db)) -* build: Upgrade certifi (#1982) ([`c5d92b2`](https://github.com/ocadotechnology/codeforlife-portal/commit/c5d92b2c924eb3f3950d267137bb658e0ccde916)) +### Ci -* build: adding snyk to github actions (#1979) +* ci: Re-ignore .venv folder ([`410e348`](https://github.com/ocadotechnology/codeforlife-portal/commit/410e3480486d719e871e24f1fe8c46bec1651dcb)) -* feat: adding snyk to github actions - -* feat: add python support - -* fix: typo in second action - -* fix: adding setup scripts - -* fix: fixing python on snyk - -* fix: add dash to python-3.7 - -* remove beaking lines - -* re-add checkout - -* fix: added requirements.txt gen for snyk - -* fix: added npm support - -* fix: install error - -* adding node dependencies - -* adding node dependencies fix - -* feat: added project names - -* fix: typo - -* added a line - -* removed package.json-lock and copy & paste yarn.lock - -* fix: fixed failing cypress test - -* updated cypress - -* update cypress github actions ([`fecd27a`](https://github.com/ocadotechnology/codeforlife-portal/commit/fecd27a8f3635363b61df30227d348719253120e)) +* ci: Add .venv folder ([`96c07d1`](https://github.com/ocadotechnology/codeforlife-portal/commit/96c07d119a92c18df2523bddf2d39039005a405a)) -* build(deps): bump decode-uri-component in /portal_frontend (#1978) ([`6860df8`](https://github.com/ocadotechnology/codeforlife-portal/commit/6860df85865fb4a4553275f652e153a0a6d4cafe)) +* ci: validate existing contributor (#2253) ([`ade8718`](https://github.com/ocadotechnology/codeforlife-portal/commit/ade8718b24cd7f80e6182e1b04bb57bde7fcaf23)) -### Fix +### Feature -* fix: added a edit class anaytic (#1981) +* feat: Add link to 2023 Impact Report (#2257) ([`94208fb`](https://github.com/ocadotechnology/codeforlife-portal/commit/94208fb6b7df27bd90270caabddbfb68eafefa12)) -* fix: added a edit class anaytic - -* update text - -* fix test - -* fixed tests - -* patch test - -* response to comments - -* typo - -* altered models.py __str__ ([`5f19f6a`](https://github.com/ocadotechnology/codeforlife-portal/commit/5f19f6a1356a8eff333ef6919b72585ec53b6f1d)) +## v6.39.10 (2024-01-10) +### Fix -## v6.27.3 (2022-12-02) +* fix: Update HTTP headers and CSRF sessions usage (#2252) -### Fix +* fix: Update HTTP headers and CSRF sessions usage -* fix: Dummy formatting commit to bump version ([`cbdb329`](https://github.com/ocadotechnology/codeforlife-portal/commit/cbdb3299f25fb0df5979f6226aeee0e69a02ca2e)) +* Set setting to False in test settings ([`95000ca`](https://github.com/ocadotechnology/codeforlife-portal/commit/95000cafb8acaa53809f1c3f24c1c22ae78d32fb)) -### Unknown +## v6.39.9 (2023-12-20) -* Revert "fix: Update contact email in Privacy Policy (#1943)" (#1974) ([`153652a`](https://github.com/ocadotechnology/codeforlife-portal/commit/153652a5b9218910fac74cec8b9a239c2dd81181)) +### Ci +* ci: Replace Razbot with CFLbot (#2244) -## v6.27.2 (2022-11-23) +* ci: Replace Razbot with CFLbot + +* Disable codecov comments ([`4922e37`](https://github.com/ocadotechnology/codeforlife-portal/commit/4922e3700f086848a4e91d36c33d0a0450702a15)) ### Fix -* fix: Improve admin panel usability (#1973) ([`0076abb`](https://github.com/ocadotechnology/codeforlife-portal/commit/0076abb66c2f35097d93048e4e8536e09da027b6)) +* fix: git user to cfl-bot (#2247) ([`704caac`](https://github.com/ocadotechnology/codeforlife-portal/commit/704caacd1febf19e965186fdd1185041524cd375)) +* fix: Try adding long desc to common setup (#2246) -## v6.27.1 (2022-11-16) +* fix: Try adding long desc to common setup -### Build +* Just use text ([`2ab58f4`](https://github.com/ocadotechnology/codeforlife-portal/commit/2ab58f48e2aa5c8f1972976587b84c06b6011c94)) -* build(deps): bump loader-utils from 2.0.3 to 2.0.4 in /portal_frontend (#1968) ([`49f3cdb`](https://github.com/ocadotechnology/codeforlife-portal/commit/49f3cdb1cc520c088513322de6ac74926ec8e75e)) +* fix: Try upgrading setuptools again and remove old react frontend (#2245) -### Fix - -* fix: Fix level control checkbox logic (#1969) ([`ca53bb8`](https://github.com/ocadotechnology/codeforlife-portal/commit/ca53bb8de70355b672153d8e855c08973ad5364f)) +* fix: Try upgrading setuptools again and remove old react frontend +* Remove rogue F -## v6.27.0 (2022-11-15) +* Bring back node for Cypress ([`5e1c186`](https://github.com/ocadotechnology/codeforlife-portal/commit/5e1c186626318bac341de214fcb1b9f515500630)) -### Feature +## v6.39.8 (2023-11-22) -* feat: remove fake accounts (#1966) +### Build -* new begining - -* fix: making things - -* feat: added removing fake accounts - -* renames and remove prints - -* fix: change from post to get method ([`e279909`](https://github.com/ocadotechnology/codeforlife-portal/commit/e2799096687dab3ef88bc3d1f70ccbf99a20c5d9)) +* build: Downgrade Django (CI/CD measuring) (#2237) ([`2cbf423`](https://github.com/ocadotechnology/codeforlife-portal/commit/2cbf4232570e6523db534b8fb746b67276593307)) +### Fix -## v6.26.0 (2022-11-15) +* fix: Upgrade Django to 3.2.23 again (CI/CD measuring) (#2238) ([`d7b60f6`](https://github.com/ocadotechnology/codeforlife-portal/commit/d7b60f64da05944cae3b10cc0e94a38ee1bf596a)) -### Feature +## v6.39.7 (2023-11-21) -* feat: Level access control form (#1965) +### Fix -* feat: Level control feature - -* Relock - -* Add django-import-export to setup.py - -* Add test - -* Relock - -* Improve variable names ([`1e98cf4`](https://github.com/ocadotechnology/codeforlife-portal/commit/1e98cf4b11adbee8c1346361bc6593ca8b92a874)) +* fix: Upgrade Django to 3.2.23 (CI/CD measuring) (#2235) ([`6fecc39`](https://github.com/ocadotechnology/codeforlife-portal/commit/6fecc3985f63766509c4f53bfa9b16ba7e63fb4d)) +## v6.39.6 (2023-11-21) -## v6.25.0 (2022-11-14) +### Fix -### Build +* fix: Revert Django 3.2.23 (CI/CD measuring) (#2234) ([`03ee00b`](https://github.com/ocadotechnology/codeforlife-portal/commit/03ee00b77622661970281fdfb8d0ed2d278fb7dc)) -* build(deps): bump loader-utils from 2.0.2 to 2.0.3 in /portal_frontend (#1964) ([`9d94a86`](https://github.com/ocadotechnology/codeforlife-portal/commit/9d94a86b9559ec6da0d6444808c260da0f503a9b)) +## v6.39.5 (2023-11-16) -* build: Update lockfile for Django 3.2.16 (#1963) ([`e9104ae`](https://github.com/ocadotechnology/codeforlife-portal/commit/e9104ae52c0ca61a4ea1ef3cf8e893ccf37a371f)) +### Fix -### Feature +* fix: migration 48 (#2232) ([`bcb8214`](https://github.com/ocadotechnology/codeforlife-portal/commit/bcb8214927ff9799f223657bbe150339e932b3dc)) -* feat: export user data (#1957) +## v6.39.4 (2023-11-16) -* feat:initial working function of extracting data - -* change the name of the function - -* added django-import-export as a package - -* feat dummy request - -* pushed to full dependency - -* this works now? ([`8961d74`](https://github.com/ocadotechnology/codeforlife-portal/commit/8961d748faa23cc50224d6264fb56c5297c8ee7b)) +### Fix +* fix: Remove postcode mention in school form ([`3a38e6e`](https://github.com/ocadotechnology/codeforlife-portal/commit/3a38e6ec5cc53d7ab1bc7bfee0502ea1bc3ad363)) -## v6.24.3 (2022-11-07) +## v6.39.3 (2023-11-16) ### Fix -* fix(deps): bump django from 3.2.15 to 3.2.16 (#1962) - -* fix(deps): bump django from 3.2.15 to 3.2.16 - -Bumps [django](https://github.com/django/django) from 3.2.15 to 3.2.16. -- [Release notes](https://github.com/django/django/releases) -- [Commits](https://github.com/django/django/compare/3.2.15...3.2.16) - ---- -updated-dependencies: -- dependency-name: django - dependency-type: direct:production -... - -Signed-off-by: dependabot[bot] <support@github.com> - -* Update Django in common too - -Signed-off-by: dependabot[bot] <support@github.com> -Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> -Co-authored-by: faucomte97 <florian.aucomt1@ocado.com> ([`322310f`](https://github.com/ocadotechnology/codeforlife-portal/commit/322310fcd4e29092f7370ab77124d337b1ebe8c9)) - +* fix: Make unique school names migration ([`bb5b2b2`](https://github.com/ocadotechnology/codeforlife-portal/commit/bb5b2b29994e48f0c0a792283814d974006df105)) -## v6.24.2 (2022-11-07) +## v6.39.2 (2023-11-15) ### Fix -* fix: fix most common flaky tests #1 (#1958) +* fix: Temporarily remove mig 0048 ([`d06629e`](https://github.com/ocadotechnology/codeforlife-portal/commit/d06629e88305bb24a2980a558a3d0aa7f1f296f1)) -* fix: fix most common flaky tests #1 - -* comments #1 ([`c6de9d6`](https://github.com/ocadotechnology/codeforlife-portal/commit/c6de9d67728767b5df7f03ba5aef6d62e5b96ed6)) +* fix: Split up school location migrations ([`647415c`](https://github.com/ocadotechnology/codeforlife-portal/commit/647415c17a584d668ceca9907292bf502c417699)) +### Unknown -## v6.24.1 (2022-10-28) +* Merge branch 'master' of https://github.com/ocadotechnology/codeforlife-portal ([`95563e7`](https://github.com/ocadotechnology/codeforlife-portal/commit/95563e7d011ef5d67a17565c366e3ca6d148e60a)) + +## v6.39.1 (2023-11-15) ### Fix -* fix: added autocompelte='off' (#1956) +* fix: Make migration 0047 reversible ([`4161be3`](https://github.com/ocadotechnology/codeforlife-portal/commit/4161be34a0a9e47a700ab586f58bb5e762da5abf)) -* fix: added autocompelte='off' - -* added autocompelte off to backend for student ([`9676cc4`](https://github.com/ocadotechnology/codeforlife-portal/commit/9676cc4a8cb3ab8aeb1bbcd3b50896b506d9c2d4)) +## v6.39.0 (2023-11-14) +### Feature -## v6.24.0 (2022-10-27) +* feat: Add a button to link to Gmail on email verification (#2230) -### Feature +* feat: Add open in Gmail button to verify email page -* feat: reset password must be different to the current password (#1955) +* Fix tests -* fixin - -* feat: hhello ([`3cd8129`](https://github.com/ocadotechnology/codeforlife-portal/commit/3cd812950e8b1d427d9887350e56304f9a8cef69)) +* Bring plane back +* Feedback ([`326676d`](https://github.com/ocadotechnology/codeforlife-portal/commit/326676df973145898a9947f765cb774e2a3ab6a1)) -## v6.23.1 (2022-10-24) +## v6.38.4 (2023-11-13) ### Fix -* fix: added a bug fix for class deletion and game still being up (#1953) +* fix: county field (#2229) -* fix: added a bug fix for class deletion and game still being up - -* fixing comments:) ([`a35652f`](https://github.com/ocadotechnology/codeforlife-portal/commit/a35652fd043db6a9f1466714ba03b3d7d59ba226)) +* fix: school.country is optional +* remove postcode and make name unique -## v6.23.0 (2022-10-18) +* all uk counties -### Feature +* add choices -* feat: admin aimmo power portal feature (#1952) +* make county field work -* fix: sorting in django is complicated - -* add if - -* clean up - -* filtered by user - -* remove user - -* change model fetch to teacher.class_teacher - -* :/ - -* change sheets fails? - -* add tests working - -* done :) ([`2e723f5`](https://github.com/ocadotechnology/codeforlife-portal/commit/2e723f53daf7e17ace1d318cba643e06057ebd9d)) +* add county options +* remove postcode -## v6.22.1 (2022-10-13) +* hide/show county field -### Fix +* show/hide county field pt.2 -* fix: Add maintenance banner (#1951) ([`0de6e06`](https://github.com/ocadotechnology/codeforlife-portal/commit/0de6e06708c21405e74ccabfbc4a9d0186fb7e43)) +* merge from master +* remove redundant test -## v6.22.0 (2022-10-12) +* fix: create postcode -### Feature +* fix assertion -* feat: Create dynamic elements from Django admin (#1950) +* feedback -* feat: Create dynamic elements from Django admin +* Merge branch 'master' into county_field -* Make the name non editable and the model non deletable +* ignore .venv ([`669ce8a`](https://github.com/ocadotechnology/codeforlife-portal/commit/669ce8af440633c5474fb54fa00a1762520942e5)) -* Revert portal files for now +## v6.38.3 (2023-11-10) -* Fix test after admin permission change ([`e1f7548`](https://github.com/ocadotechnology/codeforlife-portal/commit/e1f75484f779b22fe810f1bb6481af4bae468407)) +### Fix +* fix: Send email to the right address (#2231) -## v6.21.0 (2022-10-05) +* Revert "Revert "fix: Send verification email to new email on email change request"" -### Feature +This reverts commit b51fd428b9086aff42d651f87bb2e3e460317890. -* feat: Functionality for admin custom level sharing (#1945) +* Lockfile ([`7fdbb90`](https://github.com/ocadotechnology/codeforlife-portal/commit/7fdbb905f614ece20f15271519b14930e4ba0192)) -* fix: Functionality for admin level sharing - -* Organise imports ([`54eb35c`](https://github.com/ocadotechnology/codeforlife-portal/commit/54eb35c22a06fcc8539e820ef83c8ea450cc7640)) +* fix: Send verification email to new email on email change request ([`f22fb21`](https://github.com/ocadotechnology/codeforlife-portal/commit/f22fb2159af59f69a32639e02f8c446b806e3b49)) +### Unknown -## v6.20.3 (2022-09-30) +* Revert "fix: Send verification email to new email on email change request" -### Fix +This reverts commit f22fb2159af59f69a32639e02f8c446b806e3b49. ([`b51fd42`](https://github.com/ocadotechnology/codeforlife-portal/commit/b51fd428b9086aff42d651f87bb2e3e460317890)) -* fix: Update contact email in Privacy Policy (#1943) ([`6a4663c`](https://github.com/ocadotechnology/codeforlife-portal/commit/6a4663cc5eb2ed9a1b5eb8f5f3ece151a3339a0c)) +## v6.38.2 (2023-11-06) +### Fix -## v6.20.2 (2022-09-21) +* fix: school.country is optional (#2228) ([`8cdec46`](https://github.com/ocadotechnology/codeforlife-portal/commit/8cdec466f11c06b8f09668435b7f9b0ef061c06e)) -### Fix +## v6.38.1 (2023-11-03) -* fix: Make kurono maintenance banner show depending on flag (#1941) +### Fix -* fix: Make kurono maintenance banner show depending on flag +* fix: Disable autocomplete in some forms (#2216) ([`925b5c2`](https://github.com/ocadotechnology/codeforlife-portal/commit/925b5c238c0aa953f87cd28f10128b5f77b29bc0)) -* Fix test ([`5b6be58`](https://github.com/ocadotechnology/codeforlife-portal/commit/5b6be58c351b92c6b72dc32fe749e12701d5ace0)) +## v6.38.0 (2023-11-03) +### Documentation -## v6.20.1 (2022-09-15) +* docs: contributing (#2219) -### Fix +* remove contributing section -* fix: timer fix (#1938) +* reference license and contributing -* :) - -* fix: Add pytest-order - -* fix comments - -* it run away, but I got it - -* test1 - -* \o/ - -* /o" ([`b9216e9`](https://github.com/ocadotechnology/codeforlife-portal/commit/b9216e94aa32bafbe1de62ddc3782a7307c7e6c1)) +* simplify +* Merge branch 'master' into contributing -## v6.20.0 (2022-09-09) +Co-Authored-By: Florian Aucomte <33633200+faucomte97@users.noreply.github.com> ([`40f4e06`](https://github.com/ocadotechnology/codeforlife-portal/commit/40f4e06b4e6aa6bbf060f80798008f06b262c6f1)) ### Feature -* feat: increase speed of tests (#1937) ([`b9499f9`](https://github.com/ocadotechnology/codeforlife-portal/commit/b9499f9a77ccc11451069d346f27d165339929b0)) +* feat: reveal password button (#2218) +* register forms -## v6.19.1 (2022-09-09) +* register forms pt.2 -### Fix +* teacher password visibility -* fix: python download texts and update buttons with zip downloads (#1936) +* student login -* fix python download texts and update buttons with zip downloads - -* replace 8 to 7 ([`4343d42`](https://github.com/ocadotechnology/codeforlife-portal/commit/4343d42769bd6810ed0ed6e4c237cdbd03df6118)) +* independent login +* reset password -## v6.19.0 (2022-09-08) +* teacher account -### Feature +* student account -* feat: coding club page (#1935) +* fix teacher password -* coding club page +* teacher edits student password -* make the link url respond only on post request +* feedback -* small text fix and a tag open in new tab +* Merge branch 'master' into reveal_password_button ([`0310edb`](https://github.com/ocadotechnology/codeforlife-portal/commit/0310edb2dadfec71f8b6f0136b0f3c50c8542b22)) -* image downsize and migrations renamed and remade +## v6.37.4 (2023-11-02) -* help +### Fix -* Merge branch 'master' into coding_club +* fix(deps): Bump django from 3.2.20 to 3.2.23 (#2220) -* things break :( ([`b8e0499`](https://github.com/ocadotechnology/codeforlife-portal/commit/b8e0499ac64a4487a2caf85178135d2a4a5ce754)) +* fix(deps): Bump django from 3.2.20 to 3.2.23 +Bumps [django](https://github.com/django/django) from 3.2.20 to 3.2.23. +- [Commits](https://github.com/django/django/compare/3.2.20...3.2.23) -## v6.18.4 (2022-09-08) +--- +updated-dependencies: +- dependency-name: django + dependency-type: direct:production +... -### Fix +Signed-off-by: dependabot[bot] <support@github.com> -* fix: Update text in registration forms (#1934) +* Update Django in common too -* fix: Update text in registration forms ([`b351013`](https://github.com/ocadotechnology/codeforlife-portal/commit/b351013707e66c457870a242730b0c6051a13611)) +--------- +Signed-off-by: dependabot[bot] <support@github.com> +Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> +Co-authored-by: faucomte97 <f.aucomte@hotmail.co.uk> ([`cf4575c`](https://github.com/ocadotechnology/codeforlife-portal/commit/cf4575c00044f26074f141e7d35349eb87e8c242)) -## v6.18.3 (2022-09-02) +## v6.37.3 (2023-10-31) ### Fix -* fix: Clean autoconfig remains and move CSP config to common (#1932) +* fix: update level control form (#2190) -* fix: Clean autoconfig remains and move CSP config to common +* fix: update level control form -* Update CSP config path +* fix: tests -* Clean CSP +* remove/skip aimmo tests ([`cd1e2ed`](https://github.com/ocadotechnology/codeforlife-portal/commit/cd1e2edcdb44ae5f42474fc1aa81d3600bdae25f)) -* Add django_js_reverse to installed apps ([`b8f9d14`](https://github.com/ocadotechnology/codeforlife-portal/commit/b8f9d143d302b866d539cc3effd50ed6442ed60d)) +## v6.37.2 (2023-10-24) +### Build -## v6.18.2 (2022-08-31) +* build(deps): Bump @babel/traverse in /portal_frontend (#2184) -### Fix +Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.17.10 to 7.23.2. +- [Release notes](https://github.com/babel/babel/releases) +- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) +- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse) -* fix: Bump up version ([`49257aa`](https://github.com/ocadotechnology/codeforlife-portal/commit/49257aaea82beac9d5e12f83d906fc3ef5f82892)) +--- +updated-dependencies: +- dependency-name: "@babel/traverse" + dependency-type: indirect +... -### Unknown +Signed-off-by: dependabot[bot] <support@github.com> ([`e0c4af7`](https://github.com/ocadotechnology/codeforlife-portal/commit/e0c4af70c0a0f6ed85654e73b179d4c6b1fda735)) -* Fix failing tests due to random order (#1931) +### Fix -Co-authored-by: Mykhaylo Marfeychuk <mykhaylo.marfeychuk@ocado.com> ([`a08fdd2`](https://github.com/ocadotechnology/codeforlife-portal/commit/a08fdd270ed8fc8a7f808c13dcef319f193a3a2a)) +* fix: Update Selenium (#2183) +* fix: Update Selenium -## v6.18.1 (2022-08-26) +* Merge branch 'master' into update_selenium ([`8f2b9a0`](https://github.com/ocadotechnology/codeforlife-portal/commit/8f2b9a0ddf53bbe135dbe97a8c3e907c438e4f10)) + +## v6.37.1 (2023-09-27) ### Fix -* fix: kurono banner (#1929) +* fix: save enabled auth factors as csv (#2180) -* attempt at banner working - -* banner done - -* removed extras - -* removed extras - -* temp fix test while kurono banner is up - -* fixed random test failuers - -* fixed random test failuers - -* fixed test not being clickable - -* fixed test not being clickable - -* added scrolling to element - -* additional fixes - -* additional fixes - -* additional fixes ([`b0824a7`](https://github.com/ocadotechnology/codeforlife-portal/commit/b0824a72deb9a743e1f26fbe87a13641fd97d452)) +* fix: save enabled auth factors as csv +* fix: add otp fields -## v6.18.0 (2022-08-26) +* feedback -### Feature +* feedback ([`3a8993a`](https://github.com/ocadotechnology/codeforlife-portal/commit/3a8993a41a6e22599e4796391ab8b46677ebcff3)) -* feat: Remove django-autoconfig (#1924) +## v6.37.0 (2023-09-20) -* fix: Try ls again + verbose install - -* Remove unnecessary test stage - -* Force latest django-autoconfig commit - -* Pass -y - -* Step 1 of removing autoconfig - -* csp_settings fix - -* unknown 'collectstatic' - -* fix: collectstatic command (#1928) - -* Fix collectstatic command - -* Fix view test - -* Comment out unecessary pipeline step - -* Change the default manage settings - -* Uncomment popup.css generation block - -Co-authored-by: Mykhaylo Marfeychuk <mykhaylo.marfeychuk@ocado.com> - -Co-authored-by: KamilPawel <kamil.sosinski@ocado.com> -Co-authored-by: Mykhaylo Marfeychuk <Mika412@users.noreply.github.com> -Co-authored-by: Mykhaylo Marfeychuk <mykhaylo.marfeychuk@ocado.com> ([`3d4385e`](https://github.com/ocadotechnology/codeforlife-portal/commit/3d4385e5d8fbc777f67379eb7343a71fd3471a5a)) +### Feature +* feat: Keep track of deleted unverified users (#2174) -## v6.17.2 (2022-08-12) +* feat: Keep track of deleted unverified users -### Build +* Fix test -* build: upgrade lockfile for Django 3.2.15 (#1922) ([`34aff14`](https://github.com/ocadotechnology/codeforlife-portal/commit/34aff147c60e232c7a86ef1a8f4171676a93e40c)) +* Feedback -### Fix +* Update cron job to anonymise users instead -* fix: Add countdown stop to session expiry popup (#1919) +* Update return type -* fix: Add countdown stop +* Merge branch 'master' into daily_activity_deleted_users ([`15de190`](https://github.com/ocadotechnology/codeforlife-portal/commit/15de19044e8e9d76eccac918306e947e31e9e530)) -* Remove duplicate import +## v6.36.2 (2023-09-19) -* Update lockfile? +### Fix -* Try without test settings +* fix: Move postcode helper to common (#2176) ([`015d902`](https://github.com/ocadotechnology/codeforlife-portal/commit/015d9025897cf68d8090676cc53abb25a3db59f3)) -* Try removing front end steps +## v6.36.1 (2023-09-18) -* Merge branch 'master' into add_stop_session_timer +### Fix -# Conflicts: -# Pipfile.lock +* fix: Disable ratelimit when value is empty (#2178) -* Try removing collectstatic step altogether +* fix: Don't run ratelimit on empty key -* Ls debug +* Disable on value null ([`ac08f00`](https://github.com/ocadotechnology/codeforlife-portal/commit/ac08f000dc74511608b989ce79ae72ee7c03229b)) -* Change order around + freeze +## v6.36.0 (2023-09-07) -* Try upgrading to ubuntu 20.04 +### Feature -* Try upgrading pip +* feat: Total activity table (#2168) -* Revert ci to what it was ([`3c21c90`](https://github.com/ocadotechnology/codeforlife-portal/commit/3c21c909297f956857173740790499ff40fd19d2)) +* feat: Total activity table +* Use update -## v6.17.1 (2022-08-12) +* Include registration types ([`e5153aa`](https://github.com/ocadotechnology/codeforlife-portal/commit/e5153aa8093c6ce587238ca9badd473702774c7f)) + +## v6.35.3 (2023-09-05) ### Fix -* fix(deps): bump django from 3.2.14 to 3.2.15 (#1920) +* fix: iterate over queryset (#2167) ([`71a4a48`](https://github.com/ocadotechnology/codeforlife-portal/commit/71a4a4838171b53b82ec270fa4f43f20c0e7db3a)) -* build(deps): bump django from 3.2.14 to 3.2.15 +## v6.35.2 (2023-09-01) -Bumps [django](https://github.com/django/django) from 3.2.14 to 3.2.15. -- [Release notes](https://github.com/django/django/releases) -- [Commits](https://github.com/django/django/compare/3.2.14...3.2.15) +### Fix ---- -updated-dependencies: -- dependency-name: django - dependency-type: direct:production -... +* fix: Shorten verify email link (#2166) -Signed-off-by: dependabot[bot] <support@github.com> +* fix: Shorten verification email links -* Update Django in common too ([`621b526`](https://github.com/ocadotechnology/codeforlife-portal/commit/621b5261e61d05b81aa4400406b03807a292fdf1)) +* Pass url in properly +* Fix tests ([`4884fbd`](https://github.com/ocadotechnology/codeforlife-portal/commit/4884fbd8eec2ae88e1d3a8474f95952fb64a0b01)) -## v6.17.0 (2022-08-11) +## v6.35.1 (2023-09-01) -### Feature +### Fix -* feat: Add session timeout warning popup (#1918) +* fix: Fix verify email link (#2165) -* feat: Add session timeout warning popup ([`cce2b64`](https://github.com/ocadotechnology/codeforlife-portal/commit/cce2b6438464805c49d607abd272e1225303df4b)) +* fix: Update URLs in cron job emails +* Add new line and admin column -## v6.16.0 (2022-08-03) +* Update helper method ([`587e879`](https://github.com/ocadotechnology/codeforlife-portal/commit/587e879d3cf721ad87e979353c6bcbabe0cfebfc)) + +## v6.35.0 (2023-08-31) ### Feature -* feat: Show all external requests in school to admins (#1914) +* feat: add cron urls for user verification (#2160) -* feat: Show all external requests in school to admins +* feat: add cron urls for user verification -* Remove prints +* remove comment -* Improve variable names ([`9cc9dec`](https://github.com/ocadotechnology/codeforlife-portal/commit/9cc9dec50b6edd621b7a6d242317acc24a66ad3c)) +* cron user tests +* add cron mixin -## v6.15.4 (2022-07-21) +* remove whitespace -### Fix +* fix: filter -* fix(deps): bump terser from 5.13.1 to 5.14.2 in /portal_frontend (#1912) +* add cron test cases -* build(deps): bump terser from 5.13.1 to 5.14.2 in /portal_frontend +* add negative test cases -Bumps [terser](https://github.com/terser/terser) from 5.13.1 to 5.14.2. -- [Release notes](https://github.com/terser/terser/releases) -- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md) -- [Commits](https://github.com/terser/terser/commits) +* Remove custom aimmo branch install ---- -updated-dependencies: -- dependency-name: terser - dependency-type: indirect -... +* Merge branch 'master' into verify_email_reminder -Signed-off-by: dependabot[bot] <support@github.com> ([`460cebc`](https://github.com/ocadotechnology/codeforlife-portal/commit/460cebc29a10cc98eb74bd22515732efa960b39d)) +* Lockfile +* fix patch -## v6.15.3 (2022-07-14) +* Update logic so it doesn't include students -### Fix +* Try adding a trailing slash -* fix: Add common static images to frame src in CSP (#1908) ([`ea3a12a`](https://github.com/ocadotechnology/codeforlife-portal/commit/ea3a12a1749d3f1e0aafdc48514e27a72ddd5120)) +* fix: deletion test +* Update cron view and test after feedback -## v6.15.2 (2022-07-14) +* fix: tests -### Fix +* Merge changes -* fix: Class teacher col hidden (#1907) +* Simplify logic -* remove teacher col if not admin - -* fiexes - -* code review - -Co-authored-by: KamilPawel <kamil.sosinski@ocado.com> ([`2b649e3`](https://github.com/ocadotechnology/codeforlife-portal/commit/2b649e35dd054113ad4331d151b64c309e54131c)) +* Simplify logic again +* fix: tests -## v6.15.1 (2022-07-14) +* fix: reuse global variable -### Fix +* feedback -* fix: Add common static to object src in CSP (#1906) ([`a1450dc`](https://github.com/ocadotechnology/codeforlife-portal/commit/a1450dc32f6d1063472294ab5f5f7167bdac7f72)) +Co-Authored-By: faucomte97 <f.aucomte@hotmail.co.uk> ([`b730dda`](https://github.com/ocadotechnology/codeforlife-portal/commit/b730dda237e2da4c7d7d82ed2ec056d1b8eab59c)) +## v6.34.1 (2023-08-11) -## v6.15.0 (2022-07-13) +### Fix -### Feature +* fix: Handle empty postcode edge case (#2161) -* feat: Admin create class (#1905) +* fix: Handle empty postcode edge case -* feat: add create class - -* fix check_teacher_authorised - -* fix test - -* added database fields - -* whitespace - -* code review - -* frontend typo - -Co-authored-by: KamilPawel <kamil.sosinski@ocado.com> ([`1ddfb1b`](https://github.com/ocadotechnology/codeforlife-portal/commit/1ddfb1bbe8844de8ac94972b7bcf854bad708011)) +* Improve postcode logic and add test +* Small improvement ([`213b467`](https://github.com/ocadotechnology/codeforlife-portal/commit/213b4679bc801473d488e222eb39fd4ee38de0c6)) -## v6.14.0 (2022-07-13) +## v6.34.0 (2023-08-09) ### Feature -* feat: Independent registration update (#1891) +* feat: Gather UK counties (#2158) -* feat: Update independent registration process - -* Improve styles - -* Add new links for children ([`a6d408e`](https://github.com/ocadotechnology/codeforlife-portal/commit/a6d408e96296bdac14cd514d5ec16c45ee731597)) +* feat: Gather UK counties +* Refactor tests -## v6.13.5 (2022-07-13) +* Add county info to admin pages -### Fix +* Feedback ([`6bd2c29`](https://github.com/ocadotechnology/codeforlife-portal/commit/6bd2c298077d9dd54b2c4912fa3da3b4d8b9dd0b)) -* fix: Move brain SVG to common (#1904) +## v6.33.7 (2023-07-27) -* fix: Move brain SVG to common +### Build -* Merge branch 'master' into make_brain_common +* build(deps): Bump certifi from 2023.5.7 to 2023.7.22 (#2152) -* Merge branch 'master' into make_brain_common ([`fceecb5`](https://github.com/ocadotechnology/codeforlife-portal/commit/fceecb5344f44e0907e5614e746ac9f044b28a90)) +Bumps [certifi](https://github.com/certifi/python-certifi) from 2023.5.7 to 2023.7.22. +- [Commits](https://github.com/certifi/python-certifi/compare/2023.05.07...2023.07.22) +--- +updated-dependencies: +- dependency-name: certifi + dependency-type: indirect +... -## v6.13.4 (2022-07-13) +Signed-off-by: dependabot[bot] <support@github.com> ([`8b59dbc`](https://github.com/ocadotechnology/codeforlife-portal/commit/8b59dbc4606c79d72530b861c65e593feb39bd8b)) ### Fix -* fix: Admin power table (#1901) +* fix: Update how Kurono games are created (#2153) -* 3 / 7 - -* 1 task left -2 - -* popup done and tests - -* fix one test at a time #1 - -* fix one test at a time #2 - -* fix one test at a time #3 - -* fix one test at a time #4 - -* fix one test at a time #5 - -* fix one test at a time #6 - -* fix one test at a time #7 - -* fix one test at a time #8 - -* fix one test at a time #9 - -* fix one test at a time #10 - -* fix one test at a time #11 - -* fix one test at a time #12 - -* fix one test at a time #13 - -* fix one bug at a time #14 - -* fix one bug at a time #15 - -* fix one bug at a time #16 - -* fix one bug at a time #17 - -* fix one bug at a time #18 - -* fix one bug at a time #19 - -* fix one bug at a time #20 ([`3076c96`](https://github.com/ocadotechnology/codeforlife-portal/commit/3076c9621cbdbe4ba822da16ac741506e02d0d2f)) +* fix: Update how Kurono games are created +* Merge branch 'master' into max_games_limit -## v6.13.3 (2022-07-12) +* Install temp aimmo branch + +* Install temp aimmo branch in ci ([`7596342`](https://github.com/ocadotechnology/codeforlife-portal/commit/75963426472694402daa32322c2e5fa173893528)) + +## v6.33.6 (2023-07-20) ### Fix -* fix: use our fork of sematic release (#1903) ([`16aad05`](https://github.com/ocadotechnology/codeforlife-portal/commit/16aad054b168324af627dbf9bc6567aa8d8f7eaf)) +* fix: Fix desynced versions ([`80ee922`](https://github.com/ocadotechnology/codeforlife-portal/commit/80ee9229e3941e74ca7a6f5306aa5826c4bc2dea)) +* fix: Fix semantic release to < 8 (#2150) ([`8be4b50`](https://github.com/ocadotechnology/codeforlife-portal/commit/8be4b50f3549a106498fc3b77b67a3adab58d5af)) -## v6.13.2 (2022-07-12) +## v6.33.5 (2023-07-20) -### Fix +### Build -* fix: try the latest python-semantic-release version (#1902) +* build(deps): Bump word-wrap from 1.2.3 to 1.2.4 in /portal_frontend (#2148) -* fix: try the latest python-semantic-release version - -* change version ([`2889139`](https://github.com/ocadotechnology/codeforlife-portal/commit/2889139f560ae872cec40f291f158555cdd5f56d)) +Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. +- [Release notes](https://github.com/jonschlinkert/word-wrap/releases) +- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4) +--- +updated-dependencies: +- dependency-name: word-wrap + dependency-type: indirect +... -## v6.13.1 (2022-07-11) +Signed-off-by: dependabot[bot] <support@github.com> ([`039c855`](https://github.com/ocadotechnology/codeforlife-portal/commit/039c855179a8997e30c1aa88f18f69c3e5c2b4df)) ### Fix -* fix: Run black in test_settings.py (dummy version) ([`78f11a5`](https://github.com/ocadotechnology/codeforlife-portal/commit/78f11a58b6453c0d45bbdd75531ff5dacb0a1a86)) +* fix: Get fields depending on page (#2149) ([`942fc93`](https://github.com/ocadotechnology/codeforlife-portal/commit/942fc93284ce85b22d083d557a8e60974b77a7bb)) +## v6.33.4 (2023-07-12) -## v6.13.0 (2022-07-11) - -### Feature - -* feat: Add child-friendly legal documents (#1889) +### Build -* feat: Add child-friendly legal documents - -* Add tests - -* run Black - -* fix tests - -* fix tests pt. 2 ([`1440144`](https://github.com/ocadotechnology/codeforlife-portal/commit/144014400712ca23e1427d4aba9363edb21c6b0c)) +* build(deps): Bump semver from 6.3.0 to 6.3.1 in /portal_frontend +Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 6.3.1. +- [Release notes](https://github.com/npm/node-semver/releases) +- [Changelog](https://github.com/npm/node-semver/blob/v6.3.1/CHANGELOG.md) +- [Commits](https://github.com/npm/node-semver/compare/v6.3.0...v6.3.1) -## v6.12.5 (2022-07-06) +--- +updated-dependencies: +- dependency-name: semver + dependency-type: indirect +... -### Fix +Signed-off-by: dependabot[bot] <support@github.com> ([`cbb114f`](https://github.com/ocadotechnology/codeforlife-portal/commit/cbb114f439350b909fc4a58de92b1221575b40ce)) -* fix: bump django from 3.2.13 to 3.2.14 (#1899) +* build(deps): Bump tough-cookie from 4.0.0 to 4.1.3 in /portal_frontend (#2119) -* fix: bump django from 3.2.13 to 3.2.14 - -Bumps [django](https://github.com/django/django) from 3.2.13 to 3.2.14. -- [Release notes](https://github.com/django/django/releases) -- [Commits](https://github.com/django/django/compare/3.2.13...3.2.14) - ---- -updated-dependencies: -- dependency-name: django - dependency-type: direct:production -... - -Signed-off-by: dependabot[bot] <support@github.com> - -* Upgrade Django in common too - -Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> -Co-authored-by: faucomte97 <florian.aucomt1@ocado.com> ([`14abcf3`](https://github.com/ocadotechnology/codeforlife-portal/commit/14abcf3f02a1d6d6821f5986d735db49ed4856f8)) +Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.0.0 to 4.1.3. +- [Release notes](https://github.com/salesforce/tough-cookie/releases) +- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md) +- [Commits](https://github.com/salesforce/tough-cookie/compare/v4.0.0...v4.1.3) +--- +updated-dependencies: +- dependency-name: tough-cookie + dependency-type: indirect +... -## v6.12.4 (2022-06-30) +Signed-off-by: dependabot[bot] <support@github.com> ([`c0d4219`](https://github.com/ocadotechnology/codeforlife-portal/commit/c0d421995c1c7398a1013163b1aec1f8bccdf59d)) ### Fix -* fix: invite teacher (#1898) ([`dd0398e`](https://github.com/ocadotechnology/codeforlife-portal/commit/dd0398e56f23f7fc1ec91103d5256669c10fadaf)) +* fix: build(deps): Bump semver from 6.3.0 to 6.3.1 in /portal_frontend +build(deps): Bump semver from 6.3.0 to 6.3.1 in /portal_frontend ([`c9e625e`](https://github.com/ocadotechnology/codeforlife-portal/commit/c9e625e995c9f9319f67c1d1ee2f1d66b3d46912)) -## v6.12.3 (2022-06-30) +## v6.33.3 (2023-07-07) ### Fix -* fix: Teacher registration text fixes (#1897) ([`edaf957`](https://github.com/ocadotechnology/codeforlife-portal/commit/edaf957190f422baa605ed93436a391f5036f39e)) +* fix: Fix logic of frontend password strength check (#2117) +* fix: Fix logic of frontend password strength check -## v6.12.2 (2022-06-30) +* Remove new line -### Fix +* Remove typo ([`031d6de`](https://github.com/ocadotechnology/codeforlife-portal/commit/031d6de507e4f4a81f7d0f7f5d70144fae3f63da)) -* fix: add name of teacher to popup (#1893) ([`a726df3`](https://github.com/ocadotechnology/codeforlife-portal/commit/a726df39c76084c0615c3472f6dbdc807e7d9592)) +## v6.33.2 (2023-07-06) +### Build -## v6.12.1 (2022-06-30) +* build(deps): Bump django from 3.2.19 to 3.2.20 (#2115) -### Fix +* build(deps): Bump django from 3.2.19 to 3.2.20 -* fix: email below text (#1892) +Bumps [django](https://github.com/django/django) from 3.2.19 to 3.2.20. +- [Commits](https://github.com/django/django/compare/3.2.19...3.2.20) -* fix email below text - -* add emojii - -* default checkbox true - -* fix tests with sad face ([`5abef26`](https://github.com/ocadotechnology/codeforlife-portal/commit/5abef269cec7506800eb35a7f8b4c5f638671ea6)) +--- +updated-dependencies: +- dependency-name: django + dependency-type: direct:production +... +Signed-off-by: dependabot[bot] <support@github.com> -## v6.12.0 (2022-06-29) +* Update Django in cfl common too -### Fix +Co-Authored-By: faucomte97 <f.aucomte@hotmail.co.uk> ([`7c3f377`](https://github.com/ocadotechnology/codeforlife-portal/commit/7c3f37719f3fd007ba928d57dbb84b6d56e1bd7f)) -* fix: admin power (#1883) +### Fix -* add teacher form +* fix: Dummy commit to bump version ([`255f457`](https://github.com/ocadotechnology/codeforlife-portal/commit/255f457e63f38c9c505d0ee3b3879c4496636fb1)) -* add teacher to school +## v6.33.1 (2023-06-29) -* fix teacher already exists and add invited_by +### Fix -* add invited teacher form, wip +* fix: self hosted images ([`8769345`](https://github.com/ocadotechnology/codeforlife-portal/commit/87693451607a08fc10111e24b59fb84ab78f49b8)) -* add SchoolTeacherInvitation model and -use it to invite teacher +## v6.33.0 (2023-06-27) -* process_teacher_invitation +### Build -* add is_active to SchoolTeacherInvitation +* build(deps): Bump semver from 7.3.8 to 7.5.3 (#2105) -* finish process teacher invitation +Bumps [semver](https://github.com/npm/node-semver) from 7.3.8 to 7.5.3. +- [Release notes](https://github.com/npm/node-semver/releases) +- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md) +- [Commits](https://github.com/npm/node-semver/compare/v7.3.8...v7.5.3) -* added buttons and invite titles +--- +updated-dependencies: +- dependency-name: semver + dependency-type: indirect +... -* add admin only button functionality +Signed-off-by: dependabot[bot] <support@github.com> ([`234b51f`](https://github.com/ocadotechnology/codeforlife-portal/commit/234b51f6cfeb60d1f899862d97288f1e75be1496)) -* Merge branch 'admin-invite-teacher' into admin-power +### Feature -* working in progress +* feat: added the backend feature of pwned passwords (#2106) -* test invite teacher +* feat: added the backend feature of pwned passwords -* Merge branch 'master' into admin-invite-teacher +* fix: fixed the frontend tests -* undo send_user_already_registered_email +* fix: added frontend tests as well as updated the password strength meter -* cleanup imports +* fix interval already defined problem -* update pipfile lock +* added missing field to the test -* Resend invite +* fixed the popup window -* code review +* increase the test cov -* delete button +* remove sample test -* Merge branch 'admin-invite-teacher' into admin-power +* remvoed lev distance from frontend -* adding tests +* last codecov update -* add tests +* last codecov update -* merge master +* added register test to cover codecov -* Merge branch 'admin-invite-teacher-and-dashboard-table' into admin-power +* update codecov -* merge tests +* addressing comments -* Merge branch 'admin-power' of https://github.com/ocadotechnology/codeforlife-portal into admin-power +* remove console logs -* Merge branch 'master' into admin-power +* addressing comments #2 -* test fix attempt 1 +* addressing comments #3 -* fix tests randomy failing for invite +* fixed test ([`d09d0c0`](https://github.com/ocadotechnology/codeforlife-portal/commit/d09d0c05057677207fe93f51a567b28564806fe3)) -* tests:) +## v6.32.0 (2023-06-23) -* merge +### Feature -* merge +* feat: Upgrade Python to 3.8 (#2104) -* fix url fail test +* update Pipfile -* url invite id +* update github action -* add super long delay +* update github workflow -* change the delay +* update again ([`41fe95b`](https://github.com/ocadotechnology/codeforlife-portal/commit/41fe95b6fba639076ae262717ed179e9bf17c204)) -* change the delay +## v6.31.2 (2023-06-16) -* fixing dashboard.html +### Fix -* fixing dashboard.html +* fix: Allow more scripts from GTM in CSP (#2103) ([`eb074d5`](https://github.com/ocadotechnology/codeforlife-portal/commit/eb074d521f03470aaa28293790302e2559884763)) -* remove super long delay +## v6.31.1 (2023-06-16) -* Merge branch 'admin-invite-teacher-and-dashboard-table' into admin-power +### Fix -* responded to comments +* fix: Correct repo name ([`a85994d`](https://github.com/ocadotechnology/codeforlife-portal/commit/a85994dbd8a30bd18df76523f381ac3a8290e19a)) -* merge +* fix: Go back to actual semantic release repo ([`c12eb7e`](https://github.com/ocadotechnology/codeforlife-portal/commit/c12eb7ec47328f401407a2116b0e349632bfabba)) -* Merge branch 'admin-power' of https://github.com/ocadotechnology/codeforlife-portal into admin-power +* fix: 1454 shorten url in aws emails (#2101) -* Merge branch 'admin-invite-teacher-and-dashboard-table' into admin-power +* make url shorter -* responded to comments #2 +* modify other functions involved -* Merge branch 'admin-power' of https://github.com/ocadotechnology/codeforlife-portal into admin-power +* clean up -* responded to comments #3 +* Merge branch 'master' into 1454-shorten-url-in-aws-emails ([`5f4d68c`](https://github.com/ocadotechnology/codeforlife-portal/commit/5f4d68c0604611cb271fcadc9d2a173bc9db1496)) -* responded to comments #3 +* fix: Update Gtag reference to new GA4 (#2099) -* responded to comments #4 +* fix: Update Gtag reference to new GA4 -* clean up tests +* Merge branch 'master' into ga4_upgrade ([`ee50987`](https://github.com/ocadotechnology/codeforlife-portal/commit/ee50987efb571d2e9bc721e89da17e7be5213963)) -* added unit test and cleared not statement ([`1ecc00a`](https://github.com/ocadotechnology/codeforlife-portal/commit/1ecc00a8670ac47407238c5d7b46278c766e02e3)) +## v6.31.0 (2023-06-14) -### Unknown +### Build -* Merge pull request #1884 from ocadotechnology/admin-invite-teacher-and-dashboard-table +* build: Update reportlab and requests (#2097) ([`1e302d4`](https://github.com/ocadotechnology/codeforlife-portal/commit/1e302d469d0c7e1c7d32209278cc11323379bd32)) -feat: Admin invite teacher ([`835ddf1`](https://github.com/ocadotechnology/codeforlife-portal/commit/835ddf1a0ec427908207e344352b429c4828a561)) +### Feature -* Merge branch 'master' into admin-invite-teacher-and-dashboard-table +* feat: remove intermediate pages and go direct to gitbook resources (#2098) -# Conflicts: -# portal/forms/teach.py ([`a16f0e7`](https://github.com/ocadotechnology/codeforlife-portal/commit/a16f0e70b418ebc9084a389808d23f7b8ed9fad6)) +* feat: remove intermediate pages and go direct to gitbook resources +* fix: add icon to independent student link -## v6.11.0 (2022-06-29) +* fix: add target blank to gitbook links -### Feature +* fix: _blank not blank -* feat: Add consent checkbox to teacher registration form (#1890) ([`96b215c`](https://github.com/ocadotechnology/codeforlife-portal/commit/96b215ce3dfeb65e0b74daa6d5c74358b182c0b3)) +Co-Authored-By: Seb Palmer <s.palmer1@ocado.com> ([`2c6cb61`](https://github.com/ocadotechnology/codeforlife-portal/commit/2c6cb61b9753ecaa610e0d3d479ac5cf3eaf7210)) -### Unknown +## v6.30.11 (2023-05-31) -* Merge branch 'master' into admin-invite-teacher-and-dashboard-table ([`50f2a4f`](https://github.com/ocadotechnology/codeforlife-portal/commit/50f2a4f9323ee84adc1b8d22f65131b3db7a5b3a)) +### Fix +* fix: Bring back Riveted (#2096) ([`44724af`](https://github.com/ocadotechnology/codeforlife-portal/commit/44724af961b7493bef73a428d6f2f12943fe8e36)) -## v6.10.0 (2022-06-28) +## v6.30.10 (2023-05-23) -### Feature +### Fix -* feat: Screentime warning (#1888) +* fix: Upgrade JS libraries (#2090) -* wip: add screentime popup +* fix: Upgrade JS libraries -* add ScreentimeWarningMiddleware and reset url +* Merge branch 'master' into upgrade_js_libs ([`96551bb`](https://github.com/ocadotechnology/codeforlife-portal/commit/96551bbef8777bc185203a7de2547c711ca8b0bc)) -* reset screentime warning +## v6.30.9 (2023-05-23) -* add brain and test +### Build -* Merge branch 'master' into screentime-warning +* build(deps): Bump requests from 2.25.0 to 2.31.0 (#2095) -* fix test +Bumps [requests](https://github.com/psf/requests) from 2.25.0 to 2.31.0. +- [Release notes](https://github.com/psf/requests/releases) +- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md) +- [Commits](https://github.com/psf/requests/compare/v2.25.0...v2.31.0) -* test reset_screentime_warning API +--- +updated-dependencies: +- dependency-name: requests + dependency-type: direct:production +... -* remove weird comment ([`532198e`](https://github.com/ocadotechnology/codeforlife-portal/commit/532198e2311f03e63c52d9df3bffd8b8dc34fff6)) +Signed-off-by: dependabot[bot] <support@github.com> ([`92b4122`](https://github.com/ocadotechnology/codeforlife-portal/commit/92b41226a1b30a5548fc4fc64b248a73cc0f0d01)) -* feat: Remove join school functionality (#1885) +### Fix -* feat: Remove join school functionality +* fix: Bump up version ([`87b1646`](https://github.com/ocadotechnology/codeforlife-portal/commit/87b1646512acd1e2442f67e40d9eb62c17e6eb62)) -* fix tests ([`04fec71`](https://github.com/ocadotechnology/codeforlife-portal/commit/04fec71ae5c27863bc941d4a7b6711eb1c99423f)) +## v6.30.8 (2023-05-22) -### Unknown +### Fix -* Merge branch 'master' into admin-invite-teacher-and-dashboard-table ([`374a551`](https://github.com/ocadotechnology/codeforlife-portal/commit/374a55166ae2f6a994f2957c555f25e559067cce)) +* fix: Handle cases where School has no classes (#2088) +* fix: Handle cases where School has no classes -## v6.9.0 (2022-06-23) +* Merge branch 'master' into fix_school_admin_2 ([`7832b2d`](https://github.com/ocadotechnology/codeforlife-portal/commit/7832b2d8443b5766be239c3d881ac91b2fa5f6ad)) -### Feature +## v6.30.7 (2023-05-16) -* feat: Delete indy popup (#1879) +### Fix -* feat: add remove account for independent student - -* fix: add tests - -* fix: add tests - -* fix: add tests - -* functional based views - -* converted indy_update_form to func based view - -* fix: change email fix - -* fix: fixed tests - -* fix: fix changing first_name - -* fix changing name test - -* fix changing name test - -* fix changing name test - -* comments fix - -* addded test for wrong password - -* adjusted the text - -* removed sleep from test - -* add popup window - -* add popup delete indy account - -* fix test - -* removed 1 tab of indetation - -* cleaned up the code - -* remove duplicate url - -* remove delete_account import - -* fix test - -* fix testsgit add . - -* push ([`ad7c0b4`](https://github.com/ocadotechnology/codeforlife-portal/commit/ad7c0b4364a61dcadb43b3fac5a94f147758d87d)) +* fix: script loading (#2089) ([`a3bb0e8`](https://github.com/ocadotechnology/codeforlife-portal/commit/a3bb0e81e48dd24ef69ed6977222e7264ff1d41b)) -* feat: Admin invite teacher (#1878) +## v6.30.6 (2023-05-15) -* add teacher form +### Fix -* add teacher to school +* fix: Remove old arg from School admin (#2087) ([`a75ab10`](https://github.com/ocadotechnology/codeforlife-portal/commit/a75ab103854de4221d00badd00aabbe2c3708d04)) -* fix teacher already exists and add invited_by +## v6.30.5 (2023-05-10) -* add invited teacher form, wip +### Build -* add SchoolTeacherInvitation model and -use it to invite teacher +* build(deps): Bump django from 3.2.18 to 3.2.19 (#2084) -* process_teacher_invitation +* build(deps): Bump django from 3.2.18 to 3.2.19 -* add is_active to SchoolTeacherInvitation +Bumps [django](https://github.com/django/django) from 3.2.18 to 3.2.19. +- [Commits](https://github.com/django/django/compare/3.2.18...3.2.19) -* finish process teacher invitation - -* test invite teacher - -* Merge branch 'master' into admin-invite-teacher - -* undo send_user_already_registered_email - -* cleanup imports - -* update pipfile lock +--- +updated-dependencies: +- dependency-name: django + dependency-type: direct:production +... -* code review +Signed-off-by: dependabot[bot] <support@github.com> -* remove classes sentence ([`3b3f916`](https://github.com/ocadotechnology/codeforlife-portal/commit/3b3f9161c30c59ebaf4f3f8b8253a312044d6af1)) +* Update Django in common too -### Unknown +Co-Authored-By: faucomte97 <f.aucomte@hotmail.co.uk> ([`47a3baf`](https://github.com/ocadotechnology/codeforlife-portal/commit/47a3bafc0b34b6ce405c87245687b8eadcaa6091)) -* Merge branch 'master' into admin-invite-teacher-and-dashboard-table ([`91c36b1`](https://github.com/ocadotechnology/codeforlife-portal/commit/91c36b1028f60c00c785fad0868453697a2c11f0)) +### Fix +* fix: Bump up version commit ([`1f762ef`](https://github.com/ocadotechnology/codeforlife-portal/commit/1f762eff66890a9d0ca4967d6daec395f9d0935b)) -## v6.8.9 (2022-06-21) +## v6.30.4 (2023-04-27) ### Fix -* fix: Update registration page (#1882) ([`3b2e4dc`](https://github.com/ocadotechnology/codeforlife-portal/commit/3b2e4dcc4d3db8e6e7f0136f8990996b4c72bfa7)) - +* fix: Add details about admin features in Terms of Use (#2078) ([`2dbd369`](https://github.com/ocadotechnology/codeforlife-portal/commit/2dbd3692b09f3c10e1ce51a367801e75fcf7e43f)) -## v6.8.8 (2022-06-16) +## v6.30.3 (2023-04-26) ### Fix -* fix: Indy delete account (#1872) +* fix: Copy email over to username field (#2082) -* feat: add remove account for independent student - -* fix: add tests - -* fix: add tests - -* fix: add tests - -* functional based views - -* converted indy_update_form to func based view - -* fix: change email fix - -* fix: fixed tests - -* fix: fix changing first_name - -* fix changing name test - -* fix changing name test - -* fix changing name test - -* comments fix - -* addded test for wrong password - -* adjusted the text - -* removed sleep from test ([`46e088c`](https://github.com/ocadotechnology/codeforlife-portal/commit/46e088c8c7a52ac4f1676bbd04db5ec176839866)) +* fix: Copy email over to username field +* Update tests ([`6ab0dcc`](https://github.com/ocadotechnology/codeforlife-portal/commit/6ab0dcc6d268852c95ad5052d8bf0a39000e29d5)) -## v6.8.7 (2022-06-10) +## v6.30.2 (2023-04-25) ### Fix -* fix: Add age verification checkbox to newsletter form (#1876) - -* fix: Add age verification checkbox to newsletter form - -* fix tests - -* Simplify JS and update text in home learning ([`8663a79`](https://github.com/ocadotechnology/codeforlife-portal/commit/8663a79a81743950c0fd9a8ab713f55510d5bda6)) - +* fix: Reimplement JWTs and add reverse code to migration 0037 (#2081) -## v6.8.6 (2022-06-10) +* Revert "fix: Revert JWT tokens (#2079)" -### Fix +This reverts commit b069472e9886cce73fa26cfeba06151d60906c64. -* fix: Set referrer policy to preferred value (#1877) +* Add revert code to JWT migration -* fix: Set referrer policy to strict-origin-when-cross-origin +* Improve query in migration 0037 ([`44dcf3a`](https://github.com/ocadotechnology/codeforlife-portal/commit/44dcf3a1a038a840e068af9194ce647bb2293138)) -* fix tests +## v6.30.1 (2023-04-25) -* revert (wrong branch) ([`23869a2`](https://github.com/ocadotechnology/codeforlife-portal/commit/23869a2d990fc614c1091758e71584ca60456834)) +### Build +* build(deps): Bump sqlparse from 0.4.2 to 0.4.4 (#2077) -## v6.8.5 (2022-06-08) +* build(deps): Bump sqlparse from 0.4.2 to 0.4.4 -### Build +Bumps [sqlparse](https://github.com/andialbrecht/sqlparse) from 0.4.2 to 0.4.4. +- [Release notes](https://github.com/andialbrecht/sqlparse/releases) +- [Changelog](https://github.com/andialbrecht/sqlparse/blob/master/CHANGELOG) +- [Commits](https://github.com/andialbrecht/sqlparse/compare/0.4.2...0.4.4) -* build: Make CodeCov requirement 90% (#1875) +--- +updated-dependencies: +- dependency-name: sqlparse + dependency-type: direct:production +... -* build: Make CodeCov requirement 90% +Signed-off-by: dependabot[bot] <support@github.com> -* Make it patch not project ([`6de4191`](https://github.com/ocadotechnology/codeforlife-portal/commit/6de41919e8dd2fbbc06d44587dc1734694bf7a91)) +* Relock pipfile -### Documentation +* Relock pipfile pt. 2 -* docs: Refine templates (#1871) ([`5281956`](https://github.com/ocadotechnology/codeforlife-portal/commit/5281956bf2ec4774c3ead30a66a0339c81d6d1a4)) +Co-Authored-By: faucomte97 <f.aucomte@hotmail.co.uk> ([`bb40308`](https://github.com/ocadotechnology/codeforlife-portal/commit/bb4030845dc9005d1bee176960a4dfd658a6bb7e)) ### Fix -* fix: Remove JQueryUI (#1874) - -* fix: Remove unused library (JQueryUI) - -* Add react build steps to run script - -* Revert run steps ([`4b323fa`](https://github.com/ocadotechnology/codeforlife-portal/commit/4b323fa20c0c970d1fe302a29b02fa51ce42ca5c)) +* fix: Revert JWT tokens (#2079) +* fix: Add details about admin features in Terms of Use -## v6.8.4 (2022-05-27) +* Revert JWT code ([`b069472`](https://github.com/ocadotechnology/codeforlife-portal/commit/b069472e9886cce73fa26cfeba06151d60906c64)) -### Fix +## v6.30.0 (2023-04-18) -* fix: updated mui compatible colours (#1870) ([`8366b33`](https://github.com/ocadotechnology/codeforlife-portal/commit/8366b33c82f53863dd10fc1575bd2a88b21d9272)) +### Feature +* feat: implemented jwt as an email authentication (#2073) -## v6.8.3 (2022-05-27) +* feat: implemented jwt as an email authentication -### Fix +* Merge branch 'master' into email_jwt -* fix: edit the deployment for react test space (#1859) +* update packages -* edit the deployment for react test space - -* reverting the revert - -* change order of cmds - -* seperate build process and swap yarn for yarn --frozen-lockfile ([`a0d22b2`](https://github.com/ocadotechnology/codeforlife-portal/commit/a0d22b231378f140e49d01fde138c1dc06d86766)) +* conflicts +* remove head -## v6.8.2 (2022-05-19) +* add self.data) -### Fix +* swap jwt for pyjwt package -* fix: remove CI steps that broke deployment ([`69cf0f7`](https://github.com/ocadotechnology/codeforlife-portal/commit/69cf0f7fc41e8860ca48b498f3af9932f83667b0)) +* package update -### Unknown +* Add jwt library to common and fix wrong argument -* Merge pull request #1858 from ocadotechnology/cifix +* Try removing codecov package -fix: remove CI steps that broke deployment ([`eb264c6`](https://github.com/ocadotechnology/codeforlife-portal/commit/eb264c63918f9bd411cdad458ee8bc42822780d9)) +* Fix wrong argument again -* revert Pipfile ([`842e205`](https://github.com/ocadotechnology/codeforlife-portal/commit/842e20502bc86523eb7c3224ce1f9254ab233a09)) +* Update Cypress fixture -* fix error ([`9c5da34`](https://github.com/ocadotechnology/codeforlife-portal/commit/9c5da34b27de51c4605790e8043c6ea7636d1206)) +* Some cleanup and delete EV model -* revert ([`acf6a47`](https://github.com/ocadotechnology/codeforlife-portal/commit/acf6a47e77c3739172c54d96d35775824c12407c)) +* Make regex vs pattern consistent +Co-Authored-By: faucomte97 <f.aucomte@hotmail.co.uk> ([`623e50d`](https://github.com/ocadotechnology/codeforlife-portal/commit/623e50d9510088d6787f273c66b8dea77e815780)) -## v6.8.1 (2022-05-18) +## v6.29.6 (2023-04-12) ### Fix -* fix: bump async from 3.2.0 to 3.2.3 (#1857) +* fix: Improve verification logic + send verification before newsletter email (#2070) -* fix: bump async from 3.2.0 to 3.2.3 - -Bumps [async](https://github.com/caolan/async) from 3.2.0 to 3.2.3. -- [Release notes](https://github.com/caolan/async/releases) -- [Changelog](https://github.com/caolan/async/blob/master/CHANGELOG.md) -- [Commits](https://github.com/caolan/async/compare/v3.2.0...v3.2.3) - ---- -updated-dependencies: -- dependency-name: async - dependency-type: indirect -... - -Signed-off-by: dependabot[bot] <support@github.com> - -* build(deps): bump async from 3.2.0 to 3.2.3 - -Bumps [async](https://github.com/caolan/async) from 3.2.0 to 3.2.3. -- [Release notes](https://github.com/caolan/async/releases) -- [Changelog](https://github.com/caolan/async/blob/master/CHANGELOG.md) -- [Commits](https://github.com/caolan/async/compare/v3.2.0...v3.2.3) - ---- -updated-dependencies: -- dependency-name: async - dependency-type: indirect -... - -Signed-off-by: dependabot[bot] <support@github.com> - -* Fix setuptools version - -* Fix equals - -Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> -Co-authored-by: faucomte97 <florian.aucomt1@ocado.com> -Co-authored-by: Florian Aucomte <33633200+faucomte97@users.noreply.github.com> ([`9f42aa7`](https://github.com/ocadotechnology/codeforlife-portal/commit/9f42aa79f779f2ccf10006dd692df8d866a9872a)) +* fix: Improve verification logic + send verification before newsletter email +* Merge branch 'master' into fix_emails_order -## v6.8.0 (2022-05-18) +* Merge branch 'master' into fix_emails_order ([`cb93011`](https://github.com/ocadotechnology/codeforlife-portal/commit/cb93011f4e07f1aeaea13091582bb1bc44644d1a)) -### Feature +## v6.29.5 (2023-04-11) -* feat: add react test space (#1825) +### Build -* feat: add test env for react - -* add favicon.ico to the CSP config - -* add build folder - -* add build folder - -* added portal_frontend to manifest.in - -* cocnfigured autoconfig.py - -* added permissions to the react test space and deited Manifest.in - -* removed unused imports - -* add stuff - -* add stuff - -* add stuff - -* add stuff - -* add stuff - -* add stuff - -* add stuff - -* cleaned up build files - -* removed unused imports and package-lock file - -* master merge - -* pipenv version changne - -* change python version - -* lock file change - -* add back the re module - -* update the yarn-lock file and licence - -* not update yarn-lock - -* revert python version - -* altering CI - -* add nvm install to CI - -* NVM install - -* nvm - -* nvm - -* nvm - -* yarn install - -* remove popd - -* cd .. - -* remove cd .. - -* remove --upgrades - -* changes - -* changes - -* add tests to reactTestSpace - -* altered the react_test - -* fix tests - -* address comments - -* add back Welcome with its attrs - -* remove unusued port - -* add comment - -Co-authored-by: Razvan Mahu <67904187+razvan-pro@users.noreply.github.com> ([`e0fef80`](https://github.com/ocadotechnology/codeforlife-portal/commit/e0fef80ea5b8b03ce42636e9944391ae7110e682)) +* build(deps): Bump webpack from 5.72.0 to 5.76.1 in /portal_frontend (#2036) +Bumps [webpack](https://github.com/webpack/webpack) from 5.72.0 to 5.76.1. +- [Release notes](https://github.com/webpack/webpack/releases) +- [Commits](https://github.com/webpack/webpack/compare/v5.72.0...v5.76.1) -## v6.7.0 (2022-05-18) +--- +updated-dependencies: +- dependency-name: webpack + dependency-type: indirect +... -### Feature +Signed-off-by: dependabot[bot] <support@github.com> ([`316b151`](https://github.com/ocadotechnology/codeforlife-portal/commit/316b15143f224e4e72b9ba1b2a87f3d1d57e6a7b)) -* feat: Add aimmo badges to UserProfile (#1852) +### Fix -* feat: add badges data to UserProfile +* fix: 2067 link to account page (#2071) -* Merge branch 'master' into aimmo_badges_db +* add dashboard_account page -# Conflicts: -# Pipfile -# Pipfile.lock +* test teach_dashboard_account_page -* Rename migration +* change to the approach that hides tab bar -* Merge branch 'master' into aimmo_badges_db +* delete unnecessary tests -* Update model +* black formatter ([`9adab9b`](https://github.com/ocadotechnology/codeforlife-portal/commit/9adab9b9c1bba7e66f7936bb8c7614a89d8c9dde)) -* Merge branch 'master' into aimmo_badges_db +## v6.29.4 (2023-03-14) -* Add comment to field +### Build -* Remove null from field to fix bug +* build(deps): Bump dns-packet from 5.3.1 to 5.4.0 in /portal_frontend (#2034) -* Update field again to use null ([`2c9075c`](https://github.com/ocadotechnology/codeforlife-portal/commit/2c9075c5f94de74e5a8b2bc6b499005580366224)) +Bumps [dns-packet](https://github.com/mafintosh/dns-packet) from 5.3.1 to 5.4.0. +- [Release notes](https://github.com/mafintosh/dns-packet/releases) +- [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md) +- [Commits](https://github.com/mafintosh/dns-packet/compare/v5.3.1...5.4.0) +--- +updated-dependencies: +- dependency-name: dns-packet + dependency-type: indirect +... -## v6.6.0 (2022-05-10) +Signed-off-by: dependabot[bot] <support@github.com> ([`f1a9347`](https://github.com/ocadotechnology/codeforlife-portal/commit/f1a9347db3c42847a99538db008d55a027aff944)) -### Feature +* build(deps): bump django from 3.2.17 to 3.2.18 (#2032) -* feat: anonymise orphan schools (#1851) +* build(deps): bump django from 3.2.17 to 3.2.18 -* wip: saving work so far +Bumps [django](https://github.com/django/django) from 3.2.17 to 3.2.18. +- [Release notes](https://github.com/django/django/releases) +- [Commits](https://github.com/django/django/compare/3.2.17...3.2.18) -* converted migration to API +--- +updated-dependencies: +- dependency-name: django + dependency-type: direct:production +... -* some cleanup +Signed-off-by: dependabot[bot] <support@github.com> -* cover schools with no teachers +* fix: Update Django, libsass and pypdf -* fix comment ([`53165c9`](https://github.com/ocadotechnology/codeforlife-portal/commit/53165c994f81fbf4b4abc2ea373879ca0bcc16ad)) +* build(deps): bump django from 3.2.17 to 3.2.18 +Bumps [django](https://github.com/django/django) from 3.2.17 to 3.2.18. +- [Release notes](https://github.com/django/django/releases) +- [Commits](https://github.com/django/django/compare/3.2.17...3.2.18) -## v6.5.2 (2022-05-04) +--- +updated-dependencies: +- dependency-name: django + dependency-type: direct:production +... -### Fix +Signed-off-by: dependabot[bot] <support@github.com> -* fix: fix email tuples (#1846) +* Merge branch 'master' into dependabot/pip/django-3.2.18 -* fix: fix email tuples ([`a39aa47`](https://github.com/ocadotechnology/codeforlife-portal/commit/a39aa4768e46df7e46e22bcf16c885ca7d37fe1e)) +* Update lockfile properly +* Merge branch 'dependabot/pip/django-3.2.18' of https://github.com/ocadotechnology/codeforlife-portal into dependabot/pip/django-3.2.18 -## v6.5.1 (2022-05-03) +Co-Authored-By: faucomte97 <f.aucomte@hotmail.co.uk> ([`e79fb79`](https://github.com/ocadotechnology/codeforlife-portal/commit/e79fb79da7d5547e7777faf89e6a60cbed7fb675)) ### Fix -* fix: remove lat, long, town, agg data, map (#1845) +* fix: Update Get Involved cards (#2012) -* fix: remove lat, long, town, agg data, map +* Issue #1971 Changed text for get involved card -* Merge branch 'master' into school_cleanup +* Issue #1971 updated as adviced <p> text has been changed -* add test ([`caf5e96`](https://github.com/ocadotechnology/codeforlife-portal/commit/caf5e96c3bc8c619f2cda16ab266332d87262ba1)) +* Merge branch 'master' into #1971 +* Read more button has been align with the rest of them -## v6.5.0 (2022-05-03) +* midified the card__text as requested -### Feature +* Merge branch 'master' into #1971 -* feat: anonymise school (#1844) +* Added "justify-content: space-between;" + to the right class as required -* feat: anonymise school +* Make card text aligned -* remove teacher join request, update test +* Merge branch 'master' into #1971 -* remove unused function +Co-Authored-By: faucomte97 <f.aucomte@hotmail.co.uk> ([`20ca0fc`](https://github.com/ocadotechnology/codeforlife-portal/commit/20ca0fce9a9438cb41deaf00d15dc9eee214089e)) -* remove postcode and town ([`0e5eaf5`](https://github.com/ocadotechnology/codeforlife-portal/commit/0e5eaf553999131095d9df4b1b29a8a848ccc687)) +## v6.29.3 (2023-02-16) +### Build -## v6.4.4 (2022-04-28) +* build: Update lockfile (#2029) ([`b768aa0`](https://github.com/ocadotechnology/codeforlife-portal/commit/b768aa0c0e4e44d1cfdb83c67fc6177554e7bbe3)) ### Fix -* fix: Email error (#1842) +* fix(deps): bump django from 3.2.17 to 3.2.18 (#2030) -* merge - -* align contact us and colour change - -* add links to images - -* add stuff ([`9fe37d7`](https://github.com/ocadotechnology/codeforlife-portal/commit/9fe37d7bd5cd81903f57127d0abe7568c885b3b7)) +* fix(deps): bump django from 3.2.17 to 3.2.18 +Bumps [django](https://github.com/django/django) from 3.2.17 to 3.2.18. +- [Release notes](https://github.com/django/django/releases) +- [Commits](https://github.com/django/django/compare/3.2.17...3.2.18) -## v6.4.3 (2022-04-28) +--- +updated-dependencies: +- dependency-name: django + dependency-type: direct:production +... -### Build - -* build(deps): bump django from 3.2.12 to 3.2.13 (#1836) - -* build(deps): bump django from 3.2.12 to 3.2.13 - -Bumps [django](https://github.com/django/django) from 3.2.12 to 3.2.13. -- [Release notes](https://github.com/django/django/releases) -- [Commits](https://github.com/django/django/compare/3.2.12...3.2.13) - ---- -updated-dependencies: -- dependency-name: django - dependency-type: direct:production -... - -Signed-off-by: dependabot[bot] <support@github.com> - -* Lock properly - -Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> -Co-authored-by: faucomte97 <florian.aucomt1@ocado.com> ([`c58552c`](https://github.com/ocadotechnology/codeforlife-portal/commit/c58552c86cf4dc93a0a9dfb36fd90ff7a3b98b34)) - -### Fix - -* fix: bump ejs from 3.1.6 to 3.1.7 in /portal_frontend (#1841) - -Bumps [ejs](https://github.com/mde/ejs) from 3.1.6 to 3.1.7. -- [Release notes](https://github.com/mde/ejs/releases) -- [Changelog](https://github.com/mde/ejs/blob/main/CHANGELOG.md) -- [Commits](https://github.com/mde/ejs/compare/v3.1.6...v3.1.7) - ---- -updated-dependencies: -- dependency-name: ejs - dependency-type: indirect -... - -Signed-off-by: dependabot[bot] <support@github.com> - -Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> -Co-authored-by: Florian Aucomte <33633200+faucomte97@users.noreply.github.com> ([`ca8a9a2`](https://github.com/ocadotechnology/codeforlife-portal/commit/ca8a9a21ba9dd6c2a46fe74880a0c2cbe6cc2d42)) - -### Unknown +Signed-off-by: dependabot[bot] <support@github.com> -* add link to contact us (#1838) ([`0c99c33`](https://github.com/ocadotechnology/codeforlife-portal/commit/0c99c33440078901f4f2da3dbbe8238df68aa463)) +* fix: Update Django, libsass and pypdf +Co-Authored-By: faucomte97 <f.aucomte@hotmail.co.uk> ([`72b1285`](https://github.com/ocadotechnology/codeforlife-portal/commit/72b1285facf80573ff3e518f09b33d4856462a27)) -## v6.4.2 (2022-04-26) +## v6.29.2 (2023-02-10) ### Build -* build: Add semantic PR check as action (#1839) - -* feat: Add semantic PR check as action - -* fix trigger - -* fix trigger again so it runs on change - -* Fix ubuntu version ([`5aa1b92`](https://github.com/ocadotechnology/codeforlife-portal/commit/5aa1b92059781327159de7146dabe967a73514dd)) - -* build(deps): bump async from 3.2.0 to 3.2.3 (#1824) +* build(deps): bump django from 3.2.16 to 3.2.17 (#2024) -* build(deps): bump async from 3.2.0 to 3.2.3 +* build(deps): bump django from 3.2.16 to 3.2.17 -Bumps [async](https://github.com/caolan/async) from 3.2.0 to 3.2.3. -- [Release notes](https://github.com/caolan/async/releases) -- [Changelog](https://github.com/caolan/async/blob/master/CHANGELOG.md) -- [Commits](https://github.com/caolan/async/compare/v3.2.0...v3.2.3) +Bumps [django](https://github.com/django/django) from 3.2.16 to 3.2.17. +- [Release notes](https://github.com/django/django/releases) +- [Commits](https://github.com/django/django/compare/3.2.16...3.2.17) --- updated-dependencies: -- dependency-name: async - dependency-type: indirect +- dependency-name: django + dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> -* Merge branch 'master' into dependabot/npm_and_yarn/async-3.2.3 ([`1cf9fcc`](https://github.com/ocadotechnology/codeforlife-portal/commit/1cf9fccf3de33ea7781856f48142f4e447eb77a5)) - -### Fix - -* fix: bump pypdf2 to 1.27.9 and django to 3.2.13 (#1834) - -* build(deps-dev): bump pypdf2 from 1.26.0 to 1.27.5 - -Bumps [pypdf2](https://github.com/py-pdf/PyPDF2) from 1.26.0 to 1.27.5. -- [Release notes](https://github.com/py-pdf/PyPDF2/releases) -- [Changelog](https://github.com/py-pdf/PyPDF2/blob/main/CHANGELOG) -- [Commits](https://github.com/py-pdf/PyPDF2/compare/1.26.0...1.27.5) - ---- -updated-dependencies: -- dependency-name: pypdf2 - dependency-type: direct:development -... - -Signed-off-by: dependabot[bot] <support@github.com> - -* fix: Lock properly - -* Update pipfile - -* Also update Django in setup.py files - -Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> -Co-authored-by: faucomte97 <florian.aucomt1@ocado.com> ([`36e59d7`](https://github.com/ocadotechnology/codeforlife-portal/commit/36e59d7e2aa3a5f338d1fabec9632f24d0cbdc4b)) +* Update lockfile properly +--------- -## v6.4.1 (2022-04-14) +Signed-off-by: dependabot[bot] <support@github.com> +Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> +Co-authored-by: faucomte97 <f.aucomte@hotmail.co.uk> ([`df867ad`](https://github.com/ocadotechnology/codeforlife-portal/commit/df867adde6a2d03f943a820daa1832d2f6cb7f5b)) ### Fix -* fix: added styling to emails (#1801) - -* feat: added header and footer to emails - -* moved styles to html file - -* testing styles - -* testing styles - -* texting styles - -* updating styles - -* added more styles - -* added more styles - -* adding Laura html - -* adding Laura html - -* adding Laura html - -* auto - -* autoescape fix - -* relative path - -* django syntax - -* django email path changed - -* changed the method used - -* added back the path - -* texting the email.py inside registration.py - -* texting the email.py inside registration.py - -* copy email over - -* reading the docs - -* reading the docs - -* reading the docs - -* reading the docs - -* render the html - -* render the html - -* render the html - -* render the html - -* render the html - -* render the html - -* render the html - -* render the html - -* render the html - -* render the html - -* render the html - -* render the html - -* render the html - -* render the html - -* render the html - -* render the html - -* render the html - -* render the html - -* render the html - -* render the html - -* render the html - -* render the html - -* render the html - -* render the html - -* render the html - -* render the html - -* render the html - -* render the html - -* render the html - -* render the html - -* render the html - -* render the html - -* render the html - -* render the html - -* render the html - -* render the html - -* render the html - -* render the html - -* render the html - -* render the html - -* render the html - -* render the html - -* render the html - -* render the html - -* render the html - -* addressing comments - -* render the html - -* render the html - -* render the html - -* fixing tests - -* fixing tests - -* render the html - -* addressing comments - -* removed all the unused classes - -* removed all the unused classes - -* fixed tests failing - -* render the html - -* test - -* test - -* test - -* test - -* test - -* test - -* test - -* email img - -* email img - -* email img - -* email img - -* email img - -* email img - -* email img - -* email img - -* added images - -* changed svg to png - -* further html reduction - -* centered title email - -* centered title email - -* final changes? - -* final changes? - -* reduce html so the tests don't break - -* removed strange css - -* remove disclaimer class - -* add image_prefix the main send_email function - -* fix the image_prefix - -* fix image link - -* add image_prefix to a tag - -* add new CSS classes - -* remove further styles - -* all font styles removed - -* add inline style for not working text - -* add inline style for not working text - -* add inline style for not working text - -* fix to outlook and gmail alignment - -* fix to outlook and gmail alignment - -* rename v to my_van - -* fix facebook and twitter alginment - -* added title to delete account functiuon ([`0726319`](https://github.com/ocadotechnology/codeforlife-portal/commit/0726319142a376a18bfc4b25d67801d8136b182e)) - +* fix: Update lockfile properly (#2028) ([`f3d9272`](https://github.com/ocadotechnology/codeforlife-portal/commit/f3d9272472900126b0c89cb7a19eef2878455c2d)) -## v6.4.0 (2022-04-14) +## v6.29.1 (2023-02-06) -### Feature +### Fix -* feat: anonymise classes (#1821) +* fix: Version bump with new semantic-release ([`8f5c00b`](https://github.com/ocadotechnology/codeforlife-portal/commit/8f5c00b459a51cfa055b1660423bc40bbb982eae)) -* feat: anonymise classes rather than deleting +* fix: Version bump ([`183100c`](https://github.com/ocadotechnology/codeforlife-portal/commit/183100c734082b791852e9a9e1b7022ea069e45c)) -* test class +* fix(deps): bump django from 3.2.16 to 3.2.17 (#2022) -* Merge branch 'master' into anonymise-classes +* build(deps): bump django from 3.2.16 to 3.2.17 -* anonymise classes on teacher delete -and remove class requests +Bumps [django](https://github.com/django/django) from 3.2.16 to 3.2.17. +- [Release notes](https://github.com/django/django/releases) +- [Commits](https://github.com/django/django/compare/3.2.16...3.2.17) -* code review +--- +updated-dependencies: +- dependency-name: django + dependency-type: direct:production +... -* set black to 120 line length ([`50cda04`](https://github.com/ocadotechnology/codeforlife-portal/commit/50cda0432c471510b66cbc1ab5253fbfa48e0bfd)) +Signed-off-by: dependabot[bot] <support@github.com> +* Update Django in setup.py too -## v6.3.1 (2022-04-08) +Co-Authored-By: faucomte97 <f.aucomte@hotmail.co.uk> ([`c4071be`](https://github.com/ocadotechnology/codeforlife-portal/commit/c4071bebb7147f1d0150535c3c46a0bfda511706)) -### Fix +## v6.29.0 (2023-02-03) -* fix: delete class and students on account deletion (#1822) +### Feature -* fix: delete class and students on account deletion ([`3120051`](https://github.com/ocadotechnology/codeforlife-portal/commit/312005167b8df2385c440a62c1a7eaa5d889320c)) +* feat: student rate limit in progress (#2019) +* trying to fix the ratelimit -## v6.3.0 (2022-04-08) +* IT WORKS -### Feature +* removing prints -* feat: pass admin role on acc deletion (#1820) +* removing prints -* feat: pass admin role on acc deletion +* removing prints -* Merge branch 'master' into deletion_admin +* commnets #2 -* increase test +* comments #2 -- continued -* add more test +* feat: fixing tests -* add test +* comments #3 ([`845028b`](https://github.com/ocadotechnology/codeforlife-portal/commit/845028b717ef7cad20bef7b512673473c951d63e)) -* modify test a bit +## v6.28.5 (2023-01-27) -* fix test ([`1ecfddb`](https://github.com/ocadotechnology/codeforlife-portal/commit/1ecfddbe8e7075aebceddb9eb866381d2b13bf73)) +### Fix +* fix: Rename daily lockout fields (#2017) ([`eada5ee`](https://github.com/ocadotechnology/codeforlife-portal/commit/eada5eead62f5055c3b8b2c06ffc55738d3ce477)) -## v6.2.3 (2022-04-07) +## v6.28.4 (2023-01-26) ### Fix -* fix: added alt texts to all images from the spreadsheet (#1810) +* fix: add ratelimit to student login (#2013) -* first few images +* fix: adding tests -* hidden images left +* fixed tests, made the page lockout student -* hidden images left +* cleaned up access_code with regex -* Meet the characters left +* cleaned up access_code with regex -* added new column +* cleaned up access_code with regex -* added aimmo characters to the DB with updated alt fields +* cleaned up access_code with regex -* removed the string command from 0018_update_aimmo_character_image_path.py +* update test -* addressed comments +* update test -* addressed comments +* comments and cleaned up decorators -* code review +* renamed user_lockout -* Merge master into alt_images +* RFGJSFDNSYRHJNG -* more code review +* commends and cleaned up the student rate limit with tracking for reset passwords -* Merge master into alt_images +* comments #3 ([`e9f355c`](https://github.com/ocadotechnology/codeforlife-portal/commit/e9f355ce2770c4c4cc1e3e4fc78d344910dac4b2)) -* update snapshots and aimmo char image paths ([`034f27a`](https://github.com/ocadotechnology/codeforlife-portal/commit/034f27a1174da8e9688b46bf7301531d60e39c8b)) +## v6.28.3 (2023-01-25) + +### Fix +* fix: Update PN section on personal data (#2016) ([`08f8496`](https://github.com/ocadotechnology/codeforlife-portal/commit/08f8496c4227dc8d265223c26a5c9165e90c0fad)) -## v6.2.2 (2022-04-06) +## v6.28.2 (2023-01-24) ### Fix -* fix: deletion email minor updates (#1819) +* fix: Update old divs (#2015) -* fix: deletion email minor updates ([`4a8680d`](https://github.com/ocadotechnology/codeforlife-portal/commit/4a8680d8839bdf481ca2583e2806bb53f3a2cad0)) +* fix: Update old divs +* Upgrade RR ([`68b862b`](https://github.com/ocadotechnology/codeforlife-portal/commit/68b862bb121ff1927e7ee934f5f2819b0b6e3e8e)) -## v6.2.1 (2022-04-05) +## v6.28.1 (2023-01-24) ### Build -* build(deps): bump minimist from 1.2.5 to 1.2.6 (#1817) +* build(deps): Remove future from dependencies (#2010) -* build(deps): bump minimist from 1.2.5 to 1.2.6 +* build(deps): bump future from 0.18.2 to 0.18.3 -Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. -- [Release notes](https://github.com/substack/minimist/releases) -- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6) +Bumps [future](https://github.com/PythonCharmers/python-future) from 0.18.2 to 0.18.3. +- [Release notes](https://github.com/PythonCharmers/python-future/releases) +- [Changelog](https://github.com/PythonCharmers/python-future/blob/master/docs/changelog.rst) +- [Commits](https://github.com/PythonCharmers/python-future/compare/v0.18.2...v0.18.3) --- updated-dependencies: -- dependency-name: minimist - dependency-type: indirect +- dependency-name: future + dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> -* Merge branch 'master' into dependabot/npm_and_yarn/minimist-1.2.6 +* Remove future altogether -* Merge branch 'master' into dependabot/npm_and_yarn/minimist-1.2.6 ([`6724b79`](https://github.com/ocadotechnology/codeforlife-portal/commit/6724b793cd44c45fd594d51b65e34a5c3b64e41b)) +* Merge branch 'master' into dependabot/pip/future-0.18.3 + +Co-Authored-By: faucomte97 <florian.aucomt1@ocado.com> ([`1626ff9`](https://github.com/ocadotechnology/codeforlife-portal/commit/1626ff91dfb473fd8c4dafab1b1279a03ed940c5)) ### Fix -* fix: fix sending email on account deletion (#1818) +* fix: Update privacy notice and fix styling issues (#2011) -* fix: fix sending email on account deletion ([`467b10a`](https://github.com/ocadotechnology/codeforlife-portal/commit/467b10aa665e883210fd856088323bb80cb74ad7)) +* fix: Update privacy notice and fix styling issues +* Merge branch 'master' into pp_child_update_pt2 -## v6.2.0 (2022-04-05) +* Merge branch 'master' into pp_child_update_pt2 -### Feature +* Merge branch 'pp_child_update_pt2' of https://github.com/ocadotechnology/codeforlife-portal into pp_child_update_pt2 ([`493a4d3`](https://github.com/ocadotechnology/codeforlife-portal/commit/493a4d3b21f65bb245c86f933de0b64764790b3e)) -* feat: delete account function for teacher (#1812) +## v6.28.0 (2023-01-18) -* feat: delete account function for teacher +### Feature -* minor updates (code review) +* feat: added tracking reset passwords (#2008) -* fix tests +* feat: added tracking reset passwords -* add more test + text update +* fixed typo -* Merge branch 'master' into delete_account +* fixes -* update tests +* comments :) -* Merge branch 'master' into delete_account +* comments #2 -* add frontend tests +* seeing if a test fails still -* Merge branch 'master' into delete_account +* move tests to test_ratelimit.py -* put back accidental deletion +* comments #3 ([`aeefbc8`](https://github.com/ocadotechnology/codeforlife-portal/commit/aeefbc80574cacdbedf8174a633ec35774f4e190)) -* add more test + send email +## v6.27.10 (2023-01-18) -* increase fade time +### Fix -* fixes and tidy up +* fix: reverting setuptools back to 62.1.0 (#2009) -* increase fade time +* fix: reverting setuptools back to 62.1.0 -* assert not not working +* pipfile.lock relocked ([`1425a2d`](https://github.com/ocadotechnology/codeforlife-portal/commit/1425a2d6a1ea50d5f8507df6264639faa9354add)) -* pytest -x to stop after the first failure +## v6.27.9 (2023-01-10) -* Merge branch 'master' into delete_account +### Build -* try more fade time +* build(deps): bump json5 from 1.0.1 to 1.0.2 in /portal_frontend (#1995) ([`24da0e7`](https://github.com/ocadotechnology/codeforlife-portal/commit/24da0e7c84c074cdeab63d727625721690149f3b)) -* update Pipfile +* build(deps): bump setuptools from 62.1.0 to 65.5.1 (#1991) -* take out fiddly one +* build(deps): bump setuptools from 62.1.0 to 65.5.1 -* more tidy up +Bumps [setuptools](https://github.com/pypa/setuptools) from 62.1.0 to 65.5.1. +- [Release notes](https://github.com/pypa/setuptools/releases) +- [Changelog](https://github.com/pypa/setuptools/blob/main/CHANGES.rst) +- [Commits](https://github.com/pypa/setuptools/compare/v62.1.0...v65.5.1) -* Merge branch 'master' into delete_account +--- +updated-dependencies: +- dependency-name: setuptools + dependency-type: direct:production +... -* minor fixes + more fade time +Signed-off-by: dependabot[bot] <support@github.com> -* data fix ([`0301952`](https://github.com/ocadotechnology/codeforlife-portal/commit/0301952cbf324a6267347f0b6c6d9a96b3ef62ff)) +* Merge branch 'master' into dependabot/pip/setuptools-65.5.1 +* Also update lockfile -## v6.1.1 (2022-04-05) +Co-Authored-By: Florian Aucomte <33633200+faucomte97@users.noreply.github.com> ([`cbf07f4`](https://github.com/ocadotechnology/codeforlife-portal/commit/cbf07f4245e543cb2a1c41b7f77eedcfc210f5fd)) ### Fix -* fix: hide anonymised teachers from dashboard (#1816) +* fix: Updates to privacy policy (#1997) ([`f818a75`](https://github.com/ocadotechnology/codeforlife-portal/commit/f818a7563a4ce4c896dd8bfc778f6c881f31814e)) -* fix: hide anonymised teachers from dashboard +## v6.27.8 (2022-12-30) -* Merge master into fix-deleted-teachers ([`82b2dc3`](https://github.com/ocadotechnology/codeforlife-portal/commit/82b2dc33114c350abeeb2f1dea927152478872f2)) +### Build +* build: Update github script (#1988) ([`ec3ea10`](https://github.com/ocadotechnology/codeforlife-portal/commit/ec3ea10cd3d528ad65fb55ea5ce331ee5c22520f)) -## v6.1.0 (2022-04-04) +* build: Update Github actions (#1987) ([`b06ec27`](https://github.com/ocadotechnology/codeforlife-portal/commit/b06ec27ba1b658926210ccafa247e7365dbb2519)) -### Feature +### Fix -* feat: React subnav (#1811) +* fix: made the the page open in the same window (#1993) ([`ad4c035`](https://github.com/ocadotechnology/codeforlife-portal/commit/ad4c0357d369e94d4b6b15914f05d05d98a2a2a1)) -* wip: subnav +## v6.27.7 (2022-12-14) -* Merge branch 'master' into react-subnav +### Fix -* Merge branch 'master' into react-subnav +* fix: fixed the typo (#1986) ([`0a3b566`](https://github.com/ocadotechnology/codeforlife-portal/commit/0a3b5669565b0204f84de12dd4365184095156f0)) -* wip: try ToggleButtonGroup +## v6.27.6 (2022-12-14) -* fix subnav button hover +### Fix -* subnav code cleanup +* fix: added a coding clubs link to learning/teaching resources (#1985) -* code review +* fix: added a coding clubs link to learning/teaching resources -* colour -> colors +* fix: modfied text and link ([`637ef60`](https://github.com/ocadotechnology/codeforlife-portal/commit/637ef6003a20fd56612577cc1cfeb2ed0e288a20)) -* Merge branch 'master' into react-subnav - -* Merge branch 'master' into react-subnav ([`79f214c`](https://github.com/ocadotechnology/codeforlife-portal/commit/79f214c26f8f538ec929a8afd5d5a8bc50ca895a)) - - -## v6.0.2 (2022-03-30) +## v6.27.5 (2022-12-13) -### Build +### Fix -* build(deps): bump minimist from 1.2.5 to 1.2.6 in /portal_frontend (#1814) +* fix: broken newsletter for indy students (#1984) -* build(deps): bump minimist from 1.2.5 to 1.2.6 in /portal_frontend +* fix: fix indy student newsletter bug -Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. -- [Release notes](https://github.com/substack/minimist/releases) -- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6) +* fixed breaking bug ---- -updated-dependencies: -- dependency-name: minimist - dependency-type: indirect -... +* fix: change the usertype added -Signed-off-by: dependabot[bot] <support@github.com> ([`91d8316`](https://github.com/ocadotechnology/codeforlife-portal/commit/91d83166113c8641c22826e309489ff3e7466930)) +* respond to comments ([`4aa55fb`](https://github.com/ocadotechnology/codeforlife-portal/commit/4aa55fbff0116a257f0303f2d3833b681bc8a761)) -* build(deps): bump node-forge from 1.2.1 to 1.3.0 in /portal_frontend (#1813) +## v6.27.4 (2022-12-09) -* build(deps): bump node-forge from 1.2.1 to 1.3.0 in /portal_frontend +### Build -Bumps [node-forge](https://github.com/digitalbazaar/forge) from 1.2.1 to 1.3.0. -- [Release notes](https://github.com/digitalbazaar/forge/releases) -- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md) -- [Commits](https://github.com/digitalbazaar/forge/compare/v1.2.1...v1.3.0) +* build: Upgrade certifi (#1982) ([`c5d92b2`](https://github.com/ocadotechnology/codeforlife-portal/commit/c5d92b2c924eb3f3950d267137bb658e0ccde916)) ---- -updated-dependencies: -- dependency-name: node-forge - dependency-type: indirect -... +* build: adding snyk to github actions (#1979) -Signed-off-by: dependabot[bot] <support@github.com> ([`fae5908`](https://github.com/ocadotechnology/codeforlife-portal/commit/fae5908396c7bcf2ada015588bee96760221d34a)) +* feat: adding snyk to github actions -### Fix +* feat: add python support -* fix: remove missing script (#1815) +* fix: typo in second action -* fix: remove missing script +* fix: adding setup scripts -* Merge branch 'master' into remove-missing-script ([`fdea770`](https://github.com/ocadotechnology/codeforlife-portal/commit/fdea770278cc4be0f5d962b924f8cddcae0153b1)) +* fix: fixing python on snyk +* fix: add dash to python-3.7 -## v6.0.1 (2022-03-15) +* remove beaking lines -### Fix +* re-add checkout -* fix: cleanup ci and update pipfile (#1800) +* fix: added requirements.txt gen for snyk -* fix: cleanup ci and update pipfile ([`bff3df8`](https://github.com/ocadotechnology/codeforlife-portal/commit/bff3df8e7db4ac6f89eba0637228b5fc94d33cc7)) +* fix: added npm support +* fix: install error -## v6.0.0 (2022-03-15) +* adding node dependencies -### Breaking +* adding node dependencies fix -* feat!: Upgrade from Django 2.2 to 3.2 (#1791) +* feat: added project names -* wip: upgrade dependencies versions +* fix: typo -* projects from branches in setup.py +* added a line -* fix view kwargs +* removed package.json-lock and copy & paste yarn.lock -* fix test_security_headers +* fix: fixed failing cypress test -* upgrade libsass +* updated cypress -* lock pipfile +* update cypress github actions ([`fecd27a`](https://github.com/ocadotechnology/codeforlife-portal/commit/fecd27a8f3635363b61df30227d348719253120e)) -* install RR and aimmo in ci +* build(deps): bump decode-uri-component in /portal_frontend (#1978) ([`6860df8`](https://github.com/ocadotechnology/codeforlife-portal/commit/6860df85865fb4a4553275f652e153a0a6d4cafe)) -* fix cypress tests +### Fix -* ci comments +* fix: added a edit class anaytic (#1981) -* disable cfl-common requirement +* fix: added a edit class anaytic -* fix ci +* update text -* patch selenium_test_case +* fix test -* code review +* fixed tests -* Merge branch 'master' into upgrade-django +* patch test -* Merge master into upgrade-django +* response to comments -* Merge master into upgrade-django ([`8006307`](https://github.com/ocadotechnology/codeforlife-portal/commit/80063073a0a8359dc468b4694444c54f8b94b5f8)) +* typo +* altered models.py __str__ ([`5f19f6a`](https://github.com/ocadotechnology/codeforlife-portal/commit/5f19f6a1356a8eff333ef6919b72585ec53b6f1d)) -## v5.43.0 (2022-03-15) +## v6.27.3 (2022-12-02) -### Feature +### Fix -* feat: currently fixing the mobile navbar (#1778) +* fix: Dummy formatting commit to bump version ([`cbdb329`](https://github.com/ocadotechnology/codeforlife-portal/commit/cbdb3299f25fb0df5979f6226aeee0e69a02ca2e)) -* feat: added react example for independent student - -* fix: added react folder - -* fix added frontend to .gitignore - -* fix: removed frontend - -* fix: added image importing example - -* fix: added fonts - -* fix: cleaned up fonts - -* fix: formatting complete - -* fix: formatting complete - -* fix: yarn installed - -* fix: images handled and configured styles - -* fix: images handled and configured styles - -* fix: renamed a file - -* fix: cleaned up image errors and added them locally - -* fix: corrected the font weight - -* fix: corrected the fonts - -* fix: corrected the fonts - -* feat: created a templated navbar in react - -* feat: created a templated navbar in react - -* fix: added extra types - -* feat: added dropdowns to navbar - -* fix: moved prettier to portal_frontend - -* fix: moved prettier to portal_frontend - -* fix: renamed the variables back - -* feat: added mobile navbar - -* fix: removed extra files - -* feat: currently in process of fixing the mobile navbar - -* feat: added mobile navbar - -* feat: added mobile navbar - -* feat: added mobile navbar - -* feat: cleaned up the file structure - -* applied prettier - -* applied prettier - -* removed conflicts - -* trying to remove React.FC - -* fixed visual bugs - -* merge - -* adding comments - -* wrapping it up :) - -* wrapping it up :) - -* wrapping it up :) - -* wrapping it up :) - -* wrapping it up :) - -* wrapping it up :) - -* adjusting the fonts and padding - -* commit before changing the structure - -* restructured react navbar - -* restructured react navbar - -* restructured react navbar - -* restructured react navbar - -* restructured react navbar - -* restructured react navbar - -* removed unused files - -* restructured react navbar - -* removed px from 0px - -Co-authored-by: Dioni Zhong <dioni.zhong@ocado.com> ([`2a56fff`](https://github.com/ocadotechnology/codeforlife-portal/commit/2a56fff1e2346aee1f340140fda5b2cef08108d7)) +### Unknown +* Revert "fix: Update contact email in Privacy Policy (#1943)" (#1974) ([`153652a`](https://github.com/ocadotechnology/codeforlife-portal/commit/153652a5b9218910fac74cec8b9a239c2dd81181)) -## v5.42.0 (2022-03-14) +## v6.27.2 (2022-11-23) -### Feature +### Fix -* feat: add videos for play and educate pages (#1798) +* fix: Improve admin panel usability (#1973) ([`0076abb`](https://github.com/ocadotechnology/codeforlife-portal/commit/0076abb66c2f35097d93048e4e8536e09da027b6)) -* feat: add videos for play and educate pages +## v6.27.1 (2022-11-16) -* Merge branch 'master' into videos ([`b656360`](https://github.com/ocadotechnology/codeforlife-portal/commit/b6563600f7cdc332f9a4c3f82205df6fbafda818)) +### Build -### Unknown +* build(deps): bump loader-utils from 2.0.3 to 2.0.4 in /portal_frontend (#1968) ([`49f3cdb`](https://github.com/ocadotechnology/codeforlife-portal/commit/49f3cdb1cc520c088513322de6ac74926ec8e75e)) -* Usernamefixes (#1799) +### Fix -* fix: username related text updates +* fix: Fix level control checkbox logic (#1969) ([`ca53bb8`](https://github.com/ocadotechnology/codeforlife-portal/commit/ca53bb8de70355b672153d8e855c08973ad5364f)) -* The email... +## v6.27.0 (2022-11-15) -* whitespace ([`4da5194`](https://github.com/ocadotechnology/codeforlife-portal/commit/4da51947ac810e1e2001f33fd884bdc5f4485bab)) +### Feature +* feat: remove fake accounts (#1966) -## v5.41.1 (2022-03-11) +* new begining -### Fix +* fix: making things -* fix: Login forms inconsistencies (#1797) +* feat: added removing fake accounts -* fix: Login form inconsistencies - -* Extra space - -* Remove padding except for table headers ([`da46d29`](https://github.com/ocadotechnology/codeforlife-portal/commit/da46d29bd3b03d9adbb3884acd30c07534f57755)) +* renames and remove prints +* fix: change from post to get method ([`e279909`](https://github.com/ocadotechnology/codeforlife-portal/commit/e2799096687dab3ef88bc3d1f70ccbf99a20c5d9)) -## v5.41.0 (2022-03-11) +## v6.26.0 (2022-11-15) ### Feature -* feat: Remove username (#1796) - -* feat: added videos - -* fix: added 0016 migration to overwrite indie student emails to usernames (#1755) +* feat: Level access control form (#1965) -* fix: cleanup duplicate teacher + indy - -* more test - -* add test - -* remove else for test - -* fix coverage! - -* fix: added 0016 migration to overwrite indie student emails to usernames - -* fix: cleaned up the migration - -* fix: fixed cypress tests failing due to the copy of email -> username - -* fix tests - -* 5.33.1 - -Automatically generated by python-semantic-release - -* fix: Revert "fix: update test cookies consent script (#1752)" (#1756) - -* Revert "fix: update test cookies consent script (#1752)" - -This reverts commit cfaa2ec828d20398754b34e152273a3388776b59. - -* dummy commit - -* 5.33.2 - -Automatically generated by python-semantic-release - -* fix: added user activity check - -* fix: cleaned up the is_active statement - -* fix: cleaned up the is_active statement - -* fix: cleaned up the is_active statement - -* fix: cleaned up the is_active statement - -Co-authored-by: Dioni Zhong <dioni.zhong@ocado.com> -Co-authored-by: Dioni Zhong <4784791+dionizh@users.noreply.github.com> -Co-authored-by: github-actions <action@github.com> -Co-authored-by: Razvan Mahu <67904187+razvan-pro@users.noreply.github.com> +* feat: Level control feature -* feat: Remove indep username (#1763) +* Relock -* Revert "feat: added videos" +* Add django-import-export to setup.py -This reverts commit 48438fc0852bff086f248831cf2a8e10e3f2b20d. +* Add test -* feat: Remove username from independent student forms +* Relock -* fix change email pages +* Improve variable names ([`1e98cf4`](https://github.com/ocadotechnology/codeforlife-portal/commit/1e98cf4b11adbee8c1346361bc6593ca8b92a874)) -* Make login forms consistent and aligned to designs +## v6.25.0 (2022-11-14) -* Apostrophe +### Build -* fix tests +* build(deps): bump loader-utils from 2.0.2 to 2.0.3 in /portal_frontend (#1964) ([`9d94a86`](https://github.com/ocadotechnology/codeforlife-portal/commit/9d94a86b9559ec6da0d6444808c260da0f503a9b)) -* Remove username logic and improve dismiss form +* build: Update lockfile for Django 3.2.16 (#1963) ([`e9104ae`](https://github.com/ocadotechnology/codeforlife-portal/commit/e9104ae52c0ca61a4ea1ef3cf8e893ccf37a371f)) -* Merge branch 'master' into remove_username +### Feature -# Conflicts: -# CHANGELOG.md -# portal/__init__.py -# portal/templates/portal/login/student.html -# portal/templates/portal/login/teacher.html -# portal/templates/portal/teach/teacher_dismiss_students.html -# portal/tests/test_api.py -# portal/urls.py -# portal/views/api.py +* feat: export user data (#1957) -* Merge branch 'master' into remove_username +* feat:initial working function of extracting data -# Conflicts: -# portal/views/api.py +* change the name of the function -* Reorder migrations +* added django-import-export as a package -* Code review changes +* feat dummy request -* Remove unnecessary text ([`611fe0c`](https://github.com/ocadotechnology/codeforlife-portal/commit/611fe0c1cf8fd48e66906c9ceb77441a2417bcc1)) +* pushed to full dependency +* this works now? ([`8961d74`](https://github.com/ocadotechnology/codeforlife-portal/commit/8961d748faa23cc50224d6264fb56c5297c8ee7b)) -## v5.40.5 (2022-03-10) +## v6.24.3 (2022-11-07) ### Fix -* fix: indy cleanup - priorities last login (#1795) - -* fix: indy cleanup - priorities last login +* fix(deps): bump django from 3.2.15 to 3.2.16 (#1962) -* batch 500 ([`469f87b`](https://github.com/ocadotechnology/codeforlife-portal/commit/469f87b1e8efd35135368729997c3f8ae89564aa)) +* fix(deps): bump django from 3.2.15 to 3.2.16 +Bumps [django](https://github.com/django/django) from 3.2.15 to 3.2.16. +- [Release notes](https://github.com/django/django/releases) +- [Commits](https://github.com/django/django/compare/3.2.15...3.2.16) -## v5.40.4 (2022-03-10) +--- +updated-dependencies: +- dependency-name: django + dependency-type: direct:production +... -### Fix +Signed-off-by: dependabot[bot] <support@github.com> -* fix: continue publishing after pypi error (#1794) ([`0ae38ff`](https://github.com/ocadotechnology/codeforlife-portal/commit/0ae38ff5987688cd7d5302f51e8d8d228871b693)) +* Update Django in common too +Signed-off-by: dependabot[bot] <support@github.com> +Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> +Co-authored-by: faucomte97 <florian.aucomt1@ocado.com> ([`322310f`](https://github.com/ocadotechnology/codeforlife-portal/commit/322310fcd4e29092f7370ab77124d337b1ebe8c9)) -## v5.40.3 (2022-03-10) +## v6.24.2 (2022-11-07) ### Fix -* fix: re-versioning 2 ([`9178eff`](https://github.com/ocadotechnology/codeforlife-portal/commit/9178effe8db877156fdd68d0e0956e1c6260dfab)) - - -## v5.40.2 (2022-03-10) - -### Fix +* fix: fix most common flaky tests #1 (#1958) -* fix: re-versioning ([`50ee56c`](https://github.com/ocadotechnology/codeforlife-portal/commit/50ee56c5db7af83dee8a3717a255ef93f1380c73)) +* fix: fix most common flaky tests #1 +* comments #1 ([`c6de9d6`](https://github.com/ocadotechnology/codeforlife-portal/commit/c6de9d67728767b5df7f03ba5aef6d62e5b96ed6)) -## v5.40.1 (2022-03-10) +## v6.24.1 (2022-10-28) ### Fix -* fix: the last indy/teacher clean up (#1793) +* fix: added autocompelte='off' (#1956) -* fix: the last indy/teacher clean up ([`7f56383`](https://github.com/ocadotechnology/codeforlife-portal/commit/7f563839fe438b196d447ba06463cc82f733ce7e)) +* fix: added autocompelte='off' +* added autocompelte off to backend for student ([`9676cc4`](https://github.com/ocadotechnology/codeforlife-portal/commit/9676cc4a8cb3ab8aeb1bbcd3b50896b506d9c2d4)) -## v5.40.0 (2022-03-04) +## v6.24.0 (2022-10-27) ### Feature -* feat: Add users to specific address books based on user type (#1790) - -* feat: Add users to specific address books based on user type - -* Code review amends +* feat: reset password must be different to the current password (#1955) -* Add assert ([`06b9ed3`](https://github.com/ocadotechnology/codeforlife-portal/commit/06b9ed311a5124b00816fec05a04a66b430ee5e4)) +* fixin +* feat: hhello ([`3cd8129`](https://github.com/ocadotechnology/codeforlife-portal/commit/3cd812950e8b1d427d9887350e56304f9a8cef69)) -## v5.39.1 (2022-03-02) +## v6.23.1 (2022-10-24) ### Fix -* fix: Upgrade semantic-release version (#1789) +* fix: added a bug fix for class deletion and game still being up (#1953) -* fix: Upgrade semantic-release version ([`ae2911a`](https://github.com/ocadotechnology/codeforlife-portal/commit/ae2911ae2d7fbe6842fca41bccd388851d967764)) +* fix: added a bug fix for class deletion and game still being up +* fixing comments:) ([`a35652f`](https://github.com/ocadotechnology/codeforlife-portal/commit/a35652fd043db6a9f1466714ba03b3d7d59ba226)) -## v5.39.0 (2022-03-01) +## v6.23.0 (2022-10-18) ### Feature -* feat: student aimmo dashboard (#1786) - -* wip: student aimmo dashboard +* feat: admin aimmo power portal feature (#1952) -* scroll cards almost done, buttons in progress +* fix: sorting in django is complicated -* style and disable buttons +* add if -* button hover background +* clean up -* fix cards padding +* filtered by user -* code review +* remove user -* teacher aimmo dashboard delete button +* change model fetch to teacher.class_teacher -* Merge branch 'master' into student-aimmo-dashboard +* :/ -* test partials ([`9c1771c`](https://github.com/ocadotechnology/codeforlife-portal/commit/9c1771cafa4fd790e51bf69d0d315db64b5a75c1)) +* change sheets fails? +* add tests working -## v5.38.0 (2022-02-28) +* done :) ([`2e723f5`](https://github.com/ocadotechnology/codeforlife-portal/commit/2e723f53daf7e17ace1d318cba643e06057ebd9d)) -### Feature +## v6.22.1 (2022-10-13) -* feat: add React banner (#1780) +### Fix -* feat: add react welcome banner and tertiary color +* fix: Add maintenance banner (#1951) ([`0de6e06`](https://github.com/ocadotechnology/codeforlife-portal/commit/0de6e06708c21405e74ccabfbc4a9d0186fb7e43)) -* add RR banner +## v6.22.0 (2022-10-12) -* Merge branch 'master' into reactbanner +### Feature -* minify image and tidy up +* feat: Create dynamic elements from Django admin (#1950) -* remove unused import +* feat: Create dynamic elements from Django admin -* Merge branch 'master' into reactbanner ([`bdc5e32`](https://github.com/ocadotechnology/codeforlife-portal/commit/bdc5e32267da6e437f9a1efd052fdfb102a5951f)) +* Make the name non editable and the model non deletable +* Revert portal files for now -## v5.37.2 (2022-02-24) +* Fix test after admin permission change ([`e1f7548`](https://github.com/ocadotechnology/codeforlife-portal/commit/e1f75484f779b22fe810f1bb6481af4bae468407)) -### Fix +## v6.21.0 (2022-10-05) -* fix: Remove padding in dropdown options (#1781) +### Feature -* fix: Remove padding in dropdown options +* feat: Functionality for admin custom level sharing (#1945) -* Update message on teacher kick ([`cc0ee7f`](https://github.com/ocadotechnology/codeforlife-portal/commit/cc0ee7fd10461ff966b0b803c01c9c1ea4d49980)) +* fix: Functionality for admin level sharing +* Organise imports ([`54eb35c`](https://github.com/ocadotechnology/codeforlife-portal/commit/54eb35c22a06fcc8539e820ef83c8ea450cc7640)) -## v5.37.1 (2022-02-24) +## v6.20.3 (2022-09-30) ### Fix -* fix: Run Black formatter ([`b938fce`](https://github.com/ocadotechnology/codeforlife-portal/commit/b938fce07eefb7abfe4404ea4cc2f40b00de38ed)) +* fix: Update contact email in Privacy Policy (#1943) ([`6a4663c`](https://github.com/ocadotechnology/codeforlife-portal/commit/6a4663cc5eb2ed9a1b5eb8f5f3ece151a3339a0c)) +## v6.20.2 (2022-09-21) -## v5.37.0 (2022-02-23) +### Fix -### Feature - -* feat: Kick / leave teacher page update (#1779) - -* feat: Redesign teacher leave page +* fix: Make kurono maintenance banner show depending on flag (#1941) -* Merge branch 'master' into kick_teacher_update ([`c4f2918`](https://github.com/ocadotechnology/codeforlife-portal/commit/c4f29188a7ad42a699ee1c65fe74382d0d89e9aa)) +* fix: Make kurono maintenance banner show depending on flag +* Fix test ([`5b6be58`](https://github.com/ocadotechnology/codeforlife-portal/commit/5b6be58c351b92c6b72dc32fe749e12701d5ace0)) -## v5.36.1 (2022-02-23) +## v6.20.1 (2022-09-15) ### Fix -* fix: remove assertEqual/s (#1777) +* fix: timer fix (#1938) -* fix: remove assertEqual/s ([`d727634`](https://github.com/ocadotechnology/codeforlife-portal/commit/d727634d4433e32a53a5357d7c3a52880b219cbd)) +* :) +* fix: Add pytest-order -## v5.36.0 (2022-02-22) +* fix comments -### Feature +* it run away, but I got it -* feat: registration improvement (#1774) +* test1 -* feat: registration improvement +* \o/ -* Merge branch 'master' into razvan-pro/issue1721 +* /o" ([`b9216e9`](https://github.com/ocadotechnology/codeforlife-portal/commit/b9216e94aa32bafbe1de62ddc3782a7307c7e6c1)) -* use mail in test_ratelimit +## v6.20.0 (2022-09-09) -* Merge master into razvan-pro/issue1721 ([`eed5e2c`](https://github.com/ocadotechnology/codeforlife-portal/commit/eed5e2c5db2182ecd3a5dcce17c80da7ee3a21fe)) +### Feature +* feat: increase speed of tests (#1937) ([`b9499f9`](https://github.com/ocadotechnology/codeforlife-portal/commit/b9499f9a77ccc11451069d346f27d165339929b0)) -## v5.35.3 (2022-02-22) +## v6.19.1 (2022-09-09) ### Fix -* fix: duplicate postcode test (#1775) +* fix: python download texts and update buttons with zip downloads (#1936) -* fix: duplicate postcode test ([`ee57c9c`](https://github.com/ocadotechnology/codeforlife-portal/commit/ee57c9cf2e0ecdaf9d76777e47918ffe4d74663e)) +* fix python download texts and update buttons with zip downloads +* replace 8 to 7 ([`4343d42`](https://github.com/ocadotechnology/codeforlife-portal/commit/4343d42769bd6810ed0ed6e4c237cdbd03df6118)) -## v5.35.2 (2022-02-21) +## v6.19.0 (2022-09-08) -### Build +### Feature -* build(deps): bump follow-redirects in /portal_frontend (#1770) +* feat: coding club page (#1935) -Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8. -- [Release notes](https://github.com/follow-redirects/follow-redirects/releases) -- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8) - ---- -updated-dependencies: -- dependency-name: follow-redirects - dependency-type: indirect -... - -Signed-off-by: dependabot[bot] <support@github.com> - -Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> -Co-authored-by: Florian Aucomte <f.aucomte@hotmail.co.uk> ([`e6da47e`](https://github.com/ocadotechnology/codeforlife-portal/commit/e6da47ef360fadde2df19ff900dd7df5b0a52152)) +* coding club page -### Fix +* make the link url respond only on post request -* fix: Remove now unnecessary workspace clearing (#1771) ([`4138df7`](https://github.com/ocadotechnology/codeforlife-portal/commit/4138df760a3d818b4bc1ce3780a75116dffe9fdd)) +* small text fix and a tag open in new tab + +* image downsize and migrations renamed and remade +* help -## v5.35.1 (2022-02-17) +* Merge branch 'master' into coding_club + +* things break :( ([`b8e0499`](https://github.com/ocadotechnology/codeforlife-portal/commit/b8e0499ac64a4487a2caf85178135d2a4a5ce754)) + +## v6.18.4 (2022-09-08) ### Fix -* fix: Add anonymise action in Django admin (#1769) +* fix: Update text in registration forms (#1934) -* fix: Add anonymise action in Django admin +* fix: Update text in registration forms ([`b351013`](https://github.com/ocadotechnology/codeforlife-portal/commit/b351013707e66c457870a242730b0c6051a13611)) -* Merge branch 'master' into add_anonymise_action_admin ([`14e5396`](https://github.com/ocadotechnology/codeforlife-portal/commit/14e5396c2666856eadf38f6625ace6be82c84b90)) +## v6.18.3 (2022-09-02) +### Fix -## v5.35.0 (2022-02-17) +* fix: Clean autoconfig remains and move CSP config to common (#1932) -### Feature +* fix: Clean autoconfig remains and move CSP config to common -* feat: added react example for independent student (#1731) +* Update CSP config path -* feat: added react example for independent student - -* fix: added react folder - -* fix added frontend to .gitignore - -* fix: removed frontend ([`685b694`](https://github.com/ocadotechnology/codeforlife-portal/commit/685b6949bb707439d8c529be8d1dad7c34cb8f3f)) +* Clean CSP +* Add django_js_reverse to installed apps ([`b8f9d14`](https://github.com/ocadotechnology/codeforlife-portal/commit/b8f9d143d302b866d539cc3effd50ed6442ed60d)) -## v5.34.3 (2022-02-16) +## v6.18.2 (2022-08-31) ### Fix -* fix: no duplicate email on student release (#1766) +* fix: Bump up version ([`49257aa`](https://github.com/ocadotechnology/codeforlife-portal/commit/49257aaea82beac9d5e12f83d906fc3ef5f82892)) -* fix: no duplicate email on student release +### Unknown -* whitespaces ([`2b85f48`](https://github.com/ocadotechnology/codeforlife-portal/commit/2b85f4816a6172e815d6ecfd254b444a002d4a81)) +* Fix failing tests due to random order (#1931) +Co-authored-by: Mykhaylo Marfeychuk <mykhaylo.marfeychuk@ocado.com> ([`a08fdd2`](https://github.com/ocadotechnology/codeforlife-portal/commit/a08fdd270ed8fc8a7f808c13dcef319f193a3a2a)) -## v5.34.2 (2022-02-16) +## v6.18.1 (2022-08-26) ### Fix -* fix: trim ci flow (#1764) +* fix: kurono banner (#1929) -* fix: trim ci flow ([`37adc09`](https://github.com/ocadotechnology/codeforlife-portal/commit/37adc09b5998e4ed1817c975b4dba83548effee3)) +* attempt at banner working +* banner done -## v5.34.1 (2022-02-14) +* removed extras -### Fix +* removed extras -* fix: update cookies categories (#1753) +* temp fix test while kurono banner is up -* fix: update cookies categories +* fixed random test failuers -* Merge branch 'master' into update-cookies-categories +* fixed random test failuers -* update prod cookies script +* fixed test not being clickable -* Merge branch 'master' into update-cookies-categories ([`63a06e7`](https://github.com/ocadotechnology/codeforlife-portal/commit/63a06e72792bbb779065a36fab0795b2f815894f)) +* fixed test not being clickable +* added scrolling to element -## v5.34.0 (2022-02-11) +* additional fixes -### Build +* additional fixes -* build: Update lockfile for Django 2.2.27 (#1762) +* additional fixes ([`b0824a7`](https://github.com/ocadotechnology/codeforlife-portal/commit/b0824a72deb9a743e1f26fbe87a13641fd97d452)) -* build: Update lockfile for Django 2.2.27 ([`fdbd4be`](https://github.com/ocadotechnology/codeforlife-portal/commit/fdbd4be20910de98a0df4d40838700e0fd5146d6)) +## v6.18.0 (2022-08-26) ### Feature -* feat: student join release data tracking (#1760) +* feat: Remove django-autoconfig (#1924) -* feat: student join release data tracking +* fix: Try ls again + verbose install -* some renaming and tidy up +* Remove unnecessary test stage -* Merge branch 'master' into joinrelease ([`5b74f64`](https://github.com/ocadotechnology/codeforlife-portal/commit/5b74f64a1a0a3fb1b1c5325abac529b3a4555c66)) +* Force latest django-autoconfig commit +* Pass -y -## v5.33.5 (2022-02-10) +* Step 1 of removing autoconfig -### Fix +* csp_settings fix -* fix: Update pyyaml to 5.4.1 (#1761) ([`02b12ef`](https://github.com/ocadotechnology/codeforlife-portal/commit/02b12ef5980aeaf1bcdc995406edd1641dbb4f0f)) +* unknown 'collectstatic' +* fix: collectstatic command (#1928) -## v5.33.4 (2022-02-10) +* Fix collectstatic command -### Fix +* Fix view test -* fix(deps): bump django from 2.2.26 to 2.2.27 (#1758) +* Comment out unecessary pipeline step -* build(deps): bump django from 2.2.26 to 2.2.27 - -Bumps [django](https://github.com/django/django) from 2.2.26 to 2.2.27. -- [Release notes](https://github.com/django/django/releases) -- [Commits](https://github.com/django/django/compare/2.2.26...2.2.27) - ---- -updated-dependencies: -- dependency-name: django - dependency-type: direct:production -... - -Signed-off-by: dependabot[bot] <support@github.com> - -* Upgrade Django also in common - -Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> -Co-authored-by: Florian Aucomte <f.aucomte@hotmail.co.uk> ([`22e64e8`](https://github.com/ocadotechnology/codeforlife-portal/commit/22e64e894679473bafc6e734a0ff7510abf0f14a)) +* Change the default manage settings +* Uncomment popup.css generation block -## v5.33.3 (2022-02-09) +Co-authored-by: Mykhaylo Marfeychuk <mykhaylo.marfeychuk@ocado.com> -### Fix +Co-authored-by: KamilPawel <kamil.sosinski@ocado.com> +Co-authored-by: Mykhaylo Marfeychuk <Mika412@users.noreply.github.com> +Co-authored-by: Mykhaylo Marfeychuk <mykhaylo.marfeychuk@ocado.com> ([`3d4385e`](https://github.com/ocadotechnology/codeforlife-portal/commit/3d4385e5d8fbc777f67379eb7343a71fd3471a5a)) -* fix: indy teacher cleanup in batches ([`200c6ae`](https://github.com/ocadotechnology/codeforlife-portal/commit/200c6ae560919b65eb9fbb7e270927aa27b7e417)) +## v6.17.2 (2022-08-12) -### Unknown +### Build -* Merge pull request #1757 from ocadotechnology/cleanupbatch +* build: upgrade lockfile for Django 3.2.15 (#1922) ([`34aff14`](https://github.com/ocadotechnology/codeforlife-portal/commit/34aff147c60e232c7a86ef1a8f4171676a93e40c)) -fix: indy teacher cleanup in batches ([`522c023`](https://github.com/ocadotechnology/codeforlife-portal/commit/522c0233631f7551d1eab372732141272f727a8d)) +### Fix +* fix: Add countdown stop to session expiry popup (#1919) -## v5.33.2 (2022-02-08) +* fix: Add countdown stop -### Fix +* Remove duplicate import -* fix: Revert "fix: update test cookies consent script (#1752)" (#1756) +* Update lockfile? -* Revert "fix: update test cookies consent script (#1752)" - -This reverts commit cfaa2ec828d20398754b34e152273a3388776b59. - -* dummy commit ([`d63bdf5`](https://github.com/ocadotechnology/codeforlife-portal/commit/d63bdf5aa5d79b51e40f4fb227008fb36e1e1565)) +* Try without test settings + +* Try removing front end steps +* Merge branch 'master' into add_stop_session_timer -## v5.33.1 (2022-02-08) +# Conflicts: +# Pipfile.lock -### Unknown +* Try removing collectstatic step altogether -* Merge pull request #1754 from ocadotechnology/teacherindycleanup +* Ls debug -fix: cleanup duplicate teacher + indy ([`d22be8e`](https://github.com/ocadotechnology/codeforlife-portal/commit/d22be8ec03749e211a01c61dd0fee801638a3993)) +* Change order around + freeze -* fix tests ([`088a73a`](https://github.com/ocadotechnology/codeforlife-portal/commit/088a73aa88f09a46c85f0044c41c70e9a5ab994c)) +* Try upgrading to ubuntu 20.04 -* Merge branch 'master' into teacherindycleanup ([`21d2991`](https://github.com/ocadotechnology/codeforlife-portal/commit/21d2991d8991295fbb230f0296ec8dcb2715ac06)) +* Try upgrading pip +* Revert ci to what it was ([`3c21c90`](https://github.com/ocadotechnology/codeforlife-portal/commit/3c21c909297f956857173740790499ff40fd19d2)) -## v5.33.0 (2022-02-07) +## v6.17.1 (2022-08-12) -### Feature +### Fix -* feat: Implement session timeout middleware (#1749) +* fix(deps): bump django from 3.2.14 to 3.2.15 (#1920) -* feat: Implement session timeout middleware - -* Add test - -* Use pytest monkeypatch for some mocks - -* Remove unused monkeypatch ([`cf5373e`](https://github.com/ocadotechnology/codeforlife-portal/commit/cf5373e849d06700ce9328356862510797108db9)) +* build(deps): bump django from 3.2.14 to 3.2.15 -### Fix +Bumps [django](https://github.com/django/django) from 3.2.14 to 3.2.15. +- [Release notes](https://github.com/django/django/releases) +- [Commits](https://github.com/django/django/compare/3.2.14...3.2.15) -* fix: cleanup duplicate teacher + indy ([`b73f545`](https://github.com/ocadotechnology/codeforlife-portal/commit/b73f5451e7c30b7b45053711d99d5bb9eaca1e78)) +--- +updated-dependencies: +- dependency-name: django + dependency-type: direct:production +... -### Unknown +Signed-off-by: dependabot[bot] <support@github.com> -* fix coverage! ([`01117bc`](https://github.com/ocadotechnology/codeforlife-portal/commit/01117bc27edcf243f56707ad242ffdfec17a9a2a)) +* Update Django in common too ([`621b526`](https://github.com/ocadotechnology/codeforlife-portal/commit/621b5261e61d05b81aa4400406b03807a292fdf1)) -* remove else for test ([`b9c41d8`](https://github.com/ocadotechnology/codeforlife-portal/commit/b9c41d83ce332f600f18f7ff691b3b190e688740)) +## v6.17.0 (2022-08-11) -* add test ([`9d67c3c`](https://github.com/ocadotechnology/codeforlife-portal/commit/9d67c3c14119ce006cb0db63f4a98c994e43be9f)) +### Feature -* more test ([`d2d6de8`](https://github.com/ocadotechnology/codeforlife-portal/commit/d2d6de86e64f02cceed9a5c4e2f53001534d9c89)) +* feat: Add session timeout warning popup (#1918) -* Merge branch 'master' into teacherindycleanup ([`764976f`](https://github.com/ocadotechnology/codeforlife-portal/commit/764976f9831c78ffe64bdbe61bdec69eb10afe3f)) +* feat: Add session timeout warning popup ([`cce2b64`](https://github.com/ocadotechnology/codeforlife-portal/commit/cce2b6438464805c49d607abd272e1225303df4b)) +## v6.16.0 (2022-08-03) -## v5.32.4 (2022-02-03) +### Feature -### Fix +* feat: Show all external requests in school to admins (#1914) -* fix: update test cookies consent script (#1752) +* feat: Show all external requests in school to admins -* fix: update test cookies consent script ([`cfaa2ec`](https://github.com/ocadotechnology/codeforlife-portal/commit/cfaa2ec828d20398754b34e152273a3388776b59)) +* Remove prints +* Improve variable names ([`9cc9dec`](https://github.com/ocadotechnology/codeforlife-portal/commit/9cc9dec50b6edd621b7a6d242317acc24a66ad3c)) -## v5.32.3 (2022-02-03) +## v6.15.4 (2022-07-21) ### Fix -* fix: Make two_factor a module to fix deployment (and move to /views/) (#1751) - -* fix: Make two_factor a module to fix deployment (and move to /views/) - -* Empty init file ([`b162c30`](https://github.com/ocadotechnology/codeforlife-portal/commit/b162c309ac6df2dfd1b4ebf2f9497251aea32ad6)) +* fix(deps): bump terser from 5.13.1 to 5.14.2 in /portal_frontend (#1912) +* build(deps): bump terser from 5.13.1 to 5.14.2 in /portal_frontend -## v5.32.2 (2022-02-03) +Bumps [terser](https://github.com/terser/terser) from 5.13.1 to 5.14.2. +- [Release notes](https://github.com/terser/terser/releases) +- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md) +- [Commits](https://github.com/terser/terser/commits) -### Unknown +--- +updated-dependencies: +- dependency-name: terser + dependency-type: indirect +... -* Merge pull request #1750 from ocadotechnology/uniqueemail +Signed-off-by: dependabot[bot] <support@github.com> ([`460cebc`](https://github.com/ocadotechnology/codeforlife-portal/commit/460cebc29a10cc98eb74bd22515732efa960b39d)) -fix: unique email for teacher and indy student ([`7303921`](https://github.com/ocadotechnology/codeforlife-portal/commit/7303921a6f9d42f9f11838c81aa3b4c983209295)) +## v6.15.3 (2022-07-14) -* Merge branch 'master' into uniqueemail ([`8a37b59`](https://github.com/ocadotechnology/codeforlife-portal/commit/8a37b595fe9f48ba0bc9c4d36c9dfe666a53e0bf)) +### Fix +* fix: Add common static images to frame src in CSP (#1908) ([`ea3a12a`](https://github.com/ocadotechnology/codeforlife-portal/commit/ea3a12a1749d3f1e0aafdc48514e27a72ddd5120)) -## v5.32.1 (2022-02-02) +## v6.15.2 (2022-07-14) ### Fix -* fix: 2FA pages updated (#1736) - -* fix: updated the 2FA pages to the designs - -* fix: fixed 2FA disable not working - -* fix: clearning up #1 - -* fix: edit class page fix - -* fix: cleanup #2 - -* fix: added pop ups and cleaned up the code - -* fix: moved styles around, and cleaned up whitespaces - -* fix: forgot some comments - -* fix: comments addressed #2 - -* fix: added condition_dict to stop breaking the page - -* fix: cleaned up #3 - -* fix: cleaned up #4 - -* fix: cleaned up #5 - -* fix: design corrections - -* fix: design corrections #2 - -* fix: design corrections #3 ([`8c8f1ae`](https://github.com/ocadotechnology/codeforlife-portal/commit/8c8f1ae1f0c5976be3b09664ed28bb323475d01c)) +* fix: Class teacher col hidden (#1907) -* fix: unique email for teacher and indy student ([`43927a4`](https://github.com/ocadotechnology/codeforlife-portal/commit/43927a4dda86a8af806023e5d12e1ecab264b17a)) +* remove teacher col if not admin -### Unknown +* fiexes -* Merge branch 'master' into uniqueemail ([`3dd3259`](https://github.com/ocadotechnology/codeforlife-portal/commit/3dd3259e1fb427f84c904a25c0ad36789d83dd2c)) +* code review -* remove redundant check ([`10b2ee6`](https://github.com/ocadotechnology/codeforlife-portal/commit/10b2ee6a19fba0e3764d2fa37f11166c6c759143)) +Co-authored-by: KamilPawel <kamil.sosinski@ocado.com> ([`2b649e3`](https://github.com/ocadotechnology/codeforlife-portal/commit/2b649e35dd054113ad4331d151b64c309e54131c)) -* fix test ([`0a23f28`](https://github.com/ocadotechnology/codeforlife-portal/commit/0a23f28bfcb28c1a7a1608d04711e188e3da19c2)) +## v6.15.1 (2022-07-14) -* fix test ([`85788a4`](https://github.com/ocadotechnology/codeforlife-portal/commit/85788a4e588c469301bc28241923c8780151f2a1)) +### Fix +* fix: Add common static to object src in CSP (#1906) ([`a1450dc`](https://github.com/ocadotechnology/codeforlife-portal/commit/a1450dc32f6d1063472294ab5f5f7167bdac7f72)) -## v5.32.0 (2022-01-26) +## v6.15.0 (2022-07-13) ### Feature -* feat: indy student cleanup ([`7f2b64f`](https://github.com/ocadotechnology/codeforlife-portal/commit/7f2b64ff33b2d99f66d9215aae58b6118bc2855f)) +* feat: Admin create class (#1905) -### Unknown +* feat: add create class -* Merge pull request #1735 from ocadotechnology/indycleanup +* fix check_teacher_authorised -fix: indy student cleanup ([`9d6b33a`](https://github.com/ocadotechnology/codeforlife-portal/commit/9d6b33ac9c77000f09502e9a06fe54d4628e3996)) +* fix test -* Merge branch 'master' into indycleanup ([`af12f75`](https://github.com/ocadotechnology/codeforlife-portal/commit/af12f757b94d633b2c7e6933ed4309d8e9a5a4fd)) +* added database fields +* whitespace -## v5.31.0 (2022-01-25) +* code review -### Feature +* frontend typo -* feat: Reset password and email verification pages redesign (#1733) +Co-authored-by: KamilPawel <kamil.sosinski@ocado.com> ([`1ddfb1b`](https://github.com/ocadotechnology/codeforlife-portal/commit/1ddfb1bbe8844de8ac94972b7bcf854bad708011)) -* feat: Reset password and email verification pages redesign +## v6.14.0 (2022-07-13) -* Merge branch 'master' into reset_password_redesign +### Feature -* Move form shapes to a generic template +* feat: Independent registration update (#1891) -* Add verification test ([`25423b4`](https://github.com/ocadotechnology/codeforlife-portal/commit/25423b4045e5482141bed7cec7f28fc3a688b96a)) +* feat: Update independent registration process -### Unknown +* Improve styles -* indy clean up test ([`c0ece76`](https://github.com/ocadotechnology/codeforlife-portal/commit/c0ece769f10e7fbd5a6e9eb930be56525c8bccb6)) +* Add new links for children ([`a6d408e`](https://github.com/ocadotechnology/codeforlife-portal/commit/a6d408e96296bdac14cd514d5ec16c45ee731597)) +## v6.13.5 (2022-07-13) -## v5.30.3 (2022-01-21) +### Fix -### Unknown +* fix: Move brain SVG to common (#1904) -* Merge pull request #1732 from ocadotechnology/archivegame - -fix: fix various things on archiving game ([`5dd15d7`](https://github.com/ocadotechnology/codeforlife-portal/commit/5dd15d7adef540c41b61b10924143e7272a4179d)) - -* tidy up ([`26709aa`](https://github.com/ocadotechnology/codeforlife-portal/commit/26709aafd0803dc1202f21ebf3917050f4400efe)) +* fix: Move brain SVG to common -* fix test, tidy up ([`c00ed28`](https://github.com/ocadotechnology/codeforlife-portal/commit/c00ed282b406dba0e70e32d5c7bf40b4939cf37c)) +* Merge branch 'master' into make_brain_common -* add coverage? ([`7adab32`](https://github.com/ocadotechnology/codeforlife-portal/commit/7adab32ef57fdad562ddde836bcbbd3aa01e5ef6)) +* Merge branch 'master' into make_brain_common ([`fceecb5`](https://github.com/ocadotechnology/codeforlife-portal/commit/fceecb5344f44e0907e5614e746ac9f044b28a90)) -* put assert ([`639ea27`](https://github.com/ocadotechnology/codeforlife-portal/commit/639ea27a08215f0e688a73e11c6c9ce66c2993ef)) +## v6.13.4 (2022-07-13) -* increase test coverage ([`bebc613`](https://github.com/ocadotechnology/codeforlife-portal/commit/bebc613c49af31019affc658b635fdc65158de2b)) +### Fix -* fix test ([`42ce90b`](https://github.com/ocadotechnology/codeforlife-portal/commit/42ce90b0bb20cd38293df6585770a4eae4e11fd0)) +* fix: Admin power table (#1901) -* update lock file ([`63d17b5`](https://github.com/ocadotechnology/codeforlife-portal/commit/63d17b51d7803d5711b23aea8ebc880b4ee88f1b)) +* 3 / 7 -* remove print ([`cec6a86`](https://github.com/ocadotechnology/codeforlife-portal/commit/cec6a86bb1a40aa51c515e53c0229ea43066deb0)) +* 1 task left +2 -* Merge branch 'master' into archivegame ([`d66add7`](https://github.com/ocadotechnology/codeforlife-portal/commit/d66add7765ab22567924122bb20be1fa6b89ba90)) +* popup done and tests +* fix one test at a time #1 -## v5.30.2 (2022-01-19) +* fix one test at a time #2 -### Fix +* fix one test at a time #3 -* fix: Replace randomly failing Selenium tests with Unit and Cypress tests (#1720) +* fix one test at a time #4 -* fix: Increase sleeps for commonly failing tests and update headless settings +* fix one test at a time #5 -* Merge branch 'master' into random_test_failures +* fix one test at a time #6 -* Merge branch 'master' into random_test_failures +* fix one test at a time #7 -* Split unstable Selenium tests into Cypress and unit tests +* fix one test at a time #8 -* Fix imports +* fix one test at a time #9 -* Merge branch 'master' into random_test_failures +* fix one test at a time #10 -* Class tests with dialogs now split up +* fix one test at a time #11 -* Merge branch 'master' into random_test_failures +* fix one test at a time #12 -* Some cleanup +* fix one test at a time #13 -* Make registration redirect instead and check that in tests +* fix one bug at a time #14 -* Missed test ([`a477955`](https://github.com/ocadotechnology/codeforlife-portal/commit/a47795541e176ae468e0d25eeaee72c8ea9c3ab1)) +* fix one bug at a time #15 -* fix: fix various things on archiving game ([`2f43209`](https://github.com/ocadotechnology/codeforlife-portal/commit/2f43209119fd6ae5266ac0ef1ffc4eb566c7947e)) +* fix one bug at a time #16 +* fix one bug at a time #17 -## v5.30.1 (2022-01-18) +* fix one bug at a time #18 -### Fix +* fix one bug at a time #19 -* fix: add common static to manifest (#1730) ([`3e81557`](https://github.com/ocadotechnology/codeforlife-portal/commit/3e81557fdc790ded4d16e937b85f761ba034edb6)) +* fix one bug at a time #20 ([`3076c96`](https://github.com/ocadotechnology/codeforlife-portal/commit/3076c9621cbdbe4ba822da16ac741506e02d0d2f)) +## v6.13.3 (2022-07-12) -## v5.30.0 (2022-01-18) +### Fix -### Feature +* fix: use our fork of sematic release (#1903) ([`16aad05`](https://github.com/ocadotechnology/codeforlife-portal/commit/16aad054b168324af627dbf9bc6567aa8d8f7eaf)) -* feat: move rapid-router banner width to portal (#1723) +## v6.13.2 (2022-07-12) -* feat: move rapid-router banner width to portal +### Fix -* Merge master into level-moderation +* fix: try the latest python-semantic-release version (#1902) -* Merge branch 'master' into level-moderation +* fix: try the latest python-semantic-release version -* move RR logo to common +* change version ([`2889139`](https://github.com/ocadotechnology/codeforlife-portal/commit/2889139f560ae872cec40f291f158555cdd5f56d)) -* Merge master into level-moderation ([`ee0011c`](https://github.com/ocadotechnology/codeforlife-portal/commit/ee0011c877a3b5ed1f556548a38778d2088be65c)) +## v6.13.1 (2022-07-11) +### Fix -## v5.29.3 (2022-01-17) +* fix: Run black in test_settings.py (dummy version) ([`78f11a5`](https://github.com/ocadotechnology/codeforlife-portal/commit/78f11a58b6453c0d45bbdd75531ff5dacb0a1a86)) -### Build +## v6.13.0 (2022-07-11) -* build(deps): bump ansi-regex from 5.0.0 to 5.0.1 (#1728) +### Feature -Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 5.0.0 to 5.0.1. -- [Release notes](https://github.com/chalk/ansi-regex/releases) -- [Commits](https://github.com/chalk/ansi-regex/compare/v5.0.0...v5.0.1) - ---- -updated-dependencies: -- dependency-name: ansi-regex - dependency-type: indirect -... - -Signed-off-by: dependabot[bot] <support@github.com> - -Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`5033366`](https://github.com/ocadotechnology/codeforlife-portal/commit/50333662d76a5eda2b56d16ee12b64468843401b)) +* feat: Add child-friendly legal documents (#1889) -* build(deps): bump Django from 2.2.25 to 2.2.26 (#1727) +* feat: Add child-friendly legal documents -* build(deps): bump Django from 2.2.25 to 2.2.26 ([`ac84476`](https://github.com/ocadotechnology/codeforlife-portal/commit/ac844763633573049b8d09b1a511310936936b8f)) +* Add tests -### Fix +* run Black -* fix: Reference button correctly in games table (#1729) ([`8dd3de5`](https://github.com/ocadotechnology/codeforlife-portal/commit/8dd3de58762d924a4d992e086ae4aeef7c8e6d7f)) +* fix tests +* fix tests pt. 2 ([`1440144`](https://github.com/ocadotechnology/codeforlife-portal/commit/144014400712ca23e1427d4aba9363edb21c6b0c)) -## v5.29.2 (2022-01-14) +## v6.12.5 (2022-07-06) ### Fix -* fix(deps): bump django from 2.2.25 to 2.2.26 (#1724) +* fix: bump django from 3.2.13 to 3.2.14 (#1899) -* build(deps): bump django from 2.2.25 to 2.2.26 +* fix: bump django from 3.2.13 to 3.2.14 -Bumps [django](https://github.com/django/django) from 2.2.25 to 2.2.26. +Bumps [django](https://github.com/django/django) from 3.2.13 to 3.2.14. - [Release notes](https://github.com/django/django/releases) -- [Commits](https://github.com/django/django/compare/2.2.25...2.2.26) +- [Commits](https://github.com/django/django/compare/3.2.13...3.2.14) --- updated-dependencies: @@ -3923,2606 +2931,2607 @@ Signed-off-by: dependabot[bot] <support@github.com> * Upgrade Django in common too -* Merge branch 'master' into dependabot/pip/django-2.2.26 - -* Merge branch 'master' into dependabot/pip/django-2.2.26 ([`d8ecedb`](https://github.com/ocadotechnology/codeforlife-portal/commit/d8ecedb36578c5903bd0103ab552ba2de123c20b)) - +Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> +Co-authored-by: faucomte97 <florian.aucomt1@ocado.com> ([`14abcf3`](https://github.com/ocadotechnology/codeforlife-portal/commit/14abcf3f02a1d6d6821f5986d735db49ed4856f8)) -## v5.29.1 (2022-01-14) +## v6.12.4 (2022-06-30) ### Fix -* fix: update cookies test script (#1726) +* fix: invite teacher (#1898) ([`dd0398e`](https://github.com/ocadotechnology/codeforlife-portal/commit/dd0398e56f23f7fc1ec91103d5256669c10fadaf)) -* fix: update cookies test script ([`7d2eadd`](https://github.com/ocadotechnology/codeforlife-portal/commit/7d2eadd3b01b5eaa7992b70c0aabc1df29b977a6)) +## v6.12.3 (2022-06-30) +### Fix -## v5.29.0 (2022-01-14) +* fix: Teacher registration text fixes (#1897) ([`edaf957`](https://github.com/ocadotechnology/codeforlife-portal/commit/edaf957190f422baa605ed93436a391f5036f39e)) -### Feature +## v6.12.2 (2022-06-30) -* feat: Redesign teacher Kurono dashboard (#1713) +### Fix -* feat: Redesign teacher Kurono dashboard +* fix: add name of teacher to popup (#1893) ([`a726df3`](https://github.com/ocadotechnology/codeforlife-portal/commit/a726df39c76084c0615c3472f6dbdc807e7d9592)) -* Fix test +## v6.12.1 (2022-06-30) -* Fix subnav spacing and add new banner image +### Fix -* Merge branch 'master' into kurono_teacher_dashboard_redesign +* fix: email below text (#1892) -* Merge branch 'master' into kurono_teacher_dashboard_redesign +* fix email below text -* Reduce logo width +* add emojii -* Do it properly ([`51af956`](https://github.com/ocadotechnology/codeforlife-portal/commit/51af956cb2c87151bb60242443c83f939af785c8)) +* default checkbox true +* fix tests with sad face ([`5abef26`](https://github.com/ocadotechnology/codeforlife-portal/commit/5abef269cec7506800eb35a7f8b4c5f638671ea6)) -## v5.28.1 (2022-01-12) +## v6.12.0 (2022-06-29) ### Fix -* fix: additional account details updates (#1719) - -* fix: additional account details updates ([`073e74d`](https://github.com/ocadotechnology/codeforlife-portal/commit/073e74d7589b213a2f1c9788a69b97883ba6061e)) - - -## v5.28.0 (2022-01-12) +* fix: admin power (#1883) -### Feature +* add teacher form -* feat: update student account details pages (#1715) +* add teacher to school -* feat: update student account details pages +* fix teacher already exists and add invited_by -* Merge branch 'master' into accountdetails +* add invited teacher form, wip -* add icons and section separation +* add SchoolTeacherInvitation model and +use it to invite teacher -* Merge branch 'master' into accountdetails +* process_teacher_invitation -* reformatting +* add is_active to SchoolTeacherInvitation -* html fixes ([`b293c68`](https://github.com/ocadotechnology/codeforlife-portal/commit/b293c689a7c4448497ec3d603c63382e51d2f296)) +* finish process teacher invitation +* added buttons and invite titles -## v5.27.10 (2022-01-11) +* add admin only button functionality -### Fix +* Merge branch 'admin-invite-teacher' into admin-power -* fix: implemented the new design for the registration form (#1714) +* working in progress -* fix: currently stuck at the button alignment - -* fix: implemented the new design on registration form - -* fix: extra whitespaces :) - -* fix: fixed the login page forgot password bug introduced by the form fix - -* fix: aligned buttons - -* fix: review fixes #1 - -* fix: review fixes #2 - -* fix: review fixes #3 ([`c536ae4`](https://github.com/ocadotechnology/codeforlife-portal/commit/c536ae4a08aea02e6ea7d3aca2e999f4c4ca43ad)) +* test invite teacher +* Merge branch 'master' into admin-invite-teacher -## v5.27.9 (2022-01-07) +* undo send_user_already_registered_email -### Fix +* cleanup imports -* fix: Rename RR banner class (#1712) +* update pipfile lock -* fix: Rename RR banner class +* Resend invite -* fix: Rename RR banner class pt 2 ([`206385d`](https://github.com/ocadotechnology/codeforlife-portal/commit/206385d57c9a4f84eb81d6ae0e57e8ef9e804348)) +* code review +* delete button -## v5.27.8 (2022-01-05) +* Merge branch 'admin-invite-teacher' into admin-power -### Fix +* adding tests -* fix: missing text under readonly input (#1710) ([`fbb660d`](https://github.com/ocadotechnology/codeforlife-portal/commit/fbb660dee50ac856749a00405b41bae9f1c1410d)) +* add tests +* merge master -## v5.27.7 (2022-01-04) +* Merge branch 'admin-invite-teacher-and-dashboard-table' into admin-power -### Fix +* merge tests -* fix: allow any login view after logging in (#1711) +* Merge branch 'admin-power' of https://github.com/ocadotechnology/codeforlife-portal into admin-power -* fix: allow any login view after logging in +* Merge branch 'master' into admin-power -* remove redirect tests ([`845294f`](https://github.com/ocadotechnology/codeforlife-portal/commit/845294f28db53c1df4cac32d854ac3e91805ce27)) +* test fix attempt 1 +* fix tests randomy failing for invite -## v5.27.6 (2022-01-04) +* tests:) -### Fix +* merge -* fix: updated text to class details (#1697) +* merge -* fix: updated text to class details - -* fix: added button icons on additional class details - -* fix: fixed the naming of title and buttons and removed display:block; that messes up the table - -* fix: updated h4 tag - -Co-authored-by: Dioni Zhong <4784791+dionizh@users.noreply.github.com> ([`4ede413`](https://github.com/ocadotechnology/codeforlife-portal/commit/4ede413412b986fbe7e219baef287fe82d62c77a)) +* fix url fail test +* url invite id -## v5.27.5 (2021-12-31) +* add super long delay -### Fix +* change the delay -* fix: align filter and search on scoreboard (#1701) +* change the delay -* fix: align filter and search on scoreboard ([`61e9dc2`](https://github.com/ocadotechnology/codeforlife-portal/commit/61e9dc27dec5b28de9c75dc379f219429f9a623f)) +* fixing dashboard.html +* fixing dashboard.html -## v5.27.4 (2021-12-31) +* remove super long delay -### Fix +* Merge branch 'admin-invite-teacher-and-dashboard-table' into admin-power -* fix: fixed class edit disabled buttons when cookies are enabled (#1699) ([`318ad78`](https://github.com/ocadotechnology/codeforlife-portal/commit/318ad78c4c7355a20ed9ff9a5b535951ff3ad58e)) +* responded to comments -* fix: indep student banner use black text (#1700) +* merge -* fix: indep student banner use black text +* Merge branch 'admin-power' of https://github.com/ocadotechnology/codeforlife-portal into admin-power -* Merge branch 'master' into indepbanner ([`be258a8`](https://github.com/ocadotechnology/codeforlife-portal/commit/be258a8b5d4c6bcf08685e634c29bbc50ceabed4)) +* Merge branch 'admin-invite-teacher-and-dashboard-table' into admin-power +* responded to comments #2 -## v5.27.3 (2021-12-31) +* Merge branch 'admin-power' of https://github.com/ocadotechnology/codeforlife-portal into admin-power -### Fix +* responded to comments #3 -* fix: fix indep student subnav ([`ff8c956`](https://github.com/ocadotechnology/codeforlife-portal/commit/ff8c956667d6984242cbab3946209bb99bb3c47d)) +* responded to comments #3 +* responded to comments #4 -## v5.27.2 (2021-12-30) +* clean up tests -### Fix +* added unit test and cleared not statement ([`1ecc00a`](https://github.com/ocadotechnology/codeforlife-portal/commit/1ecc00a8670ac47407238c5d7b46278c766e02e3)) -* fix: student class page (#1692) +### Unknown -* fix: rearanging the edit class page - -* fix: removed repeated back buttons - -* fix: redid the buttons and selection in table - -* fix: dummy commit - -* fix: fixed move student page field - -* fix: move and release pages new structure without the header - -* fix: progress fixing tables - -* fix: added icons to release form - -* fix: undid breaking of logging in page - -* update teacher_edit_class and remove move_class - -* fix: edit student details page - -* fix: added banner and subnav - -* fix: fixed buttons to centered and input fields - -* fix: fixed errors in the textboxes - -* add teacher non dash subnav partial - -* fix: fixed the table - -* fix: added disabled buttons to the table - -* fix: final changes - -* fix: get the test passing - -* fix: responded and fixed requests from the comments - -* fix: fixed the buttons not changing on checkbox - -* fix: fixed dropdown being grey on the dashboard - -* fix: removed jump from navbar - -Co-authored-by: Razvan Mahu <razvan.mahu@ocado.com> ([`38daef7`](https://github.com/ocadotechnology/codeforlife-portal/commit/38daef72821246651a3093073ee1747b1d50e225)) +* Merge pull request #1884 from ocadotechnology/admin-invite-teacher-and-dashboard-table +feat: Admin invite teacher ([`835ddf1`](https://github.com/ocadotechnology/codeforlife-portal/commit/835ddf1a0ec427908207e344352b429c4828a561)) -## v5.27.1 (2021-12-30) +* Merge branch 'master' into admin-invite-teacher-and-dashboard-table -### Fix +# Conflicts: +# portal/forms/teach.py ([`a16f0e7`](https://github.com/ocadotechnology/codeforlife-portal/commit/a16f0e70b418ebc9084a389808d23f7b8ed9fad6)) -* fix: fix filter dropdown sizes etc (#1695) +## v6.11.0 (2022-06-29) -* feat: add subnav styles and fix login check +### Feature -* fix filter dropdown sizes etc +* feat: Add consent checkbox to teacher registration form (#1890) ([`96b215c`](https://github.com/ocadotechnology/codeforlife-portal/commit/96b215ce3dfeb65e0b74daa6d5c74358b182c0b3)) -* Merge branch 'master' into filter ([`4cbaaa1`](https://github.com/ocadotechnology/codeforlife-portal/commit/4cbaaa1abe9960b5a938efc9bcb5287b0757c9a1)) +### Unknown +* Merge branch 'master' into admin-invite-teacher-and-dashboard-table ([`50f2a4f`](https://github.com/ocadotechnology/codeforlife-portal/commit/50f2a4f9323ee84adc1b8d22f65131b3db7a5b3a)) -## v5.27.0 (2021-12-29) +## v6.10.0 (2022-06-28) ### Feature -* feat: add subnav styles and fix login check (#1694) +* feat: Screentime warning (#1888) -* feat: add subnav styles and fix login check ([`ca12ac7`](https://github.com/ocadotechnology/codeforlife-portal/commit/ca12ac72bf3f899431d69024aa6244c813cb80dc)) +* wip: add screentime popup +* add ScreentimeWarningMiddleware and reset url -## v5.26.16 (2021-12-24) +* reset screentime warning -### Fix +* add brain and test -* fix: independent student check (#1693) +* Merge branch 'master' into screentime-warning -* fix: independent student check ([`2108652`](https://github.com/ocadotechnology/codeforlife-portal/commit/2108652aff7e711cdb4c9cf62d2d61952571b397)) +* fix test +* test reset_screentime_warning API -## v5.26.15 (2021-12-23) +* remove weird comment ([`532198e`](https://github.com/ocadotechnology/codeforlife-portal/commit/532198e2311f03e63c52d9df3bffd8b8dc34fff6)) -### Fix +* feat: Remove join school functionality (#1885) -* fix: keep dropdown open while scrolling (#1691) ([`bc5cd2a`](https://github.com/ocadotechnology/codeforlife-portal/commit/bc5cd2a58489dcbca8006fa7ebba44d619e07cbb)) +* feat: Remove join school functionality +* fix tests ([`04fec71`](https://github.com/ocadotechnology/codeforlife-portal/commit/04fec71ae5c27863bc941d4a7b6711eb1c99423f)) -## v5.26.14 (2021-12-17) +### Unknown -### Fix +* Merge branch 'master' into admin-invite-teacher-and-dashboard-table ([`374a551`](https://github.com/ocadotechnology/codeforlife-portal/commit/374a55166ae2f6a994f2957c555f25e559067cce)) -* fix: add sleep to tests (#1688) +## v6.9.0 (2022-06-23) -* fix: add sleep to tests - -* decrease FADE_TIME ([`b4876fc`](https://github.com/ocadotechnology/codeforlife-portal/commit/b4876fc367c7e732817ad834c1975ab12ad4017f)) +### Feature +* feat: Delete indy popup (#1879) -## v5.26.13 (2021-12-17) +* feat: add remove account for independent student -### Fix +* fix: add tests -* fix: Fix Play page headers (#1687) ([`8c7ec6b`](https://github.com/ocadotechnology/codeforlife-portal/commit/8c7ec6b34aa20a6f7c1f076e542d2a6126ebd32d)) +* fix: add tests +* fix: add tests -## v5.26.12 (2021-12-17) +* functional based views -### Fix +* converted indy_update_form to func based view -* fix: Update curriculum links (#1681) +* fix: change email fix -* fix: Update curriculum links and fix dashboard indentation - -* Remove subnav stickiness ([`5256d86`](https://github.com/ocadotechnology/codeforlife-portal/commit/5256d86474d8c5023d3bf422ba3c172fa4654557)) +* fix: fixed tests +* fix: fix changing first_name -## v5.26.11 (2021-12-16) +* fix changing name test -### Fix +* fix changing name test -* fix: Alignment on the non logged in play page (#1680) +* fix changing name test -* fix: primary text fix - -* fix: centered my games section on kurono - -* fix: alligned center and fixed characters - -* fix: seperated banner from meet the characters and fixed the background colour - -* fix: made teacher dashboard inside the container - -* fix: teacher dashboard; school, classes - aligned - -* fix: teacher dashboard; school, classes and account aligned - -* fix: aligned teacher dashboard kurono page - -* fix: aligned the student dashboard - -* fix: fixed the mainpage bug on a smaller screen - -* fix: aligned the footer pages - -* fix: added indentation to div elements - -* fix: merged all the divs and removed col-sm-8s - -* fix: replaced links and removal of col-center tag - -* fix: merged divs final fix - -* fix: updated rest of the pages - -* fix: fixed student kurono dashboard - -* fix: student kurono page aligned - -* fix: removed aligned from kurono student dashboard - -* fix: removed unwanted style classes - -* fix: removed white spaces - -* fix: remove whitespace attempt 2 - -* fix: updated tests - -* fix:alignment on the non logged play page - -* fix: changed FADE_TIME to 0.2 - -Co-authored-by: KamilPawel <kamil.sosinski@ocado.com> ([`80a4072`](https://github.com/ocadotechnology/codeforlife-portal/commit/80a4072ea137db9f83f1f516a87298c82ee69a7d)) +* comments fix +* addded test for wrong password -## v5.26.10 (2021-12-16) +* adjusted the text -### Fix +* removed sleep from test -* fix: no gap under footer (#1679) +* add popup window -* fix: no gap under footer +* add popup delete indy account -* Merge branch 'master' into fix-gap-under-footer +* fix test -* fixed 500 and more wagtail cleanup +* removed 1 tab of indetation -* remove unused imports +* cleaned up the code -* more wagtail cleanup +* remove duplicate url -* Merge branch 'master' into fix-gap-under-footer ([`53ed359`](https://github.com/ocadotechnology/codeforlife-portal/commit/53ed359d4d5f77af20547a5347ab472b388935ff)) +* remove delete_account import +* fix test -## v5.26.9 (2021-12-16) +* fix testsgit add . -### Fix +* push ([`ad7c0b4`](https://github.com/ocadotechnology/codeforlife-portal/commit/ad7c0b4364a61dcadb43b3fac5a94f147758d87d)) -* fix: fixed 2FA tag displaying regardless of if user has it enabled (#1678) +* feat: Admin invite teacher (#1878) -* fix: fixed 2FA tag displaying regardless of if user has it enabled - -* fix: making sure the tests pass - -* fix: attempt on fixing on the tests - -Co-authored-by: KamilPawel <kamil.sosinski@ocado.com> ([`959717e`](https://github.com/ocadotechnology/codeforlife-portal/commit/959717e3d5b1fa64e5bce177418eb74956f1903c)) +* add teacher form +* add teacher to school -## v5.26.8 (2021-12-16) +* fix teacher already exists and add invited_by -### Fix +* add invited teacher form, wip -* fix: remove wagtail (#1677) +* add SchoolTeacherInvitation model and +use it to invite teacher -* fix: remove wagtail +* process_teacher_invitation -* Merge master into remove-wagtail ([`d028f09`](https://github.com/ocadotechnology/codeforlife-portal/commit/d028f097d593e70e7010f4a06ce9799b0fd0e339)) +* add is_active to SchoolTeacherInvitation +* finish process teacher invitation -## v5.26.7 (2021-12-15) +* test invite teacher -### Fix +* Merge branch 'master' into admin-invite-teacher -* fix: Add QR code pic to CSP config (#1676) +* undo send_user_already_registered_email -* fix: Add QR code pic to CSP config +* cleanup imports -* Merge branch 'master' into add_qr_code_csp ([`5e3e405`](https://github.com/ocadotechnology/codeforlife-portal/commit/5e3e40537b392a5ff4883ffd80b0bcb8d93fa804)) +* update pipfile lock +* code review -## v5.26.6 (2021-12-15) +* remove classes sentence ([`3b3f916`](https://github.com/ocadotechnology/codeforlife-portal/commit/3b3f9161c30c59ebaf4f3f8b8253a312044d6af1)) -### Build +### Unknown -* build: Update lockfile (#1674) +* Merge branch 'master' into admin-invite-teacher-and-dashboard-table ([`91c36b1`](https://github.com/ocadotechnology/codeforlife-portal/commit/91c36b1028f60c00c785fad0868453697a2c11f0)) -* build: Update lockfile ([`d64213e`](https://github.com/ocadotechnology/codeforlife-portal/commit/d64213ef9c3fba9bc0e36f6a882b7542d752a8b0)) +## v6.8.9 (2022-06-21) ### Fix -* fix: ensuring everything is contained inside a container (#1671) - -* fix: primary text fix - -* fix: centered my games section on kurono - -* fix: alligned center and fixed characters - -* fix: seperated banner from meet the characters and fixed the background colour - -* fix: made teacher dashboard inside the container - -* fix: teacher dashboard; school, classes - aligned - -* fix: teacher dashboard; school, classes and account aligned - -* fix: aligned teacher dashboard kurono page - -* fix: aligned the student dashboard - -* fix: fixed the mainpage bug on a smaller screen - -* fix: aligned the footer pages - -* fix: added indentation to div elements - -* fix: merged all the divs and removed col-sm-8s - -* fix: replaced links and removal of col-center tag - -* fix: merged divs final fix - -* fix: updated rest of the pages - -* fix: fixed student kurono dashboard - -* fix: student kurono page aligned - -* fix: removed aligned from kurono student dashboard - -* fix: removed unwanted style classes - -* fix: removed white spaces - -* fix: remove whitespace attempt 2 - -* fix: updated tests - -Co-authored-by: KamilPawel <kamil.sosinski@ocado.com> ([`72356ea`](https://github.com/ocadotechnology/codeforlife-portal/commit/72356eabece47ccca7769d33860aac97bbaac3dd)) - +* fix: Update registration page (#1882) ([`3b2e4dc`](https://github.com/ocadotechnology/codeforlife-portal/commit/3b2e4dcc4d3db8e6e7f0136f8990996b4c72bfa7)) -## v5.26.5 (2021-12-13) +## v6.8.8 (2022-06-16) ### Fix -* fix: bump django from 2.2.24 to 2.2.25 (#1672) +* fix: Indy delete account (#1872) -* build(deps): bump django from 2.2.24 to 2.2.25 +* feat: add remove account for independent student -Bumps [django](https://github.com/django/django) from 2.2.24 to 2.2.25. -- [Release notes](https://github.com/django/django/releases) -- [Commits](https://github.com/django/django/compare/2.2.24...2.2.25) +* fix: add tests ---- -updated-dependencies: -- dependency-name: django - dependency-type: direct:production -... +* fix: add tests -Signed-off-by: dependabot[bot] <support@github.com> +* fix: add tests -* fix: Update Django version in common too +* functional based views -* Merge branch 'master' into dependabot/pip/django-2.2.25 ([`4836154`](https://github.com/ocadotechnology/codeforlife-portal/commit/4836154f5323d92bf2c86d71632fd039769dff8b)) +* converted indy_update_form to func based view +* fix: change email fix -## v5.26.4 (2021-12-10) +* fix: fixed tests -### Fix +* fix: fix changing first_name -* fix: Remove Rapid Router Resources (#1669) +* fix changing name test -* fix: Remove RR resources and all related files +* fix changing name test -* Install aimmo branch +* fix changing name test -* Undo local setting +* comments fix -* Link to Gitbook student space +* addded test for wrong password -* Merge branch 'master' into remove_rr_resources +* adjusted the text -* Code review +* removed sleep from test ([`46e088c`](https://github.com/ocadotechnology/codeforlife-portal/commit/46e088c8c7a52ac4f1676bbd04db5ec176839866)) -* Fix test +## v6.8.7 (2022-06-10) -* Merge branch 'master' into remove_rr_resources +### Fix -* Merge branch 'master' into remove_rr_resources +* fix: Add age verification checkbox to newsletter form (#1876) -* Pipfile ([`4edcc1b`](https://github.com/ocadotechnology/codeforlife-portal/commit/4edcc1b798671816aabfd1f7d9bc888fa085b8b0)) +* fix: Add age verification checkbox to newsletter form +* fix tests -## v5.26.3 (2021-12-09) +* Simplify JS and update text in home learning ([`8663a79`](https://github.com/ocadotechnology/codeforlife-portal/commit/8663a79a81743950c0fd9a8ab713f55510d5bda6)) + +## v6.8.6 (2022-06-10) ### Fix -* fix: add class link to csv (#1670) +* fix: Set referrer policy to preferred value (#1877) -* fix: add class link into csv +* fix: Set referrer policy to strict-origin-when-cross-origin -* add test ([`fa9d257`](https://github.com/ocadotechnology/codeforlife-portal/commit/fa9d257a5d7a74db85ec7306f8da571f72e0e3c9)) +* fix tests +* revert (wrong branch) ([`23869a2`](https://github.com/ocadotechnology/codeforlife-portal/commit/23869a2d990fc614c1091758e71584ca60456834)) -## v5.26.2 (2021-12-08) +## v6.8.5 (2022-06-08) -### Unknown +### Build -* Merge pull request #1666 from ocadotechnology/studentloginlog +* build: Make CodeCov requirement 90% (#1875) -fix: add check and log for student not found ([`baa36f6`](https://github.com/ocadotechnology/codeforlife-portal/commit/baa36f673d7b051fe2022c18034d365bfb93f5c1)) +* build: Make CodeCov requirement 90% -* Merge branch 'master' into studentloginlog ([`87eaec0`](https://github.com/ocadotechnology/codeforlife-portal/commit/87eaec0ee162142f7c5da5d8f9e9e68af4bfe5f9)) +* Make it patch not project ([`6de4191`](https://github.com/ocadotechnology/codeforlife-portal/commit/6de41919e8dd2fbbc06d44587dc1734694bf7a91)) +### Documentation -## v5.26.1 (2021-12-08) +* docs: Refine templates (#1871) ([`5281956`](https://github.com/ocadotechnology/codeforlife-portal/commit/5281956bf2ec4774c3ead30a66a0339c81d6d1a4)) ### Fix -* fix: Empty class code and error pages fix (#1668) +* fix: Remove JQueryUI (#1874) -* Fix empty class code bug +* fix: Remove unused library (JQueryUI) -* Fix error pages +* Add react build steps to run script -* Delete unused images +* Revert run steps ([`4b323fa`](https://github.com/ocadotechnology/codeforlife-portal/commit/4b323fa20c0c970d1fe302a29b02fa51ce42ca5c)) -* Merge branch 'master' into class_login_fixes +## v6.8.4 (2022-05-27) -* Remove special quotes ([`04799bd`](https://github.com/ocadotechnology/codeforlife-portal/commit/04799bd9fc8f6938c9c0130dae6243fc12deee0e)) +### Fix + +* fix: updated mui compatible colours (#1870) ([`8366b33`](https://github.com/ocadotechnology/codeforlife-portal/commit/8366b33c82f53863dd10fc1575bd2a88b21d9272)) +## v6.8.3 (2022-05-27) -## v5.26.0 (2021-12-08) +### Fix -### Feature +* fix: edit the deployment for react test space (#1859) -* feat: Gather daily counts of student details downloads (CSV and login cards) (#1665) +* edit the deployment for react test space -* feat: Gather daily counts of student details downloads (CSV and login cards) +* reverting the revert -* Remove test and use Enum ([`d4b855f`](https://github.com/ocadotechnology/codeforlife-portal/commit/d4b855f7183f19481611fec62a57906c75c3ef5a)) +* change order of cmds + +* seperate build process and swap yarn for yarn --frozen-lockfile ([`a0d22b2`](https://github.com/ocadotechnology/codeforlife-portal/commit/a0d22b231378f140e49d01fde138c1dc06d86766)) + +## v6.8.2 (2022-05-19) ### Fix -* fix: add check and log for student not found ([`84477de`](https://github.com/ocadotechnology/codeforlife-portal/commit/84477de7dcc14533620807ac2285a87eba0bb31b)) +* fix: remove CI steps that broke deployment ([`69cf0f7`](https://github.com/ocadotechnology/codeforlife-portal/commit/69cf0f7fc41e8860ca48b498f3af9932f83667b0)) +### Unknown -## v5.25.0 (2021-12-06) +* Merge pull request #1858 from ocadotechnology/cifix -### Feature +fix: remove CI steps that broke deployment ([`eb264c6`](https://github.com/ocadotechnology/codeforlife-portal/commit/eb264c63918f9bd411cdad458ee8bc42822780d9)) -* feat: add password to csv (#1663) +* revert Pipfile ([`842e205`](https://github.com/ocadotechnology/codeforlife-portal/commit/842e20502bc86523eb7c3224ce1f9254ab233a09)) -* feat: add password to csv ([`b5e1460`](https://github.com/ocadotechnology/codeforlife-portal/commit/b5e14606ce8bf97459448880493e2e2644dad65e)) +* fix error ([`9c5da34`](https://github.com/ocadotechnology/codeforlife-portal/commit/9c5da34b27de51c4605790e8043c6ea7636d1206)) +* revert ([`acf6a47`](https://github.com/ocadotechnology/codeforlife-portal/commit/acf6a47e77c3739172c54d96d35775824c12407c)) -## v5.24.2 (2021-12-02) +## v6.8.1 (2022-05-18) ### Fix -* fix: fix Add class Kurono button (#1660) - -* fix: fix Add class Kurono button +* fix: bump async from 3.2.0 to 3.2.3 (#1857) -* dropdown bg to white +* fix: bump async from 3.2.0 to 3.2.3 -* Merge branch 'master' into addclass +Bumps [async](https://github.com/caolan/async) from 3.2.0 to 3.2.3. +- [Release notes](https://github.com/caolan/async/releases) +- [Changelog](https://github.com/caolan/async/blob/master/CHANGELOG.md) +- [Commits](https://github.com/caolan/async/compare/v3.2.0...v3.2.3) -* Merge branch 'master' into addclass +--- +updated-dependencies: +- dependency-name: async + dependency-type: indirect +... -* Merge branch 'master' into addclass +Signed-off-by: dependabot[bot] <support@github.com> -* Merge branch 'master' into addclass ([`0ffc264`](https://github.com/ocadotechnology/codeforlife-portal/commit/0ffc264eaf4b8c164a28cee7a376ca817e81d1ec)) +* build(deps): bump async from 3.2.0 to 3.2.3 +Bumps [async](https://github.com/caolan/async) from 3.2.0 to 3.2.3. +- [Release notes](https://github.com/caolan/async/releases) +- [Changelog](https://github.com/caolan/async/blob/master/CHANGELOG.md) +- [Commits](https://github.com/caolan/async/compare/v3.2.0...v3.2.3) -## v5.24.1 (2021-12-02) +--- +updated-dependencies: +- dependency-name: async + dependency-type: indirect +... -### Fix +Signed-off-by: dependabot[bot] <support@github.com> -* fix: Kurono dashboard characters spacing (#1661) +* Fix setuptools version -* fix: primary text fix - -* fix: centered my games section on kurono - -* fix: alligned center and fixed characters - -* fix: seperated banner from meet the characters and fixed the background colour - -* Fix table buttons - -* Fix divs - -Co-authored-by: KamilPawel <kamil.sosinski@ocado.com> -Co-authored-by: KamilPawel <70412950+KamilPawel@users.noreply.github.com> ([`c0170dc`](https://github.com/ocadotechnology/codeforlife-portal/commit/c0170dc27ef35b1357ea07b9d174856d3e726f4f)) +* Fix equals +Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> +Co-authored-by: faucomte97 <florian.aucomt1@ocado.com> +Co-authored-by: Florian Aucomte <33633200+faucomte97@users.noreply.github.com> ([`9f42aa7`](https://github.com/ocadotechnology/codeforlife-portal/commit/9f42aa79f779f2ccf10006dd692df8d866a9872a)) -## v5.24.0 (2021-12-02) +## v6.8.0 (2022-05-18) ### Feature -* feat: Update play page (#1659) +* feat: add react test space (#1825) -* First redesign iteration +* feat: add test env for react -* Fix some sizing and padding issues +* add favicon.ico to the CSP config -* update images +* add build folder -* align Starting with Blockly +* add build folder -* meet the rr characters +* added portal_frontend to manifest.in -* align progressing to python +* cocnfigured autoconfig.py -* Merge branch 'master' into update_play_page +* added permissions to the react test space and deited Manifest.in -* clean up unused files +* removed unused imports -* remove game_banner_tags +* add stuff -* and the html template +* add stuff -* add image_description to banner_tags +* add stuff -* fix teacher_dismiss_students +* add stuff -* Merge branch 'master' into update_play_page ([`1dd8adb`](https://github.com/ocadotechnology/codeforlife-portal/commit/1dd8adb802fd533c1c4f9580fecb8acbc7e0ed42)) +* add stuff +* add stuff -## v5.23.2 (2021-12-02) +* add stuff -### Fix +* cleaned up build files -* fix: align header and footer (#1654) +* removed unused imports and package-lock file -* fix: align header and footer +* master merge -* update snapshot +* pipenv version changne -* Merge branch 'master' into align-header-and-footer +* change python version -* Merge master into align-header-and-footer +* lock file change -* Merge master into align-header-and-footer ([`c7c5782`](https://github.com/ocadotechnology/codeforlife-portal/commit/c7c5782f0bad4ae68addaa88786c962ba8fec69e)) +* add back the re module +* update the yarn-lock file and licence -## v5.23.1 (2021-12-02) +* not update yarn-lock -### Fix +* revert python version -* fix: student kurono page - centring (#1657) +* altering CI -* fix: primary text fix - -* fix: centered my games section on kurono - -* fix: alligned center and fixed characters - -Co-authored-by: KamilPawel <kamil.sosinski@ocado.com> ([`2c44e58`](https://github.com/ocadotechnology/codeforlife-portal/commit/2c44e588b0157b9051e812e3d50feafca1ab7b51)) +* add nvm install to CI +* NVM install -## v5.23.0 (2021-12-02) +* nvm -### Feature +* nvm -* feat: Educate page (#1651) +* nvm -* wip: educate page +* yarn install -* add educate images and new tab icons +* remove popd -* updated RR text and temp image height +* cd .. -* format text in template +* remove cd .. -* update comment and increase carousel interval +* remove --upgrades -* Merge branch 'master' into educate-page +* changes -* update banner snapshot +* changes -* update images +* add tests to reactTestSpace -* code review +* altered the react_test -* change try rr link +* fix tests -* Merge master into educate-page ([`b0dfa8a`](https://github.com/ocadotechnology/codeforlife-portal/commit/b0dfa8ac017f574beb1b5ac9300fc58966f393e8)) +* address comments -### Fix +* add back Welcome with its attrs -* fix: primary text fix (#1656) +* remove unusued port -* fix: primary text fix +* add comment -* fix: updated changes +Co-authored-by: Razvan Mahu <67904187+razvan-pro@users.noreply.github.com> ([`e0fef80`](https://github.com/ocadotechnology/codeforlife-portal/commit/e0fef80ea5b8b03ce42636e9944391ae7110e682)) -* Merge branch 'master' into table_button_fix_2 ([`283f281`](https://github.com/ocadotechnology/codeforlife-portal/commit/283f281c2d2baaa9d8dcc281be1fffd9d918070c)) +## v6.7.0 (2022-05-18) +### Feature -## v5.22.3 (2021-12-02) +* feat: Add aimmo badges to UserProfile (#1852) -### Fix +* feat: add badges data to UserProfile -* fix: adjusted buttons in tables to a height of 35px (#1655) +* Merge branch 'master' into aimmo_badges_db -* fix: adjusted buttons in tables to a height of 35px - -* fix: cleaned up the sass statements - -* fix: repeated statement - -Co-authored-by: KamilPawel <kamil.sosinski@ocado.com> ([`dc0a7b0`](https://github.com/ocadotechnology/codeforlife-portal/commit/dc0a7b0e4de63e35d1d36354836dc61143c54bb1)) +# Conflicts: +# Pipfile +# Pipfile.lock +* Rename migration -## v5.22.2 (2021-12-02) +* Merge branch 'master' into aimmo_badges_db -### Fix +* Update model -* fix: teacher dashboard bug fix (#1653) +* Merge branch 'master' into aimmo_badges_db -* fix: adjusted the button text to centre - -* fix: fixed the colour change and changed the cursor attr - -* fix: removed underline on focus and centered button text - -* fix: undid changes to bootstrap file - -* fix: fixed the teacher dashboard buttons being white on hover - -* fix: fixed kurono button override - -Co-authored-by: KamilPawel <kamil.sosinski@ocado.com> ([`91cf385`](https://github.com/ocadotechnology/codeforlife-portal/commit/91cf38555a30f63ab10ae9302dbb81350fd57488)) +* Add comment to field +* Remove null from field to fix bug -## v5.22.1 (2021-12-01) +* Update field again to use null ([`2c9075c`](https://github.com/ocadotechnology/codeforlife-portal/commit/2c9075c5f94de74e5a8b2bc6b499005580366224)) -### Fix +## v6.6.0 (2022-05-10) -* fix: dashboard and buttons fix (#1648) +### Feature -* fix: adjusted the button text to centre - -* fix: fixed the colour change and changed the cursor attr - -* fix: removed underline on focus and centered button text - -* fix: undid changes to bootstrap file - -Co-authored-by: KamilPawel <kamil.sosinski@ocado.com> ([`85cff35`](https://github.com/ocadotechnology/codeforlife-portal/commit/85cff359f7e3c78ef84f7455078b365348d24ad9)) +* feat: anonymise orphan schools (#1851) +* wip: saving work so far -## v5.22.0 (2021-11-30) +* converted migration to API -### Feature +* some cleanup -* feat: navbar updates for indep and teacher (#1649) +* cover schools with no teachers -* feat: navbar updates for indep and teacher +* fix comment ([`53165c9`](https://github.com/ocadotechnology/codeforlife-portal/commit/53165c994f81fbf4b4abc2ea373879ca0bcc16ad)) -* fix mobile, fix test +## v6.5.2 (2022-05-04) -* fix kurono dashboard test ([`70fe806`](https://github.com/ocadotechnology/codeforlife-portal/commit/70fe8062ac061e6dbdb41288d11bb94bf5170fd6)) +### Fix + +* fix: fix email tuples (#1846) +* fix: fix email tuples ([`a39aa47`](https://github.com/ocadotechnology/codeforlife-portal/commit/a39aa4768e46df7e46e22bcf16c885ca7d37fe1e)) -## v5.21.3 (2021-11-26) +## v6.5.1 (2022-05-03) ### Fix -* fix: Add GA connection to CSP policy (#1646) ([`368e11d`](https://github.com/ocadotechnology/codeforlife-portal/commit/368e11d2482c3786aed151de165c3c2b86923a6c)) +* fix: remove lat, long, town, agg data, map (#1845) +* fix: remove lat, long, town, agg data, map -## v5.21.2 (2021-11-25) +* Merge branch 'master' into school_cleanup -### Fix +* add test ([`caf5e96`](https://github.com/ocadotechnology/codeforlife-portal/commit/caf5e96c3bc8c619f2cda16ab266332d87262ba1)) -* fix: fix links (#1642) +## v6.5.0 (2022-05-03) -* fix: fix links +### Feature -* Merge branch 'master' into homelearningfix ([`3f55d9f`](https://github.com/ocadotechnology/codeforlife-portal/commit/3f55d9fd194c3d803ab86968d3517dab461951bb)) +* feat: anonymise school (#1844) +* feat: anonymise school -## v5.21.1 (2021-11-25) +* remove teacher join request, update test -### Fix +* remove unused function -* fix: Add GCP bucket to CSP list (#1641) ([`d1987dc`](https://github.com/ocadotechnology/codeforlife-portal/commit/d1987dcc33c038fec36bb62e2400d094238cbc77)) +* remove postcode and town ([`0e5eaf5`](https://github.com/ocadotechnology/codeforlife-portal/commit/0e5eaf553999131095d9df4b1b29a8a848ccc687)) +## v6.4.4 (2022-04-28) -## v5.21.0 (2021-11-23) +### Fix -### Feature +* fix: Email error (#1842) -* feat: Implement CSP header (#1570) +* merge -* Install django-csp and setup CSP header +* align contact us and colour change -* Merge branch 'master' into csp_header +* add links to images -* Add font domains + fix double slash error +* add stuff ([`9fe37d7`](https://github.com/ocadotechnology/codeforlife-portal/commit/9fe37d7bd5cd81903f57127d0abe7568c885b3b7)) -* Merge branch 'master' into csp_header +## v6.4.3 (2022-04-28) -* Update lockfile +### Build -* Merge branch 'master' into csp_header +* build(deps): bump django from 3.2.12 to 3.2.13 (#1836) -# Conflicts: -# Pipfile.lock +* build(deps): bump django from 3.2.12 to 3.2.13 -* Update fonts sources +Bumps [django](https://github.com/django/django) from 3.2.12 to 3.2.13. +- [Release notes](https://github.com/django/django/releases) +- [Commits](https://github.com/django/django/compare/3.2.12...3.2.13) -* Import directory from trusted sites instead of specific files +--- +updated-dependencies: +- dependency-name: django + dependency-type: direct:production +... -* Move / Remove inline CSS and JS +Signed-off-by: dependabot[bot] <support@github.com> -* Allow more directories (add missing slashes) +* Lock properly -* Add common and OneTrust scripts +Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> +Co-authored-by: faucomte97 <florian.aucomt1@ocado.com> ([`c58552c`](https://github.com/ocadotechnology/codeforlife-portal/commit/c58552c86cf4dc93a0a9dfb36fd90ff7a3b98b34)) -* Export OT inline script +### Fix -* Add missing static file tag +* fix: bump ejs from 3.1.6 to 3.1.7 in /portal_frontend (#1841) -* Graft static common files +Bumps [ejs](https://github.com/mde/ejs) from 3.1.6 to 3.1.7. +- [Release notes](https://github.com/mde/ejs/releases) +- [Changelog](https://github.com/mde/ejs/blob/main/CHANGELOG.md) +- [Commits](https://github.com/mde/ejs/compare/v3.1.6...v3.1.7) -* Add OT to style src +--- +updated-dependencies: +- dependency-name: ejs + dependency-type: indirect +... -* Use inline script and styles +Signed-off-by: dependabot[bot] <support@github.com> -* Update sources and add frame-src +Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> +Co-authored-by: Florian Aucomte <33633200+faucomte97@users.noreply.github.com> ([`ca8a9a2`](https://github.com/ocadotechnology/codeforlife-portal/commit/ca8a9a21ba9dd6c2a46fe74880a0c2cbe6cc2d42)) -* Fix frame src and update GA script +### Unknown -* Add recaptcha to frame src +* add link to contact us (#1838) ([`0c99c33`](https://github.com/ocadotechnology/codeforlife-portal/commit/0c99c33440078901f4f2da3dbbe8238df68aa463)) -* Merge branch 'master' into csp_header +## v6.4.2 (2022-04-26) -# Conflicts: -# portal/templates/portal/home.html +### Build -* Add recaptcha to frame +* build: Add semantic PR check as action (#1839) -* Merge branch 'master' into csp_header +* feat: Add semantic PR check as action -# Conflicts: -# Pipfile.lock -# portal/autoconfig.py +* fix trigger -* Update lockfile +* fix trigger again so it runs on change -* Revert inline script extraction +* Fix ubuntu version ([`5aa1b92`](https://github.com/ocadotechnology/codeforlife-portal/commit/5aa1b92059781327159de7146dabe967a73514dd)) -* Merge branch 'master' into csp_header +* build(deps): bump async from 3.2.0 to 3.2.3 (#1824) -* Format and ignore autoconfig coverage +* build(deps): bump async from 3.2.0 to 3.2.3 -* Merge branch 'master' into csp_header +Bumps [async](https://github.com/caolan/async) from 3.2.0 to 3.2.3. +- [Release notes](https://github.com/caolan/async/releases) +- [Changelog](https://github.com/caolan/async/blob/master/CHANGELOG.md) +- [Commits](https://github.com/caolan/async/compare/v3.2.0...v3.2.3) -* Move domain getter to common +--- +updated-dependencies: +- dependency-name: async + dependency-type: indirect +... -* Move to app settings +Signed-off-by: dependabot[bot] <support@github.com> -* Remove object src +* Merge branch 'master' into dependabot/npm_and_yarn/async-3.2.3 ([`1cf9fcc`](https://github.com/ocadotechnology/codeforlife-portal/commit/1cf9fccf3de33ea7781856f48142f4e447eb77a5)) -* Try allowing iconify links in connect src +### Fix -* Ignore coverage common app settings +* fix: bump pypdf2 to 1.27.9 and django to 3.2.13 (#1834) -* Merge master, resolve conflicts +* build(deps-dev): bump pypdf2 from 1.26.0 to 1.27.5 -* Merge branch 'master' into csp_header +Bumps [pypdf2](https://github.com/py-pdf/PyPDF2) from 1.26.0 to 1.27.5. +- [Release notes](https://github.com/py-pdf/PyPDF2/releases) +- [Changelog](https://github.com/py-pdf/PyPDF2/blob/main/CHANGELOG) +- [Commits](https://github.com/py-pdf/PyPDF2/compare/1.26.0...1.27.5) -* Merge branch 'master' into csp_header +--- +updated-dependencies: +- dependency-name: pypdf2 + dependency-type: direct:development +... -* Try allowing inline images +Signed-off-by: dependabot[bot] <support@github.com> -* Move to image src +* fix: Lock properly -* Add single quotes +* Update pipfile -* Try specifying data +* Also update Django in setup.py files -* Remove hijack url +Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> +Co-authored-by: faucomte97 <florian.aucomt1@ocado.com> ([`36e59d7`](https://github.com/ocadotechnology/codeforlife-portal/commit/36e59d7e2aa3a5f338d1fabec9632f24d0cbdc4b)) -* Formatting +## v6.4.1 (2022-04-14) -* Clean codecov ignore list and remove wagtail docs +### Fix -* Merge branch 'master' into csp_header +* fix: added styling to emails (#1801) -* Move config to separate file +* feat: added header and footer to emails -* Merge branch 'master' into csp_header ([`4eaaf6f`](https://github.com/ocadotechnology/codeforlife-portal/commit/4eaaf6f6befdefdf8718ed34cc7ff5a9fae5c972)) +* moved styles to html file +* testing styles -## v5.20.0 (2021-11-23) +* testing styles -### Feature +* texting styles -* feat: Remove worksheet model (#1628) +* updating styles -* wip: replace worksheet model usages +* added more styles -* fix tests +* added more styles -* Merge branch 'master' into remove-worksheet-model +* adding Laura html -* Merge branch 'master' into remove-worksheet-model +* adding Laura html -* update Pipfile.lock +* adding Laura html -* Merge branch 'master' into remove-worksheet-model ([`2556285`](https://github.com/ocadotechnology/codeforlife-portal/commit/25562857f53b72e373f42b4d9be331ae39059d23)) +* auto +* autoescape fix -## v5.19.1 (2021-11-23) +* relative path -### Fix +* django syntax -* fix: Make class code case-insensitive and fully check Regex (#1639) +* django email path changed -* fix: Make class code case-insensitive and fully check Regex +* changed the method used -* Allow lowercase URL too +* added back the path -* Merge branch 'master' into class_code_fix +* texting the email.py inside registration.py -* Merge branch 'master' into class_code_fix ([`27b731e`](https://github.com/ocadotechnology/codeforlife-portal/commit/27b731e7ed56f21b1abaac6cda30a6606333d29d)) +* texting the email.py inside registration.py +* copy email over -## v5.19.0 (2021-11-23) +* reading the docs -### Feature +* reading the docs -* feat: Update terms & private policy pages designs (#1629) +* reading the docs -* feat: Update terms & private policy pages designs +* reading the docs -* Merge branch 'master' into pp_page_update ([`3cb34a5`](https://github.com/ocadotechnology/codeforlife-portal/commit/3cb34a520066cf4d9a7a1285f966431d4fea77e4)) +* render the html +* render the html -## v5.18.0 (2021-11-19) +* render the html -### Feature +* render the html -* feat: home learning updates (#1640) +* render the html -* feat: home learning updates +* render the html -* feat: update home learning page +* render the html -* text updates +* render the html -* Merge branch 'master' into homelearning +* render the html -* rounded corners and minor fixes +* render the html -* Merge branch 'homelearning' of https://github.com/ocadotechnology/codeforlife-portal into homelearning ([`b3d95e6`](https://github.com/ocadotechnology/codeforlife-portal/commit/b3d95e6d67072568131a468522a4fd0541c20aff)) +* render the html +* render the html -## v5.17.1 (2021-11-17) +* render the html -### Fix +* render the html -* fix: Remove django-hijack (#1625) +* render the html -* Fix: Remove hijack - -* Run black ([`8b8bc94`](https://github.com/ocadotechnology/codeforlife-portal/commit/8b8bc94e6a3b60ebde31f5b96b8c69ccf9062bae)) +* render the html +* render the html -## v5.17.0 (2021-11-11) +* render the html -### Feature +* render the html -* feat: add login type to user session data (#1622) +* render the html -* feat: add login type to user session data +* render the html -* fix test +* render the html -* fix cypress test +* render the html -* login type in the link +* render the html -* add failed login test +* render the html -* remove extra slash ([`84afb5b`](https://github.com/ocadotechnology/codeforlife-portal/commit/84afb5be1373fde7493375fad208863c3d9af895)) +* render the html +* render the html -## v5.16.3 (2021-11-05) +* render the html -### Fix +* render the html -* fix: class deletion ([`5ef4f0a`](https://github.com/ocadotechnology/codeforlife-portal/commit/5ef4f0a32f20544e7adb8c5c7d99e23ba24b27aa)) +* render the html -* fix: about us image (#1620) ([`324ec08`](https://github.com/ocadotechnology/codeforlife-portal/commit/324ec089a2f693301bcdd777bc0b23bb3314f11a)) +* render the html -### Unknown +* render the html -* Merge branch 'master' of https://github.com/ocadotechnology/codeforlife-portal ([`5950b96`](https://github.com/ocadotechnology/codeforlife-portal/commit/5950b968ab4c251cab9dbe63bc0beadb012cb0be)) +* render the html +* render the html -## v5.16.2 (2021-11-05) +* render the html -### Fix +* render the html -* fix: student dashboard logo link (#1605) ([`7f69d3e`](https://github.com/ocadotechnology/codeforlife-portal/commit/7f69d3ebefa3b29a0293eb8db3c862514fc5ce91)) +* render the html +* render the html -## v5.16.1 (2021-11-04) +* render the html -### Fix +* render the html -* fix: Student navbar and center RR stats (#1602) +* render the html -* fix: student navbar +* render the html -* center student RR stats +* render the html -* add menu title +* render the html -* Merge branch 'master' into student-navbar +* render the html -* Merge master into student-navbar +* addressing comments -* code review +* render the html -* fix tablet student navbar +* render the html -* fix student mobile nav colour +* render the html -* Merge master into student-navbar ([`9606421`](https://github.com/ocadotechnology/codeforlife-portal/commit/9606421bc36744f7807c0b0574678dcafc3ea915)) +* fixing tests +* fixing tests -## v5.16.0 (2021-11-04) +* render the html -### Feature +* addressing comments -* feat: Link Kurono resources to Gitbook (#1604) +* removed all the unused classes -* feat: Link Kurono resources to Gitbook +* removed all the unused classes -* fix kurono resources test +* fixed tests failing -* add redirect test +* render the html -* code review ([`3195a90`](https://github.com/ocadotechnology/codeforlife-portal/commit/3195a90da2da7bafb5839fa8bd707811220d7d16)) +* test +* test -## v5.15.0 (2021-11-03) +* test -### Feature +* test -* feat: About us page update (#1603) +* test -* feat: Update about us page +* test -* fix: resize images, update page +* test -* Merge branch 'master' into about_us_page +* email img -* fix conflict +* email img -* whitespace +* email img -* Merge branch 'master' into about_us_page ([`4ccb288`](https://github.com/ocadotechnology/codeforlife-portal/commit/4ccb2880136bb123ed1b3358c3268b89687285ee)) +* email img +* email img -## v5.14.0 (2021-11-03) +* email img -### Feature +* email img -* feat: remove ocado logo from the game (#1601) +* email img -* feat: remove ocado logo from the game +* added images -* Merge branch 'master' into remove-ocado-logos +* changed svg to png -* Merge branch 'master' into remove-ocado-logos ([`cfa4a0f`](https://github.com/ocadotechnology/codeforlife-portal/commit/cfa4a0f40cfde3349641fa726dfb261b25026ba0)) +* further html reduction +* centered title email -## v5.13.0 (2021-11-03) +* centered title email -### Feature +* final changes? -* feat: Redesign lockout page (#1599) +* final changes? -* feat: Redesign lockout page +* reduce html so the tests don't break -* Fix row margin +* removed strange css -* Merge branch 'master' into lockout_page +* remove disclaimer class -* fix global header margins +* add image_prefix the main send_email function -* revert onboarding_print +* fix the image_prefix -* Merge branch 'master' into lockout_page ([`e1bcda2`](https://github.com/ocadotechnology/codeforlife-portal/commit/e1bcda2484b3e0faf5377a198660d31f658d7cc4)) +* fix image link +* add image_prefix to a tag -## v5.12.1 (2021-11-03) +* add new CSS classes -### Fix +* remove further styles -* fix: fixes for student deletion (#1600) +* all font styles removed -* fix: remove login id on student deletion +* add inline style for not working text -* do not display inactive students ([`aac79ea`](https://github.com/ocadotechnology/codeforlife-portal/commit/aac79eae1f51d16b3b209d974372e8a0bb967791)) +* add inline style for not working text +* add inline style for not working text -## v5.12.0 (2021-10-29) +* fix to outlook and gmail alignment -### Feature +* fix to outlook and gmail alignment -* feat: Redesign student dashboards (#1598) +* rename v to my_van -* Separate dashboards and use new designs +* fix facebook and twitter alginment -* Get RR scores and add images +* added title to delete account functiuon ([`0726319`](https://github.com/ocadotechnology/codeforlife-portal/commit/0726319142a376a18bfc4b25d67801d8136b182e)) -* Merge branch 'master' into student_dashboards +## v6.4.0 (2022-04-14) -* Minify image and fix some styling issues +### Feature -* Add test +* feat: anonymise classes (#1821) -* Install temp RR branch +* feat: anonymise classes rather than deleting -* Fix typo +* test class -* Uninstall rapid-router +* Merge branch 'master' into anonymise-classes + +* anonymise classes on teacher delete +and remove class requests * code review -* Install latest RR and fix Kurono logo +* set black to 120 line length ([`50cda04`](https://github.com/ocadotechnology/codeforlife-portal/commit/50cda0432c471510b66cbc1ab5253fbfa48e0bfd)) -* black +## v6.3.1 (2022-04-08) -* Fix image size and border radius +### Fix -* Update snapshot ([`df873e2`](https://github.com/ocadotechnology/codeforlife-portal/commit/df873e219cc87f2c73a52fea41ca912dc13dbe4a)) +* fix: delete class and students on account deletion (#1822) +* fix: delete class and students on account deletion ([`3120051`](https://github.com/ocadotechnology/codeforlife-portal/commit/312005167b8df2385c440a62c1a7eaa5d889320c)) -## v5.11.0 (2021-10-27) +## v6.3.0 (2022-04-08) ### Feature -* feat: Import students from CSV (#1594) +* feat: pass admin role on acc deletion (#1820) -* feat: import students from CSV +* feat: pass admin role on acc deletion -* test csv upload +* Merge branch 'master' into deletion_admin -* updated text +* increase test -* code review +* add more test -* Merge master into csv-upload ([`4be94d6`](https://github.com/ocadotechnology/codeforlife-portal/commit/4be94d64c64f92b9b8af864821cc1b5676a62a52)) +* add test +* modify test a bit -## v5.10.4 (2021-10-27) +* fix test ([`1ecfddb`](https://github.com/ocadotechnology/codeforlife-portal/commit/1ecfddbe8e7075aebceddb9eb866381d2b13bf73)) + +## v6.2.3 (2022-04-07) ### Fix -* fix: hide account details during onboarding (#1597) +* fix: added alt texts to all images from the spreadsheet (#1810) -* fix: hide account details during onboarding +* first few images -* Merge branch 'master' into onboarding-hide-account-details +* hidden images left -* Merge branch 'master' into onboarding-hide-account-details ([`99eb890`](https://github.com/ocadotechnology/codeforlife-portal/commit/99eb8908611877d0188949ae14221c37b295a3ac)) +* hidden images left +* Meet the characters left -## v5.10.3 (2021-10-27) +* added new column -### Fix +* added aimmo characters to the DB with updated alt fields -* fix: smooth scroll to account details (#1596) +* removed the string command from 0018_update_aimmo_character_image_path.py -* fix: smooth scroll to account details +* addressed comments -* fix test +* addressed comments -* Merge master into fix-account-details-scroll +* code review -* Merge master into fix-account-details-scroll ([`90333d7`](https://github.com/ocadotechnology/codeforlife-portal/commit/90333d7a15114df52f4c6213e1ebcdb84cb885ec)) +* Merge master into alt_images +* more code review -## v5.10.2 (2021-10-27) +* Merge master into alt_images -### Fix +* update snapshots and aimmo char image paths ([`034f27a`](https://github.com/ocadotechnology/codeforlife-portal/commit/034f27a1174da8e9688b46bf7301531d60e39c8b)) -* fix: close message (#1595) +## v6.2.2 (2022-04-06) -* fix: close message ([`38b2356`](https://github.com/ocadotechnology/codeforlife-portal/commit/38b2356e6c18c1db51b5b39f3da8e491f0977181)) +### Fix +* fix: deletion email minor updates (#1819) -## v5.10.1 (2021-10-21) +* fix: deletion email minor updates ([`4a8680d`](https://github.com/ocadotechnology/codeforlife-portal/commit/4a8680d8839bdf481ca2583e2806bb53f3a2cad0)) -### Fix +## v6.2.1 (2022-04-05) -* fix: update onboarding pending request page (#1592) +### Build -* fix: update onboarding pending request page +* build(deps): bump minimist from 1.2.5 to 1.2.6 (#1817) -* withdraw ([`ebc9daa`](https://github.com/ocadotechnology/codeforlife-portal/commit/ebc9daa5f964c40937400e1166e802091982a508)) +* build(deps): bump minimist from 1.2.5 to 1.2.6 -### Unknown +Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. +- [Release notes](https://github.com/substack/minimist/releases) +- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6) -* Merge pull request #1591 from ocadotechnology/teacher-onboarding +--- +updated-dependencies: +- dependency-name: minimist + dependency-type: indirect +... -feat: Teacher onboarding ([`9df09be`](https://github.com/ocadotechnology/codeforlife-portal/commit/9df09be790baa037adebfcdad18c13cff70b0824)) +Signed-off-by: dependabot[bot] <support@github.com> -* code review ([`1241196`](https://github.com/ocadotechnology/codeforlife-portal/commit/1241196f18e46298d560af720853fd9bcbf4ed2b)) +* Merge branch 'master' into dependabot/npm_and_yarn/minimist-1.2.6 -* some cleanup ([`943d586`](https://github.com/ocadotechnology/codeforlife-portal/commit/943d5863615d21acef97db074f2be2c74d592aaf)) +* Merge branch 'master' into dependabot/npm_and_yarn/minimist-1.2.6 ([`6724b79`](https://github.com/ocadotechnology/codeforlife-portal/commit/6724b793cd44c45fd594d51b65e34a5c3b64e41b)) -* test_onboarding_complete ([`1c9c34c`](https://github.com/ocadotechnology/codeforlife-portal/commit/1c9c34cba92c36d3432b6ab4d974fc3f60d7747c)) +### Fix -* fix onboarding tests ([`f9015bd`](https://github.com/ocadotechnology/codeforlife-portal/commit/f9015bd0fb619bc52a6dbfa8a22f3b9c560965ad)) +* fix: fix sending email on account deletion (#1818) -* Merge branch 'master' into teacher-onboarding ([`9397bf7`](https://github.com/ocadotechnology/codeforlife-portal/commit/9397bf7a26e39876e9d08af2ec589443446b6366)) +* fix: fix sending email on account deletion ([`467b10a`](https://github.com/ocadotechnology/codeforlife-portal/commit/467b10aa665e883210fd856088323bb80cb74ad7)) -* update onboarding complete to go to dashboard ([`de19dcd`](https://github.com/ocadotechnology/codeforlife-portal/commit/de19dcdaab29c445b3f7069b42ced91d719e0110)) +## v6.2.0 (2022-04-05) +### Feature -## v5.10.0 (2021-10-20) +* feat: delete account function for teacher (#1812) -### Feature +* feat: delete account function for teacher -* feat: anonymise active student on delete (#1590) +* minor updates (code review) -* feat: anonymise active student on delete +* fix tests -* last name = User +* add more test + text update -* removed unused imports ([`652866e`](https://github.com/ocadotechnology/codeforlife-portal/commit/652866e7ad2fe6b3856b548e4e94a8b90ba8e2e7)) +* Merge branch 'master' into delete_account -### Unknown +* update tests -* update onboarding step 3 ([`3ebe19a`](https://github.com/ocadotechnology/codeforlife-portal/commit/3ebe19af724c69fdaff3fb0ba1d5fcbc12f00b89)) +* Merge branch 'master' into delete_account -* fix create class with classmates progress ([`a12183e`](https://github.com/ocadotechnology/codeforlife-portal/commit/a12183ec835507cbf7ed586db1cad8d67a2a6558)) +* add frontend tests -* tablet ([`a57a0f8`](https://github.com/ocadotechnology/codeforlife-portal/commit/a57a0f8b0fa0bdfc2dfcfc32bf79a8193668992e)) +* Merge branch 'master' into delete_account -* update create a class on onboarding page ([`de0a9a4`](https://github.com/ocadotechnology/codeforlife-portal/commit/de0a9a45fc0000f0c20a978277afae9a6254bc4f)) +* put back accidental deletion -* fix onboarding school page ([`bb718c5`](https://github.com/ocadotechnology/codeforlife-portal/commit/bb718c5deb665282b511a6d0340c21453c60febb)) +* add more test + send email +* increase fade time -## v5.9.0 (2021-10-15) +* fixes and tidy up -### Feature +* increase fade time -* feat: add school and class data (#1589) +* assert not not working -* feat: add school and class data +* pytest -x to stop after the first failure -* rename migraton file ([`add1f8f`](https://github.com/ocadotechnology/codeforlife-portal/commit/add1f8ffb138451ef6d2e2eb3543ea5b589f8416)) +* Merge branch 'master' into delete_account -### Unknown +* try more fade time -* wip: teacher onboarding page 1 ([`8a15ead`](https://github.com/ocadotechnology/codeforlife-portal/commit/8a15ead4510cd83fc3a8b61ffe98c1bf3ed57010)) +* update Pipfile +* take out fiddly one -## v5.8.0 (2021-10-14) +* more tidy up -### Feature +* Merge branch 'master' into delete_account -* feat: Update reminder cards design (#1584) +* minor fixes + more fade time -* Upgrade Reportlab to 3.6.1 +* data fix ([`0301952`](https://github.com/ocadotechnology/codeforlife-portal/commit/0301952cbf324a6267347f0b6c6d9a96b3ef62ff)) -* Update reminder cards design +## v6.1.1 (2022-04-05) -* Fix some spacing +### Fix -* Make rows full length and have link info +* fix: hide anonymised teachers from dashboard (#1816) -* Minify image +* fix: hide anonymised teachers from dashboard -* Rename constant +* Merge master into fix-deleted-teachers ([`82b2dc3`](https://github.com/ocadotechnology/codeforlife-portal/commit/82b2dc33114c350abeeb2f1dea927152478872f2)) -* Remove Pillow and embolden OR +## v6.1.0 (2022-04-04) -* Merge branch 'master' into update_reminder_cards_design +### Feature -* Improve test and install PyPDF2 +* feat: React subnav (#1811) -* Constants +* wip: subnav -* Uncomprehensionise the list ([`18ba6ae`](https://github.com/ocadotechnology/codeforlife-portal/commit/18ba6ae725eaf630a0250492050ef2c908ac7982)) +* Merge branch 'master' into react-subnav +* Merge branch 'master' into react-subnav -## v5.7.1 (2021-10-14) +* wip: try ToggleButtonGroup -### Fix +* fix subnav button hover -* fix: Dashboard fixes (#1583) +* subnav code cleanup -* fix: teacher dashboard switch tabs on error +* code review -* add margin: 0 back to some rows +* colour -> colors -* fix class subnav and test +* Merge branch 'master' into react-subnav -* Merge branch 'master' into dashboard-fixes ([`e70db7a`](https://github.com/ocadotechnology/codeforlife-portal/commit/e70db7a5bbba53945e8fb884dfba0f3f6606ecca)) +* Merge branch 'master' into react-subnav ([`79f214c`](https://github.com/ocadotechnology/codeforlife-portal/commit/79f214c26f8f538ec929a8afd5d5a8bc50ca895a)) +## v6.0.2 (2022-03-30) -## v5.7.0 (2021-10-14) +### Build -### Feature +* build(deps): bump minimist from 1.2.5 to 1.2.6 in /portal_frontend (#1814) -* feat: add UserSession for login data (#1585) +* build(deps): bump minimist from 1.2.5 to 1.2.6 in /portal_frontend -* feat: add UserSession for login data ([`12f52a7`](https://github.com/ocadotechnology/codeforlife-portal/commit/12f52a7b6daf1f7a0a40473cbcd88be61ff67488)) +Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. +- [Release notes](https://github.com/substack/minimist/releases) +- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6) +--- +updated-dependencies: +- dependency-name: minimist + dependency-type: indirect +... -## v5.6.2 (2021-10-11) +Signed-off-by: dependabot[bot] <support@github.com> ([`91d8316`](https://github.com/ocadotechnology/codeforlife-portal/commit/91d83166113c8641c22826e309489ff3e7466930)) -### Fix +* build(deps): bump node-forge from 1.2.1 to 1.3.0 in /portal_frontend (#1813) -* fix: Fix update account details link (#1582) +* build(deps): bump node-forge from 1.2.1 to 1.3.0 in /portal_frontend -* fix: Fix update account details link ([`ee06d14`](https://github.com/ocadotechnology/codeforlife-portal/commit/ee06d14ab3ddbd7e4dffb1b9f03d1144e17697ec)) +Bumps [node-forge](https://github.com/digitalbazaar/forge) from 1.2.1 to 1.3.0. +- [Release notes](https://github.com/digitalbazaar/forge/releases) +- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md) +- [Commits](https://github.com/digitalbazaar/forge/compare/v1.2.1...v1.3.0) +--- +updated-dependencies: +- dependency-name: node-forge + dependency-type: indirect +... -## v5.6.1 (2021-10-08) +Signed-off-by: dependabot[bot] <support@github.com> ([`fae5908`](https://github.com/ocadotechnology/codeforlife-portal/commit/fae5908396c7bcf2ada015588bee96760221d34a)) ### Fix -* fix: Fix teacher dashboard subnav button styles (#1576) +* fix: remove missing script (#1815) -* fix: Fix teacher dashboard subnav button styles +* fix: remove missing script -* Merge branch 'master' into sub_nav_buttons_fix +* Merge branch 'master' into remove-missing-script ([`fdea770`](https://github.com/ocadotechnology/codeforlife-portal/commit/fdea770278cc4be0f5d962b924f8cddcae0153b1)) -* Merge branch 'master' into sub_nav_buttons_fix ([`ad61d0d`](https://github.com/ocadotechnology/codeforlife-portal/commit/ad61d0dfb7e35fd215a12eb9ab4b07237caa4fec)) +## v6.0.1 (2022-03-15) +### Fix -## v5.6.0 (2021-10-08) +* fix: cleanup ci and update pipfile (#1800) -### Feature +* fix: cleanup ci and update pipfile ([`bff3df8`](https://github.com/ocadotechnology/codeforlife-portal/commit/bff3df8e7db4ac6f89eba0637228b5fc94d33cc7)) -* feat: login page design with shapes (#1577) +## v6.0.0 (2022-03-15) -* feat: login page design with shapes +### Breaking -* adjustments +* feat!: Upgrade from Django 2.2 to 3.2 (#1791) -* Merge branch 'master' into loginshapes ([`2a02e45`](https://github.com/ocadotechnology/codeforlife-portal/commit/2a02e45fb4919d869e9c7bf7491605be3719d765)) +* wip: upgrade dependencies versions +* projects from branches in setup.py -## v5.5.0 (2021-10-08) +* fix view kwargs -### Feature +* fix test_security_headers -* feat: login pages design with shapes ([`99996b0`](https://github.com/ocadotechnology/codeforlife-portal/commit/99996b0cf3c2f5c1f8d2750c38437b206ee972db)) +* upgrade libsass +* lock pipfile -## v5.4.0 (2021-10-08) +* install RR and aimmo in ci -### Feature +* fix cypress tests -* feat: Teacher dashboard update (#1574) +* ci comments -* Split dashboard in JS tabs and update school tab design +* disable cfl-common requirement -* Update class tab design +* fix ci -* Account tab design + other fixes +* patch selenium_test_case -* Fix some tests +* code review -* Fix scrolling +* Merge branch 'master' into upgrade-django -* Fix icons using iconify +* Merge master into upgrade-django -* Use bootstrap tabs +* Merge master into upgrade-django ([`8006307`](https://github.com/ocadotechnology/codeforlife-portal/commit/80063073a0a8359dc468b4694444c54f8b94b5f8)) -* Add shadow to danger buttons +## v5.43.0 (2022-03-15) -* Fix icon padding for inputs +### Feature -* Button and form fixes +* feat: currently fixing the mobile navbar (#1778) -* Merge branch 'master' into teacher_dashboard_update +* feat: added react example for independent student -# Conflicts: -# portal/static/portal/sass/partials/_buttons.scss -# portal/static/portal/sass/partials/_footer.scss -# portal/templates/portal/partials/footer.html -# portal/tests/test_teacher_student.py +* fix: added react folder -* Fix sub nav icon +* fix added frontend to .gitignore -* Uncomment test +* fix: removed frontend -* Fix test +* fix: added image importing example -* Fixes and copy to clipboard +* fix: added fonts -* Update security icon +* fix: cleaned up fonts -* Update 2FA disable icon +* fix: formatting complete -* Merge master +* fix: formatting complete -* Fix button hover +* fix: yarn installed -* Fix buttons and inputs +* fix: images handled and configured styles -* Move styles to subnav and refactor props +* fix: images handled and configured styles -* Merge branch 'master' into teacher_dashboard_update +* fix: renamed a file -* Merge branch 'master' into teacher_dashboard_update +* fix: cleaned up image errors and added them locally -* Refactor ([`f70c95a`](https://github.com/ocadotechnology/codeforlife-portal/commit/f70c95a70d7f8f9b270d8c35862d5962322f058b)) +* fix: corrected the font weight +* fix: corrected the fonts -## v5.3.2 (2021-10-08) +* fix: corrected the fonts -### Fix +* feat: created a templated navbar in react -* fix: remove underline from dropdown icon (#1575) +* feat: created a templated navbar in react -* fix: remove underline from dropdown icon ([`0ca1332`](https://github.com/ocadotechnology/codeforlife-portal/commit/0ca133293038af1e46b525dc922371786c6252f9)) +* fix: added extra types +* feat: added dropdowns to navbar -## v5.3.1 (2021-10-07) +* fix: moved prettier to portal_frontend -### Fix +* fix: moved prettier to portal_frontend -* fix: student one time details fixes (#1573) +* fix: renamed the variables back -* fix: student one time details fixes +* feat: added mobile navbar -* code review +* fix: removed extra files -* revert button--secondary--dark hover color ([`3573624`](https://github.com/ocadotechnology/codeforlife-portal/commit/3573624020bf696e4c800b94543ee258c33f244e)) +* feat: currently in process of fixing the mobile navbar +* feat: added mobile navbar -## v5.3.0 (2021-10-07) +* feat: added mobile navbar -### Feature +* feat: added mobile navbar -* feat: Student login one time details (#1563) +* feat: cleaned up the file structure -* WIP: student one time details page +* applied prettier -* add copy to clipboard +* applied prettier -* add button icons, text, fix alignment +* removed conflicts -* Merge branch 'student_login' into student-login-one-time-details +* trying to remove React.FC -* Merge branch 'student_login' into student-login-one-time-details +* fixed visual bugs -* fix banner and edit students password +* merge -* bootstrap salad and responsive onboarding_print +* adding comments -* add copied to clipboard tooltip +* wrapping it up :) -* test_new_student_can_login_with_url +* wrapping it up :) -* remove get clipboard url from test +* wrapping it up :) -* code review +* wrapping it up :) -* use font-size mixin +* wrapping it up :) -* Merge branch 'student_login' into student-login-one-time-details +* wrapping it up :) -* fix merge changes +* adjusting the fonts and padding -* add sub-nav--icon +* commit before changing the structure -* Merge branch 'student_login' into student-login-one-time-details ([`b7e7e62`](https://github.com/ocadotechnology/codeforlife-portal/commit/b7e7e625b9b70f4737673967e16880b947099582)) +* restructured react navbar -* feat: add csv download (#1561) +* restructured react navbar -* feat: add csv download +* restructured react navbar -* remove unnecessary code +* restructured react navbar -* minor fixes +* restructured react navbar -* add test +* restructured react navbar -* fix test +* removed unused files -* add test coverage +* restructured react navbar -* add more test ([`e2ebd1e`](https://github.com/ocadotechnology/codeforlife-portal/commit/e2ebd1ecbf667bf6a2728a4854d7b660d533a853)) +* removed px from 0px -### Fix +Co-authored-by: Dioni Zhong <dioni.zhong@ocado.com> ([`2a56fff`](https://github.com/ocadotechnology/codeforlife-portal/commit/2a56fff1e2346aee1f340140fda5b2cef08108d7)) -* fix: import get_hashed_login_id in teach.py ([`d4536ad`](https://github.com/ocadotechnology/codeforlife-portal/commit/d4536ad786b745d1f7ebee544617e0a6d0899277)) +## v5.42.0 (2022-03-14) -* fix: Update single student edit page (#1571) +### Feature -* feat: Update edit student process +* feat: add videos for play and educate pages (#1798) -* Add text to indicate login link will be regenerated too +* feat: add videos for play and educate pages -* Merge branch 'student_login' into student_login_edit_student +* Merge branch 'master' into videos ([`b656360`](https://github.com/ocadotechnology/codeforlife-portal/commit/b6563600f7cdc332f9a4c3f82205df6fbafda818)) -# Conflicts: -# portal/templates/portal/teach/onboarding_print.html -# portal/tests/pageObjects/portal/teach/edit_student_password_page.py -# portal/urls.py -# portal/views/teacher/teach.py +### Unknown -* Update edit function with correct data +* Usernamefixes (#1799) -* Fix error location +* fix: username related text updates -* Fix id problem +* The email... -* Merge branch 'student_login' into student_login_edit_student +* whitespace ([`4da5194`](https://github.com/ocadotechnology/codeforlife-portal/commit/4da51947ac810e1e2001f33fd884bdc5f4485bab)) -# Conflicts: -# portal/tests/test_teacher.py -# portal/tests/test_teacher_student.py ([`ca9a46d`](https://github.com/ocadotechnology/codeforlife-portal/commit/ca9a46da206cf96473f9afc3391e049227ab6b9d)) +## v5.41.1 (2022-03-11) -* fix: add login url on reset password + refactor (#1572) +### Fix -* fix: add login url on reset password + refactor +* fix: Login forms inconsistencies (#1797) -* renaming login id vars and pip fix ([`43ec60f`](https://github.com/ocadotechnology/codeforlife-portal/commit/43ec60fbc296f7a3d492e179044ea8f37d20b469)) +* fix: Login form inconsistencies -* fix: Teacher password update (#1569) +* Extra space -* Update teacher password policy +* Remove padding except for table headers ([`da46d29`](https://github.com/ocadotechnology/codeforlife-portal/commit/da46d29bd3b03d9adbb3884acd30c07534f57755)) -* Fix tests +## v5.41.0 (2022-03-11) -* Fix tests more +### Feature -* Fix tests even more +* feat: Remove username (#1796) -* Black ([`3d37fbd`](https://github.com/ocadotechnology/codeforlife-portal/commit/3d37fbdb0c72eee1e83365774e4c7e77df425a2d)) +* feat: added videos -### Unknown +* fix: added 0016 migration to overwrite indie student emails to usernames (#1755) -* Merge pull request #1552 from ocadotechnology/student_login +* fix: cleanup duplicate teacher + indy -feat: Student login ([`a43b5d3`](https://github.com/ocadotechnology/codeforlife-portal/commit/a43b5d32cd2587c1fe3f6db1a3516763fdcd280b)) +* more test -* Merge branch 'master' into student_login ([`608c77d`](https://github.com/ocadotechnology/codeforlife-portal/commit/608c77d5644d5c4332ed7071294b54f5b3d6473f)) +* add test +* remove else for test -## v5.2.4 (2021-10-01) +* fix coverage! -### Feature +* fix: added 0016 migration to overwrite indie student emails to usernames -* feat: random url for student login (#1556) +* fix: cleaned up the migration -* feat: add random url on student addition +* fix: fixed cypress tests failing due to the copy of email -> username -* feat: log in with the unique url +* fix tests -* fix url param +* 5.33.1 -* create tests for the direct login +Automatically generated by python-semantic-release -* Merge branch 'student_login' into randomurl +* fix: Revert "fix: update test cookies consent script (#1752)" (#1756) -* fix: renaming and minor fixes ([`5b71a74`](https://github.com/ocadotechnology/codeforlife-portal/commit/5b71a74c4e67b747f00fa37031f36559fb134fed)) +* Revert "fix: update test cookies consent script (#1752)" -* feat: Split student login process in two steps (#1551) +This reverts commit cfaa2ec828d20398754b34e152273a3388776b59. -* Split form in 2 +* dummy commit -* Update tests and redirect +* 5.33.2 -* Merge branch 'student_login' into student_login_separate_forms +Automatically generated by python-semantic-release -* Update class code regexes +* fix: added user activity check -* Fix Cypress tests +* fix: cleaned up the is_active statement -* Review changes +* fix: cleaned up the is_active statement -* Remove help link from email +* fix: cleaned up the is_active statement -* Move compile to regex file +* fix: cleaned up the is_active statement -* Remove sleeps +Co-authored-by: Dioni Zhong <dioni.zhong@ocado.com> +Co-authored-by: Dioni Zhong <4784791+dionizh@users.noreply.github.com> +Co-authored-by: github-actions <action@github.com> +Co-authored-by: Razvan Mahu <67904187+razvan-pro@users.noreply.github.com> -* Reinstate some sleeps ([`cf7d521`](https://github.com/ocadotechnology/codeforlife-portal/commit/cf7d5210376365e5b38d8ca66d0a017543e6f528)) +* feat: Remove indep username (#1763) -* feat: class code and student password format (#1550) +* Revert "feat: added videos" -* feat: class code and student password format +This reverts commit 48438fc0852bff086f248831cf2a8e10e3f2b20d. -* update student password policy +* feat: Remove username from independent student forms -* Pipfile.lock ([`f736c23`](https://github.com/ocadotechnology/codeforlife-portal/commit/f736c235f69d8f3fd8095ad824d2f04947c85938)) +* fix change email pages -### Fix +* Make login forms consistent and aligned to designs -* fix: Update license (#1562) +* Apostrophe -* fix: Update license file and add contributor agreement - -* Remove old license text - -* Update lockfile - -* Fix headings - -* Remove divs - -* Remove whitespaces ([`4c6dcce`](https://github.com/ocadotechnology/codeforlife-portal/commit/4c6dcce3ee9b78313ac45bf6887dbf773f00ea81)) +* fix tests -* fix: update autoconfig settings for random URL (#1557) +* Remove username logic and improve dismiss form -* fix: update autoconfig settings for random URL +* Merge branch 'master' into remove_username -* remove duplicate +# Conflicts: +# CHANGELOG.md +# portal/__init__.py +# portal/templates/portal/login/student.html +# portal/templates/portal/login/teacher.html +# portal/templates/portal/teach/teacher_dismiss_students.html +# portal/tests/test_api.py +# portal/urls.py +# portal/views/api.py -* fix: remove redundant settings from test ([`e14a0dc`](https://github.com/ocadotechnology/codeforlife-portal/commit/e14a0dc88fee84b4be5ec6c6bea33d34442a2d8e)) +* Merge branch 'master' into remove_username +# Conflicts: +# portal/views/api.py -## v5.2.3 (2021-09-17) +* Reorder migrations + +* Code review changes + +* Remove unnecessary text ([`611fe0c`](https://github.com/ocadotechnology/codeforlife-portal/commit/611fe0c1cf8fd48e66906c9ceb77441a2417bcc1)) + +## v5.40.5 (2022-03-10) ### Fix -* fix: fix home page on smaller screen sizes (#1549) +* fix: indy cleanup - priorities last login (#1795) -* fix: fix home page on smaller screen sizes +* fix: indy cleanup - priorities last login -* Use px instead of pt +* batch 500 ([`469f87b`](https://github.com/ocadotechnology/codeforlife-portal/commit/469f87b1e8efd35135368729997c3f8ae89564aa)) -* Merge branch 'master' into homeupdates ([`2a7f885`](https://github.com/ocadotechnology/codeforlife-portal/commit/2a7f885ba16a883748f07236182d288316f3411e)) +## v5.40.4 (2022-03-10) +### Fix -## v5.2.2 (2021-09-17) +* fix: continue publishing after pypi error (#1794) ([`0ae38ff`](https://github.com/ocadotechnology/codeforlife-portal/commit/0ae38ff5987688cd7d5302f51e8d8d228871b693)) + +## v5.40.3 (2022-03-10) ### Fix -* fix: Improve 2FA pages styles (#1548) +* fix: re-versioning 2 ([`9178eff`](https://github.com/ocadotechnology/codeforlife-portal/commit/9178effe8db877156fdd68d0e0956e1c6260dfab)) -* fix: Improve 2FA pages styles +## v5.40.2 (2022-03-10) -* End line +### Fix -* Make cancel button secondary ([`9cbd5a1`](https://github.com/ocadotechnology/codeforlife-portal/commit/9cbd5a1ca515dfb3b03962c704af3b2ef0452237)) +* fix: re-versioning ([`50ee56c`](https://github.com/ocadotechnology/codeforlife-portal/commit/50ee56c5db7af83dee8a3717a255ef93f1380c73)) +## v5.40.1 (2022-03-10) -## v5.2.1 (2021-09-14) +### Fix -### Build +* fix: the last indy/teacher clean up (#1793) -* build(deps): bump sqlparse from 0.4.1 to 0.4.2 (#1537) +* fix: the last indy/teacher clean up ([`7f56383`](https://github.com/ocadotechnology/codeforlife-portal/commit/7f563839fe438b196d447ba06463cc82f733ce7e)) -* build(deps): bump sqlparse from 0.4.1 to 0.4.2 +## v5.40.0 (2022-03-04) -Bumps [sqlparse](https://github.com/andialbrecht/sqlparse) from 0.4.1 to 0.4.2. -- [Release notes](https://github.com/andialbrecht/sqlparse/releases) -- [Changelog](https://github.com/andialbrecht/sqlparse/blob/master/CHANGELOG) -- [Commits](https://github.com/andialbrecht/sqlparse/compare/0.4.1...0.4.2) +### Feature ---- -updated-dependencies: -- dependency-name: sqlparse - dependency-type: direct:production -... +* feat: Add users to specific address books based on user type (#1790) -Signed-off-by: dependabot[bot] <support@github.com> +* feat: Add users to specific address books based on user type -* Update lockfile +* Code review amends -* Merge branch 'master' into dependabot/pip/sqlparse-0.4.2 ([`d3a5388`](https://github.com/ocadotechnology/codeforlife-portal/commit/d3a538891c320fb6e192dfe50b5d9da3ef03eb96)) +* Add assert ([`06b9ed3`](https://github.com/ocadotechnology/codeforlife-portal/commit/06b9ed311a5124b00816fec05a04a66b430ee5e4)) -### Fix +## v5.39.1 (2022-03-02) -* fix: reposition banner image (#1545) +### Fix -* fix: reposition banner image ([`5da3972`](https://github.com/ocadotechnology/codeforlife-portal/commit/5da39724cf43f03c102f6b83c724a911252a9441)) +* fix: Upgrade semantic-release version (#1789) +* fix: Upgrade semantic-release version ([`ae2911a`](https://github.com/ocadotechnology/codeforlife-portal/commit/ae2911ae2d7fbe6842fca41bccd388851d967764)) -## v5.2.0 (2021-09-13) +## v5.39.0 (2022-03-01) ### Feature -* feat: remove flags (#1541) - -* feat: remove flags - -* Merge branch 'master' into remove-flags +* feat: student aimmo dashboard (#1786) -* Merge branch 'master' into remove-flags ([`4a6a0b3`](https://github.com/ocadotechnology/codeforlife-portal/commit/4a6a0b34ebc83fefa9f9dab1adf416a15939c29a)) +* wip: student aimmo dashboard +* scroll cards almost done, buttons in progress -## v5.1.0 (2021-09-13) +* style and disable buttons -### Feature +* button hover background -* feat: add index to terms of use (#1538) +* fix cards padding -* feat: add index to terms of use ([`56a19ca`](https://github.com/ocadotechnology/codeforlife-portal/commit/56a19ca97a5f193d1df1c747cc78412d366e6886)) +* code review +* teacher aimmo dashboard delete button -## v5.0.1 (2021-09-09) +* Merge branch 'master' into student-aimmo-dashboard -### Fix +* test partials ([`9c1771c`](https://github.com/ocadotechnology/codeforlife-portal/commit/9c1771cafa4fd790e51bf69d0d315db64b5a75c1)) -* fix: button and table updates (rebranding 1 amends) (#1536) +## v5.38.0 (2022-02-28) -* fix: button and table updates +### Feature -* whitespace ([`57291aa`](https://github.com/ocadotechnology/codeforlife-portal/commit/57291aa0d692062dc48402d78793f07efc8e5ca1)) +* feat: add React banner (#1780) +* feat: add react welcome banner and tertiary color -## v5.0.0 (2021-09-04) +* add RR banner -### Breaking +* Merge branch 'master' into reactbanner -* feat!: major version bump for rebranding phase 1 (#1527) +* minify image and tidy up -* feat!: major version bump for rebranding phase 1 ([`592857f`](https://github.com/ocadotechnology/codeforlife-portal/commit/592857fd4524bba82f96171e6e66a357795daea4)) +* remove unused import +* Merge branch 'master' into reactbanner ([`bdc5e32`](https://github.com/ocadotechnology/codeforlife-portal/commit/bdc5e32267da6e437f9a1efd052fdfb102a5951f)) -## v4.36.1 (2021-09-03) +## v5.37.2 (2022-02-24) ### Fix -* fix: Privacy Policy update (#1526) +* fix: Remove padding in dropdown options (#1781) -* fix: Privacy Policy update +* fix: Remove padding in dropdown options -* Merge branch 'master' into privacy_policy_update +* Update message on teacher kick ([`cc0ee7f`](https://github.com/ocadotechnology/codeforlife-portal/commit/cc0ee7fd10461ff966b0b803c01c9c1ea4d49980)) -* Strengthen text ([`e6943f5`](https://github.com/ocadotechnology/codeforlife-portal/commit/e6943f59b9db192e309eb7abd347f360cd6abb4c)) +## v5.37.1 (2022-02-24) +### Fix -## v4.36.0 (2021-09-03) +* fix: Run Black formatter ([`b938fce`](https://github.com/ocadotechnology/codeforlife-portal/commit/b938fce07eefb7abfe4404ea4cc2f40b00de38ed)) + +## v5.37.0 (2022-02-23) ### Feature -* feat: version bump (#1525) -BREAKING CHANGE: rebranding phase 1 +* feat: Kick / leave teacher page update (#1779) -* feat: version bump -BREAKING CHANGE: rebranding ([`ec6d589`](https://github.com/ocadotechnology/codeforlife-portal/commit/ec6d5896f7b571c91aca489da590a7cda24236c4)) +* feat: Redesign teacher leave page -### Unknown +* Merge branch 'master' into kick_teacher_update ([`c4f2918`](https://github.com/ocadotechnology/codeforlife-portal/commit/c4f29188a7ad42a699ee1c65fe74382d0d89e9aa)) -* BREAKING CHANGE: rebranding +## v5.36.1 (2022-02-23) -Merge pull request #1523 from ocadotechnology/version-bump +### Fix -feat: version bump ([`82bbb28`](https://github.com/ocadotechnology/codeforlife-portal/commit/82bbb28553010d2b35dcbd072fee5f341ca1edc2)) +* fix: remove assertEqual/s (#1777) +* fix: remove assertEqual/s ([`d727634`](https://github.com/ocadotechnology/codeforlife-portal/commit/d727634d4433e32a53a5357d7c3a52880b219cbd)) -## v4.35.0 (2021-09-03) +## v5.36.0 (2022-02-22) ### Feature -* feat: Rebranding 1 - footer (#1511) +* feat: registration improvement (#1774) -* wip: navbar as partial and started styling +* feat: registration improvement -* feat: rebranding colours, fonts, landing page +* Merge branch 'master' into razvan-pro/issue1721 -* Merge branch 'master' into rebranding1 +* use mail in test_ratelimit -* fix: button updates, rob, snapshot +* Merge master into razvan-pro/issue1721 ([`eed5e2c`](https://github.com/ocadotechnology/codeforlife-portal/commit/eed5e2c5db2182ecd3a5dcce17c80da7ee3a21fe)) -* fix: update play pic and some pos +## v5.35.3 (2022-02-22) -* Make footer a partial +### Fix -* Merge remote branch rebranding-p1 into rebranding1 +* fix: duplicate postcode test (#1775) -* fix navbar account dropdown +* fix: duplicate postcode test ([`ee57c9c`](https://github.com/ocadotechnology/codeforlife-portal/commit/ee57c9cf2e0ecdaf9d76777e47918ffe4d74663e)) -* fix dropdown icon alignment +## v5.35.2 (2022-02-21) -* Update footer part 1 (content, links, icons and form) +### Build -* fix logo quality +* build(deps): bump follow-redirects in /portal_frontend (#1770) -* delete navbar.html +Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8. +- [Release notes](https://github.com/follow-redirects/follow-redirects/releases) +- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8) -* fix: reformatting, style updates +--- +updated-dependencies: +- dependency-name: follow-redirects + dependency-type: indirect +... -* add twitter icon to footer using iconify +Signed-off-by: dependabot[bot] <support@github.com> -* add email icon to newsletter input +Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> +Co-authored-by: Florian Aucomte <f.aucomte@hotmail.co.uk> ([`e6da47e`](https://github.com/ocadotechnology/codeforlife-portal/commit/e6da47ef360fadde2df19ff900dd7df5b0a52152)) -* Fix icon size and add logos +### Fix -* Merge branch 'rebranding_footer' of https://github.com/ocadotechnology/codeforlife-portal into rebranding_footer +* fix: Remove now unnecessary workspace clearing (#1771) ([`4138df7`](https://github.com/ocadotechnology/codeforlife-portal/commit/4138df760a3d818b4bc1ce3780a75116dffe9fdd)) -# Conflicts: -# portal/static/portal/sass/partials/_footer.scss -# portal/templates/portal/partials/footer.html +## v5.35.1 (2022-02-17) -* fix: image, color and button updates +### Fix -* Remove magic values and form spacing +* fix: Add anonymise action in Django admin (#1769) -* fix headers and spacing on terms and privacy pages +* fix: Add anonymise action in Django admin -* Refactor and make mobile layout work for portrait tablets and phones +* Merge branch 'master' into add_anonymise_action_admin ([`14e5396`](https://github.com/ocadotechnology/codeforlife-portal/commit/14e5396c2666856eadf38f6625ace6be82c84b90)) -* Merge branch 'rebranding1' into rebranding_footer +## v5.35.0 (2022-02-17) -# Conflicts: -# portal/static/portal/sass/partials/_footer.scss -# portal/static/portal/sass/partials/_forms.scss -# portal/templates/portal/base.html -# portal/templates/portal/base_old.html +### Feature -* Fix underline, form width and remove unused CSS +* feat: added react example for independent student (#1731) -* Make text semibold +* feat: added react example for independent student -* Scale logos +* fix: added react folder -* fix footer links order on mobile +* fix added frontend to .gitignore -* different footer logo location on mobile +* fix: removed frontend ([`685b694`](https://github.com/ocadotechnology/codeforlife-portal/commit/685b6949bb707439d8c529be8d1dad7c34cb8f3f)) -* Merge branch 'rebranding-p1' into rebranding_footer +## v5.34.3 (2022-02-16) -# Conflicts: -# portal/static/portal/img/reuben.png -# portal/static/portal/img/rob.png -# portal/static/portal/sass/modules/_colours.scss -# portal/static/portal/sass/modules/_mixins.scss -# portal/static/portal/sass/old_styles.scss -# portal/static/portal/sass/partials/_banners.scss -# portal/static/portal/sass/partials/_buttons.scss -# portal/static/portal/sass/partials/_footer.scss -# portal/static/portal/sass/partials/_forms.scss -# portal/static/portal/sass/partials/_header.scss -# portal/static/portal/sass/partials/_subnavs.scss -# portal/static/portal/sass/partials/_text.scss -# portal/templates/portal/base.html -# portal/templates/portal/base_old.html -# portal/templates/portal/home.html -# portal/templates/portal/privacy_policy.html -# portal/templates/portal/teach.html -# portal/templates/portal/terms.html -# portal/tests/snapshots/snap_test_partials.py +### Fix -* Clean up +* fix: no duplicate email on student release (#1766) -* Fix test +* fix: no duplicate email on student release -* Fix double underline +* whitespaces ([`2b85f48`](https://github.com/ocadotechnology/codeforlife-portal/commit/2b85f4816a6172e815d6ecfd254b444a002d4a81)) -* Fix styling, sizes and script integrity +## v5.34.2 (2022-02-16) -* Fix test +### Fix -* Add integrity in 500 page +* fix: trim ci flow (#1764) -* Remove arrow +* fix: trim ci flow ([`37adc09`](https://github.com/ocadotechnology/codeforlife-portal/commit/37adc09b5998e4ed1817c975b4dba83548effee3)) -* Fix test and padding +## v5.34.1 (2022-02-14) -* Fix more spacing stuff +### Fix -* fix: remove round corners for form input +* fix: update cookies categories (#1753) -* Merge branch 'rebranding-p1' into rebranding_footer +* fix: update cookies categories -* Updated CFL landscape logo ([`249df12`](https://github.com/ocadotechnology/codeforlife-portal/commit/249df12bbe91085115ee25f1a7fb63f29d64dcd1)) +* Merge branch 'master' into update-cookies-categories -* feat: rebranding colours, fonts, landing page (#1496) +* update prod cookies script -* wip: navbar as partial and started styling +* Merge branch 'master' into update-cookies-categories ([`63a06e7`](https://github.com/ocadotechnology/codeforlife-portal/commit/63a06e72792bbb779065a36fab0795b2f815894f)) -* feat: rebranding colours, fonts, landing page +## v5.34.0 (2022-02-11) -* Merge branch 'master' into rebranding1 +### Build -* fix: button updates, rob, snapshot +* build: Update lockfile for Django 2.2.27 (#1762) -* fix: update play pic and some pos +* build: Update lockfile for Django 2.2.27 ([`fdbd4be`](https://github.com/ocadotechnology/codeforlife-portal/commit/fdbd4be20910de98a0df4d40838700e0fd5146d6)) -* Merge remote branch rebranding-p1 into rebranding1 +### Feature -* fix navbar account dropdown +* feat: student join release data tracking (#1760) -* fix dropdown icon alignment +* feat: student join release data tracking -* fix logo quality +* some renaming and tidy up -* delete navbar.html +* Merge branch 'master' into joinrelease ([`5b74f64`](https://github.com/ocadotechnology/codeforlife-portal/commit/5b74f64a1a0a3fb1b1c5325abac529b3a4555c66)) -* fix: reformatting, style updates +## v5.33.5 (2022-02-10) -* fix: image, color and button updates +### Fix -* fix headers and spacing on terms and privacy pages +* fix: Update pyyaml to 5.4.1 (#1761) ([`02b12ef`](https://github.com/ocadotechnology/codeforlife-portal/commit/02b12ef5980aeaf1bcdc995406edd1641dbb4f0f)) -* fix: reformatting, header size changes, reg page +## v5.33.4 (2022-02-10) -* Merge branch 'rebranding1' of https://github.com/ocadotechnology/codeforlife-portal into rebranding1 +### Fix -* fix kurono headers and button size +* fix(deps): bump django from 2.2.26 to 2.2.27 (#1758) -* Merge branch 'rebranding1' of https://github.com/ocadotechnology/codeforlife-portal into rebranding1 +* build(deps): bump django from 2.2.26 to 2.2.27 -* fix: fix registration page link colours +Bumps [django](https://github.com/django/django) from 2.2.26 to 2.2.27. +- [Release notes](https://github.com/django/django/releases) +- [Commits](https://github.com/django/django/compare/2.2.26...2.2.27) -* Merge branch 'rebranding1' of https://github.com/ocadotechnology/codeforlife-portal into rebranding1 +--- +updated-dependencies: +- dependency-name: django + dependency-type: direct:production +... -* replace glyphicons with material icons +Signed-off-by: dependabot[bot] <support@github.com> -* fix: remove margin top for button +* Upgrade Django also in common -* fix: remove text_constants import +Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> +Co-authored-by: Florian Aucomte <f.aucomte@hotmail.co.uk> ([`22e64e8`](https://github.com/ocadotechnology/codeforlife-portal/commit/22e64e894679473bafc6e734a0ff7510abf0f14a)) -* navbar fixes - -* button shadow +## v5.33.3 (2022-02-09) -* removed extra spaces +### Fix -* fix: teaching resources reformat and tidy up +* fix: indy teacher cleanup in batches ([`200c6ae`](https://github.com/ocadotechnology/codeforlife-portal/commit/200c6ae560919b65eb9fbb7e270927aa27b7e417)) -* Merge branch 'rebranding1' of https://github.com/ocadotechnology/codeforlife-portal into rebranding1 +### Unknown -* Merge branch 'rebranding-p1' into rebranding1 +* Merge pull request #1757 from ocadotechnology/cleanupbatch -* update snapshot and fix tests +fix: indy teacher cleanup in batches ([`522c023`](https://github.com/ocadotechnology/codeforlife-portal/commit/522c0233631f7551d1eab372732141272f727a8d)) -* fix white text on register and login inputs +## v5.33.2 (2022-02-08) -* button and background updates +### Fix -* white and black +* fix: Revert "fix: update test cookies consent script (#1752)" (#1756) -* update snapshot +* Revert "fix: update test cookies consent script (#1752)" -* update the registration banner +This reverts commit cfaa2ec828d20398754b34e152273a3388776b59. -* dropdown fixes, home img fix +* dummy commit ([`d63bdf5`](https://github.com/ocadotechnology/codeforlife-portal/commit/d63bdf5aa5d79b51e40f4fb227008fb36e1e1565)) -* whitespace tidy up +## v5.33.1 (2022-02-08) -* tidy up ([`eab81ee`](https://github.com/ocadotechnology/codeforlife-portal/commit/eab81eeab3a66d9482e340e56101e620c591bb86)) +### Unknown -* feat: Remove teacher title (#1508) +* Merge pull request #1754 from ocadotechnology/teacherindycleanup -* feat: remove teacher title ([`1d0c9b5`](https://github.com/ocadotechnology/codeforlife-portal/commit/1d0c9b559e4a8c223312bfb476f6706f9b17e28e)) +fix: cleanup duplicate teacher + indy ([`d22be8e`](https://github.com/ocadotechnology/codeforlife-portal/commit/d22be8ec03749e211a01c61dd0fee801638a3993)) -* feat: Rebranding navbar (#1495) +* fix tests ([`088a73a`](https://github.com/ocadotechnology/codeforlife-portal/commit/088a73aa88f09a46c85f0044c41c70e9a5ab994c)) -* wip: navbar as partial and started styling +* Merge branch 'master' into teacherindycleanup ([`21d2991`](https://github.com/ocadotechnology/codeforlife-portal/commit/21d2991d8991295fbb230f0296ec8dcb2715ac06)) -* style updates +## v5.33.0 (2022-02-07) -* more styles for responsiveness +### Feature -* update dropdown style +* feat: Implement session timeout middleware (#1749) -* small style fixes +* feat: Implement session timeout middleware -* removed some commented lines +* Add test -* more responsive style fixes +* Use pytest monkeypatch for some mocks -* Merge branch 'master' into rebranding-navbar +* Remove unused monkeypatch ([`cf5373e`](https://github.com/ocadotechnology/codeforlife-portal/commit/cf5373e849d06700ce9328356862510797108db9)) -* some nav fixes and shadow +### Fix -* remove old logo +* fix: cleanup duplicate teacher + indy ([`b73f545`](https://github.com/ocadotechnology/codeforlife-portal/commit/b73f5451e7c30b7b45053711d99d5bb9eaca1e78)) -* add icons font to other html files +### Unknown -* remove glyphicons from navbar +* fix coverage! ([`01117bc`](https://github.com/ocadotechnology/codeforlife-portal/commit/01117bc27edcf243f56707ad242ffdfec17a9a2a)) -* fix navbar on tablets +* remove else for test ([`b9c41d8`](https://github.com/ocadotechnology/codeforlife-portal/commit/b9c41d83ce332f600f18f7ff691b3b190e688740)) -* code review changes +* add test ([`9d67c3c`](https://github.com/ocadotechnology/codeforlife-portal/commit/9d67c3c14119ce006cb0db63f4a98c994e43be9f)) -* subnav warning fixes +* more test ([`d2d6de8`](https://github.com/ocadotechnology/codeforlife-portal/commit/d2d6de86e64f02cceed9a5c4e2f53001534d9c89)) -* fix old style nav size +* Merge branch 'master' into teacherindycleanup ([`764976f`](https://github.com/ocadotechnology/codeforlife-portal/commit/764976f9831c78ffe64bdbe61bdec69eb10afe3f)) -* add get involved link to mobile nav +## v5.32.4 (2022-02-03) -* navbar -> header +### Fix -* add sleep to some selenium tests +* fix: update test cookies consent script (#1752) -* try to increase sleep time +* fix: update test cookies consent script ([`cfaa2ec`](https://github.com/ocadotechnology/codeforlife-portal/commit/cfaa2ec828d20398754b34e152273a3388776b59)) -* Revert "add sleep to some selenium tests" +## v5.32.3 (2022-02-03) -This reverts commit 43cef25fec835b73ebbb2db745dbcd3f8b139890. +### Fix -* fix subnav filler and nav height on tablet ([`717a765`](https://github.com/ocadotechnology/codeforlife-portal/commit/717a765cde126bb91336a3eb1408e95702897f53)) +* fix: Make two_factor a module to fix deployment (and move to /views/) (#1751) -### Fix +* fix: Make two_factor a module to fix deployment (and move to /views/) -* fix: remove page caches (#1522) +* Empty init file ([`b162c30`](https://github.com/ocadotechnology/codeforlife-portal/commit/b162c309ac6df2dfd1b4ebf2f9497251aea32ad6)) -* fix: remove page caches ([`de51c42`](https://github.com/ocadotechnology/codeforlife-portal/commit/de51c4226fb9029bae6f760818f8c8df7feb90d8)) +## v5.32.2 (2022-02-03) -* fix: rebranding adjustments (#1521) +### Unknown -* fix: rebranding adjustments +* Merge pull request #1750 from ocadotechnology/uniqueemail -* update snapshot to fix test +fix: unique email for teacher and indy student ([`7303921`](https://github.com/ocadotechnology/codeforlife-portal/commit/7303921a6f9d42f9f11838c81aa3b4c983209295)) -* fix: clean up and mobile amend ([`a00b6b1`](https://github.com/ocadotechnology/codeforlife-portal/commit/a00b6b115337ee028e058dc936fda956b20fe2fa)) +* Merge branch 'master' into uniqueemail ([`8a37b59`](https://github.com/ocadotechnology/codeforlife-portal/commit/8a37b595fe9f48ba0bc9c4d36c9dfe666a53e0bf)) -* fix: Footer fixes and old base removal (#1519) +## v5.32.1 (2022-02-02) -* Get rid of base_old.html +### Fix -* Fix footer spacing and padding +* fix: 2FA pages updated (#1736) -* Fix footer tablet layout +* fix: updated the 2FA pages to the designs -* Bring cache back +* fix: fixed 2FA disable not working -* Remove old_styles.scss +* fix: clearning up #1 -* Remove linting config files used by CodeClimate +* fix: edit class page fix -* Remove cache +* fix: cleanup #2 -* Delete redundant header blocks and button classes ([`fa2d9ad`](https://github.com/ocadotechnology/codeforlife-portal/commit/fa2d9ad64ad29b8c989e01245467ba8225247d70)) +* fix: added pop ups and cleaned up the code -* fix: mobile navbar buttons max width, padding, Ocado logo, account icon, dropdown (#1520) +* fix: moved styles around, and cleaned up whitespaces -* fix: mobile navbar buttons max width +* fix: forgot some comments -* add navbar buttons padding +* fix: comments addressed #2 -* align ocado logo to the middle of the screen +* fix: added condition_dict to stop breaking the page -* fix navbar dropdown +* fix: cleaned up #3 -* fix navbar account icon font weight ([`e242f9c`](https://github.com/ocadotechnology/codeforlife-portal/commit/e242f9cc5d3c9089d0cfb87ded0ef3bc11b04216)) +* fix: cleaned up #4 -* fix: fix test ([`c9c2381`](https://github.com/ocadotechnology/codeforlife-portal/commit/c9c2381a994315985045102704d96e881e8de2ac)) +* fix: cleaned up #5 -* fix: button updates etc (#1517) +* fix: design corrections -* fix: button updates etc ([`1e599e6`](https://github.com/ocadotechnology/codeforlife-portal/commit/1e599e602592890b14da3bed9f8ee169d5964846)) +* fix: design corrections #2 -* fix: rebranding logo spacing (#1516) +* fix: design corrections #3 ([`8c8f1ae`](https://github.com/ocadotechnology/codeforlife-portal/commit/8c8f1ae1f0c5976be3b09664ed28bb323475d01c)) -* fix: rebranding logo spacing +* fix: unique email for teacher and indy student ([`43927a4`](https://github.com/ocadotechnology/codeforlife-portal/commit/43927a4dda86a8af806023e5d12e1ecab264b17a)) -* min navbar height 80 ([`1614ac0`](https://github.com/ocadotechnology/codeforlife-portal/commit/1614ac0d20af98f26f53e88b0f10220db49813fe)) +### Unknown -* fix: Rebranding1 button fixes (#1515) +* Merge branch 'master' into uniqueemail ([`3dd3259`](https://github.com/ocadotechnology/codeforlife-portal/commit/3dd3259e1fb427f84c904a25c0ad36789d83dd2c)) -* fix: button size fixes +* remove redundant check ([`10b2ee6`](https://github.com/ocadotechnology/codeforlife-portal/commit/10b2ee6a19fba0e3764d2fa37f11166c6c759143)) -* fix: home learning link ([`86514e3`](https://github.com/ocadotechnology/codeforlife-portal/commit/86514e3aeb9a0fd1f31ea3f72d301d5d91f3fa07)) +* fix test ([`0a23f28`](https://github.com/ocadotechnology/codeforlife-portal/commit/0a23f28bfcb28c1a7a1608d04711e188e3da19c2)) -* fix: Rebranding amends (#1513) +* fix test ([`85788a4`](https://github.com/ocadotechnology/codeforlife-portal/commit/85788a4e588c469301bc28241923c8780151f2a1)) -* Make titles and padding smaller in register and login pages +## v5.32.0 (2022-01-26) -* Improve 2FA pages styles +### Feature -* Benefits partial 8 columns +* feat: indy student cleanup ([`7f2b64f`](https://github.com/ocadotechnology/codeforlife-portal/commit/7f2b64ff33b2d99f66d9215aae58b6118bc2855f)) -* Fix Rapid Router banner +### Unknown -* Reduce banners padding even more +* Merge pull request #1735 from ocadotechnology/indycleanup -* Fix footer padding +fix: indy student cleanup ([`9d6b33a`](https://github.com/ocadotechnology/codeforlife-portal/commit/9d6b33ac9c77000f09502e9a06fe54d4628e3996)) -* Fix teach page padding +* Merge branch 'master' into indycleanup ([`af12f75`](https://github.com/ocadotechnology/codeforlife-portal/commit/af12f757b94d633b2c7e6933ed4309d8e9a5a4fd)) -* Fix simple pages issue with footer bug +## v5.31.0 (2022-01-25) -* Fix Kurono landing page pt 1 +### Feature -* Fix messages banner +* feat: Reset password and email verification pages redesign (#1733) -* Reduce header height +* feat: Reset password and email verification pages redesign -* Fix scoreboard header +* Merge branch 'master' into reset_password_redesign -* Delete unused images +* Move form shapes to a generic template -* Fix right aligned button in Teach page +* Add verification test ([`25423b4`](https://github.com/ocadotechnology/codeforlife-portal/commit/25423b4045e5482141bed7cec7f28fc3a688b96a)) -* Update popup style +### Unknown -* Fix Kurono landing page pt. 2 +* indy clean up test ([`c0ece76`](https://github.com/ocadotechnology/codeforlife-portal/commit/c0ece769f10e7fbd5a6e9eb930be56525c8bccb6)) -* Update student old pages +## v5.30.3 (2022-01-21) -* More space for footer logos +### Unknown -* Update snapshots +* Merge pull request #1732 from ocadotechnology/archivegame -* Fix more small pages +fix: fix various things on archiving game ([`5dd15d7`](https://github.com/ocadotechnology/codeforlife-portal/commit/5dd15d7adef540c41b61b10924143e7272a4179d)) -* Fix tests +* tidy up ([`26709aa`](https://github.com/ocadotechnology/codeforlife-portal/commit/26709aafd0803dc1202f21ebf3917050f4400efe)) -* Fix tests pt 2 +* fix test, tidy up ([`c00ed28`](https://github.com/ocadotechnology/codeforlife-portal/commit/c00ed282b406dba0e70e32d5c7bf40b4939cf37c)) -* Uncomment cache +* add coverage? ([`7adab32`](https://github.com/ocadotechnology/codeforlife-portal/commit/7adab32ef57fdad562ddde836bcbbd3aa01e5ef6)) -* fix: mouseflow not to use integrity check +* put assert ([`639ea27`](https://github.com/ocadotechnology/codeforlife-portal/commit/639ea27a08215f0e688a73e11c6c9ce66c2993ef)) -* Small fixes +* increase test coverage ([`bebc613`](https://github.com/ocadotechnology/codeforlife-portal/commit/bebc613c49af31019affc658b635fdc65158de2b)) -* Merge branch 'rebranding_p1_amends' of https://github.com/ocadotechnology/codeforlife-portal into rebranding_p1_amends +* fix test ([`42ce90b`](https://github.com/ocadotechnology/codeforlife-portal/commit/42ce90b0bb20cd38293df6585770a4eae4e11fd0)) -* Merge branch 'rebranding-p1' into rebranding_p1_amends +* update lock file ([`63d17b5`](https://github.com/ocadotechnology/codeforlife-portal/commit/63d17b51d7803d5711b23aea8ebc880b4ee88f1b)) -# Conflicts: -# portal/static/portal/sass/partials/_subnavs.scss -# portal/templates/portal/teach.html +* remove print ([`cec6a86`](https://github.com/ocadotechnology/codeforlife-portal/commit/cec6a86bb1a40aa51c515e53c0229ea43066deb0)) -* Bring border back to inputs ([`487d214`](https://github.com/ocadotechnology/codeforlife-portal/commit/487d2145bf9019a8d629b20200a2b598eecb753a)) +* Merge branch 'master' into archivegame ([`d66add7`](https://github.com/ocadotechnology/codeforlife-portal/commit/d66add7765ab22567924122bb20be1fa6b89ba90)) -* fix: Rebranding1 updates - buttons and such (#1514) +## v5.30.2 (2022-01-19) -* fix: buttons and other adjustments +### Fix -* fix: update home images +* fix: Replace randomly failing Selenium tests with Unit and Cypress tests (#1720) -* fix: whitespaces +* fix: Increase sleeps for commonly failing tests and update headless settings -* fix: add copyright and update favicon +* Merge branch 'master' into random_test_failures -* fix: update favicon ([`8882b92`](https://github.com/ocadotechnology/codeforlife-portal/commit/8882b92c333bc216ccfe026b313e33e2a40e2a50)) +* Merge branch 'master' into random_test_failures -* fix: update icons on home page (#1512) +* Split unstable Selenium tests into Cypress and unit tests -* fix: update icons on home page ([`6436e23`](https://github.com/ocadotechnology/codeforlife-portal/commit/6436e23543f72e62694e5b0bbbd666a450e2ed45)) +* Fix imports -### Unknown +* Merge branch 'master' into random_test_failures -* Merge pull request #1510 from ocadotechnology/rebranding-p1 +* Class tests with dialogs now split up -feat!: Rebranding p1 ([`50dab43`](https://github.com/ocadotechnology/codeforlife-portal/commit/50dab43d497fa97421a98878adca52eb49438faf)) +* Merge branch 'master' into random_test_failures -* Merge branch 'master' into rebranding-p1 ([`c942830`](https://github.com/ocadotechnology/codeforlife-portal/commit/c942830147ad2c629a399caa0b941f04ffe2f33a)) +* Some cleanup +* Make registration redirect instead and check that in tests -## v4.34.0 (2021-08-11) +* Missed test ([`a477955`](https://github.com/ocadotechnology/codeforlife-portal/commit/a47795541e176ae468e0d25eeaee72c8ea9c3ab1)) -### Feature +* fix: fix various things on archiving game ([`2f43209`](https://github.com/ocadotechnology/codeforlife-portal/commit/2f43209119fd6ae5266ac0ef1ffc4eb566c7947e)) -* feat: add function teacher_logout to HomePage (#1497) +## v5.30.1 (2022-01-18) -* feat: add function teacher_logout to HomePage ([`aaa9ace`](https://github.com/ocadotechnology/codeforlife-portal/commit/aaa9ace3be5bb19156fa7bf973782759ccd97e85)) +### Fix +* fix: add common static to manifest (#1730) ([`3e81557`](https://github.com/ocadotechnology/codeforlife-portal/commit/3e81557fdc790ded4d16e937b85f761ba034edb6)) -## v4.33.0 (2021-08-03) +## v5.30.0 (2022-01-18) ### Feature -* feat: add contributor pages (#1493) +* feat: move rapid-router banner width to portal (#1723) -* feat: add contributor pages +* feat: move rapid-router banner width to portal -* fix: some renaming, formatting +* Merge master into level-moderation -* fix: resize img, formatting, test +* Merge branch 'master' into level-moderation -* Merge branch 'master' into contributor +* move RR logo to common -* fix: reformatting, text updates +* Merge master into level-moderation ([`ee0011c`](https://github.com/ocadotechnology/codeforlife-portal/commit/ee0011c877a3b5ed1f556548a38778d2088be65c)) -* fix: use fixed height for card images +## v5.29.3 (2022-01-17) -* fix: tinify images +### Build -* fix: img updates, reformatting, display fixes +* build(deps): bump ansi-regex from 5.0.0 to 5.0.1 (#1728) -* fix: reformat text and images +Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 5.0.0 to 5.0.1. +- [Release notes](https://github.com/chalk/ansi-regex/releases) +- [Commits](https://github.com/chalk/ansi-regex/compare/v5.0.0...v5.0.1) -* fix: fix card image +--- +updated-dependencies: +- dependency-name: ansi-regex + dependency-type: indirect +... -* fix: test updates, links to new page ([`47c6833`](https://github.com/ocadotechnology/codeforlife-portal/commit/47c683346c17eba91e7e574c95ef04836e499414)) +Signed-off-by: dependabot[bot] <support@github.com> +Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`5033366`](https://github.com/ocadotechnology/codeforlife-portal/commit/50333662d76a5eda2b56d16ee12b64468843401b)) -## v4.32.4 (2021-07-22) +* build(deps): bump Django from 2.2.25 to 2.2.26 (#1727) + +* build(deps): bump Django from 2.2.25 to 2.2.26 ([`ac84476`](https://github.com/ocadotechnology/codeforlife-portal/commit/ac844763633573049b8d09b1a511310936936b8f)) ### Fix -* fix: Remove ReCaptcha from certain forms (#1494) +* fix: Reference button correctly in games table (#1729) ([`8dd3de5`](https://github.com/ocadotechnology/codeforlife-portal/commit/8dd3de58762d924a4d992e086ae4aeef7c8e6d7f)) -* fix: Remove ReCaptcha from certain forms ([`f21cbd4`](https://github.com/ocadotechnology/codeforlife-portal/commit/f21cbd41cd9478c5d4b80aaa1be74a4c48da5cd2)) +## v5.29.2 (2022-01-14) +### Fix -## v4.32.3 (2021-07-21) +* fix(deps): bump django from 2.2.25 to 2.2.26 (#1724) -### Build +* build(deps): bump django from 2.2.25 to 2.2.26 -* build: Dockerise portal project for development (#1477) +Bumps [django](https://github.com/django/django) from 2.2.25 to 2.2.26. +- [Release notes](https://github.com/django/django/releases) +- [Commits](https://github.com/django/django/compare/2.2.25...2.2.26) -* Add docker ignore file +--- +updated-dependencies: +- dependency-name: django + dependency-type: direct:production +... -Signed-off-by: Niket <niket.shah1@ocado.com> +Signed-off-by: dependabot[bot] <support@github.com> -* Add dockerfile to build portal image +* Upgrade Django in common too -Signed-off-by: Niket <niket.shah1@ocado.com> +* Merge branch 'master' into dependabot/pip/django-2.2.26 -* Add codeforlifeportal service in docker-compose.yml file +* Merge branch 'master' into dependabot/pip/django-2.2.26 ([`d8ecedb`](https://github.com/ocadotechnology/codeforlife-portal/commit/d8ecedb36578c5903bd0103ab552ba2de123c20b)) -Signed-off-by: Niket <niket.shah1@ocado.com> +## v5.29.1 (2022-01-14) -* Merge branch 'master' into Docker-ising-portal-1475 +### Fix -* Merge branch 'master' into Docker-ising-portal-1475 +* fix: update cookies test script (#1726) -* modify run command to take in a parameter again +* fix: update cookies test script ([`7d2eadd`](https://github.com/ocadotechnology/codeforlife-portal/commit/7d2eadd3b01b5eaa7992b70c0aabc1df29b977a6)) -Signed-off-by: Niket <niket.shah1@ocado.com> +## v5.29.0 (2022-01-14) -* Merge branch 'Docker-ising-portal-1475' of https://github.com/ocadotechnology/codeforlife-portal into Docker-ising-portal-1475 +### Feature -* rename service and docker image +* feat: Redesign teacher Kurono dashboard (#1713) -Signed-off-by: Niket <niket.shah1@ocado.com> +* feat: Redesign teacher Kurono dashboard -* Run container as root for development +* Fix test -* Merge branch 'master' into Docker-ising-portal-1475 ([`a97462d`](https://github.com/ocadotechnology/codeforlife-portal/commit/a97462dddebe96798b8dd03395fae7d1e3727069)) +* Fix subnav spacing and add new banner image -### Fix +* Merge branch 'master' into kurono_teacher_dashboard_redesign -* fix: Games not stopping (#1491) +* Merge branch 'master' into kurono_teacher_dashboard_redesign -* create auth token and k8s secret on game creation +* Reduce logo width -* moved game_creator to aimmo +* Do it properly ([`51af956`](https://github.com/ocadotechnology/codeforlife-portal/commit/51af956cb2c87151bb60242443c83f939af785c8)) -* mock aimmo game manager for all tests +## v5.28.1 (2022-01-12) -* Merge branch 'master' into games-not-stopping +### Fix -* Merge branch 'master' into games-not-stopping +* fix: additional account details updates (#1719) -* updated Pipfile.lock ([`d1d6112`](https://github.com/ocadotechnology/codeforlife-portal/commit/d1d6112df246d4983245b4125ae2cce606de6201)) +* fix: additional account details updates ([`073e74d`](https://github.com/ocadotechnology/codeforlife-portal/commit/073e74d7589b213a2f1c9788a69b97883ba6061e)) +## v5.28.0 (2022-01-12) -## v4.32.2 (2021-07-14) +### Feature -### Fix +* feat: update student account details pages (#1715) -* fix: Revert ReCaptcha v3 (#1489) +* feat: update student account details pages -* Revert "fix: Replace ReCaptcha score setting with env var (#1488)" +* Merge branch 'master' into accountdetails -This reverts commit cc8640deb5a632a9e9398455beb5fe783166e971. +* add icons and section separation -* Revert "feat: Upgrade ReCaptcha to v3 (#1487)" +* Merge branch 'master' into accountdetails -This reverts commit 80309d38e80bdadc8cb31b56e697f5e301e4ef4f. ([`fb4720a`](https://github.com/ocadotechnology/codeforlife-portal/commit/fb4720aa8c37c1f2f616a1f37b5802eeda43d50e)) +* reformatting +* html fixes ([`b293c68`](https://github.com/ocadotechnology/codeforlife-portal/commit/b293c689a7c4448497ec3d603c63382e51d2f296)) -## v4.32.1 (2021-07-13) +## v5.27.10 (2022-01-11) ### Fix -* fix: Replace ReCaptcha score setting with env var (#1488) +* fix: implemented the new design for the registration form (#1714) -* fix: Remove score setting and use env var instead ([`cc8640d`](https://github.com/ocadotechnology/codeforlife-portal/commit/cc8640deb5a632a9e9398455beb5fe783166e971)) +* fix: currently stuck at the button alignment +* fix: implemented the new design on registration form -## v4.32.0 (2021-07-12) +* fix: extra whitespaces :) -### Ci +* fix: fixed the login page forgot password bug introduced by the form fix -* ci: remove docs paths-ignore (didn't work) ([`18131f4`](https://github.com/ocadotechnology/codeforlife-portal/commit/18131f4e46830d1931de9c7ebbcc99179e8cc68b)) +* fix: aligned buttons -### Feature +* fix: review fixes #1 -* feat: Upgrade ReCaptcha to v3 (#1487) +* fix: review fixes #2 -* fix: Upgrade ReCaptcha to v3 +* fix: review fixes #3 ([`c536ae4`](https://github.com/ocadotechnology/codeforlife-portal/commit/c536ae4a08aea02e6ea7d3aca2e999f4c4ca43ad)) -* fix local and test runs without recaptcha keys +## v5.27.9 (2022-01-07) -* Set score to 0.85 again +### Fix -* Testing lower score again +* fix: Rename RR banner class (#1712) -* Trying 0.8 +* fix: Rename RR banner class -* Add comments +* fix: Rename RR banner class pt 2 ([`206385d`](https://github.com/ocadotechnology/codeforlife-portal/commit/206385d57c9a4f84eb81d6ae0e57e8ef9e804348)) -* Try load the script first +## v5.27.8 (2022-01-05) -* Improve Captcha script and allow for multiple captchas ([`80309d3`](https://github.com/ocadotechnology/codeforlife-portal/commit/80309d38e80bdadc8cb31b56e697f5e301e4ef4f)) +### Fix +* fix: missing text under readonly input (#1710) ([`fbb660d`](https://github.com/ocadotechnology/codeforlife-portal/commit/fbb660dee50ac856749a00405b41bae9f1c1410d)) -## v4.31.4 (2021-07-01) +## v5.27.7 (2022-01-04) -### Documentation +### Fix -* docs: update readme and docs (#1478) +* fix: allow any login view after logging in (#1711) -* docs: update readme and docs +* fix: allow any login view after logging in -* docs: update ci to ignore docs folder ([`5b53362`](https://github.com/ocadotechnology/codeforlife-portal/commit/5b533624b3a59123bb203fa65e5c8776c28af994)) +* remove redirect tests ([`845294f`](https://github.com/ocadotechnology/codeforlife-portal/commit/845294f28db53c1df4cac32d854ac3e91805ce27)) + +## v5.27.6 (2022-01-04) ### Fix -* fix: Move Freshdesk selector back to portal (#1479) +* fix: updated text to class details (#1697) -* fix: Run Freshdesk widget code on load +* fix: updated text to class details -* fix: Move Freshdesk selector back to portal +* fix: added button icons on additional class details -* Merge branch 'master' into freshdesk_widget_on_load ([`77485f3`](https://github.com/ocadotechnology/codeforlife-portal/commit/77485f3ca92608340536d068ad439932fb51853a)) +* fix: fixed the naming of title and buttons and removed display:block; that messes up the table +* fix: updated h4 tag -## v4.31.3 (2021-06-30) +Co-authored-by: Dioni Zhong <4784791+dionizh@users.noreply.github.com> ([`4ede413`](https://github.com/ocadotechnology/codeforlife-portal/commit/4ede413412b986fbe7e219baef287fe82d62c77a)) + +## v5.27.5 (2021-12-31) ### Fix -* fix: Move Freshdesk HTML to common (#1474) +* fix: align filter and search on scoreboard (#1701) -* fix: Move Freshdesk HTML to common +* fix: align filter and search on scoreboard ([`61e9dc2`](https://github.com/ocadotechnology/codeforlife-portal/commit/61e9dc27dec5b28de9c75dc379f219429f9a623f)) -* New line +## v5.27.4 (2021-12-31) -* Vanilla JS ([`3b8b9ee`](https://github.com/ocadotechnology/codeforlife-portal/commit/3b8b9ee1abc69f885dca35420966126f0d93fcde)) +### Fix +* fix: fixed class edit disabled buttons when cookies are enabled (#1699) ([`318ad78`](https://github.com/ocadotechnology/codeforlife-portal/commit/318ad78c4c7355a20ed9ff9a5b535951ff3ad58e)) -## v4.31.2 (2021-06-25) +* fix: indep student banner use black text (#1700) -### Fix +* fix: indep student banner use black text -* fix: Revert the revert of the verification changes but with a fix (#1472) +* Merge branch 'master' into indepbanner ([`be258a8`](https://github.com/ocadotechnology/codeforlife-portal/commit/be258a8b5d4c6bcf08685e634c29bbc50ceabed4)) -* fix: Revert the revert of the verification changes +## v5.27.3 (2021-12-31) -* Filter EVs instead of get + amend tests ([`057ac92`](https://github.com/ocadotechnology/codeforlife-portal/commit/057ac92accf8c4cdcbef2e40b62d95f76b0b1db0)) +### Fix +* fix: fix indep student subnav ([`ff8c956`](https://github.com/ocadotechnology/codeforlife-portal/commit/ff8c956667d6984242cbab3946209bb99bb3c47d)) -## v4.31.1 (2021-06-25) +## v5.27.2 (2021-12-30) ### Fix -* fix: Temporarily revert verification changes (#1471) - -* fix: Temporarily revert verification changes ([`9d37db7`](https://github.com/ocadotechnology/codeforlife-portal/commit/9d37db78ca516e134ac97880deeeb29bb43c0e1a)) +* fix: student class page (#1692) +* fix: rearanging the edit class page -## v4.31.0 (2021-06-24) +* fix: removed repeated back buttons -### Documentation +* fix: redid the buttons and selection in table -* docs: Update ci to ignore md files (#1469) +* fix: dummy commit -* docs: Update ci to ignore md files ([`6cb7516`](https://github.com/ocadotechnology/codeforlife-portal/commit/6cb7516ac0f5399d08e7f73c2e1f30207dba37cb)) +* fix: fixed move student page field -### Feature +* fix: move and release pages new structure without the header -* feat: Verification check on login (#1447) +* fix: progress fixing tables -* Check email verification on login +* fix: added icons to release form -* Revert verification banner +* fix: undid breaking of logging in page -* Revert pt. 2 +* update teacher_edit_class and remove move_class -* Update tests +* fix: edit student details page -* Black formatter +* fix: added banner and subnav -* Fix one more thing from the revert +* fix: fixed buttons to centered and input fields -* Fix test +* fix: fixed errors in the textboxes -* Fix test pt. 2 +* add teacher non dash subnav partial -* Verify portaladmin user + test +* fix: fixed the table -* Fix migration reversal problem +* fix: added disabled buttons to the table -* add django-test-migrations and fix migration test +* fix: final changes -* Merge branch 'master' into verification_login +* fix: get the test passing -* Use django-test-migrations instead of MigrationTestCase +* fix: responded and fixed requests from the comments -* Merge branch 'master' into verification_login +* fix: fixed the buttons not changing on checkbox -* Also test rollback +* fix: fixed dropdown being grey on the dashboard -* Merge branch 'master' into verification_login +* fix: removed jump from navbar -* Make error message a constant +Co-authored-by: Razvan Mahu <razvan.mahu@ocado.com> ([`38daef7`](https://github.com/ocadotechnology/codeforlife-portal/commit/38daef72821246651a3093073ee1747b1d50e225)) -* Use single line string +## v5.27.1 (2021-12-30) -* Replace more strings +### Fix -* Merge branch 'master' into verification_login ([`ceebd25`](https://github.com/ocadotechnology/codeforlife-portal/commit/ceebd2569f0a15ac31643e1049a4f5f6bf58e01a)) +* fix: fix filter dropdown sizes etc (#1695) +* feat: add subnav styles and fix login check -## v4.30.14 (2021-06-23) +* fix filter dropdown sizes etc -### Fix +* Merge branch 'master' into filter ([`4cbaaa1`](https://github.com/ocadotechnology/codeforlife-portal/commit/4cbaaa1abe9960b5a938efc9bcb5287b0757c9a1)) -* fix: add kurono link on onboarding phase (#1468) +## v5.27.0 (2021-12-29) -* fix: add kurono link on onboarding phase +### Feature -* fix: remove irrelevant win file ([`8c9afff`](https://github.com/ocadotechnology/codeforlife-portal/commit/8c9afff4a74b8ff6ba05056c93b7c548cadf0673)) +* feat: add subnav styles and fix login check (#1694) +* feat: add subnav styles and fix login check ([`ca12ac7`](https://github.com/ocadotechnology/codeforlife-portal/commit/ca12ac72bf3f899431d69024aa6244c813cb80dc)) -## v4.30.13 (2021-06-22) +## v5.26.16 (2021-12-24) -### Build +### Fix -* build(deps): bump wagtail from 2.11.7 to 2.11.8 (#1465) +* fix: independent student check (#1693) -* build(deps): bump wagtail from 2.11.7 to 2.11.8 +* fix: independent student check ([`2108652`](https://github.com/ocadotechnology/codeforlife-portal/commit/2108652aff7e711cdb4c9cf62d2d61952571b397)) -Bumps [wagtail](https://github.com/wagtail/wagtail) from 2.11.7 to 2.11.8. -- [Release notes](https://github.com/wagtail/wagtail/releases) -- [Changelog](https://github.com/wagtail/wagtail/blob/main/CHANGELOG.txt) -- [Commits](https://github.com/wagtail/wagtail/compare/v2.11.7...v2.11.8) +## v5.26.15 (2021-12-23) ---- -updated-dependencies: -- dependency-name: wagtail - dependency-type: indirect -... +### Fix -Signed-off-by: dependabot[bot] <support@github.com> +* fix: keep dropdown open while scrolling (#1691) ([`bc5cd2a`](https://github.com/ocadotechnology/codeforlife-portal/commit/bc5cd2a58489dcbca8006fa7ebba44d619e07cbb)) -* Correctly update lockfile ([`6bba266`](https://github.com/ocadotechnology/codeforlife-portal/commit/6bba26605687f18b4230975257313a8f10aa7cfa)) +## v5.26.14 (2021-12-17) ### Fix -* fix: Set header to 0 (#1466) +* fix: add sleep to tests (#1688) -* Overwrite Django's security middleware +* fix: add sleep to tests -* Add docstrings +* decrease FADE_TIME ([`b4876fc`](https://github.com/ocadotechnology/codeforlife-portal/commit/b4876fc367c7e732817ad834c1975ab12ad4017f)) -* Black +## v5.26.13 (2021-12-17) -* Add security headers test +### Fix -* Extend middleware directly instead ([`6e33d22`](https://github.com/ocadotechnology/codeforlife-portal/commit/6e33d22ddb3d86d275836ec4ccf8c8532d0c8373)) +* fix: Fix Play page headers (#1687) ([`8c7ec6b`](https://github.com/ocadotechnology/codeforlife-portal/commit/8c7ec6b34aa20a6f7c1f076e542d2a6126ebd32d)) +## v5.26.12 (2021-12-17) -## v4.30.12 (2021-06-17) +### Fix -### Build +* fix: Update curriculum links (#1681) -* build(deps): bump django from 2.2.22 to 2.2.24 (#1460) +* fix: Update curriculum links and fix dashboard indentation -* build(deps): bump django from 2.2.22 to 2.2.24 +* Remove subnav stickiness ([`5256d86`](https://github.com/ocadotechnology/codeforlife-portal/commit/5256d86474d8c5023d3bf422ba3c172fa4654557)) -Bumps [django](https://github.com/django/django) from 2.2.22 to 2.2.24. -- [Release notes](https://github.com/django/django/releases) -- [Commits](https://github.com/django/django/compare/2.2.22...2.2.24) +## v5.26.11 (2021-12-16) ---- -updated-dependencies: -- dependency-name: django - dependency-type: direct:production -... +### Fix -Signed-off-by: dependabot[bot] <support@github.com> +* fix: Alignment on the non logged in play page (#1680) -* Update lockfile correctly +* fix: primary text fix -* Merge branch 'master' into dependabot/pip/django-2.2.24 ([`66fd87a`](https://github.com/ocadotechnology/codeforlife-portal/commit/66fd87a98c7808ad828c5be0a8f18d845d3a4d18)) +* fix: centered my games section on kurono -### Fix +* fix: alligned center and fixed characters -* fix: Check for existing user on email change + change username (#1464) +* fix: seperated banner from meet the characters and fixed the background colour -* fix: Check for existing user on email change + change username +* fix: made teacher dashboard inside the container -* Remove format string +* fix: teacher dashboard; school, classes - aligned -* Merge branch 'master' into change_email_fix ([`43c7833`](https://github.com/ocadotechnology/codeforlife-portal/commit/43c7833ab90d9f230a558cc00aa9dc96f398349f)) +* fix: teacher dashboard; school, classes and account aligned -### Unknown +* fix: aligned teacher dashboard kurono page -* Add additional terms on Ocado back ([`1fa10da`](https://github.com/ocadotechnology/codeforlife-portal/commit/1fa10da138e9cde318494c7ec670999ed31954a3)) +* fix: aligned the student dashboard +* fix: fixed the mainpage bug on a smaller screen -## v4.30.11 (2021-06-11) +* fix: aligned the footer pages -### Fix +* fix: added indentation to div elements -* fix(deps): bump django from 2.2.22 to 2.2.24 (#1457) +* fix: merged all the divs and removed col-sm-8s -* build(deps): bump django from 2.2.21 to 2.2.24 +* fix: replaced links and removal of col-center tag -Bumps [django](https://github.com/django/django) from 2.2.21 to 2.2.24. -- [Release notes](https://github.com/django/django/releases) -- [Commits](https://github.com/django/django/compare/2.2.21...2.2.24) +* fix: merged divs final fix ---- -updated-dependencies: -- dependency-name: django - dependency-type: direct:production -... +* fix: updated rest of the pages -Signed-off-by: dependabot[bot] <support@github.com> +* fix: fixed student kurono dashboard -* Also update Django in common +* fix: student kurono page aligned -* Merge branch 'master' into dependabot/pip/django-2.2.24 ([`01d16f8`](https://github.com/ocadotechnology/codeforlife-portal/commit/01d16f8ca03a6493d7feb375ebbf0667d9a55066)) +* fix: removed aligned from kurono student dashboard +* fix: removed unwanted style classes -## v4.30.10 (2021-06-11) +* fix: removed white spaces + +* fix: remove whitespace attempt 2 + +* fix: updated tests + +* fix:alignment on the non logged play page + +* fix: changed FADE_TIME to 0.2 + +Co-authored-by: KamilPawel <kamil.sosinski@ocado.com> ([`80a4072`](https://github.com/ocadotechnology/codeforlife-portal/commit/80a4072ea137db9f83f1f516a87298c82ee69a7d)) + +## v5.26.10 (2021-12-16) ### Fix -* fix: Update lockfile - Django 2.2.22 (#1458) +* fix: no gap under footer (#1679) -* fix: Update lockfile - Django 2.2.22 ([`d5dac6a`](https://github.com/ocadotechnology/codeforlife-portal/commit/d5dac6a8ada399659681b56922e604052bf85f06)) +* fix: no gap under footer +* Merge branch 'master' into fix-gap-under-footer -## v4.30.9 (2021-06-10) +* fixed 500 and more wagtail cleanup + +* remove unused imports + +* more wagtail cleanup + +* Merge branch 'master' into fix-gap-under-footer ([`53ed359`](https://github.com/ocadotechnology/codeforlife-portal/commit/53ed359d4d5f77af20547a5347ab472b388935ff)) + +## v5.26.9 (2021-12-16) ### Fix -* fix(deps): bump django from 2.2.21 to 2.2.22 (#1455) +* fix: fixed 2FA tag displaying regardless of if user has it enabled (#1678) -* build(deps): bump django from 2.2.21 to 2.2.22 +* fix: fixed 2FA tag displaying regardless of if user has it enabled -Bumps [django](https://github.com/django/django) from 2.2.21 to 2.2.22. -- [Release notes](https://github.com/django/django/releases) -- [Commits](https://github.com/django/django/compare/2.2.21...2.2.22) +* fix: making sure the tests pass ---- -updated-dependencies: -- dependency-name: django - dependency-type: direct:production -... +* fix: attempt on fixing on the tests -Signed-off-by: dependabot[bot] <support@github.com> +Co-authored-by: KamilPawel <kamil.sosinski@ocado.com> ([`959717e`](https://github.com/ocadotechnology/codeforlife-portal/commit/959717e3d5b1fa64e5bce177418eb74956f1903c)) -* Update common too ([`e24c6a7`](https://github.com/ocadotechnology/codeforlife-portal/commit/e24c6a7f26c999f958a2ad04968817bac7aad049)) +## v5.26.8 (2021-12-16) +### Fix -## v4.30.8 (2021-06-09) +* fix: remove wagtail (#1677) + +* fix: remove wagtail + +* Merge master into remove-wagtail ([`d028f09`](https://github.com/ocadotechnology/codeforlife-portal/commit/d028f097d593e70e7010f4a06ce9799b0fd0e339)) + +## v5.26.7 (2021-12-15) ### Fix -* fix: update lock file for django2.2.21 (#1454) +* fix: Add QR code pic to CSP config (#1676) -* fix: update lock file for django2.2.21 ([`8eff0d1`](https://github.com/ocadotechnology/codeforlife-portal/commit/8eff0d1e1288ba8cc1ad661044f64c60443d3d29)) +* fix: Add QR code pic to CSP config + +* Merge branch 'master' into add_qr_code_csp ([`5e3e405`](https://github.com/ocadotechnology/codeforlife-portal/commit/5e3e40537b392a5ff4883ffd80b0bcb8d93fa804)) +## v5.26.6 (2021-12-15) -## v4.30.7 (2021-06-07) +### Build + +* build: Update lockfile (#1674) + +* build: Update lockfile ([`d64213e`](https://github.com/ocadotechnology/codeforlife-portal/commit/d64213ef9c3fba9bc0e36f6a882b7542d752a8b0)) ### Fix -* fix: bump django from 2.2.20 to 2.2.21 (#1452) +* fix: ensuring everything is contained inside a container (#1671) -* build(deps): bump django from 2.2.20 to 2.2.21 +* fix: primary text fix -Bumps [django](https://github.com/django/django) from 2.2.20 to 2.2.21. +* fix: centered my games section on kurono + +* fix: alligned center and fixed characters + +* fix: seperated banner from meet the characters and fixed the background colour + +* fix: made teacher dashboard inside the container + +* fix: teacher dashboard; school, classes - aligned + +* fix: teacher dashboard; school, classes and account aligned + +* fix: aligned teacher dashboard kurono page + +* fix: aligned the student dashboard + +* fix: fixed the mainpage bug on a smaller screen + +* fix: aligned the footer pages + +* fix: added indentation to div elements + +* fix: merged all the divs and removed col-sm-8s + +* fix: replaced links and removal of col-center tag + +* fix: merged divs final fix + +* fix: updated rest of the pages + +* fix: fixed student kurono dashboard + +* fix: student kurono page aligned + +* fix: removed aligned from kurono student dashboard + +* fix: removed unwanted style classes + +* fix: removed white spaces + +* fix: remove whitespace attempt 2 + +* fix: updated tests + +Co-authored-by: KamilPawel <kamil.sosinski@ocado.com> ([`72356ea`](https://github.com/ocadotechnology/codeforlife-portal/commit/72356eabece47ccca7769d33860aac97bbaac3dd)) + +## v5.26.5 (2021-12-13) + +### Fix + +* fix: bump django from 2.2.24 to 2.2.25 (#1672) + +* build(deps): bump django from 2.2.24 to 2.2.25 + +Bumps [django](https://github.com/django/django) from 2.2.24 to 2.2.25. - [Release notes](https://github.com/django/django/releases) -- [Commits](https://github.com/django/django/compare/2.2.20...2.2.21) +- [Commits](https://github.com/django/django/compare/2.2.24...2.2.25) --- updated-dependencies: @@ -6532,7028 +5541,8859 @@ updated-dependencies: Signed-off-by: dependabot[bot] <support@github.com> -* Update django version in cfl_common ([`55e5a4e`](https://github.com/ocadotechnology/codeforlife-portal/commit/55e5a4ea29a5f1ed115316daa23673add74d16c4)) +* fix: Update Django version in common too +* Merge branch 'master' into dependabot/pip/django-2.2.25 ([`4836154`](https://github.com/ocadotechnology/codeforlife-portal/commit/4836154f5323d92bf2c86d71632fd039769dff8b)) -## v4.30.6 (2021-06-04) +## v5.26.4 (2021-12-10) -### Build +### Fix -* build(deps): bump urllib3 from 1.26.4 to 1.26.5 (#1450) +* fix: Remove Rapid Router Resources (#1669) -* build(deps): bump urllib3 from 1.26.4 to 1.26.5 +* fix: Remove RR resources and all related files -Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.4 to 1.26.5. -- [Release notes](https://github.com/urllib3/urllib3/releases) -- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) -- [Commits](https://github.com/urllib3/urllib3/compare/1.26.4...1.26.5) +* Install aimmo branch ---- -updated-dependencies: -- dependency-name: urllib3 - dependency-type: indirect -... +* Undo local setting -Signed-off-by: dependabot[bot] <support@github.com> +* Link to Gitbook student space -* Fix locking issues ([`297003d`](https://github.com/ocadotechnology/codeforlife-portal/commit/297003d267ba487beaee0ef665ab0a22de75115a)) +* Merge branch 'master' into remove_rr_resources -### Documentation +* Code review -* docs: refer contributing to our docs subdomain (#1448) +* Fix test -* docs: refer contributing to our docs subdomain ([`45c13cf`](https://github.com/ocadotechnology/codeforlife-portal/commit/45c13cfdf2ad1d89a93b7ec927fc1f351be2fa36)) +* Merge branch 'master' into remove_rr_resources -* docs: revert gitbook changes (#1445) +* Merge branch 'master' into remove_rr_resources -* docs: revert gitbook changes ([`d81de62`](https://github.com/ocadotechnology/codeforlife-portal/commit/d81de62b03288e5cb839e52ccd9e6e3f4baa2084)) +* Pipfile ([`4edcc1b`](https://github.com/ocadotechnology/codeforlife-portal/commit/4edcc1b798671816aabfd1f7d9bc888fa085b8b0)) -* docs: updates related to gitbook (#1444) +## v5.26.3 (2021-12-09) -* docs: updates related to gitbook +### Fix -* Merge branch 'master' into gitbook-update ([`5ade0e5`](https://github.com/ocadotechnology/codeforlife-portal/commit/5ade0e52c6dd8af0716dec2d4e5e7bffc7f3daab)) +* fix: add class link to csv (#1670) + +* fix: add class link into csv + +* add test ([`fa9d257`](https://github.com/ocadotechnology/codeforlife-portal/commit/fa9d257a5d7a74db85ec7306f8da571f72e0e3c9)) + +## v5.26.2 (2021-12-08) + +### Unknown + +* Merge pull request #1666 from ocadotechnology/studentloginlog + +fix: add check and log for student not found ([`baa36f6`](https://github.com/ocadotechnology/codeforlife-portal/commit/baa36f673d7b051fe2022c18034d365bfb93f5c1)) + +* Merge branch 'master' into studentloginlog ([`87eaec0`](https://github.com/ocadotechnology/codeforlife-portal/commit/87eaec0ee162142f7c5da5d8f9e9e68af4bfe5f9)) + +## v5.26.1 (2021-12-08) ### Fix -* fix: prevent concurrent logins (#1451) +* fix: Empty class code and error pages fix (#1668) -* fix: add django-preventconcurrentlogins +* Fix empty class code bug -* add tests +* Fix error pages -* Merge branch 'master' into razvan-pro/issue1398 +* Delete unused images -* code review +* Merge branch 'master' into class_login_fixes -* update Pipfile.lock +* Remove special quotes ([`04799bd`](https://github.com/ocadotechnology/codeforlife-portal/commit/04799bd9fc8f6938c9c0130dae6243fc12deee0e)) -* fix example in docstring ([`b2886ab`](https://github.com/ocadotechnology/codeforlife-portal/commit/b2886ab03504760b116bd7b3f88b24f7a6b9abf9)) +## v5.26.0 (2021-12-08) -### Unknown +### Feature -* GitBook: [master] one page modified ([`6713884`](https://github.com/ocadotechnology/codeforlife-portal/commit/6713884cbead58496db1c0ce5af3d55a2e7df88c)) +* feat: Gather daily counts of student details downloads (CSV and login cards) (#1665) -* GitBook: [master] 2 pages modified ([`c3ad986`](https://github.com/ocadotechnology/codeforlife-portal/commit/c3ad9862c376aacb12750a63bd494674706bc37f)) +* feat: Gather daily counts of student details downloads (CSV and login cards) +* Remove test and use Enum ([`d4b855f`](https://github.com/ocadotechnology/codeforlife-portal/commit/d4b855f7183f19481611fec62a57906c75c3ef5a)) -## v4.30.5 (2021-05-20) +### Fix + +* fix: add check and log for student not found ([`84477de`](https://github.com/ocadotechnology/codeforlife-portal/commit/84477de7dcc14533620807ac2285a87eba0bb31b)) + +## v5.25.0 (2021-12-06) + +### Feature + +* feat: add password to csv (#1663) + +* feat: add password to csv ([`b5e1460`](https://github.com/ocadotechnology/codeforlife-portal/commit/b5e14606ce8bf97459448880493e2e2644dad65e)) + +## v5.24.2 (2021-12-02) ### Fix -* fix: ratelimit (#1443) +* fix: fix Add class Kurono button (#1660) -* added logging points +* fix: fix Add class Kurono button -* add more logging in ratelimit +* dropdown bg to white -* more logging +* Merge branch 'master' into addclass -* try cache key per user +* Merge branch 'master' into addclass -* fix ratelimit cache key in dashboard_teacher_view +* Merge branch 'master' into addclass -* Merge branch 'master' into debug-ratelimit +* Merge branch 'master' into addclass ([`0ffc264`](https://github.com/ocadotechnology/codeforlife-portal/commit/0ffc264eaf4b8c164a28cee7a376ca817e81d1ec)) -* cleanup loggers +## v5.24.1 (2021-12-02) -* replace login_ratelimit with ratelimit +### Fix -* Merge branch 'master' into debug-ratelimit ([`1fe2e4d`](https://github.com/ocadotechnology/codeforlife-portal/commit/1fe2e4d0367d889318e8dd9be2f42f9c46a2b866)) +* fix: Kurono dashboard characters spacing (#1661) + +* fix: primary text fix + +* fix: centered my games section on kurono + +* fix: alligned center and fixed characters + +* fix: seperated banner from meet the characters and fixed the background colour + +* Fix table buttons + +* Fix divs + +Co-authored-by: KamilPawel <kamil.sosinski@ocado.com> +Co-authored-by: KamilPawel <70412950+KamilPawel@users.noreply.github.com> ([`c0170dc`](https://github.com/ocadotechnology/codeforlife-portal/commit/c0170dc27ef35b1357ea07b9d174856d3e726f4f)) + +## v5.24.0 (2021-12-02) + +### Feature + +* feat: Update play page (#1659) + +* First redesign iteration + +* Fix some sizing and padding issues + +* update images + +* align Starting with Blockly + +* meet the rr characters + +* align progressing to python + +* Merge branch 'master' into update_play_page + +* clean up unused files + +* remove game_banner_tags + +* and the html template + +* add image_description to banner_tags + +* fix teacher_dismiss_students + +* Merge branch 'master' into update_play_page ([`1dd8adb`](https://github.com/ocadotechnology/codeforlife-portal/commit/1dd8adb802fd533c1c4f9580fecb8acbc7e0ed42)) + +## v5.23.2 (2021-12-02) + +### Fix + +* fix: align header and footer (#1654) + +* fix: align header and footer + +* update snapshot + +* Merge branch 'master' into align-header-and-footer + +* Merge master into align-header-and-footer + +* Merge master into align-header-and-footer ([`c7c5782`](https://github.com/ocadotechnology/codeforlife-portal/commit/c7c5782f0bad4ae68addaa88786c962ba8fec69e)) + +## v5.23.1 (2021-12-02) + +### Fix + +* fix: student kurono page - centring (#1657) + +* fix: primary text fix + +* fix: centered my games section on kurono + +* fix: alligned center and fixed characters + +Co-authored-by: KamilPawel <kamil.sosinski@ocado.com> ([`2c44e58`](https://github.com/ocadotechnology/codeforlife-portal/commit/2c44e588b0157b9051e812e3d50feafca1ab7b51)) + +## v5.23.0 (2021-12-02) + +### Feature + +* feat: Educate page (#1651) + +* wip: educate page + +* add educate images and new tab icons + +* updated RR text and temp image height + +* format text in template + +* update comment and increase carousel interval + +* Merge branch 'master' into educate-page + +* update banner snapshot + +* update images + +* code review + +* change try rr link + +* Merge master into educate-page ([`b0dfa8a`](https://github.com/ocadotechnology/codeforlife-portal/commit/b0dfa8ac017f574beb1b5ac9300fc58966f393e8)) + +### Fix + +* fix: primary text fix (#1656) + +* fix: primary text fix + +* fix: updated changes + +* Merge branch 'master' into table_button_fix_2 ([`283f281`](https://github.com/ocadotechnology/codeforlife-portal/commit/283f281c2d2baaa9d8dcc281be1fffd9d918070c)) + +## v5.22.3 (2021-12-02) + +### Fix + +* fix: adjusted buttons in tables to a height of 35px (#1655) + +* fix: adjusted buttons in tables to a height of 35px + +* fix: cleaned up the sass statements + +* fix: repeated statement + +Co-authored-by: KamilPawel <kamil.sosinski@ocado.com> ([`dc0a7b0`](https://github.com/ocadotechnology/codeforlife-portal/commit/dc0a7b0e4de63e35d1d36354836dc61143c54bb1)) + +## v5.22.2 (2021-12-02) + +### Fix + +* fix: teacher dashboard bug fix (#1653) + +* fix: adjusted the button text to centre + +* fix: fixed the colour change and changed the cursor attr + +* fix: removed underline on focus and centered button text + +* fix: undid changes to bootstrap file + +* fix: fixed the teacher dashboard buttons being white on hover + +* fix: fixed kurono button override + +Co-authored-by: KamilPawel <kamil.sosinski@ocado.com> ([`91cf385`](https://github.com/ocadotechnology/codeforlife-portal/commit/91cf38555a30f63ab10ae9302dbb81350fd57488)) + +## v5.22.1 (2021-12-01) + +### Fix + +* fix: dashboard and buttons fix (#1648) + +* fix: adjusted the button text to centre + +* fix: fixed the colour change and changed the cursor attr + +* fix: removed underline on focus and centered button text + +* fix: undid changes to bootstrap file + +Co-authored-by: KamilPawel <kamil.sosinski@ocado.com> ([`85cff35`](https://github.com/ocadotechnology/codeforlife-portal/commit/85cff359f7e3c78ef84f7455078b365348d24ad9)) + +## v5.22.0 (2021-11-30) + +### Feature + +* feat: navbar updates for indep and teacher (#1649) + +* feat: navbar updates for indep and teacher + +* fix mobile, fix test + +* fix kurono dashboard test ([`70fe806`](https://github.com/ocadotechnology/codeforlife-portal/commit/70fe8062ac061e6dbdb41288d11bb94bf5170fd6)) + +## v5.21.3 (2021-11-26) + +### Fix + +* fix: Add GA connection to CSP policy (#1646) ([`368e11d`](https://github.com/ocadotechnology/codeforlife-portal/commit/368e11d2482c3786aed151de165c3c2b86923a6c)) + +## v5.21.2 (2021-11-25) + +### Fix + +* fix: fix links (#1642) + +* fix: fix links + +* Merge branch 'master' into homelearningfix ([`3f55d9f`](https://github.com/ocadotechnology/codeforlife-portal/commit/3f55d9fd194c3d803ab86968d3517dab461951bb)) + +## v5.21.1 (2021-11-25) + +### Fix + +* fix: Add GCP bucket to CSP list (#1641) ([`d1987dc`](https://github.com/ocadotechnology/codeforlife-portal/commit/d1987dcc33c038fec36bb62e2400d094238cbc77)) + +## v5.21.0 (2021-11-23) + +### Feature + +* feat: Implement CSP header (#1570) + +* Install django-csp and setup CSP header + +* Merge branch 'master' into csp_header + +* Add font domains + fix double slash error + +* Merge branch 'master' into csp_header + +* Update lockfile + +* Merge branch 'master' into csp_header + +# Conflicts: +# Pipfile.lock + +* Update fonts sources + +* Import directory from trusted sites instead of specific files + +* Move / Remove inline CSS and JS + +* Allow more directories (add missing slashes) + +* Add common and OneTrust scripts + +* Export OT inline script + +* Add missing static file tag + +* Graft static common files + +* Add OT to style src + +* Use inline script and styles + +* Update sources and add frame-src + +* Fix frame src and update GA script + +* Add recaptcha to frame src + +* Merge branch 'master' into csp_header + +# Conflicts: +# portal/templates/portal/home.html + +* Add recaptcha to frame + +* Merge branch 'master' into csp_header + +# Conflicts: +# Pipfile.lock +# portal/autoconfig.py + +* Update lockfile + +* Revert inline script extraction + +* Merge branch 'master' into csp_header + +* Format and ignore autoconfig coverage + +* Merge branch 'master' into csp_header + +* Move domain getter to common + +* Move to app settings + +* Remove object src + +* Try allowing iconify links in connect src + +* Ignore coverage common app settings + +* Merge master, resolve conflicts + +* Merge branch 'master' into csp_header + +* Merge branch 'master' into csp_header + +* Try allowing inline images + +* Move to image src + +* Add single quotes + +* Try specifying data + +* Remove hijack url + +* Formatting + +* Clean codecov ignore list and remove wagtail docs + +* Merge branch 'master' into csp_header + +* Move config to separate file + +* Merge branch 'master' into csp_header ([`4eaaf6f`](https://github.com/ocadotechnology/codeforlife-portal/commit/4eaaf6f6befdefdf8718ed34cc7ff5a9fae5c972)) + +## v5.20.0 (2021-11-23) + +### Feature + +* feat: Remove worksheet model (#1628) + +* wip: replace worksheet model usages + +* fix tests + +* Merge branch 'master' into remove-worksheet-model + +* Merge branch 'master' into remove-worksheet-model + +* update Pipfile.lock + +* Merge branch 'master' into remove-worksheet-model ([`2556285`](https://github.com/ocadotechnology/codeforlife-portal/commit/25562857f53b72e373f42b4d9be331ae39059d23)) + +## v5.19.1 (2021-11-23) + +### Fix + +* fix: Make class code case-insensitive and fully check Regex (#1639) + +* fix: Make class code case-insensitive and fully check Regex + +* Allow lowercase URL too + +* Merge branch 'master' into class_code_fix + +* Merge branch 'master' into class_code_fix ([`27b731e`](https://github.com/ocadotechnology/codeforlife-portal/commit/27b731e7ed56f21b1abaac6cda30a6606333d29d)) + +## v5.19.0 (2021-11-23) + +### Feature + +* feat: Update terms & private policy pages designs (#1629) + +* feat: Update terms & private policy pages designs + +* Merge branch 'master' into pp_page_update ([`3cb34a5`](https://github.com/ocadotechnology/codeforlife-portal/commit/3cb34a520066cf4d9a7a1285f966431d4fea77e4)) + +## v5.18.0 (2021-11-19) + +### Feature + +* feat: home learning updates (#1640) + +* feat: home learning updates + +* feat: update home learning page + +* text updates + +* Merge branch 'master' into homelearning + +* rounded corners and minor fixes + +* Merge branch 'homelearning' of https://github.com/ocadotechnology/codeforlife-portal into homelearning ([`b3d95e6`](https://github.com/ocadotechnology/codeforlife-portal/commit/b3d95e6d67072568131a468522a4fd0541c20aff)) + +## v5.17.1 (2021-11-17) + +### Fix + +* fix: Remove django-hijack (#1625) + +* Fix: Remove hijack + +* Run black ([`8b8bc94`](https://github.com/ocadotechnology/codeforlife-portal/commit/8b8bc94e6a3b60ebde31f5b96b8c69ccf9062bae)) + +## v5.17.0 (2021-11-11) + +### Feature + +* feat: add login type to user session data (#1622) + +* feat: add login type to user session data + +* fix test + +* fix cypress test + +* login type in the link + +* add failed login test + +* remove extra slash ([`84afb5b`](https://github.com/ocadotechnology/codeforlife-portal/commit/84afb5be1373fde7493375fad208863c3d9af895)) + +## v5.16.3 (2021-11-05) + +### Fix + +* fix: class deletion ([`5ef4f0a`](https://github.com/ocadotechnology/codeforlife-portal/commit/5ef4f0a32f20544e7adb8c5c7d99e23ba24b27aa)) + +* fix: about us image (#1620) ([`324ec08`](https://github.com/ocadotechnology/codeforlife-portal/commit/324ec089a2f693301bcdd777bc0b23bb3314f11a)) + +### Unknown + +* Merge branch 'master' of https://github.com/ocadotechnology/codeforlife-portal ([`5950b96`](https://github.com/ocadotechnology/codeforlife-portal/commit/5950b968ab4c251cab9dbe63bc0beadb012cb0be)) + +## v5.16.2 (2021-11-05) + +### Fix + +* fix: student dashboard logo link (#1605) ([`7f69d3e`](https://github.com/ocadotechnology/codeforlife-portal/commit/7f69d3ebefa3b29a0293eb8db3c862514fc5ce91)) + +## v5.16.1 (2021-11-04) + +### Fix + +* fix: Student navbar and center RR stats (#1602) + +* fix: student navbar + +* center student RR stats + +* add menu title + +* Merge branch 'master' into student-navbar + +* Merge master into student-navbar + +* code review + +* fix tablet student navbar + +* fix student mobile nav colour + +* Merge master into student-navbar ([`9606421`](https://github.com/ocadotechnology/codeforlife-portal/commit/9606421bc36744f7807c0b0574678dcafc3ea915)) + +## v5.16.0 (2021-11-04) + +### Feature + +* feat: Link Kurono resources to Gitbook (#1604) + +* feat: Link Kurono resources to Gitbook + +* fix kurono resources test + +* add redirect test + +* code review ([`3195a90`](https://github.com/ocadotechnology/codeforlife-portal/commit/3195a90da2da7bafb5839fa8bd707811220d7d16)) + +## v5.15.0 (2021-11-03) + +### Feature + +* feat: About us page update (#1603) + +* feat: Update about us page + +* fix: resize images, update page + +* Merge branch 'master' into about_us_page + +* fix conflict + +* whitespace + +* Merge branch 'master' into about_us_page ([`4ccb288`](https://github.com/ocadotechnology/codeforlife-portal/commit/4ccb2880136bb123ed1b3358c3268b89687285ee)) + +## v5.14.0 (2021-11-03) + +### Feature + +* feat: remove ocado logo from the game (#1601) + +* feat: remove ocado logo from the game + +* Merge branch 'master' into remove-ocado-logos + +* Merge branch 'master' into remove-ocado-logos ([`cfa4a0f`](https://github.com/ocadotechnology/codeforlife-portal/commit/cfa4a0f40cfde3349641fa726dfb261b25026ba0)) + +## v5.13.0 (2021-11-03) + +### Feature + +* feat: Redesign lockout page (#1599) + +* feat: Redesign lockout page + +* Fix row margin + +* Merge branch 'master' into lockout_page + +* fix global header margins + +* revert onboarding_print + +* Merge branch 'master' into lockout_page ([`e1bcda2`](https://github.com/ocadotechnology/codeforlife-portal/commit/e1bcda2484b3e0faf5377a198660d31f658d7cc4)) + +## v5.12.1 (2021-11-03) + +### Fix + +* fix: fixes for student deletion (#1600) + +* fix: remove login id on student deletion + +* do not display inactive students ([`aac79ea`](https://github.com/ocadotechnology/codeforlife-portal/commit/aac79eae1f51d16b3b209d974372e8a0bb967791)) + +## v5.12.0 (2021-10-29) + +### Feature + +* feat: Redesign student dashboards (#1598) + +* Separate dashboards and use new designs + +* Get RR scores and add images + +* Merge branch 'master' into student_dashboards + +* Minify image and fix some styling issues + +* Add test + +* Install temp RR branch + +* Fix typo + +* Uninstall rapid-router + +* code review + +* Install latest RR and fix Kurono logo + +* black + +* Fix image size and border radius + +* Update snapshot ([`df873e2`](https://github.com/ocadotechnology/codeforlife-portal/commit/df873e219cc87f2c73a52fea41ca912dc13dbe4a)) + +## v5.11.0 (2021-10-27) + +### Feature + +* feat: Import students from CSV (#1594) + +* feat: import students from CSV + +* test csv upload + +* updated text + +* code review + +* Merge master into csv-upload ([`4be94d6`](https://github.com/ocadotechnology/codeforlife-portal/commit/4be94d64c64f92b9b8af864821cc1b5676a62a52)) + +## v5.10.4 (2021-10-27) + +### Fix + +* fix: hide account details during onboarding (#1597) + +* fix: hide account details during onboarding + +* Merge branch 'master' into onboarding-hide-account-details + +* Merge branch 'master' into onboarding-hide-account-details ([`99eb890`](https://github.com/ocadotechnology/codeforlife-portal/commit/99eb8908611877d0188949ae14221c37b295a3ac)) + +## v5.10.3 (2021-10-27) + +### Fix + +* fix: smooth scroll to account details (#1596) + +* fix: smooth scroll to account details + +* fix test + +* Merge master into fix-account-details-scroll + +* Merge master into fix-account-details-scroll ([`90333d7`](https://github.com/ocadotechnology/codeforlife-portal/commit/90333d7a15114df52f4c6213e1ebcdb84cb885ec)) + +## v5.10.2 (2021-10-27) + +### Fix + +* fix: close message (#1595) + +* fix: close message ([`38b2356`](https://github.com/ocadotechnology/codeforlife-portal/commit/38b2356e6c18c1db51b5b39f3da8e491f0977181)) + +## v5.10.1 (2021-10-21) + +### Fix + +* fix: update onboarding pending request page (#1592) + +* fix: update onboarding pending request page + +* withdraw ([`ebc9daa`](https://github.com/ocadotechnology/codeforlife-portal/commit/ebc9daa5f964c40937400e1166e802091982a508)) + +### Unknown + +* Merge pull request #1591 from ocadotechnology/teacher-onboarding + +feat: Teacher onboarding ([`9df09be`](https://github.com/ocadotechnology/codeforlife-portal/commit/9df09be790baa037adebfcdad18c13cff70b0824)) + +* code review ([`1241196`](https://github.com/ocadotechnology/codeforlife-portal/commit/1241196f18e46298d560af720853fd9bcbf4ed2b)) + +* some cleanup ([`943d586`](https://github.com/ocadotechnology/codeforlife-portal/commit/943d5863615d21acef97db074f2be2c74d592aaf)) + +* test_onboarding_complete ([`1c9c34c`](https://github.com/ocadotechnology/codeforlife-portal/commit/1c9c34cba92c36d3432b6ab4d974fc3f60d7747c)) + +* fix onboarding tests ([`f9015bd`](https://github.com/ocadotechnology/codeforlife-portal/commit/f9015bd0fb619bc52a6dbfa8a22f3b9c560965ad)) + +* Merge branch 'master' into teacher-onboarding ([`9397bf7`](https://github.com/ocadotechnology/codeforlife-portal/commit/9397bf7a26e39876e9d08af2ec589443446b6366)) + +* update onboarding complete to go to dashboard ([`de19dcd`](https://github.com/ocadotechnology/codeforlife-portal/commit/de19dcdaab29c445b3f7069b42ced91d719e0110)) + +## v5.10.0 (2021-10-20) + +### Feature + +* feat: anonymise active student on delete (#1590) + +* feat: anonymise active student on delete + +* last name = User + +* removed unused imports ([`652866e`](https://github.com/ocadotechnology/codeforlife-portal/commit/652866e7ad2fe6b3856b548e4e94a8b90ba8e2e7)) + +### Unknown + +* update onboarding step 3 ([`3ebe19a`](https://github.com/ocadotechnology/codeforlife-portal/commit/3ebe19af724c69fdaff3fb0ba1d5fcbc12f00b89)) + +* fix create class with classmates progress ([`a12183e`](https://github.com/ocadotechnology/codeforlife-portal/commit/a12183ec835507cbf7ed586db1cad8d67a2a6558)) + +* tablet ([`a57a0f8`](https://github.com/ocadotechnology/codeforlife-portal/commit/a57a0f8b0fa0bdfc2dfcfc32bf79a8193668992e)) + +* update create a class on onboarding page ([`de0a9a4`](https://github.com/ocadotechnology/codeforlife-portal/commit/de0a9a45fc0000f0c20a978277afae9a6254bc4f)) + +* fix onboarding school page ([`bb718c5`](https://github.com/ocadotechnology/codeforlife-portal/commit/bb718c5deb665282b511a6d0340c21453c60febb)) + +## v5.9.0 (2021-10-15) + +### Feature + +* feat: add school and class data (#1589) + +* feat: add school and class data + +* rename migraton file ([`add1f8f`](https://github.com/ocadotechnology/codeforlife-portal/commit/add1f8ffb138451ef6d2e2eb3543ea5b589f8416)) + +### Unknown + +* wip: teacher onboarding page 1 ([`8a15ead`](https://github.com/ocadotechnology/codeforlife-portal/commit/8a15ead4510cd83fc3a8b61ffe98c1bf3ed57010)) + +## v5.8.0 (2021-10-14) + +### Feature + +* feat: Update reminder cards design (#1584) + +* Upgrade Reportlab to 3.6.1 + +* Update reminder cards design + +* Fix some spacing + +* Make rows full length and have link info + +* Minify image + +* Rename constant + +* Remove Pillow and embolden OR + +* Merge branch 'master' into update_reminder_cards_design + +* Improve test and install PyPDF2 + +* Constants + +* Uncomprehensionise the list ([`18ba6ae`](https://github.com/ocadotechnology/codeforlife-portal/commit/18ba6ae725eaf630a0250492050ef2c908ac7982)) + +## v5.7.1 (2021-10-14) + +### Fix + +* fix: Dashboard fixes (#1583) + +* fix: teacher dashboard switch tabs on error + +* add margin: 0 back to some rows + +* fix class subnav and test + +* Merge branch 'master' into dashboard-fixes ([`e70db7a`](https://github.com/ocadotechnology/codeforlife-portal/commit/e70db7a5bbba53945e8fb884dfba0f3f6606ecca)) + +## v5.7.0 (2021-10-14) + +### Feature + +* feat: add UserSession for login data (#1585) + +* feat: add UserSession for login data ([`12f52a7`](https://github.com/ocadotechnology/codeforlife-portal/commit/12f52a7b6daf1f7a0a40473cbcd88be61ff67488)) + +## v5.6.2 (2021-10-11) + +### Fix + +* fix: Fix update account details link (#1582) + +* fix: Fix update account details link ([`ee06d14`](https://github.com/ocadotechnology/codeforlife-portal/commit/ee06d14ab3ddbd7e4dffb1b9f03d1144e17697ec)) + +## v5.6.1 (2021-10-08) + +### Fix + +* fix: Fix teacher dashboard subnav button styles (#1576) + +* fix: Fix teacher dashboard subnav button styles + +* Merge branch 'master' into sub_nav_buttons_fix + +* Merge branch 'master' into sub_nav_buttons_fix ([`ad61d0d`](https://github.com/ocadotechnology/codeforlife-portal/commit/ad61d0dfb7e35fd215a12eb9ab4b07237caa4fec)) + +## v5.6.0 (2021-10-08) + +### Feature + +* feat: login page design with shapes (#1577) + +* feat: login page design with shapes + +* adjustments + +* Merge branch 'master' into loginshapes ([`2a02e45`](https://github.com/ocadotechnology/codeforlife-portal/commit/2a02e45fb4919d869e9c7bf7491605be3719d765)) + +## v5.5.0 (2021-10-08) + +### Feature + +* feat: login pages design with shapes ([`99996b0`](https://github.com/ocadotechnology/codeforlife-portal/commit/99996b0cf3c2f5c1f8d2750c38437b206ee972db)) + +## v5.4.0 (2021-10-08) + +### Feature + +* feat: Teacher dashboard update (#1574) + +* Split dashboard in JS tabs and update school tab design + +* Update class tab design + +* Account tab design + other fixes + +* Fix some tests + +* Fix scrolling + +* Fix icons using iconify + +* Use bootstrap tabs + +* Add shadow to danger buttons + +* Fix icon padding for inputs + +* Button and form fixes + +* Merge branch 'master' into teacher_dashboard_update + +# Conflicts: +# portal/static/portal/sass/partials/_buttons.scss +# portal/static/portal/sass/partials/_footer.scss +# portal/templates/portal/partials/footer.html +# portal/tests/test_teacher_student.py + +* Fix sub nav icon + +* Uncomment test + +* Fix test + +* Fixes and copy to clipboard + +* Update security icon + +* Update 2FA disable icon + +* Merge master + +* Fix button hover + +* Fix buttons and inputs + +* Move styles to subnav and refactor props + +* Merge branch 'master' into teacher_dashboard_update + +* Merge branch 'master' into teacher_dashboard_update + +* Refactor ([`f70c95a`](https://github.com/ocadotechnology/codeforlife-portal/commit/f70c95a70d7f8f9b270d8c35862d5962322f058b)) + +## v5.3.2 (2021-10-08) + +### Fix + +* fix: remove underline from dropdown icon (#1575) + +* fix: remove underline from dropdown icon ([`0ca1332`](https://github.com/ocadotechnology/codeforlife-portal/commit/0ca133293038af1e46b525dc922371786c6252f9)) + +## v5.3.1 (2021-10-07) + +### Fix + +* fix: student one time details fixes (#1573) + +* fix: student one time details fixes + +* code review + +* revert button--secondary--dark hover color ([`3573624`](https://github.com/ocadotechnology/codeforlife-portal/commit/3573624020bf696e4c800b94543ee258c33f244e)) + +## v5.3.0 (2021-10-07) + +### Feature + +* feat: Student login one time details (#1563) + +* WIP: student one time details page + +* add copy to clipboard + +* add button icons, text, fix alignment + +* Merge branch 'student_login' into student-login-one-time-details + +* Merge branch 'student_login' into student-login-one-time-details + +* fix banner and edit students password + +* bootstrap salad and responsive onboarding_print + +* add copied to clipboard tooltip + +* test_new_student_can_login_with_url + +* remove get clipboard url from test + +* code review + +* use font-size mixin + +* Merge branch 'student_login' into student-login-one-time-details + +* fix merge changes + +* add sub-nav--icon + +* Merge branch 'student_login' into student-login-one-time-details ([`b7e7e62`](https://github.com/ocadotechnology/codeforlife-portal/commit/b7e7e625b9b70f4737673967e16880b947099582)) + +* feat: add csv download (#1561) + +* feat: add csv download + +* remove unnecessary code + +* minor fixes + +* add test + +* fix test + +* add test coverage + +* add more test ([`e2ebd1e`](https://github.com/ocadotechnology/codeforlife-portal/commit/e2ebd1ecbf667bf6a2728a4854d7b660d533a853)) + +### Fix + +* fix: import get_hashed_login_id in teach.py ([`d4536ad`](https://github.com/ocadotechnology/codeforlife-portal/commit/d4536ad786b745d1f7ebee544617e0a6d0899277)) + +* fix: Update single student edit page (#1571) + +* feat: Update edit student process + +* Add text to indicate login link will be regenerated too + +* Merge branch 'student_login' into student_login_edit_student + +# Conflicts: +# portal/templates/portal/teach/onboarding_print.html +# portal/tests/pageObjects/portal/teach/edit_student_password_page.py +# portal/urls.py +# portal/views/teacher/teach.py + +* Update edit function with correct data + +* Fix error location + +* Fix id problem + +* Merge branch 'student_login' into student_login_edit_student + +# Conflicts: +# portal/tests/test_teacher.py +# portal/tests/test_teacher_student.py ([`ca9a46d`](https://github.com/ocadotechnology/codeforlife-portal/commit/ca9a46da206cf96473f9afc3391e049227ab6b9d)) + +* fix: add login url on reset password + refactor (#1572) + +* fix: add login url on reset password + refactor + +* renaming login id vars and pip fix ([`43ec60f`](https://github.com/ocadotechnology/codeforlife-portal/commit/43ec60fbc296f7a3d492e179044ea8f37d20b469)) + +* fix: Teacher password update (#1569) + +* Update teacher password policy + +* Fix tests + +* Fix tests more + +* Fix tests even more + +* Black ([`3d37fbd`](https://github.com/ocadotechnology/codeforlife-portal/commit/3d37fbdb0c72eee1e83365774e4c7e77df425a2d)) + +### Unknown + +* Merge pull request #1552 from ocadotechnology/student_login + +feat: Student login ([`a43b5d3`](https://github.com/ocadotechnology/codeforlife-portal/commit/a43b5d32cd2587c1fe3f6db1a3516763fdcd280b)) + +* Merge branch 'master' into student_login ([`608c77d`](https://github.com/ocadotechnology/codeforlife-portal/commit/608c77d5644d5c4332ed7071294b54f5b3d6473f)) + +## v5.2.4 (2021-10-01) + +### Feature + +* feat: random url for student login (#1556) + +* feat: add random url on student addition + +* feat: log in with the unique url + +* fix url param + +* create tests for the direct login + +* Merge branch 'student_login' into randomurl + +* fix: renaming and minor fixes ([`5b71a74`](https://github.com/ocadotechnology/codeforlife-portal/commit/5b71a74c4e67b747f00fa37031f36559fb134fed)) + +* feat: Split student login process in two steps (#1551) + +* Split form in 2 + +* Update tests and redirect + +* Merge branch 'student_login' into student_login_separate_forms + +* Update class code regexes + +* Fix Cypress tests + +* Review changes + +* Remove help link from email + +* Move compile to regex file + +* Remove sleeps + +* Reinstate some sleeps ([`cf7d521`](https://github.com/ocadotechnology/codeforlife-portal/commit/cf7d5210376365e5b38d8ca66d0a017543e6f528)) + +* feat: class code and student password format (#1550) + +* feat: class code and student password format + +* update student password policy + +* Pipfile.lock ([`f736c23`](https://github.com/ocadotechnology/codeforlife-portal/commit/f736c235f69d8f3fd8095ad824d2f04947c85938)) + +### Fix + +* fix: Update license (#1562) + +* fix: Update license file and add contributor agreement + +* Remove old license text + +* Update lockfile + +* Fix headings + +* Remove divs + +* Remove whitespaces ([`4c6dcce`](https://github.com/ocadotechnology/codeforlife-portal/commit/4c6dcce3ee9b78313ac45bf6887dbf773f00ea81)) + +* fix: update autoconfig settings for random URL (#1557) + +* fix: update autoconfig settings for random URL + +* remove duplicate + +* fix: remove redundant settings from test ([`e14a0dc`](https://github.com/ocadotechnology/codeforlife-portal/commit/e14a0dc88fee84b4be5ec6c6bea33d34442a2d8e)) + +## v5.2.3 (2021-09-17) + +### Fix + +* fix: fix home page on smaller screen sizes (#1549) + +* fix: fix home page on smaller screen sizes + +* Use px instead of pt + +* Merge branch 'master' into homeupdates ([`2a7f885`](https://github.com/ocadotechnology/codeforlife-portal/commit/2a7f885ba16a883748f07236182d288316f3411e)) + +## v5.2.2 (2021-09-17) + +### Fix + +* fix: Improve 2FA pages styles (#1548) + +* fix: Improve 2FA pages styles + +* End line + +* Make cancel button secondary ([`9cbd5a1`](https://github.com/ocadotechnology/codeforlife-portal/commit/9cbd5a1ca515dfb3b03962c704af3b2ef0452237)) + +## v5.2.1 (2021-09-14) + +### Build + +* build(deps): bump sqlparse from 0.4.1 to 0.4.2 (#1537) + +* build(deps): bump sqlparse from 0.4.1 to 0.4.2 + +Bumps [sqlparse](https://github.com/andialbrecht/sqlparse) from 0.4.1 to 0.4.2. +- [Release notes](https://github.com/andialbrecht/sqlparse/releases) +- [Changelog](https://github.com/andialbrecht/sqlparse/blob/master/CHANGELOG) +- [Commits](https://github.com/andialbrecht/sqlparse/compare/0.4.1...0.4.2) + +--- +updated-dependencies: +- dependency-name: sqlparse + dependency-type: direct:production +... + +Signed-off-by: dependabot[bot] <support@github.com> + +* Update lockfile + +* Merge branch 'master' into dependabot/pip/sqlparse-0.4.2 ([`d3a5388`](https://github.com/ocadotechnology/codeforlife-portal/commit/d3a538891c320fb6e192dfe50b5d9da3ef03eb96)) + +### Fix + +* fix: reposition banner image (#1545) + +* fix: reposition banner image ([`5da3972`](https://github.com/ocadotechnology/codeforlife-portal/commit/5da39724cf43f03c102f6b83c724a911252a9441)) + +## v5.2.0 (2021-09-13) + +### Feature + +* feat: remove flags (#1541) + +* feat: remove flags + +* Merge branch 'master' into remove-flags + +* Merge branch 'master' into remove-flags ([`4a6a0b3`](https://github.com/ocadotechnology/codeforlife-portal/commit/4a6a0b34ebc83fefa9f9dab1adf416a15939c29a)) + +## v5.1.0 (2021-09-13) + +### Feature + +* feat: add index to terms of use (#1538) + +* feat: add index to terms of use ([`56a19ca`](https://github.com/ocadotechnology/codeforlife-portal/commit/56a19ca97a5f193d1df1c747cc78412d366e6886)) + +## v5.0.1 (2021-09-09) + +### Fix + +* fix: button and table updates (rebranding 1 amends) (#1536) + +* fix: button and table updates + +* whitespace ([`57291aa`](https://github.com/ocadotechnology/codeforlife-portal/commit/57291aa0d692062dc48402d78793f07efc8e5ca1)) + +## v5.0.0 (2021-09-04) + +### Breaking + +* feat!: major version bump for rebranding phase 1 (#1527) + +* feat!: major version bump for rebranding phase 1 ([`592857f`](https://github.com/ocadotechnology/codeforlife-portal/commit/592857fd4524bba82f96171e6e66a357795daea4)) + +## v4.36.1 (2021-09-03) + +### Fix + +* fix: Privacy Policy update (#1526) + +* fix: Privacy Policy update + +* Merge branch 'master' into privacy_policy_update + +* Strengthen text ([`e6943f5`](https://github.com/ocadotechnology/codeforlife-portal/commit/e6943f59b9db192e309eb7abd347f360cd6abb4c)) + +## v4.36.0 (2021-09-03) + +### Feature + +* feat: version bump (#1525) +BREAKING CHANGE: rebranding phase 1 + +* feat: version bump +BREAKING CHANGE: rebranding ([`ec6d589`](https://github.com/ocadotechnology/codeforlife-portal/commit/ec6d5896f7b571c91aca489da590a7cda24236c4)) + +### Unknown + +* BREAKING CHANGE: rebranding + +Merge pull request #1523 from ocadotechnology/version-bump + +feat: version bump ([`82bbb28`](https://github.com/ocadotechnology/codeforlife-portal/commit/82bbb28553010d2b35dcbd072fee5f341ca1edc2)) + +## v4.35.0 (2021-09-03) + +### Feature + +* feat: Rebranding 1 - footer (#1511) + +* wip: navbar as partial and started styling + +* feat: rebranding colours, fonts, landing page + +* Merge branch 'master' into rebranding1 + +* fix: button updates, rob, snapshot + +* fix: update play pic and some pos + +* Make footer a partial + +* Merge remote branch rebranding-p1 into rebranding1 + +* fix navbar account dropdown + +* fix dropdown icon alignment + +* Update footer part 1 (content, links, icons and form) + +* fix logo quality + +* delete navbar.html + +* fix: reformatting, style updates + +* add twitter icon to footer using iconify + +* add email icon to newsletter input + +* Fix icon size and add logos + +* Merge branch 'rebranding_footer' of https://github.com/ocadotechnology/codeforlife-portal into rebranding_footer + +# Conflicts: +# portal/static/portal/sass/partials/_footer.scss +# portal/templates/portal/partials/footer.html + +* fix: image, color and button updates + +* Remove magic values and form spacing + +* fix headers and spacing on terms and privacy pages + +* Refactor and make mobile layout work for portrait tablets and phones + +* Merge branch 'rebranding1' into rebranding_footer + +# Conflicts: +# portal/static/portal/sass/partials/_footer.scss +# portal/static/portal/sass/partials/_forms.scss +# portal/templates/portal/base.html +# portal/templates/portal/base_old.html + +* Fix underline, form width and remove unused CSS + +* Make text semibold + +* Scale logos + +* fix footer links order on mobile + +* different footer logo location on mobile + +* Merge branch 'rebranding-p1' into rebranding_footer + +# Conflicts: +# portal/static/portal/img/reuben.png +# portal/static/portal/img/rob.png +# portal/static/portal/sass/modules/_colours.scss +# portal/static/portal/sass/modules/_mixins.scss +# portal/static/portal/sass/old_styles.scss +# portal/static/portal/sass/partials/_banners.scss +# portal/static/portal/sass/partials/_buttons.scss +# portal/static/portal/sass/partials/_footer.scss +# portal/static/portal/sass/partials/_forms.scss +# portal/static/portal/sass/partials/_header.scss +# portal/static/portal/sass/partials/_subnavs.scss +# portal/static/portal/sass/partials/_text.scss +# portal/templates/portal/base.html +# portal/templates/portal/base_old.html +# portal/templates/portal/home.html +# portal/templates/portal/privacy_policy.html +# portal/templates/portal/teach.html +# portal/templates/portal/terms.html +# portal/tests/snapshots/snap_test_partials.py + +* Clean up + +* Fix test + +* Fix double underline + +* Fix styling, sizes and script integrity + +* Fix test + +* Add integrity in 500 page + +* Remove arrow + +* Fix test and padding + +* Fix more spacing stuff + +* fix: remove round corners for form input + +* Merge branch 'rebranding-p1' into rebranding_footer + +* Updated CFL landscape logo ([`249df12`](https://github.com/ocadotechnology/codeforlife-portal/commit/249df12bbe91085115ee25f1a7fb63f29d64dcd1)) + +* feat: rebranding colours, fonts, landing page (#1496) + +* wip: navbar as partial and started styling + +* feat: rebranding colours, fonts, landing page + +* Merge branch 'master' into rebranding1 + +* fix: button updates, rob, snapshot + +* fix: update play pic and some pos + +* Merge remote branch rebranding-p1 into rebranding1 + +* fix navbar account dropdown + +* fix dropdown icon alignment + +* fix logo quality + +* delete navbar.html + +* fix: reformatting, style updates + +* fix: image, color and button updates + +* fix headers and spacing on terms and privacy pages + +* fix: reformatting, header size changes, reg page + +* Merge branch 'rebranding1' of https://github.com/ocadotechnology/codeforlife-portal into rebranding1 + +* fix kurono headers and button size + +* Merge branch 'rebranding1' of https://github.com/ocadotechnology/codeforlife-portal into rebranding1 + +* fix: fix registration page link colours + +* Merge branch 'rebranding1' of https://github.com/ocadotechnology/codeforlife-portal into rebranding1 + +* replace glyphicons with material icons + +* fix: remove margin top for button + +* fix: remove text_constants import + +* navbar fixes + +* button shadow + +* removed extra spaces + +* fix: teaching resources reformat and tidy up + +* Merge branch 'rebranding1' of https://github.com/ocadotechnology/codeforlife-portal into rebranding1 + +* Merge branch 'rebranding-p1' into rebranding1 + +* update snapshot and fix tests + +* fix white text on register and login inputs + +* button and background updates + +* white and black + +* update snapshot + +* update the registration banner + +* dropdown fixes, home img fix + +* whitespace tidy up + +* tidy up ([`eab81ee`](https://github.com/ocadotechnology/codeforlife-portal/commit/eab81eeab3a66d9482e340e56101e620c591bb86)) + +* feat: Remove teacher title (#1508) + +* feat: remove teacher title ([`1d0c9b5`](https://github.com/ocadotechnology/codeforlife-portal/commit/1d0c9b559e4a8c223312bfb476f6706f9b17e28e)) + +* feat: Rebranding navbar (#1495) + +* wip: navbar as partial and started styling + +* style updates + +* more styles for responsiveness + +* update dropdown style + +* small style fixes + +* removed some commented lines + +* more responsive style fixes + +* Merge branch 'master' into rebranding-navbar + +* some nav fixes and shadow + +* remove old logo + +* add icons font to other html files + +* remove glyphicons from navbar + +* fix navbar on tablets + +* code review changes + +* subnav warning fixes + +* fix old style nav size + +* add get involved link to mobile nav + +* navbar -> header + +* add sleep to some selenium tests + +* try to increase sleep time + +* Revert "add sleep to some selenium tests" + +This reverts commit 43cef25fec835b73ebbb2db745dbcd3f8b139890. + +* fix subnav filler and nav height on tablet ([`717a765`](https://github.com/ocadotechnology/codeforlife-portal/commit/717a765cde126bb91336a3eb1408e95702897f53)) + +### Fix + +* fix: remove page caches (#1522) + +* fix: remove page caches ([`de51c42`](https://github.com/ocadotechnology/codeforlife-portal/commit/de51c4226fb9029bae6f760818f8c8df7feb90d8)) + +* fix: rebranding adjustments (#1521) + +* fix: rebranding adjustments + +* update snapshot to fix test + +* fix: clean up and mobile amend ([`a00b6b1`](https://github.com/ocadotechnology/codeforlife-portal/commit/a00b6b115337ee028e058dc936fda956b20fe2fa)) + +* fix: Footer fixes and old base removal (#1519) + +* Get rid of base_old.html + +* Fix footer spacing and padding + +* Fix footer tablet layout + +* Bring cache back + +* Remove old_styles.scss + +* Remove linting config files used by CodeClimate + +* Remove cache + +* Delete redundant header blocks and button classes ([`fa2d9ad`](https://github.com/ocadotechnology/codeforlife-portal/commit/fa2d9ad64ad29b8c989e01245467ba8225247d70)) + +* fix: mobile navbar buttons max width, padding, Ocado logo, account icon, dropdown (#1520) + +* fix: mobile navbar buttons max width + +* add navbar buttons padding + +* align ocado logo to the middle of the screen + +* fix navbar dropdown + +* fix navbar account icon font weight ([`e242f9c`](https://github.com/ocadotechnology/codeforlife-portal/commit/e242f9cc5d3c9089d0cfb87ded0ef3bc11b04216)) + +* fix: fix test ([`c9c2381`](https://github.com/ocadotechnology/codeforlife-portal/commit/c9c2381a994315985045102704d96e881e8de2ac)) + +* fix: button updates etc (#1517) + +* fix: button updates etc ([`1e599e6`](https://github.com/ocadotechnology/codeforlife-portal/commit/1e599e602592890b14da3bed9f8ee169d5964846)) + +* fix: rebranding logo spacing (#1516) + +* fix: rebranding logo spacing + +* min navbar height 80 ([`1614ac0`](https://github.com/ocadotechnology/codeforlife-portal/commit/1614ac0d20af98f26f53e88b0f10220db49813fe)) + +* fix: Rebranding1 button fixes (#1515) + +* fix: button size fixes + +* fix: home learning link ([`86514e3`](https://github.com/ocadotechnology/codeforlife-portal/commit/86514e3aeb9a0fd1f31ea3f72d301d5d91f3fa07)) + +* fix: Rebranding amends (#1513) + +* Make titles and padding smaller in register and login pages + +* Improve 2FA pages styles + +* Benefits partial 8 columns + +* Fix Rapid Router banner + +* Reduce banners padding even more + +* Fix footer padding + +* Fix teach page padding + +* Fix simple pages issue with footer bug + +* Fix Kurono landing page pt 1 + +* Fix messages banner + +* Reduce header height + +* Fix scoreboard header + +* Delete unused images + +* Fix right aligned button in Teach page + +* Update popup style + +* Fix Kurono landing page pt. 2 + +* Update student old pages + +* More space for footer logos + +* Update snapshots + +* Fix more small pages + +* Fix tests + +* Fix tests pt 2 + +* Uncomment cache + +* fix: mouseflow not to use integrity check + +* Small fixes + +* Merge branch 'rebranding_p1_amends' of https://github.com/ocadotechnology/codeforlife-portal into rebranding_p1_amends + +* Merge branch 'rebranding-p1' into rebranding_p1_amends + +# Conflicts: +# portal/static/portal/sass/partials/_subnavs.scss +# portal/templates/portal/teach.html + +* Bring border back to inputs ([`487d214`](https://github.com/ocadotechnology/codeforlife-portal/commit/487d2145bf9019a8d629b20200a2b598eecb753a)) + +* fix: Rebranding1 updates - buttons and such (#1514) + +* fix: buttons and other adjustments + +* fix: update home images + +* fix: whitespaces + +* fix: add copyright and update favicon + +* fix: update favicon ([`8882b92`](https://github.com/ocadotechnology/codeforlife-portal/commit/8882b92c333bc216ccfe026b313e33e2a40e2a50)) + +* fix: update icons on home page (#1512) + +* fix: update icons on home page ([`6436e23`](https://github.com/ocadotechnology/codeforlife-portal/commit/6436e23543f72e62694e5b0bbbd666a450e2ed45)) + +### Unknown + +* Merge pull request #1510 from ocadotechnology/rebranding-p1 + +feat!: Rebranding p1 ([`50dab43`](https://github.com/ocadotechnology/codeforlife-portal/commit/50dab43d497fa97421a98878adca52eb49438faf)) + +* Merge branch 'master' into rebranding-p1 ([`c942830`](https://github.com/ocadotechnology/codeforlife-portal/commit/c942830147ad2c629a399caa0b941f04ffe2f33a)) + +## v4.34.0 (2021-08-11) + +### Feature + +* feat: add function teacher_logout to HomePage (#1497) + +* feat: add function teacher_logout to HomePage ([`aaa9ace`](https://github.com/ocadotechnology/codeforlife-portal/commit/aaa9ace3be5bb19156fa7bf973782759ccd97e85)) + +## v4.33.0 (2021-08-03) + +### Feature + +* feat: add contributor pages (#1493) + +* feat: add contributor pages + +* fix: some renaming, formatting + +* fix: resize img, formatting, test + +* Merge branch 'master' into contributor + +* fix: reformatting, text updates + +* fix: use fixed height for card images + +* fix: tinify images + +* fix: img updates, reformatting, display fixes + +* fix: reformat text and images + +* fix: fix card image + +* fix: test updates, links to new page ([`47c6833`](https://github.com/ocadotechnology/codeforlife-portal/commit/47c683346c17eba91e7e574c95ef04836e499414)) + +## v4.32.4 (2021-07-22) + +### Fix + +* fix: Remove ReCaptcha from certain forms (#1494) + +* fix: Remove ReCaptcha from certain forms ([`f21cbd4`](https://github.com/ocadotechnology/codeforlife-portal/commit/f21cbd41cd9478c5d4b80aaa1be74a4c48da5cd2)) + +## v4.32.3 (2021-07-21) + +### Build + +* build: Dockerise portal project for development (#1477) + +* Add docker ignore file + +Signed-off-by: Niket <niket.shah1@ocado.com> + +* Add dockerfile to build portal image + +Signed-off-by: Niket <niket.shah1@ocado.com> + +* Add codeforlifeportal service in docker-compose.yml file + +Signed-off-by: Niket <niket.shah1@ocado.com> + +* Merge branch 'master' into Docker-ising-portal-1475 + +* Merge branch 'master' into Docker-ising-portal-1475 + +* modify run command to take in a parameter again + +Signed-off-by: Niket <niket.shah1@ocado.com> + +* Merge branch 'Docker-ising-portal-1475' of https://github.com/ocadotechnology/codeforlife-portal into Docker-ising-portal-1475 + +* rename service and docker image + +Signed-off-by: Niket <niket.shah1@ocado.com> + +* Run container as root for development + +* Merge branch 'master' into Docker-ising-portal-1475 ([`a97462d`](https://github.com/ocadotechnology/codeforlife-portal/commit/a97462dddebe96798b8dd03395fae7d1e3727069)) + +### Fix + +* fix: Games not stopping (#1491) + +* create auth token and k8s secret on game creation + +* moved game_creator to aimmo + +* mock aimmo game manager for all tests + +* Merge branch 'master' into games-not-stopping + +* Merge branch 'master' into games-not-stopping + +* updated Pipfile.lock ([`d1d6112`](https://github.com/ocadotechnology/codeforlife-portal/commit/d1d6112df246d4983245b4125ae2cce606de6201)) + +## v4.32.2 (2021-07-14) + +### Fix + +* fix: Revert ReCaptcha v3 (#1489) + +* Revert "fix: Replace ReCaptcha score setting with env var (#1488)" + +This reverts commit cc8640deb5a632a9e9398455beb5fe783166e971. + +* Revert "feat: Upgrade ReCaptcha to v3 (#1487)" + +This reverts commit 80309d38e80bdadc8cb31b56e697f5e301e4ef4f. ([`fb4720a`](https://github.com/ocadotechnology/codeforlife-portal/commit/fb4720aa8c37c1f2f616a1f37b5802eeda43d50e)) + +## v4.32.1 (2021-07-13) + +### Fix + +* fix: Replace ReCaptcha score setting with env var (#1488) + +* fix: Remove score setting and use env var instead ([`cc8640d`](https://github.com/ocadotechnology/codeforlife-portal/commit/cc8640deb5a632a9e9398455beb5fe783166e971)) + +## v4.32.0 (2021-07-12) + +### Ci + +* ci: remove docs paths-ignore (didn't work) ([`18131f4`](https://github.com/ocadotechnology/codeforlife-portal/commit/18131f4e46830d1931de9c7ebbcc99179e8cc68b)) + +### Feature + +* feat: Upgrade ReCaptcha to v3 (#1487) + +* fix: Upgrade ReCaptcha to v3 + +* fix local and test runs without recaptcha keys + +* Set score to 0.85 again + +* Testing lower score again + +* Trying 0.8 + +* Add comments + +* Try load the script first + +* Improve Captcha script and allow for multiple captchas ([`80309d3`](https://github.com/ocadotechnology/codeforlife-portal/commit/80309d38e80bdadc8cb31b56e697f5e301e4ef4f)) + +## v4.31.4 (2021-07-01) + +### Documentation + +* docs: update readme and docs (#1478) + +* docs: update readme and docs + +* docs: update ci to ignore docs folder ([`5b53362`](https://github.com/ocadotechnology/codeforlife-portal/commit/5b533624b3a59123bb203fa65e5c8776c28af994)) + +### Fix + +* fix: Move Freshdesk selector back to portal (#1479) + +* fix: Run Freshdesk widget code on load + +* fix: Move Freshdesk selector back to portal + +* Merge branch 'master' into freshdesk_widget_on_load ([`77485f3`](https://github.com/ocadotechnology/codeforlife-portal/commit/77485f3ca92608340536d068ad439932fb51853a)) + +## v4.31.3 (2021-06-30) + +### Fix + +* fix: Move Freshdesk HTML to common (#1474) + +* fix: Move Freshdesk HTML to common + +* New line + +* Vanilla JS ([`3b8b9ee`](https://github.com/ocadotechnology/codeforlife-portal/commit/3b8b9ee1abc69f885dca35420966126f0d93fcde)) + +## v4.31.2 (2021-06-25) + +### Fix + +* fix: Revert the revert of the verification changes but with a fix (#1472) + +* fix: Revert the revert of the verification changes + +* Filter EVs instead of get + amend tests ([`057ac92`](https://github.com/ocadotechnology/codeforlife-portal/commit/057ac92accf8c4cdcbef2e40b62d95f76b0b1db0)) + +## v4.31.1 (2021-06-25) + +### Fix + +* fix: Temporarily revert verification changes (#1471) + +* fix: Temporarily revert verification changes ([`9d37db7`](https://github.com/ocadotechnology/codeforlife-portal/commit/9d37db78ca516e134ac97880deeeb29bb43c0e1a)) + +## v4.31.0 (2021-06-24) + +### Documentation + +* docs: Update ci to ignore md files (#1469) + +* docs: Update ci to ignore md files ([`6cb7516`](https://github.com/ocadotechnology/codeforlife-portal/commit/6cb7516ac0f5399d08e7f73c2e1f30207dba37cb)) + +### Feature + +* feat: Verification check on login (#1447) + +* Check email verification on login + +* Revert verification banner + +* Revert pt. 2 + +* Update tests + +* Black formatter + +* Fix one more thing from the revert + +* Fix test + +* Fix test pt. 2 + +* Verify portaladmin user + test + +* Fix migration reversal problem + +* add django-test-migrations and fix migration test + +* Merge branch 'master' into verification_login + +* Use django-test-migrations instead of MigrationTestCase + +* Merge branch 'master' into verification_login + +* Also test rollback + +* Merge branch 'master' into verification_login + +* Make error message a constant + +* Use single line string + +* Replace more strings + +* Merge branch 'master' into verification_login ([`ceebd25`](https://github.com/ocadotechnology/codeforlife-portal/commit/ceebd2569f0a15ac31643e1049a4f5f6bf58e01a)) + +## v4.30.14 (2021-06-23) + +### Fix + +* fix: add kurono link on onboarding phase (#1468) + +* fix: add kurono link on onboarding phase + +* fix: remove irrelevant win file ([`8c9afff`](https://github.com/ocadotechnology/codeforlife-portal/commit/8c9afff4a74b8ff6ba05056c93b7c548cadf0673)) + +## v4.30.13 (2021-06-22) + +### Build + +* build(deps): bump wagtail from 2.11.7 to 2.11.8 (#1465) + +* build(deps): bump wagtail from 2.11.7 to 2.11.8 + +Bumps [wagtail](https://github.com/wagtail/wagtail) from 2.11.7 to 2.11.8. +- [Release notes](https://github.com/wagtail/wagtail/releases) +- [Changelog](https://github.com/wagtail/wagtail/blob/main/CHANGELOG.txt) +- [Commits](https://github.com/wagtail/wagtail/compare/v2.11.7...v2.11.8) + +--- +updated-dependencies: +- dependency-name: wagtail + dependency-type: indirect +... + +Signed-off-by: dependabot[bot] <support@github.com> + +* Correctly update lockfile ([`6bba266`](https://github.com/ocadotechnology/codeforlife-portal/commit/6bba26605687f18b4230975257313a8f10aa7cfa)) + +### Fix + +* fix: Set header to 0 (#1466) + +* Overwrite Django's security middleware + +* Add docstrings + +* Black + +* Add security headers test + +* Extend middleware directly instead ([`6e33d22`](https://github.com/ocadotechnology/codeforlife-portal/commit/6e33d22ddb3d86d275836ec4ccf8c8532d0c8373)) + +## v4.30.12 (2021-06-17) + +### Build + +* build(deps): bump django from 2.2.22 to 2.2.24 (#1460) + +* build(deps): bump django from 2.2.22 to 2.2.24 + +Bumps [django](https://github.com/django/django) from 2.2.22 to 2.2.24. +- [Release notes](https://github.com/django/django/releases) +- [Commits](https://github.com/django/django/compare/2.2.22...2.2.24) + +--- +updated-dependencies: +- dependency-name: django + dependency-type: direct:production +... + +Signed-off-by: dependabot[bot] <support@github.com> + +* Update lockfile correctly + +* Merge branch 'master' into dependabot/pip/django-2.2.24 ([`66fd87a`](https://github.com/ocadotechnology/codeforlife-portal/commit/66fd87a98c7808ad828c5be0a8f18d845d3a4d18)) + +### Fix + +* fix: Check for existing user on email change + change username (#1464) + +* fix: Check for existing user on email change + change username + +* Remove format string + +* Merge branch 'master' into change_email_fix ([`43c7833`](https://github.com/ocadotechnology/codeforlife-portal/commit/43c7833ab90d9f230a558cc00aa9dc96f398349f)) + +### Unknown + +* Add additional terms on Ocado back ([`1fa10da`](https://github.com/ocadotechnology/codeforlife-portal/commit/1fa10da138e9cde318494c7ec670999ed31954a3)) + +## v4.30.11 (2021-06-11) + +### Fix + +* fix(deps): bump django from 2.2.22 to 2.2.24 (#1457) + +* build(deps): bump django from 2.2.21 to 2.2.24 + +Bumps [django](https://github.com/django/django) from 2.2.21 to 2.2.24. +- [Release notes](https://github.com/django/django/releases) +- [Commits](https://github.com/django/django/compare/2.2.21...2.2.24) + +--- +updated-dependencies: +- dependency-name: django + dependency-type: direct:production +... + +Signed-off-by: dependabot[bot] <support@github.com> + +* Also update Django in common + +* Merge branch 'master' into dependabot/pip/django-2.2.24 ([`01d16f8`](https://github.com/ocadotechnology/codeforlife-portal/commit/01d16f8ca03a6493d7feb375ebbf0667d9a55066)) + +## v4.30.10 (2021-06-11) + +### Fix + +* fix: Update lockfile - Django 2.2.22 (#1458) + +* fix: Update lockfile - Django 2.2.22 ([`d5dac6a`](https://github.com/ocadotechnology/codeforlife-portal/commit/d5dac6a8ada399659681b56922e604052bf85f06)) + +## v4.30.9 (2021-06-10) + +### Fix + +* fix(deps): bump django from 2.2.21 to 2.2.22 (#1455) + +* build(deps): bump django from 2.2.21 to 2.2.22 + +Bumps [django](https://github.com/django/django) from 2.2.21 to 2.2.22. +- [Release notes](https://github.com/django/django/releases) +- [Commits](https://github.com/django/django/compare/2.2.21...2.2.22) + +--- +updated-dependencies: +- dependency-name: django + dependency-type: direct:production +... + +Signed-off-by: dependabot[bot] <support@github.com> + +* Update common too ([`e24c6a7`](https://github.com/ocadotechnology/codeforlife-portal/commit/e24c6a7f26c999f958a2ad04968817bac7aad049)) + +## v4.30.8 (2021-06-09) + +### Fix + +* fix: update lock file for django2.2.21 (#1454) + +* fix: update lock file for django2.2.21 ([`8eff0d1`](https://github.com/ocadotechnology/codeforlife-portal/commit/8eff0d1e1288ba8cc1ad661044f64c60443d3d29)) + +## v4.30.7 (2021-06-07) + +### Fix + +* fix: bump django from 2.2.20 to 2.2.21 (#1452) + +* build(deps): bump django from 2.2.20 to 2.2.21 + +Bumps [django](https://github.com/django/django) from 2.2.20 to 2.2.21. +- [Release notes](https://github.com/django/django/releases) +- [Commits](https://github.com/django/django/compare/2.2.20...2.2.21) + +--- +updated-dependencies: +- dependency-name: django + dependency-type: direct:production +... + +Signed-off-by: dependabot[bot] <support@github.com> + +* Update django version in cfl_common ([`55e5a4e`](https://github.com/ocadotechnology/codeforlife-portal/commit/55e5a4ea29a5f1ed115316daa23673add74d16c4)) + +## v4.30.6 (2021-06-04) + +### Build + +* build(deps): bump urllib3 from 1.26.4 to 1.26.5 (#1450) + +* build(deps): bump urllib3 from 1.26.4 to 1.26.5 + +Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.4 to 1.26.5. +- [Release notes](https://github.com/urllib3/urllib3/releases) +- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) +- [Commits](https://github.com/urllib3/urllib3/compare/1.26.4...1.26.5) + +--- +updated-dependencies: +- dependency-name: urllib3 + dependency-type: indirect +... + +Signed-off-by: dependabot[bot] <support@github.com> + +* Fix locking issues ([`297003d`](https://github.com/ocadotechnology/codeforlife-portal/commit/297003d267ba487beaee0ef665ab0a22de75115a)) + +### Documentation + +* docs: refer contributing to our docs subdomain (#1448) + +* docs: refer contributing to our docs subdomain ([`45c13cf`](https://github.com/ocadotechnology/codeforlife-portal/commit/45c13cfdf2ad1d89a93b7ec927fc1f351be2fa36)) + +* docs: revert gitbook changes (#1445) + +* docs: revert gitbook changes ([`d81de62`](https://github.com/ocadotechnology/codeforlife-portal/commit/d81de62b03288e5cb839e52ccd9e6e3f4baa2084)) + +* docs: updates related to gitbook (#1444) + +* docs: updates related to gitbook + +* Merge branch 'master' into gitbook-update ([`5ade0e5`](https://github.com/ocadotechnology/codeforlife-portal/commit/5ade0e52c6dd8af0716dec2d4e5e7bffc7f3daab)) + +### Fix + +* fix: prevent concurrent logins (#1451) + +* fix: add django-preventconcurrentlogins + +* add tests + +* Merge branch 'master' into razvan-pro/issue1398 + +* code review + +* update Pipfile.lock + +* fix example in docstring ([`b2886ab`](https://github.com/ocadotechnology/codeforlife-portal/commit/b2886ab03504760b116bd7b3f88b24f7a6b9abf9)) + +### Unknown + +* GitBook: [master] one page modified ([`6713884`](https://github.com/ocadotechnology/codeforlife-portal/commit/6713884cbead58496db1c0ce5af3d55a2e7df88c)) + +* GitBook: [master] 2 pages modified ([`c3ad986`](https://github.com/ocadotechnology/codeforlife-portal/commit/c3ad9862c376aacb12750a63bd494674706bc37f)) + +## v4.30.5 (2021-05-20) + +### Fix + +* fix: ratelimit (#1443) + +* added logging points + +* add more logging in ratelimit + +* more logging + +* try cache key per user + +* fix ratelimit cache key in dashboard_teacher_view + +* Merge branch 'master' into debug-ratelimit + +* cleanup loggers + +* replace login_ratelimit with ratelimit + +* Merge branch 'master' into debug-ratelimit ([`1fe2e4d`](https://github.com/ocadotechnology/codeforlife-portal/commit/1fe2e4d0367d889318e8dd9be2f42f9c46a2b866)) + +## v4.30.4 (2021-05-19) + +### Fix + +* fix: Add verification banner (#1442) + +* Add verification banner for teachers and indep students + +* Add tests + +* Amend banner text + +* Docstrings and conditionals + +* Added asserts and improved try except ([`6fcd3ca`](https://github.com/ocadotechnology/codeforlife-portal/commit/6fcd3cab31d10b6431b26f9c757c1a003713d5b2)) + +## v4.30.3 (2021-05-17) + +### Documentation + +* docs: update license file (#1437) + +* docs: update license file + +* remove old license file ([`360c758`](https://github.com/ocadotechnology/codeforlife-portal/commit/360c7583dd20c1fa9380adc25694707f325703d3)) + +### Fix + +* fix: trigger staging deployment (#1438) + +* test trigger dev deployment + +* try with personal token + +* valid ref + +* moved deployment trigger to publish action + +* Merge branch 'master' into trigger-deploy-workflow ([`61548ea`](https://github.com/ocadotechnology/codeforlife-portal/commit/61548ea5cd949515e2a0e10f47f7946b905963db)) + +## v4.30.2 (2021-05-11) + +### Fix + +* fix: change location of ratelimit checks (#1436) + +* fix: change location of ratelimit checks + +* organised imports + +* Merge branch 'master' into fix-invalid-recaptcha + +* Merge branch 'master' into fix-invalid-recaptcha ([`fc6ff11`](https://github.com/ocadotechnology/codeforlife-portal/commit/fc6ff112f7bf239eb434016232b68d9e2da971c0)) + +## v4.30.1 (2021-05-11) + +### Fix + +* fix: Remove autocomplete (#1435) + +* fix: Remove autocomplete in login / registration forms + +* Remove school student placeholders ([`6a7a9ca`](https://github.com/ocadotechnology/codeforlife-portal/commit/6a7a9ca082227d1d2d308d81adbcf2d035b1ed17)) + +## v4.30.0 (2021-05-10) + +### Feature + +* feat: Add ratelimit to certain forms (#1430) + +* Install django-ratelimit + +* Override ratelimit functions to enable resetting upon successful requests + +* Add ratelimiter to indep student login + revamp blocked out page + +* Reset cache on password reset and indep student login + docstrings + +* User username key + +* Add ratelimit to 2FA login form + +* Add ratelimit to edit account forms + +* Refactor ratelimit cache reset code + +* Amend template text + +* Integrate lockout system to models with 24 hour timeout + +* Implement lockout system + tests + +* Update template and fix monster size + +* Log user out on password change + +* Merge branch 'master' into login_ratelimit + +* Add migration test + +* Fix and add tests, and remove is_blocked + +* Improve account edit ratelimit + +* Add even more tests + ignore ratelimit code + +* Refactor some code + docstrings + +* Merge branch 'master' into login_ratelimit + +* Remove copyright text + improve rate function + +* Merge branch 'master' into login_ratelimit + +# Conflicts: +# portal/urls.py +# portal/views/login/teacher.py + +* fix teacher login view post data + +* Only do auth logic on auth step of login view + +* Fix tests once and for all ([`ca4104f`](https://github.com/ocadotechnology/codeforlife-portal/commit/ca4104f0d0b4273fff1da95b8a61174e9ff195ca)) + +## v4.29.6 (2021-05-07) + +### Fix + +* fix: recaptcha and login form improvements (#1432) + +* check captcha in teacher, student and independent + +* removed account/login/, better 2FA integration + +* Merge branch 'master' into razvan-pro/issue1389 + +* Merge branch 'master' into razvan-pro/issue1389 + +* Merge branch 'master' into razvan-pro/issue1389 + +* test invalid recaptcha + +* code review ([`29f68d6`](https://github.com/ocadotechnology/codeforlife-portal/commit/29f68d6fd574aa2156fee3e91ebbeb28c390a151)) + +## v4.29.5 (2021-05-07) + +### Fix + +* fix: crossOrigin is case sensitive via js (#1434) + +* fix: crossOrigin is case sensitive via js ([`b2e1034`](https://github.com/ocadotechnology/codeforlife-portal/commit/b2e1034cfee08c8d838a61e6cc59a7a7fae6f0b6)) + +## v4.29.4 (2021-05-06) + +### Fix + +* fix: add integrity hash and fix js links (#1431) + +* remove references to inexistent jquery-ui.js + +* fix: add integrity hash to mouseflow ([`2dced59`](https://github.com/ocadotechnology/codeforlife-portal/commit/2dced59496453959207c630a7c9e686044826bfa)) + +## v4.29.3 (2021-04-30) + +### Fix + +* fix: upgrade modernizr to 3.11.0 (#1429) + +* fix: upgrade modernizr to 3.11.0 + +* update codeclimate exclusion list + +* revert codeclimate and add js/lib ([`c720e63`](https://github.com/ocadotechnology/codeforlife-portal/commit/c720e63d1c215bb4e3c198954cc13dd622f1924f)) + +## v4.29.2 (2021-04-23) + +### Fix + +* fix: Fix try except in Dotmailer form view (#1428) + +* fix: Fix try except in Dotmailer form view ([`36a1885`](https://github.com/ocadotechnology/codeforlife-portal/commit/36a1885585f0449bee8994c68fffe29f40263d02)) + +## v4.29.1 (2021-04-22) + +### Fix + +* fix: Handle if user not registered (#1427) + +* fix: Handle if user not registered + +* Improve try / except and tests ([`76969bb`](https://github.com/ocadotechnology/codeforlife-portal/commit/76969bbe75244d1f07e787a90dfdd5a283da9e13)) + +## v4.29.0 (2021-04-22) + +### Feature + +* feat: Add Dotmailer consent form (#1424) + +* Add consent form + +* Add tests + +* Refactor files + +* Merge branch 'master' into dotmailer_form + +# Conflicts: +# cfl_common/common/app_settings.py +# portal/context_processors.py + +* Remove print + +* Add more in-depth test + +* Cleanup + +* Add campaign ID to env vars + +* Merge branch 'master' into dotmailer_form + +* Fix test settings + +* Use test settings ([`5e3d67a`](https://github.com/ocadotechnology/codeforlife-portal/commit/5e3d67a5c42e223950e72d6d86c78e66ab8847b6)) + +## v4.28.6 (2021-04-21) + +### Fix + +* fix: add tests for 2FA (#1425) + +* fix: add tests for 2FA + +* Merge branch 'master' into 2FA + +* Merge branch 'master' into 2FA ([`28f4651`](https://github.com/ocadotechnology/codeforlife-portal/commit/28f46511c19ea187ccae595c29b3d56df45a45c4)) + +## v4.28.5 (2021-04-21) + +### Fix + +* fix: require post (#1426) + +* fix: require post ([`cbade7f`](https://github.com/ocadotechnology/codeforlife-portal/commit/cbade7ff96f151f51082f4d93277ac5d8f89e4a8)) + +## v4.28.4 (2021-04-20) + +### Fix + +* fix: bump version (#1423) + +* fix: bump version ([`0aadf49`](https://github.com/ocadotechnology/codeforlife-portal/commit/0aadf4976c3324b7aa87f8417e165afad8201c6b)) + +### Unknown + +* Merge pull request #1412 from ocadotechnology/dependabot/pip/django-2.2.20 + +build(deps): bump django from 2.2.18 to 2.2.20 ([`354e453`](https://github.com/ocadotechnology/codeforlife-portal/commit/354e45391d47532fc95a6346e0e7511837ab39b3)) + +* Merge branch 'master' into dependabot/pip/django-2.2.20 ([`0bba01e`](https://github.com/ocadotechnology/codeforlife-portal/commit/0bba01e144a437fc0df667e7d81ff5768c7e5a70)) + +* update common package too ([`d15ece8`](https://github.com/ocadotechnology/codeforlife-portal/commit/d15ece86c6250040679ddec9b5001508c5cfe328)) + +## v4.28.3 (2021-04-19) + +### Fix + +* fix: update functional cookies in privacy policy ([`d905d92`](https://github.com/ocadotechnology/codeforlife-portal/commit/d905d92a0f0d5318cb0eaa99c9d74d778b4ae4ce)) + +### Unknown + +* Merge pull request #1422 from ocadotechnology/update-privacy-policy + +fix: update-privacy-policy ([`ea287ae`](https://github.com/ocadotechnology/codeforlife-portal/commit/ea287ae22fd84784a86cb6209bdb2d74d0d22a4f)) + +* updated last_updated date in privacy policy ([`d946b5b`](https://github.com/ocadotechnology/codeforlife-portal/commit/d946b5b82a97747a9cd95b7eccb9d6f78ea80ea6)) + +## v4.28.2 (2021-04-16) + +### Fix + +* fix: Add bullet points to privacy policy table (#1421) + +* fix: Add bullet points to privacy policy table ([`98a8692`](https://github.com/ocadotechnology/codeforlife-portal/commit/98a8692085ca5f0be96170586fa3eb2c3bb263c9)) + +## v4.28.1 (2021-04-16) + +### Fix + +* fix: include templates in common manifest ([`f7ec37b`](https://github.com/ocadotechnology/codeforlife-portal/commit/f7ec37baaf1322d839194c0ae0bbf04895e8887e)) + +### Unknown + +* Merge pull request #1420 from ocadotechnology/fix-common-templates + +fix: include templates in common manifest ([`02b4a3b`](https://github.com/ocadotechnology/codeforlife-portal/commit/02b4a3b5db851d97afd4eae7d00689f557348e05)) + +## v4.28.0 (2021-04-16) + +### Feature + +* feat: Managed cookies (#1338) + +* add test onetrust cookie script + +* replace youtube embeds with youtube-nocookie + +* Merge branch 'master' into managed-cookies + +* added cookies settings button and cookies list + +* add flag to disable cookie management (fix tests) + +* only load mouseflow if user consented + +* Merge branch 'master' into managed-cookies + +* Merge branch 'master' into managed-cookies + +* style div#ot-sdk-cookie-policy + +* updated text about cookies in privacy policy + +* Merge branch 'master' into managed-cookies + +* Merge branch 'master' into managed-cookies + +* added cookies settings link in the footer + +* Merge branch 'master' into managed-cookies + +* Merge branch 'master' into managed-cookies + +* Merge branch 'master' into managed-cookies + +* Merge branch 'master' into managed-cookies + +* fix rapid-router youtube popup + +* Merge branch 'cookies_and_policy' into managed-cookies +* add cookie settings button to privacy policy -## v4.30.4 (2021-05-19) +* moved onetrust cookies consent template to common -### Fix +* add onetrust cookies prod script -* fix: Add verification banner (#1442) +* Merge branch 'cookies_and_policy' into managed-cookies -* Add verification banner for teachers and indep students +* Cookies [lowercase]settings -* Add tests +* Merge branch 'cookies_and_policy' into managed-cookies -* Amend banner text +* fix MODULE_NAME import ([`f034424`](https://github.com/ocadotechnology/codeforlife-portal/commit/f034424e3986778e3afc18ed43427a92f0a60004)) -* Docstrings and conditionals +### Unknown -* Added asserts and improved try except ([`6fcd3ca`](https://github.com/ocadotechnology/codeforlife-portal/commit/6fcd3cab31d10b6431b26f9c757c1a003713d5b2)) +* Merge pull request #1419 from ocadotechnology/cookies_and_policy +feat: Cookies and policy ([`b16dac0`](https://github.com/ocadotechnology/codeforlife-portal/commit/b16dac050602373c6c2134be06a120adf9681bc1)) -## v4.30.3 (2021-05-17) +* Merge branch 'master' into cookies_and_policy ([`6cfc806`](https://github.com/ocadotechnology/codeforlife-portal/commit/6cfc806b38b7c8cfd52f89577bbb1d9be0141ee8)) -### Documentation +## v4.27.0 (2021-04-15) -* docs: update license file (#1437) +### Build -* docs: update license file +* build(deps): bump django from 2.2.18 to 2.2.20 -* remove old license file ([`360c758`](https://github.com/ocadotechnology/codeforlife-portal/commit/360c7583dd20c1fa9380adc25694707f325703d3)) +Bumps [django](https://github.com/django/django) from 2.2.18 to 2.2.20. +- [Release notes](https://github.com/django/django/releases) +- [Commits](https://github.com/django/django/compare/2.2.18...2.2.20) -### Fix +Signed-off-by: dependabot[bot] <support@github.com> ([`3a91feb`](https://github.com/ocadotechnology/codeforlife-portal/commit/3a91feb22773d085fa7cbb6a128036f4d0cc12aa)) -* fix: trigger staging deployment (#1438) +### Feature -* test trigger dev deployment +* feat: Update admin access (#1416) -* try with personal token +* Create AdminAccessMiddleware -* valid ref +* Fix tests -* moved deployment trigger to publish action +* Give portaladmin a teacher profile -* Merge branch 'master' into trigger-deploy-workflow ([`61548ea`](https://github.com/ocadotechnology/codeforlife-portal/commit/61548ea5cd949515e2a0e10f47f7946b905963db)) +* Add migration test +* Fix migration reverse code -## v4.30.2 (2021-05-11) +* Fix migration pt 2 -### Fix +* Fix local settings order + fix Cypress test -* fix: change location of ratelimit checks (#1436) +* Try running with test settings -* fix: change location of ratelimit checks +* Try running with test settings -* organised imports +* Try piping instead of script -* Merge branch 'master' into fix-invalid-recaptcha +* See if Cypress likes new dir -* Merge branch 'master' into fix-invalid-recaptcha ([`fc6ff11`](https://github.com/ocadotechnology/codeforlife-portal/commit/fc6ff112f7bf239eb434016232b68d9e2da971c0)) +* Add name prop to DB dict in test settings +* Try creating test Site for Cypress -## v4.30.1 (2021-05-11) +* Try passing test settings to other commands too -### Fix +* Try using new run script -* fix: Remove autocomplete (#1435) +* Fix for pytest / manage.py conflict -* fix: Remove autocomplete in login / registration forms +* Ignore test site creation script in coverage -* Remove school student placeholders ([`6a7a9ca`](https://github.com/ocadotechnology/codeforlife-portal/commit/6a7a9ca082227d1d2d308d81adbcf2d035b1ed17)) +* Add middleware tests +* Fix tests -## v4.30.0 (2021-05-10) +* Add docstrings -### Feature +* Extend docstring -* feat: Add ratelimit to certain forms (#1430) +* Improve imports -* Install django-ratelimit +* Simplify tests and fix middleware -* Override ratelimit functions to enable resetting upon successful requests +* Update codeclimate ignore config -* Add ratelimiter to indep student login + revamp blocked out page +* Add migrations and test_settings to codeclimate ignore -* Reset cache on password reset and indep student login + docstrings +* Cypress needs bash? -* User username key +* Remove prints -* Add ratelimit to 2FA login form +* Use MODULE_NAME and update mocks + typings ([`f6156c8`](https://github.com/ocadotechnology/codeforlife-portal/commit/f6156c8feb9edb491461eece8d7cc91a552c5a5e)) -* Add ratelimit to edit account forms +### Unknown -* Refactor ratelimit cache reset code +* Merge branch 'master' into cookies_and_policy ([`5a95533`](https://github.com/ocadotechnology/codeforlife-portal/commit/5a955331058f16c29a957d87faa1f680842ccfe6)) -* Amend template text +## v4.26.0 (2021-04-12) -* Integrate lockout system to models with 24 hour timeout +### Feature -* Implement lockout system + tests +* feat: update python version to 3.7 (#1415) -* Update template and fix monster size +* feat: update python version to 3.7 -* Log user out on password change +* update python version on the ci files ([`4deb4f7`](https://github.com/ocadotechnology/codeforlife-portal/commit/4deb4f7010c15913907c3e637218122e1c8d9c8c)) -* Merge branch 'master' into login_ratelimit +* feat: Update privacy policy (#1410) -* Add migration test +* Update privacy policy -* Fix and add tests, and remove is_blocked +* Fix scrolling issue on pages without sticky nav -* Improve account edit ratelimit +* Add borders to tables -* Add even more tests + ignore ratelimit code +* Update date -* Refactor some code + docstrings +* Use menu height instead of magic number -* Merge branch 'master' into login_ratelimit +* Merge branch 'master' into update_privacy_policy -* Remove copyright text + improve rate function +* Improve policy links and date ([`4db4a95`](https://github.com/ocadotechnology/codeforlife-portal/commit/4db4a95932dc680e137a211ae957f045bb932f9d)) -* Merge branch 'master' into login_ratelimit +## v4.25.0 (2021-04-08) -# Conflicts: -# portal/urls.py -# portal/views/login/teacher.py +### Feature -* fix teacher login view post data +* feat: call google analytics only on production (#1411) -* Only do auth logic on auth step of login view +* feat: call google analytics only on production -* Fix tests once and for all ([`ca4104f`](https://github.com/ocadotechnology/codeforlife-portal/commit/ca4104f0d0b4273fff1da95b8a61174e9ff195ca)) +* ensure hostname is not None +* use settings module name instead to check ([`ecd25a9`](https://github.com/ocadotechnology/codeforlife-portal/commit/ecd25a9ab8d19d2443574cfeaf4e475e99550981)) -## v4.29.6 (2021-05-07) +## v4.24.2 (2021-04-07) ### Fix -* fix: recaptcha and login form improvements (#1432) +* fix: fix pdf url, add and adjust tests (#1408) -* check captcha in teacher, student and independent +* update cypress version to 7.0.0 -* removed account/login/, better 2FA integration +* regenerated yarn.lock after cypress update -* Merge branch 'master' into razvan-pro/issue1389 +* fix incorrect url and add test to check -* Merge branch 'master' into razvan-pro/issue1389 +* test update cypress default browser to chrome ([`701ed05`](https://github.com/ocadotechnology/codeforlife-portal/commit/701ed059042f704f631f6de6bc0297fdd3b4e4f2)) -* Merge branch 'master' into razvan-pro/issue1389 +## v4.24.1 (2021-04-01) -* test invalid recaptcha +### Unknown -* code review ([`29f68d6`](https://github.com/ocadotechnology/codeforlife-portal/commit/29f68d6fd574aa2156fee3e91ebbeb28c390a151)) +* Merge pull request #1406 from ocadotechnology/teachersolutions +fix: update links to new kurono_teacher_solutions ([`98deea0`](https://github.com/ocadotechnology/codeforlife-portal/commit/98deea0d40075c1279aae22d958015415f3f2b04)) -## v4.29.5 (2021-05-07) +* Merge branch 'master' into teachersolutions ([`defc02f`](https://github.com/ocadotechnology/codeforlife-portal/commit/defc02f0f4f17972095766fd7ea4804bbb6fd439)) -### Fix +## v4.24.0 (2021-04-01) -* fix: crossOrigin is case sensitive via js (#1434) +### Feature -* fix: crossOrigin is case sensitive via js ([`b2e1034`](https://github.com/ocadotechnology/codeforlife-portal/commit/b2e1034cfee08c8d838a61e6cc59a7a7fae6f0b6)) +* feat: enable worksheet 3 (#1405) +* feat: enable worksheet 3 -## v4.29.4 (2021-05-06) +* Merge branch 'master' into enable-worksheet-3 + +* Merge branch 'master' into enable-worksheet-3 ([`d91a0b5`](https://github.com/ocadotechnology/codeforlife-portal/commit/d91a0b5265a16aac577a5f53ae80ac0b2c449814)) ### Fix -* fix: add integrity hash and fix js links (#1431) +* fix: update links to new kurono_teacher_solutions ([`db016df`](https://github.com/ocadotechnology/codeforlife-portal/commit/db016df4121fb0e97aeaca881a6231ba3b8f928e)) -* remove references to inexistent jquery-ui.js +### Unknown -* fix: add integrity hash to mouseflow ([`2dced59`](https://github.com/ocadotechnology/codeforlife-portal/commit/2dced59496453959207c630a7c9e686044826bfa)) +* Merge branch 'master' into teachersolutions ([`1415c1c`](https://github.com/ocadotechnology/codeforlife-portal/commit/1415c1ccd5ac8b9a3fc68c7ba60ed9ebbe4b8782)) +## v4.23.0 (2021-03-31) -## v4.29.3 (2021-04-30) +### Build -### Fix +* build(deps): bump pyyaml from 5.3.1 to 5.4 (#1386) -* fix: upgrade modernizr to 3.11.0 (#1429) +* build(deps): bump pyyaml from 5.3.1 to 5.4 -* fix: upgrade modernizr to 3.11.0 +Bumps [pyyaml](https://github.com/yaml/pyyaml) from 5.3.1 to 5.4. +- [Release notes](https://github.com/yaml/pyyaml/releases) +- [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES) +- [Commits](https://github.com/yaml/pyyaml/compare/5.3.1...5.4) -* update codeclimate exclusion list +Signed-off-by: dependabot[bot] <support@github.com> -* revert codeclimate and add js/lib ([`c720e63`](https://github.com/ocadotechnology/codeforlife-portal/commit/c720e63d1c215bb4e3c198954cc13dd622f1924f)) +* update Pipfile.lock ([`a3f6bc4`](https://github.com/ocadotechnology/codeforlife-portal/commit/a3f6bc4ae5a27c7846b916acfad75c681b2015db)) +* build(deps): bump pyyaml from 5.3.1 to 5.4 (#1385) -## v4.29.2 (2021-04-23) +* build(deps): bump pyyaml from 5.3.1 to 5.4 -### Fix +Bumps [pyyaml](https://github.com/yaml/pyyaml) from 5.3.1 to 5.4. +- [Release notes](https://github.com/yaml/pyyaml/releases) +- [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES) +- [Commits](https://github.com/yaml/pyyaml/compare/5.3.1...5.4) -* fix: Fix try except in Dotmailer form view (#1428) +Signed-off-by: dependabot[bot] <support@github.com> ([`5909244`](https://github.com/ocadotechnology/codeforlife-portal/commit/5909244dee951d2f0dfed83c6acbfa5960cc3623)) -* fix: Fix try except in Dotmailer form view ([`36a1885`](https://github.com/ocadotechnology/codeforlife-portal/commit/36a1885585f0449bee8994c68fffe29f40263d02)) +### Feature +* feat: add and update kurono files for w3 etc (#1404) -## v4.29.1 (2021-04-22) +* feat: add and update kurono files for w3 etc -### Fix +* fix incorrect spacing and quotes ([`e086809`](https://github.com/ocadotechnology/codeforlife-portal/commit/e0868094e1e2b2f8afccdfb68cb3336bb1617367)) -* fix: Handle if user not registered (#1427) +## v4.22.0 (2021-03-25) -* fix: Handle if user not registered +### Feature -* Improve try / except and tests ([`76969bb`](https://github.com/ocadotechnology/codeforlife-portal/commit/76969bbe75244d1f07e787a90dfdd5a283da9e13)) +* feat: Improve admin forms (#1378) +* Create smoke tests -## v4.29.0 (2021-04-22) +* Move Cypress files to tests folder -### Feature +* Graft test files -* feat: Add Dotmailer consent form (#1424) +* Add smoke tests for portal -* Add consent form +* Use baseUrl -* Add tests +* Merge branch 'master' into cypress_smoke_tests -* Refactor files +# Conflicts: +# Pipfile.lock -* Merge branch 'master' into dotmailer_form +* Break tests to test it fails -# Conflicts: -# cfl_common/common/app_settings.py -# portal/context_processors.py +* Fix baseurl -* Remove print +* Add cypress and node_modules folders to .gitignore -* Add more in-depth test +* Overwrite admin views to add password policy on password change -* Cleanup +* Add password policy to create user form -* Add campaign ID to env vars +* Add password policy to change user password form -* Merge branch 'master' into dotmailer_form +* Merge master -* Fix test settings +* Merge branch 'cypress_smoke_tests' into admin_password -* Use test settings ([`5e3d67a`](https://github.com/ocadotechnology/codeforlife-portal/commit/5e3d67a5c42e223950e72d6d86c78e66ab8847b6)) +* Remove empty template +* Cleanup -## v4.28.6 (2021-04-21) +* Add Cypress tests -### Fix +* Run Cypress tests on Github Actions -* fix: add tests for 2FA (#1425) +* Merge branch 'master' into admin_password -* fix: add tests for 2FA +* Fix run command -* Merge branch 'master' into 2FA +* Point to correct directory -* Merge branch 'master' into 2FA ([`28f4651`](https://github.com/ocadotechnology/codeforlife-portal/commit/28f46511c19ea187ccae595c29b3d56df45a45c4)) +* Debug path and location +* Debug path and location pt 2 -## v4.28.5 (2021-04-21) +* Specify bash -### Fix +* Update working directory -* fix: require post (#1426) +* Add regex test -* fix: require post ([`cbade7f`](https://github.com/ocadotechnology/codeforlife-portal/commit/cbade7ff96f151f51082f4d93277ac5d8f89e4a8)) +* Cleanup +* Merge branch 'master' into admin_password -## v4.28.4 (2021-04-20) +* Merge branch 'master' into admin_password -### Fix +* Improve form tests ([`721aabb`](https://github.com/ocadotechnology/codeforlife-portal/commit/721aabbb45fd13e0ee53a775e60c8ba2d6846183)) -* fix: bump version (#1423) +## v4.21.5 (2021-03-25) -* fix: bump version ([`0aadf49`](https://github.com/ocadotechnology/codeforlife-portal/commit/0aadf4976c3324b7aa87f8417e165afad8201c6b)) +### Fix -### Unknown +* fix: Improve popup text generation (#1384) -* Merge pull request #1412 from ocadotechnology/dependabot/pip/django-2.2.20 +* fix: Improve popup text generation -build(deps): bump django from 2.2.18 to 2.2.20 ([`354e453`](https://github.com/ocadotechnology/codeforlife-portal/commit/354e45391d47532fc95a6346e0e7511837ab39b3)) +* Merge branch 'master' into fix_kurono_delete_games -* Merge branch 'master' into dependabot/pip/django-2.2.20 ([`0bba01e`](https://github.com/ocadotechnology/codeforlife-portal/commit/0bba01e144a437fc0df667e7d81ff5768c7e5a70)) +* CodeClimate fix -* update common package too ([`d15ece8`](https://github.com/ocadotechnology/codeforlife-portal/commit/d15ece86c6250040679ddec9b5001508c5cfe328)) +* Strength +* p ([`d9f7bf3`](https://github.com/ocadotechnology/codeforlife-portal/commit/d9f7bf32b9790688917de56a475c4d7fc78f36f3)) -## v4.28.3 (2021-04-19) +## v4.21.4 (2021-03-24) ### Fix -* fix: update functional cookies in privacy policy ([`d905d92`](https://github.com/ocadotechnology/codeforlife-portal/commit/d905d92a0f0d5318cb0eaa99c9d74d778b4ae4ce)) +* fix: remove recaptcha from header (#1383) -### Unknown +* fix: remove recaptcha from header and add +RECAPTCHA_DOMAIN setting in autoconfig ([`0712e7a`](https://github.com/ocadotechnology/codeforlife-portal/commit/0712e7a9fa44cfbd71b180832444a85c3a6b4e38)) -* Merge pull request #1422 from ocadotechnology/update-privacy-policy +## v4.21.3 (2021-03-23) -fix: update-privacy-policy ([`ea287ae`](https://github.com/ocadotechnology/codeforlife-portal/commit/ea287ae22fd84784a86cb6209bdb2d74d0d22a4f)) +### Build -* updated last_updated date in privacy policy ([`d946b5b`](https://github.com/ocadotechnology/codeforlife-portal/commit/d946b5b82a97747a9cd95b7eccb9d6f78ea80ea6)) +* build(deps): bump django from 2.2.17 to 2.2.18 in /cfl_common (#1380) +* build(deps): bump django from 2.2.17 to 2.2.18 in /cfl_common -## v4.28.2 (2021-04-16) +Bumps [django](https://github.com/django/django) from 2.2.17 to 2.2.18. +- [Release notes](https://github.com/django/django/releases) +- [Commits](https://github.com/django/django/compare/2.2.17...2.2.18) -### Fix +Signed-off-by: dependabot[bot] <support@github.com> ([`5ab705e`](https://github.com/ocadotechnology/codeforlife-portal/commit/5ab705e67cdc840da4bed0f73a1e0b9ec60450b5)) -* fix: Add bullet points to privacy policy table (#1421) +* build(deps): bump django from 2.2.17 to 2.2.18 (#1379) -* fix: Add bullet points to privacy policy table ([`98a8692`](https://github.com/ocadotechnology/codeforlife-portal/commit/98a8692085ca5f0be96170586fa3eb2c3bb263c9)) +* build(deps): bump django from 2.2.17 to 2.2.18 +Bumps [django](https://github.com/django/django) from 2.2.17 to 2.2.18. +- [Release notes](https://github.com/django/django/releases) +- [Commits](https://github.com/django/django/compare/2.2.17...2.2.18) -## v4.28.1 (2021-04-16) +Signed-off-by: dependabot[bot] <support@github.com> ([`d73036c`](https://github.com/ocadotechnology/codeforlife-portal/commit/d73036cb32f50826dcb264763f9341d6520e4acd)) ### Fix -* fix: include templates in common manifest ([`f7ec37b`](https://github.com/ocadotechnology/codeforlife-portal/commit/f7ec37baaf1322d839194c0ae0bbf04895e8887e)) - -### Unknown - -* Merge pull request #1420 from ocadotechnology/fix-common-templates +* fix: version bump (#1381) ([`5254d3b`](https://github.com/ocadotechnology/codeforlife-portal/commit/5254d3b4e5e52272cd28107224b56b00ba67e0c9)) -fix: include templates in common manifest ([`02b4a3b`](https://github.com/ocadotechnology/codeforlife-portal/commit/02b4a3b5db851d97afd4eae7d00689f557348e05)) +## v4.21.2 (2021-03-08) +### Fix -## v4.28.0 (2021-04-16) +* fix: Improve admin login form (#1373) -### Feature +* fix: Improve admin login form -* feat: Managed cookies (#1338) +* Combine divs ([`b2c7b2d`](https://github.com/ocadotechnology/codeforlife-portal/commit/b2c7b2d69114adc8666a2c64442943fe1ece44d9)) -* add test onetrust cookie script +## v4.21.1 (2021-02-26) -* replace youtube embeds with youtube-nocookie +### Fix -* Merge branch 'master' into managed-cookies +* fix: update the home and about pages: text update, new icon (#1364) -* added cookies settings button and cookies list +* update the home and about pages: text update, new icon -* add flag to disable cookie management (fix tests) +* remove 13% icon -* only load mouseflow if user consented +* Merge branch 'master' into abouthome ([`a24b22f`](https://github.com/ocadotechnology/codeforlife-portal/commit/a24b22fe41fb854a6892da027ef58bea58e31f0d)) -* Merge branch 'master' into managed-cookies +## v4.21.0 (2021-02-25) -* Merge branch 'master' into managed-cookies +### Feature -* style div#ot-sdk-cookie-policy +* feat: Capture consent data on newsletter signup (#1365) -* updated text about cookies in privacy policy +* Add datetime field of consent to dotmailer signup -* Merge branch 'master' into managed-cookies +* Fix data types -* Merge branch 'master' into managed-cookies +* Move consent fields to inner dict -* added cookies settings link in the footer +* Split API calls -* Merge branch 'master' into managed-cookies +* Revert dictionary structure change + add 404 for debugging -* Merge branch 'master' into managed-cookies +* Remove contact wrapper -* Merge branch 'master' into managed-cookies +* Stringify datetime.now() -* Merge branch 'master' into managed-cookies +* Add logpoints -* fix rapid-router youtube popup +* Adding more logs -* Merge branch 'cookies_and_policy' into managed-cookies +* Remove logs -* add cookie settings button to privacy policy +* Merge branch 'master' into newsletter_consent_data -* moved onetrust cookies consent template to common +* Fix tests -* add onetrust cookies prod script +* Remove comment -* Merge branch 'cookies_and_policy' into managed-cookies +* Remove unused variables -* Cookies [lowercase]settings +* Fix coverage ([`4c5b9b1`](https://github.com/ocadotechnology/codeforlife-portal/commit/4c5b9b17ca642982cf84412a67152bdc64a35574)) -* Merge branch 'cookies_and_policy' into managed-cookies +## v4.20.4 (2021-02-25) -* fix MODULE_NAME import ([`f034424`](https://github.com/ocadotechnology/codeforlife-portal/commit/f034424e3986778e3afc18ed43427a92f0a60004)) +### Fix -### Unknown +* fix: Update PDF viewer nav buttons (#1363) -* Merge pull request #1419 from ocadotechnology/cookies_and_policy +* fix: Update PDF viewer nav buttons ([`0f3ef9c`](https://github.com/ocadotechnology/codeforlife-portal/commit/0f3ef9cda60125f90c12e4337ca04fcc9d418919)) -feat: Cookies and policy ([`b16dac0`](https://github.com/ocadotechnology/codeforlife-portal/commit/b16dac050602373c6c2134be06a120adf9681bc1)) +## v4.20.3 (2021-02-24) -* Merge branch 'master' into cookies_and_policy ([`6cfc806`](https://github.com/ocadotechnology/codeforlife-portal/commit/6cfc806b38b7c8cfd52f89577bbb1d9be0141ee8)) +### Fix +* fix: Update copy of Kurono landing page (#1362) -## v4.27.0 (2021-04-15) +* fix: Update copy of Kurono landing page -### Build +* Add missing copy ([`1ca988d`](https://github.com/ocadotechnology/codeforlife-portal/commit/1ca988d36a52d7762c71df0059637ed1f663f59a)) -* build(deps): bump django from 2.2.18 to 2.2.20 +## v4.20.2 (2021-02-23) -Bumps [django](https://github.com/django/django) from 2.2.18 to 2.2.20. -- [Release notes](https://github.com/django/django/releases) -- [Commits](https://github.com/django/django/compare/2.2.18...2.2.20) +### Fix -Signed-off-by: dependabot[bot] <support@github.com> ([`3a91feb`](https://github.com/ocadotechnology/codeforlife-portal/commit/3a91feb22773d085fa7cbb6a128036f4d0cc12aa)) +* fix: update copyright to use current year (#1361) -### Feature +* fix: update copyright to use current year ([`3e7c6d6`](https://github.com/ocadotechnology/codeforlife-portal/commit/3e7c6d65968b399e10a582d6ee0129451dcefef6)) -* feat: Update admin access (#1416) +## v4.20.1 (2021-02-08) -* Create AdminAccessMiddleware - -* Fix tests - -* Give portaladmin a teacher profile - -* Add migration test - -* Fix migration reverse code - -* Fix migration pt 2 - -* Fix local settings order + fix Cypress test - -* Try running with test settings - -* Try running with test settings - -* Try piping instead of script - -* See if Cypress likes new dir - -* Add name prop to DB dict in test settings - -* Try creating test Site for Cypress - -* Try passing test settings to other commands too - -* Try using new run script - -* Fix for pytest / manage.py conflict - -* Ignore test site creation script in coverage - -* Add middleware tests - -* Fix tests - -* Add docstrings - -* Extend docstring - -* Improve imports - -* Simplify tests and fix middleware - -* Update codeclimate ignore config - -* Add migrations and test_settings to codeclimate ignore - -* Cypress needs bash? - -* Remove prints - -* Use MODULE_NAME and update mocks + typings ([`f6156c8`](https://github.com/ocadotechnology/codeforlife-portal/commit/f6156c8feb9edb491461eece8d7cc91a552c5a5e)) +### Fix -### Unknown +* fix: rr migrations tests (#1352) -* Merge branch 'master' into cookies_and_policy ([`5a95533`](https://github.com/ocadotechnology/codeforlife-portal/commit/5a955331058f16c29a957d87faa1f680842ccfe6)) +* update pipfile.lock +* empty ([`ebfc285`](https://github.com/ocadotechnology/codeforlife-portal/commit/ebfc285d4e1c624135d63c57184838bc454c17aa)) -## v4.26.0 (2021-04-12) +## v4.20.0 (2021-02-01) ### Feature -* feat: update python version to 3.7 (#1415) +* feat: Delete multiple games (#1350) -* feat: update python version to 3.7 +* wip: updated games columns -* update python version on the ci files ([`4deb4f7`](https://github.com/ocadotechnology/codeforlife-portal/commit/4deb4f7010c15913907c3e637218122e1c8d9c8c)) +* Merge branch 'master' into delete-multiple-games -* feat: Update privacy policy (#1410) +* delete games and added tests -* Update privacy policy +* updated teaching resources link in kurono dash -* Fix scrolling issue on pages without sticky nav +* fix popup text alignment -* Add borders to tables +* Merge branch 'master' into delete-multiple-games -* Update date +* temp fix for ci -* Use menu height instead of magic number +* cleanup aimmoGame.js -* Merge branch 'master' into update_privacy_policy +* some fixes after code review -* Improve policy links and date ([`4db4a95`](https://github.com/ocadotechnology/codeforlife-portal/commit/4db4a95932dc680e137a211ae957f045bb932f9d)) +* removed can_delete_game +* Merge branch 'master' into delete-multiple-games -## v4.25.0 (2021-04-08) +* popup text and play button -### Feature +* updated pipfile lock and removed branch from ci -* feat: call google analytics only on production (#1411) +* Merge branch 'master' into delete-multiple-games -* feat: call google analytics only on production +* extracted classesText ([`e3156fe`](https://github.com/ocadotechnology/codeforlife-portal/commit/e3156fefb19c7d624da7b6eee1c051cfffe28ebb)) -* ensure hostname is not None +## v4.19.2 (2021-01-29) -* use settings module name instead to check ([`ecd25a9`](https://github.com/ocadotechnology/codeforlife-portal/commit/ecd25a9ab8d19d2443574cfeaf4e475e99550981)) +### Fix +* fix: Add solutions file to Kurono packs (#1346) -## v4.24.2 (2021-04-07) +* fix: Add solutions file to Kurono packs -### Fix +* Merge branch 'master' into kurono_solutions_file -* fix: fix pdf url, add and adjust tests (#1408) +* Update icons ([`270b4aa`](https://github.com/ocadotechnology/codeforlife-portal/commit/270b4aaa4d72bdd7d7ca12682360029bec063998)) -* update cypress version to 7.0.0 +## v4.19.1 (2021-01-29) -* regenerated yarn.lock after cypress update +### Fix -* fix incorrect url and add test to check +* fix: change recaptcha source to use their domain (#1348) -* test update cypress default browser to chrome ([`701ed05`](https://github.com/ocadotechnology/codeforlife-portal/commit/701ed059042f704f631f6de6bc0297fdd3b4e4f2)) +* fix: change recaptcha source to use their domain ([`11dd9c5`](https://github.com/ocadotechnology/codeforlife-portal/commit/11dd9c5024d48490ed4e7ca07a95fd56b8682b67)) +## v4.19.0 (2021-01-28) -## v4.24.1 (2021-04-01) +### Feature -### Unknown +* feat: Add challenge dropdown to Kurono Dashboard (#1343) -* Merge pull request #1406 from ocadotechnology/teachersolutions +* Add completed worksheets to table -fix: update links to new kurono_teacher_solutions ([`98deea0`](https://github.com/ocadotechnology/codeforlife-portal/commit/98deea0d40075c1279aae22d958015415f3f2b04)) +* Add functionality and update lockfile -* Merge branch 'master' into teachersolutions ([`defc02f`](https://github.com/ocadotechnology/codeforlife-portal/commit/defc02f0f4f17972095766fd7ea4804bbb6fd439)) +* Edit dropdown styles and content +* Update confirmation popup -## v4.24.0 (2021-04-01) +* Add test part 1 -### Feature +* Merge branch 'master' into challenge_dropdown -* feat: enable worksheet 3 (#1405) +# Conflicts: +# Pipfile.lock -* feat: enable worksheet 3 +* Update dropdown style -* Merge branch 'master' into enable-worksheet-3 +* Update functionality -* Merge branch 'master' into enable-worksheet-3 ([`d91a0b5`](https://github.com/ocadotechnology/codeforlife-portal/commit/d91a0b5265a16aac577a5f53ae80ac0b2c449814)) +* Clean and fix Kurono logo -### Fix +* Reset code on change worksheet event -* fix: update links to new kurono_teacher_solutions ([`db016df`](https://github.com/ocadotechnology/codeforlife-portal/commit/db016df4121fb0e97aeaca881a6231ba3b8f928e)) +* Specify starter code too -### Unknown +* Remove starter code parameter and border -* Merge branch 'master' into teachersolutions ([`1415c1c`](https://github.com/ocadotechnology/codeforlife-portal/commit/1415c1ccd5ac8b9a3fc68c7ba60ed9ebbe4b8782)) +* Finish test +* Black and minor fixes -## v4.23.0 (2021-03-31) +* Debug -### Build +* Fix test -* build(deps): bump pyyaml from 5.3.1 to 5.4 (#1386) +* Fix final issues -* build(deps): bump pyyaml from 5.3.1 to 5.4 +* Add sleep and update docstring -Bumps [pyyaml](https://github.com/yaml/pyyaml) from 5.3.1 to 5.4. -- [Release notes](https://github.com/yaml/pyyaml/releases) -- [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES) -- [Commits](https://github.com/yaml/pyyaml/compare/5.3.1...5.4) +* Fix test again -Signed-off-by: dependabot[bot] <support@github.com> +* Merge branch 'master' into challenge_dropdown -* update Pipfile.lock ([`a3f6bc4`](https://github.com/ocadotechnology/codeforlife-portal/commit/a3f6bc4ae5a27c7846b916acfad75c681b2015db)) +# Conflicts: +# portal/templates/portal/teach/teacher_aimmo_dashboard.html ([`4e0a2f1`](https://github.com/ocadotechnology/codeforlife-portal/commit/4e0a2f1d9546842c122ab525013bde8404208520)) -* build(deps): bump pyyaml from 5.3.1 to 5.4 (#1385) +## v4.18.2 (2021-01-28) -* build(deps): bump pyyaml from 5.3.1 to 5.4 +### Fix -Bumps [pyyaml](https://github.com/yaml/pyyaml) from 5.3.1 to 5.4. -- [Release notes](https://github.com/yaml/pyyaml/releases) -- [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES) -- [Commits](https://github.com/yaml/pyyaml/compare/5.3.1...5.4) +* fix: static version for python-semantic-release (#1345) ([`afdc029`](https://github.com/ocadotechnology/codeforlife-portal/commit/afdc02985b4d20358b087741b6cf90c7c84156ce)) -Signed-off-by: dependabot[bot] <support@github.com> ([`5909244`](https://github.com/ocadotechnology/codeforlife-portal/commit/5909244dee951d2f0dfed83c6acbfa5960cc3623)) +* fix: Update resources section of Kurono dashboard (#1344) -### Feature +* fix: Update resources section of Kurono dashboard -* feat: add and update kurono files for w3 etc (#1404) +* Fix section width ([`4b699b8`](https://github.com/ocadotechnology/codeforlife-portal/commit/4b699b8bd1a369e40d8ca6e7fb28b1ba4a2ead0a)) -* feat: add and update kurono files for w3 etc +## v4.18.1 (2021-01-25) -* fix incorrect spacing and quotes ([`e086809`](https://github.com/ocadotechnology/codeforlife-portal/commit/e0868094e1e2b2f8afccdfb68cb3336bb1617367)) +### Fix +* fix: cleanup add game dropdown (#1341) -## v4.22.0 (2021-03-25) +* fix: cleanup ci -### Feature +* updated pipfile lock -* feat: Improve admin forms (#1378) +* updated pipfile lock ([`5768b60`](https://github.com/ocadotechnology/codeforlife-portal/commit/5768b606cea605b89b4bd9c61b875a88bc890f09)) -* Create smoke tests +## v4.18.0 (2021-01-25) -* Move Cypress files to tests folder +### Feature -* Graft test files +* feat: Add game dropdown (#1339) -* Add smoke tests for portal +* wip: added class dropdown, not fully working -* Use baseUrl +* cleanup and fixed tests -* Merge branch 'master' into cypress_smoke_tests +* return to dashboard when adding a game -# Conflicts: -# Pipfile.lock +* border: none -* Break tests to test it fails +* move AddGameForm to portal -* Fix baseurl +* updated ci -* Add cypress and node_modules folders to .gitignore +* add -U -* Overwrite admin views to add password policy on password change +* clean imports in test_add_game -* Add password policy to create user form +* move avatar_creator to aimmo ([`2c0f915`](https://github.com/ocadotechnology/codeforlife-portal/commit/2c0f91573af847f7e7f25f1275a41e855d0e769d)) -* Add password policy to change user password form +## v4.17.0 (2021-01-15) -* Merge master +### Feature -* Merge branch 'cypress_smoke_tests' into admin_password +* feat: Kurono resources page (#1337) -* Remove empty template +* Create Kurono resources page + rename RR resources page -* Cleanup +* Rename RR packs page -* Add Cypress tests +* Add dropdown in menu -* Run Cypress tests on Github Actions +* Merge branch 'master' into kurono_resources_page -* Merge branch 'master' into admin_password +# Conflicts: +# portal/urls.py -* Fix run command +* Use correct images -* Point to correct directory +* Add Kurono teaching packs link -* Debug path and location +* Use cards and correct hero -* Debug path and location pt 2 +* Use PNGs instead of SVGs -* Specify bash +* Use h4s instead of h3s -* Update working directory +* Add tests -* Add regex test +* Reduce resources subtext -* Cleanup +* Run Black -* Merge branch 'master' into admin_password +* Merge branch 'master' into kurono_resources_page -* Merge branch 'master' into admin_password +* Fix small things -* Improve form tests ([`721aabb`](https://github.com/ocadotechnology/codeforlife-portal/commit/721aabbb45fd13e0ee53a775e60c8ba2d6846183)) +* Fix to not break character cards +* Fix spacing on mobile buttons ([`df12f76`](https://github.com/ocadotechnology/codeforlife-portal/commit/df12f764e164fdbfcaaea64d4dbdae10733c02d1)) -## v4.21.5 (2021-03-25) +## v4.16.1 (2021-01-13) ### Fix -* fix: Improve popup text generation (#1384) +* fix: Update Kurono zip link (#1336) -* fix: Improve popup text generation +* fix: Update Kurono zip link ([`fd5f6ec`](https://github.com/ocadotechnology/codeforlife-portal/commit/fd5f6ec5b62d887dd48e81deedda02cf0433af10)) -* Merge branch 'master' into fix_kurono_delete_games +## v4.16.0 (2021-01-11) -* CodeClimate fix +### Feature -* Strength +* feat: Create Kurono teaching packs page (#1334) -* p ([`d9f7bf3`](https://github.com/ocadotechnology/codeforlife-portal/commit/d9f7bf32b9790688917de56a475c4d7fc78f36f3)) +* Create page and styles +* Link to PDFs -## v4.21.4 (2021-03-24) +* Fix typos and grid spacing -### Fix +* Create mobile layout -* fix: remove recaptcha from header (#1383) +* Fix sub nav spacing -* fix: remove recaptcha from header and add -RECAPTCHA_DOMAIN setting in autoconfig ([`0712e7a`](https://github.com/ocadotechnology/codeforlife-portal/commit/0712e7a9fa44cfbd71b180832444a85c3a6b4e38)) +* Merge branch 'master' into kurono_teaching_packs +* Fix subnavs for mobile -## v4.21.3 (2021-03-23) +* Add test + Black -### Build +* Remove comment -* build(deps): bump django from 2.2.17 to 2.2.18 in /cfl_common (#1380) +* Fix codeclimate issues -* build(deps): bump django from 2.2.17 to 2.2.18 in /cfl_common +* Try different kind of test -Bumps [django](https://github.com/django/django) from 2.2.17 to 2.2.18. -- [Release notes](https://github.com/django/django/releases) -- [Commits](https://github.com/django/django/compare/2.2.17...2.2.18) +* Fix small spacing issues -Signed-off-by: dependabot[bot] <support@github.com> ([`5ab705e`](https://github.com/ocadotechnology/codeforlife-portal/commit/5ab705e67cdc840da4bed0f73a1e0b9ec60450b5)) +* Add Kurono story PDF -* build(deps): bump django from 2.2.17 to 2.2.18 (#1379) +* Rename cache block for new page -* build(deps): bump django from 2.2.17 to 2.2.18 +* Replace SVG with PNG -Bumps [django](https://github.com/django/django) from 2.2.17 to 2.2.18. -- [Release notes](https://github.com/django/django/releases) -- [Commits](https://github.com/django/django/compare/2.2.17...2.2.18) +* Replace PNG with SVG ([`e52cdc8`](https://github.com/ocadotechnology/codeforlife-portal/commit/e52cdc891e9967fe3357e40eae71d3544d496fa4)) -Signed-off-by: dependabot[bot] <support@github.com> ([`d73036c`](https://github.com/ocadotechnology/codeforlife-portal/commit/d73036cb32f50826dcb264763f9341d6520e4acd)) +## v4.15.4 (2020-12-29) ### Fix -* fix: version bump (#1381) ([`5254d3b`](https://github.com/ocadotechnology/codeforlife-portal/commit/5254d3b4e5e52272cd28107224b56b00ba67e0c9)) +* fix: Make .sub-nav--teacher, .sub-nav--student visible on small screens (#1315) +* fix: make .sub-nav--teacher, .sub-nav--student visible on small screens -## v4.21.2 (2021-03-08) +* Merge branch 'master' into 927-small-screen-hides-level-editor-and-scoreboard-buttons -### Fix +* Merge branch 'master' of github.com:ocadotechnology/codeforlife-portal into 927-small-screen-hides-level-editor-and-scoreboard-buttons -* fix: Improve admin login form (#1373) +* fix: Reduce margin between buttons to avoid line split on narrowest size -* fix: Improve admin login form - -* Combine divs ([`b2c7b2d`](https://github.com/ocadotechnology/codeforlife-portal/commit/b2c7b2d69114adc8666a2c64442943fe1ece44d9)) +* fix: Adjust margin between buttons in subnav for teacher +* Merge branch '927-small-screen-hides-level-editor-and-scoreboard-buttons' of github.com:sebp999/codeforlife-portal into 927-small-screen-hides-level-editor-and-scoreboard-buttons -## v4.21.1 (2021-02-26) +* chore: catch up with master + +* chore: generate Pipfile.lock ([`a2c64b6`](https://github.com/ocadotechnology/codeforlife-portal/commit/a2c64b6d81c24c6bd3ff6c8784ab38f6db66caa0)) + +## v4.15.3 (2020-12-24) ### Fix -* fix: update the home and about pages: text update, new icon (#1364) +* fix: replace youtube embeds with youtube-nocookie (#1331) ([`2f95d40`](https://github.com/ocadotechnology/codeforlife-portal/commit/2f95d4033c3662c32ea484cb4d5ce0b5a6adfbfe)) -* update the home and about pages: text update, new icon +## v4.15.2 (2020-12-24) -* remove 13% icon +### Fix -* Merge branch 'master' into abouthome ([`a24b22f`](https://github.com/ocadotechnology/codeforlife-portal/commit/a24b22fe41fb854a6892da027ef58bea58e31f0d)) +* fix: remove magnificjs (#1332) +* fix: remove magnificjs ([`14aa4fd`](https://github.com/ocadotechnology/codeforlife-portal/commit/14aa4fd8b634ebedcc5eab8857215464b2e85be4)) -## v4.21.0 (2021-02-25) +## v4.15.1 (2020-12-22) -### Feature +### Fix -* feat: Capture consent data on newsletter signup (#1365) +* fix: Remove build dependencies (#1329) -* Add datetime field of consent to dotmailer signup +* fix: Remove build dependencies ([`1b6532e`](https://github.com/ocadotechnology/codeforlife-portal/commit/1b6532e46f5dcb3189d5fa058369369081f56674)) -* Fix data types +## v4.15.0 (2020-12-17) -* Move consent fields to inner dict +### Fix -* Split API calls +* fix: Bring back test setup ([`b2e8bd2`](https://github.com/ocadotechnology/codeforlife-portal/commit/b2e8bd2f547cb6231cd0f9f5e9110405f4cd2c3f)) -* Revert dictionary structure change + add 404 for debugging +* fix: Update setup.py and pipfile ([`c5931a8`](https://github.com/ocadotechnology/codeforlife-portal/commit/c5931a896b0d7cf050313c54becedac0dc213608)) -* Remove contact wrapper +* fix: Merge in master ([`b5019b4`](https://github.com/ocadotechnology/codeforlife-portal/commit/b5019b40282d6c2fdb7b0310573c6cea60530d5c)) -* Stringify datetime.now() +### Unknown -* Add logpoints +* Merge pull request #1322 from ocadotechnology/django_2_upgrade -* Adding more logs +feat: Django 2 upgrade ([`df143ae`](https://github.com/ocadotechnology/codeforlife-portal/commit/df143ae18c9c17fd857e455358a53a0682708892)) -* Remove logs +## v4.14.2 (2020-12-14) -* Merge branch 'master' into newsletter_consent_data +### Fix -* Fix tests +* fix: add game form (#1306) -* Remove comment +* Fix add game form -* Remove unused variables +Signed-off-by: Niket <niket.shah1@ocado.com> -* Fix coverage ([`4c5b9b1`](https://github.com/ocadotechnology/codeforlife-portal/commit/4c5b9b17ca642982cf84412a67152bdc64a35574)) +* Merge branch 'master' into game_creation_error +* Format and indent template -## v4.20.4 (2021-02-25) +* Improve games table -### Fix +* Add test -* fix: Update PDF viewer nav buttons (#1363) +* Bring back name kwarg -* fix: Update PDF viewer nav buttons ([`0f3ef9c`](https://github.com/ocadotechnology/codeforlife-portal/commit/0f3ef9cda60125f90c12e4337ca04fcc9d418919)) +* Test for validation error +* Black -## v4.20.3 (2021-02-24) +* Move asserts in with -### Fix +* Replace True with class names -* fix: Update copy of Kurono landing page (#1362) +* fixed duplicate game test and updated pipfile lock ([`747b705`](https://github.com/ocadotechnology/codeforlife-portal/commit/747b7056d52c49a8664dee22b3ddbdd45bb97cb2)) -* fix: Update copy of Kurono landing page +## v4.14.1 (2020-12-03) -* Add missing copy ([`1ca988d`](https://github.com/ocadotechnology/codeforlife-portal/commit/1ca988d36a52d7762c71df0059637ed1f663f59a)) +### Ci +* ci: Add persist-credentials to checkout action (#1321) -## v4.20.2 (2021-02-23) +* ci: Add persist-credentials to checkout action ([`a9e2002`](https://github.com/ocadotechnology/codeforlife-portal/commit/a9e2002ecfeeee86134ff69502166e72f917c79c)) -### Fix +* ci: Rename CI workflow to enable publish flow to run (#1320) -* fix: update copyright to use current year (#1361) +* ci: Rename CI workflow to enable publish flow to run ([`6b411d0`](https://github.com/ocadotechnology/codeforlife-portal/commit/6b411d02bdab16e4fd374b991ee69e9e54080fce)) -* fix: update copyright to use current year ([`3e7c6d6`](https://github.com/ocadotechnology/codeforlife-portal/commit/3e7c6d65968b399e10a582d6ee0129451dcefef6)) +* ci: Create separate action for publishing packages (#1317) +* ci: Create job for publishing python packages -## v4.20.1 (2021-02-08) +* Commit for testing -### Fix +* Revert "Commit for testing" -* fix: rr migrations tests (#1352) +This reverts commit b3ab3f1b01d32b6750a42bf58fd65c9c8078044a. -* update pipfile.lock +* Fix minor syntax issues -* empty ([`ebfc285`](https://github.com/ocadotechnology/codeforlife-portal/commit/ebfc285d4e1c624135d63c57184838bc454c17aa)) +* Merge branch 'master' into github_actions_publish_packages +* Merge master -## v4.20.0 (2021-02-01) +* Merge branch 'github_actions_publish_packages' of https://github.com/ocadotechnology/codeforlife-portal into github_actions_publish_packages ([`a1271bd`](https://github.com/ocadotechnology/codeforlife-portal/commit/a1271bd184e0993ea212ec86f153e6d1ff354933)) -### Feature +* ci: fix codecov (#1319) -* feat: Delete multiple games (#1350) +* ci: try checkout@v1 -* wip: updated games columns +* checkout@v2 with fetch-depth 0 ([`6b35083`](https://github.com/ocadotechnology/codeforlife-portal/commit/6b35083d0080136c2decde0a4fdc21f72347c129)) -* Merge branch 'master' into delete-multiple-games +* ci: Add CodeCov step to ci action (#1318) ([`605653e`](https://github.com/ocadotechnology/codeforlife-portal/commit/605653ee687bd76ad6847a33504a77cd56b8f3e6)) -* delete games and added tests +* ci: Resolve ci.yml conflicts from master ([`36fccf5`](https://github.com/ocadotechnology/codeforlife-portal/commit/36fccf55e2e83ed6c43fdfb04f680f0e4a26ad37)) -* updated teaching resources link in kurono dash +* ci: github actions build (#1308) -* fix popup text alignment +* ci: github actions build -* Merge branch 'master' into delete-multiple-games +* added chrome-headless to test_settings -* temp fix for ci +* updated selenium -* cleanup aimmoGame.js +* updated Pipfile.lock -* some fixes after code review +* changed job name to test -* removed can_delete_game +* run ci workflow on push to master as well ([`77078b5`](https://github.com/ocadotechnology/codeforlife-portal/commit/77078b55e6530a6b6b3803d4ca9d81aebb933cac)) -* Merge branch 'master' into delete-multiple-games +### Feature -* popup text and play button +* feat: Upgrade to Django 2.2 (#1304) -* updated pipfile lock and removed branch from ci +* Upgrade Django to 2.0 -* Merge branch 'master' into delete-multiple-games +* Include namespace in admin and two factor urls -* extracted classesText ([`e3156fe`](https://github.com/ocadotechnology/codeforlife-portal/commit/e3156fefb19c7d624da7b6eee1c051cfffe28ebb)) +* Replace core.urlresolvers with urls +* Use user properties instead of functions -## v4.19.2 (2021-01-29) +* Remove is_admin_site argument from password reset function -### Fix +* Remove deprecated middleware -* fix: Add solutions file to Kurono packs (#1346) +* Use class based JavaScript catalog view -* fix: Add solutions file to Kurono packs +* Decode bytestring to unicode -* Merge branch 'master' into kurono_solutions_file +* Specify on_delete for models -* Update icons ([`270b4aa`](https://github.com/ocadotechnology/codeforlife-portal/commit/270b4aaa4d72bdd7d7ca12682360029bec063998)) +* Remove guardian model +* Fix test name -## v4.19.1 (2021-01-29) +* Fix year -### Fix +* Add test for on_delete -* fix: change recaptcha source to use their domain (#1348) +* Add site fix to selenium test case -* fix: change recaptcha source to use their domain ([`11dd9c5`](https://github.com/ocadotechnology/codeforlife-portal/commit/11dd9c5024d48490ed4e7ca07a95fd56b8682b67)) +* Decode indep student uid +* Refactor Site setter -## v4.19.0 (2021-01-28) +* Specify Django 2.0 -### Feature +* Specify django 2.0 in common -* feat: Add challenge dropdown to Kurono Dashboard (#1343) +* Make pending class request in Student a SET_NULL on_delete -* Add completed worksheets to table +* Set school_join_request to set null in migration -* Add functionality and update lockfile +* Specify SET_NULL in initial migration -* Edit dropdown styles and content +* Add TODOs to remove decoding in Django 2.2 -* Update confirmation popup +* Simplify admin urls + run Black -* Add test part 1 +* Install Django 2.0 in Travis -* Merge branch 'master' into challenge_dropdown +* Install local branches of RR and aimmo in Travis -# Conflicts: -# Pipfile.lock +* Try cfl-common fix -* Update dropdown style +* Uninstall without input -* Update functionality +* Pass yes to uninstall -* Clean and fix Kurono logo +* Install Django 2 after common -* Reset code on change worksheet event +* Remove redundant steps -* Specify starter code too +* Fix tests and upgrade to 2.2 -* Remove starter code parameter and border +* Specify Django 2.2 in common -* Finish test +* Try making first two common migrations not atomic -* Black and minor fixes +* Rename mixin -* Debug +* Install local common too -* Fix test +* Revert atomic migrations -* Fix final issues +* Install local common -* Add sleep and update docstring +* Use -e -* Fix test again +* ci: added github workflow and updates some deps (#1307) -* Merge branch 'master' into challenge_dropdown +* ci: added github workflow and updates some deps -# Conflicts: -# portal/templates/portal/teach/teacher_aimmo_dashboard.html ([`4e0a2f1`](https://github.com/ocadotechnology/codeforlife-portal/commit/4e0a2f1d9546842c122ab525013bde8404208520)) +* changed CI to run PR +* removed comments from ci.yml and added new line -## v4.18.2 (2021-01-28) +* uncommented requirements in setup.py -### Fix +* Improve model tests -* fix: static version for python-semantic-release (#1345) ([`afdc029`](https://github.com/ocadotechnology/codeforlife-portal/commit/afdc02985b4d20358b087741b6cf90c7c84156ce)) +* Don't look objects up again for deletion -* fix: Update resources section of Kurono dashboard (#1344) +* Fix imports + Black -* fix: Update resources section of Kurono dashboard +* Fix more imports -* Fix section width ([`4b699b8`](https://github.com/ocadotechnology/codeforlife-portal/commit/4b699b8bd1a369e40d8ca6e7fb28b1ba4a2ead0a)) +* Add coverage step +* Use chrome headless webdriver for Travis -## v4.18.1 (2021-01-25) +* Remove Chromedriver installation -### Fix +* Try using HomePage object instead -* fix: cleanup add game dropdown (#1341) +* Save model changes -* fix: cleanup ci +Co-authored-by: Razvan Mahu <67904187+razvan-pro@users.noreply.github.com> ([`ed8a511`](https://github.com/ocadotechnology/codeforlife-portal/commit/ed8a511a89142bfe157b1ad19ca0ce9e66e929ce)) -* updated pipfile lock +### Fix -* updated pipfile lock ([`5768b60`](https://github.com/ocadotechnology/codeforlife-portal/commit/5768b606cea605b89b4bd9c61b875a88bc890f09)) +* fix: Upgrade dependencies (#1314) +* Upgrade dependencies -## v4.18.0 (2021-01-25) +* Install master of django autoconfig fork -### Feature +* Install correct branches -* feat: Add game dropdown (#1339) +* Remove self installation -* wip: added class dropdown, not fully working +* Try installing RR after aimmo -* cleanup and fixed tests +* Install RR first -* return to dashboard when adding a game +* Install correct branches -* border: none +* Return to main aimmo branch -* move AddGameForm to portal +* Install autoconfig in setup.py instead of pipfile -* updated ci +* Downgrade pipeline ([`8c49368`](https://github.com/ocadotechnology/codeforlife-portal/commit/8c49368bda6a7466c54cf368881afea325004fa5)) -* add -U +* fix: Use personal access token to allow github action to perform semantic release on master (#1312) -* clean imports in test_add_game +* publish pypi packages test -* move avatar_creator to aimmo ([`2c0f915`](https://github.com/ocadotechnology/codeforlife-portal/commit/2c0f91573af847f7e7f25f1275a41e855d0e769d)) +Signed-off-by: Niket <niket.shah1@ocado.com> +* comment out tests for now to speed up dev -## v4.17.0 (2021-01-15) +Signed-off-by: Niket <niket.shah1@ocado.com> -### Feature +* add publish to ci workflow instead -* feat: Kurono resources page (#1337) +Signed-off-by: Niket <niket.shah1@ocado.com> -* Create Kurono resources page + rename RR resources page +* add if to publish job -* Rename RR packs page +Signed-off-by: Niket <niket.shah1@ocado.com> -* Add dropdown in menu +* try to fix syntax in if -* Merge branch 'master' into kurono_resources_page +Signed-off-by: Niket <niket.shah1@ocado.com> -# Conflicts: -# portal/urls.py +* single quotes -* Use correct images +Signed-off-by: Niket <niket.shah1@ocado.com> -* Add Kurono teaching packs link +* Add publish steps -* Use cards and correct hero +Signed-off-by: Niket <niket.shah1@ocado.com> -* Use PNGs instead of SVGs +* build cfl_common before trying to publish it -* Use h4s instead of h3s +Signed-off-by: Niket <niket.shah1@ocado.com> -* Add tests +* install wheel package -* Reduce resources subtext +Signed-off-by: Niket <niket.shah1@ocado.com> -* Run Black +* Look in dist directory -* Merge branch 'master' into kurono_resources_page +Signed-off-by: Niket <niket.shah1@ocado.com> -* Fix small things +* make PR ready to merge -* Fix to not break character cards +Signed-off-by: Niket <niket.shah1@ocado.com> -* Fix spacing on mobile buttons ([`df12f76`](https://github.com/ocadotechnology/codeforlife-portal/commit/df12f764e164fdbfcaaea64d4dbdae10733c02d1)) +* get info off travis +Signed-off-by: Niket <niket.shah1@ocado.com> -## v4.16.1 (2021-01-13) +* Notify semaphore to deploy to staging -### Fix +Signed-off-by: Niket <niket.shah1@ocado.com> -* fix: Update Kurono zip link (#1336) +* remove travis file -* fix: Update Kurono zip link ([`fd5f6ec`](https://github.com/ocadotechnology/codeforlife-portal/commit/fd5f6ec5b62d887dd48e81deedda02cf0433af10)) +Signed-off-by: Niket <niket.shah1@ocado.com> +* Update badge in README -## v4.16.0 (2021-01-11) +Signed-off-by: Niket <niket.shah1@ocado.com> -### Feature +* expose semaphore secrest to the semaphore action -* feat: Create Kurono teaching packs page (#1334) +Signed-off-by: Niket <niket.shah1@ocado.com> -* Create page and styles +* format ci.yml -* Link to PDFs +Signed-off-by: Niket <niket.shah1@ocado.com> -* Fix typos and grid spacing +* fix env variables -* Create mobile layout +Signed-off-by: Niket <niket.shah1@ocado.com> -* Fix sub nav spacing +* fix: github action not being able to push to master -* Merge branch 'master' into kurono_teaching_packs +Signed-off-by: Niket <niket.shah1@ocado.com> -* Fix subnavs for mobile +* Merge branch 'master' into github_actions_publish_pypi -* Add test + Black +Signed-off-by: Niket <niket.shah1@ocado.com> -* Remove comment +# Conflicts: +# .github/workflows/ci.yml ([`d6dfacf`](https://github.com/ocadotechnology/codeforlife-portal/commit/d6dfacf0f932d27c099d93e6ef234ee26e9c11e5)) -* Fix codeclimate issues +* fix: Publish pypi packages using Github Actions (#1309) -* Try different kind of test +* publish pypi packages test -* Fix small spacing issues +Signed-off-by: Niket <niket.shah1@ocado.com> -* Add Kurono story PDF +* comment out tests for now to speed up dev -* Rename cache block for new page +Signed-off-by: Niket <niket.shah1@ocado.com> -* Replace SVG with PNG +* add publish to ci workflow instead -* Replace PNG with SVG ([`e52cdc8`](https://github.com/ocadotechnology/codeforlife-portal/commit/e52cdc891e9967fe3357e40eae71d3544d496fa4)) +Signed-off-by: Niket <niket.shah1@ocado.com> +* add if to publish job -## v4.15.4 (2020-12-29) +Signed-off-by: Niket <niket.shah1@ocado.com> -### Fix +* try to fix syntax in if -* fix: Make .sub-nav--teacher, .sub-nav--student visible on small screens (#1315) +Signed-off-by: Niket <niket.shah1@ocado.com> -* fix: make .sub-nav--teacher, .sub-nav--student visible on small screens +* single quotes -* Merge branch 'master' into 927-small-screen-hides-level-editor-and-scoreboard-buttons +Signed-off-by: Niket <niket.shah1@ocado.com> -* Merge branch 'master' of github.com:ocadotechnology/codeforlife-portal into 927-small-screen-hides-level-editor-and-scoreboard-buttons +* Add publish steps -* fix: Reduce margin between buttons to avoid line split on narrowest size +Signed-off-by: Niket <niket.shah1@ocado.com> -* fix: Adjust margin between buttons in subnav for teacher +* build cfl_common before trying to publish it -* Merge branch '927-small-screen-hides-level-editor-and-scoreboard-buttons' of github.com:sebp999/codeforlife-portal into 927-small-screen-hides-level-editor-and-scoreboard-buttons +Signed-off-by: Niket <niket.shah1@ocado.com> -* chore: catch up with master +* install wheel package -* chore: generate Pipfile.lock ([`a2c64b6`](https://github.com/ocadotechnology/codeforlife-portal/commit/a2c64b6d81c24c6bd3ff6c8784ab38f6db66caa0)) +Signed-off-by: Niket <niket.shah1@ocado.com> +* Look in dist directory -## v4.15.3 (2020-12-24) +Signed-off-by: Niket <niket.shah1@ocado.com> -### Fix +* make PR ready to merge -* fix: replace youtube embeds with youtube-nocookie (#1331) ([`2f95d40`](https://github.com/ocadotechnology/codeforlife-portal/commit/2f95d4033c3662c32ea484cb4d5ce0b5a6adfbfe)) +Signed-off-by: Niket <niket.shah1@ocado.com> +* get info off travis -## v4.15.2 (2020-12-24) +Signed-off-by: Niket <niket.shah1@ocado.com> -### Fix +* Notify semaphore to deploy to staging -* fix: remove magnificjs (#1332) +Signed-off-by: Niket <niket.shah1@ocado.com> -* fix: remove magnificjs ([`14aa4fd`](https://github.com/ocadotechnology/codeforlife-portal/commit/14aa4fd8b634ebedcc5eab8857215464b2e85be4)) +* remove travis file +Signed-off-by: Niket <niket.shah1@ocado.com> -## v4.15.1 (2020-12-22) +* Update badge in README -### Fix +Signed-off-by: Niket <niket.shah1@ocado.com> -* fix: Remove build dependencies (#1329) +* expose semaphore secrest to the semaphore action -* fix: Remove build dependencies ([`1b6532e`](https://github.com/ocadotechnology/codeforlife-portal/commit/1b6532e46f5dcb3189d5fa058369369081f56674)) +Signed-off-by: Niket <niket.shah1@ocado.com> +* format ci.yml -## v4.15.0 (2020-12-17) +Signed-off-by: Niket <niket.shah1@ocado.com> -### Fix +* fix env variables -* fix: Bring back test setup ([`b2e8bd2`](https://github.com/ocadotechnology/codeforlife-portal/commit/b2e8bd2f547cb6231cd0f9f5e9110405f4cd2c3f)) +Signed-off-by: Niket <niket.shah1@ocado.com> ([`3c426b6`](https://github.com/ocadotechnology/codeforlife-portal/commit/3c426b661f218fbb4c47c59d1aeb091d2d7b67d0)) -* fix: Update setup.py and pipfile ([`c5931a8`](https://github.com/ocadotechnology/codeforlife-portal/commit/c5931a896b0d7cf050313c54becedac0dc213608)) +* fix: add missing wagtail app (#1310) -* fix: Merge in master ([`b5019b4`](https://github.com/ocadotechnology/codeforlife-portal/commit/b5019b40282d6c2fdb7b0310573c6cea60530d5c)) +* fix: add missing wagtail app -### Unknown +* Fix aimmo branch -* Merge pull request #1322 from ocadotechnology/django_2_upgrade +* Reuncomment autoconfig -feat: Django 2 upgrade ([`df143ae`](https://github.com/ocadotechnology/codeforlife-portal/commit/df143ae18c9c17fd857e455358a53a0682708892)) +* Install django autoconfig in action +* Install portal again after RR to fix compile error ([`74dc2ad`](https://github.com/ocadotechnology/codeforlife-portal/commit/74dc2adaf4b4f90962e18d2cda014c4da331f03e)) -## v4.14.2 (2020-12-14) +## v4.14.0 (2020-11-05) -### Fix +### Feature -* fix: add game form (#1306) +* feat: Add checkbox for independent student registration for required age check (#1300) -* Fix add game form +* Add checkbox for required age for independent students Signed-off-by: Niket <niket.shah1@ocado.com> -* Merge branch 'master' into game_creation_error - -* Format and indent template +* make sure tests work -* Improve games table +Signed-off-by: Niket <niket.shah1@ocado.com> -* Add test +* fix typos -* Bring back name kwarg +Signed-off-by: Niket <niket.shah1@ocado.com> -* Test for validation error +* consolidate padding rules for checkbox -* Black +Signed-off-by: Niket <niket.shah1@ocado.com> ([`5f6b745`](https://github.com/ocadotechnology/codeforlife-portal/commit/5f6b745ee97f426945c1d32b9e53b8e17c04db9c)) -* Move asserts in with +## v4.13.2 (2020-10-30) -* Replace True with class names +### Fix -* fixed duplicate game test and updated pipfile lock ([`747b705`](https://github.com/ocadotechnology/codeforlife-portal/commit/747b7056d52c49a8664dee22b3ddbdd45bb97cb2)) +* fix: Fixed permission check for scheduled job to delete inactive users (#1297) +* add basic cloud scheduler permission check -## v4.14.1 (2020-12-03) +Signed-off-by: Niket <niket.shah1@ocado.com> -### Ci +* add print debug messages -* ci: Add persist-credentials to checkout action (#1321) +Signed-off-by: Niket <niket.shah1@ocado.com> -* ci: Add persist-credentials to checkout action ([`a9e2002`](https://github.com/ocadotechnology/codeforlife-portal/commit/a9e2002ecfeeee86134ff69502166e72f917c79c)) +* fix header fetch bug -* ci: Rename CI workflow to enable publish flow to run (#1320) +Signed-off-by: Niket <niket.shah1@ocado.com> -* ci: Rename CI workflow to enable publish flow to run ([`6b411d0`](https://github.com/ocadotechnology/codeforlife-portal/commit/6b411d02bdab16e4fd374b991ee69e9e54080fce)) +* check for correct service account -* ci: Create separate action for publishing packages (#1317) +Signed-off-by: Niket <niket.shah1@ocado.com> -* ci: Create job for publishing python packages +* move cloud scheduler function to appengine -* Commit for testing +Signed-off-by: Niket <niket.shah1@ocado.com> -* Revert "Commit for testing" +* use lambda for dummy permission -This reverts commit b3ab3f1b01d32b6750a42bf58fd65c9c8078044a. +Signed-off-by: Niket <niket.shah1@ocado.com> -* Fix minor syntax issues +* fix tests -* Merge branch 'master' into github_actions_publish_packages +Signed-off-by: Niket <niket.shah1@ocado.com> -* Merge master +* Merge branch 'master' into debug_branch2 ([`56f4ecd`](https://github.com/ocadotechnology/codeforlife-portal/commit/56f4ecdf2dfabb47687fc32cededab97ce6f55a8)) -* Merge branch 'github_actions_publish_packages' of https://github.com/ocadotechnology/codeforlife-portal into github_actions_publish_packages ([`a1271bd`](https://github.com/ocadotechnology/codeforlife-portal/commit/a1271bd184e0993ea212ec86f153e6d1ff354933)) +## v4.13.1 (2020-10-29) -* ci: fix codecov (#1319) +### Fix -* ci: try checkout@v1 +* fix: hide KS banners from students (#1296) -* checkout@v2 with fetch-depth 0 ([`6b35083`](https://github.com/ocadotechnology/codeforlife-portal/commit/6b35083d0080136c2decde0a4fdc21f72347c129)) +* fix: hide KS banners from students ([`488f51a`](https://github.com/ocadotechnology/codeforlife-portal/commit/488f51a7c2ffd99882591360f68992f082d615a4)) -* ci: Add CodeCov step to ci action (#1318) ([`605653e`](https://github.com/ocadotechnology/codeforlife-portal/commit/605653ee687bd76ad6847a33504a77cd56b8f3e6)) +## v4.13.0 (2020-10-29) -* ci: Resolve ci.yml conflicts from master ([`36fccf5`](https://github.com/ocadotechnology/codeforlife-portal/commit/36fccf55e2e83ed6c43fdfb04f680f0e4a26ad37)) +### Feature -* ci: github actions build (#1308) +* feat: change InactiveUsersView to anonymise user and mark it as inactive (#1295) -* ci: github actions build +* changed InactiveUsersView to anonymise user and mark it as inactive instead of deleting -* added chrome-headless to test_settings +* dummy commit because the previous one is not semantic -* updated selenium +* changed test to use pytest assertion -* updated Pipfile.lock +* changed delete inactive users to not return users and updated test ([`0c9760a`](https://github.com/ocadotechnology/codeforlife-portal/commit/0c9760a6cf3835e3bcf8a89ce9643f68b32f4291)) -* changed job name to test +## v4.12.1 (2020-10-23) -* run ci workflow on push to master as well ([`77078b5`](https://github.com/ocadotechnology/codeforlife-portal/commit/77078b55e6530a6b6b3803d4ca9d81aebb933cac)) +### Fix -### Feature +* fix: Upgrade jquery (#1294) -* feat: Upgrade to Django 2.2 (#1304) +* Update to jquery 3.5.1 -* Upgrade Django to 2.0 - -* Include namespace in admin and two factor urls - -* Replace core.urlresolvers with urls - -* Use user properties instead of functions - -* Remove is_admin_site argument from password reset function - -* Remove deprecated middleware - -* Use class based JavaScript catalog view - -* Decode bytestring to unicode - -* Specify on_delete for models - -* Remove guardian model - -* Fix test name - -* Fix year - -* Add test for on_delete - -* Add site fix to selenium test case - -* Decode indep student uid - -* Refactor Site setter - -* Specify Django 2.0 - -* Specify django 2.0 in common - -* Make pending class request in Student a SET_NULL on_delete - -* Set school_join_request to set null in migration - -* Specify SET_NULL in initial migration - -* Add TODOs to remove decoding in Django 2.2 - -* Simplify admin urls + run Black - -* Install Django 2.0 in Travis - -* Install local branches of RR and aimmo in Travis - -* Try cfl-common fix - -* Uninstall without input - -* Pass yes to uninstall - -* Install Django 2 after common - -* Remove redundant steps - -* Fix tests and upgrade to 2.2 - -* Specify Django 2.2 in common - -* Try making first two common migrations not atomic - -* Rename mixin - -* Install local common too - -* Revert atomic migrations - -* Install local common - -* Use -e - -* ci: added github workflow and updates some deps (#1307) - -* ci: added github workflow and updates some deps - -* changed CI to run PR - -* removed comments from ci.yml and added new line - -* uncommented requirements in setup.py - -* Improve model tests - -* Don't look objects up again for deletion - -* Fix imports + Black - -* Fix more imports - -* Add coverage step - -* Use chrome headless webdriver for Travis - -* Remove Chromedriver installation - -* Try using HomePage object instead - -* Save model changes - -Co-authored-by: Razvan Mahu <67904187+razvan-pro@users.noreply.github.com> ([`ed8a511`](https://github.com/ocadotechnology/codeforlife-portal/commit/ed8a511a89142bfe157b1ad19ca0ce9e66e929ce)) +Signed-off-by: Niket <niket.shah1@ocado.com> -### Fix +* upgrade jquery to 3.5.1 -* fix: Upgrade dependencies (#1314) +Signed-off-by: Niket <niket.shah1@ocado.com> -* Upgrade dependencies +* updating color-error -* Install master of django autoconfig fork +Signed-off-by: Niket <niket.shah1@ocado.com> -* Install correct branches +* upgrade jquery-ui -* Remove self installation +Signed-off-by: Niket <niket.shah1@ocado.com> -* Try installing RR after aimmo +* Add fallbacks -* Install RR first +Signed-off-by: Niket <niket.shah1@ocado.com> -* Install correct branches +* Merge branch 'master' into upgrade_jquery ([`5a49fcd`](https://github.com/ocadotechnology/codeforlife-portal/commit/5a49fcd49725fa1a645e58f788f8ba3f9719c97f)) -* Return to main aimmo branch +## v4.12.0 (2020-10-23) -* Install autoconfig in setup.py instead of pipfile +### Feature -* Downgrade pipeline ([`8c49368`](https://github.com/ocadotechnology/codeforlife-portal/commit/8c49368bda6a7466c54cf368881afea325004fa5)) +* feat: Link to new Kurono PDFs (#1293) -* fix: Use personal access token to allow github action to perform semantic release on master (#1312) +* feat: Link to new Kurono PDFs -* publish pypi packages test +* Remove versioning from individual PDFs ([`add0d0a`](https://github.com/ocadotechnology/codeforlife-portal/commit/add0d0ae8c82d379a5dc51fb0d0fb57303ef5d7f)) -Signed-off-by: Niket <niket.shah1@ocado.com> +## v4.11.4 (2020-10-22) -* comment out tests for now to speed up dev +### Fix -Signed-off-by: Niket <niket.shah1@ocado.com> +* fix: pass in kwargs in materials viewer redirect (#1288) -* add publish to ci workflow instead +* fix redirect bug for materials viewer Signed-off-by: Niket <niket.shah1@ocado.com> -* add if to publish job +* add test for bug Signed-off-by: Niket <niket.shah1@ocado.com> -* try to fix syntax in if +* removed shared state in tests -Signed-off-by: Niket <niket.shah1@ocado.com> +Signed-off-by: Niket <niket.shah1@ocado.com> ([`d95ac7a`](https://github.com/ocadotechnology/codeforlife-portal/commit/d95ac7acdc3502dd8f7c9884d6a58e5d7bd3ab50)) -* single quotes +## v4.11.3 (2020-10-14) -Signed-off-by: Niket <niket.shah1@ocado.com> +### Fix -* Add publish steps +* fix: update game buttons copy in student dashboard (#1284) -Signed-off-by: Niket <niket.shah1@ocado.com> +* updated Pipfile.lock -* build cfl_common before trying to publish it +* removed local_settings.py step from README.md -Signed-off-by: Niket <niket.shah1@ocado.com> +* added recaptcha silence in example settings.py -* install wheel package +* changed buttons to "Enter" in student dashboard -Signed-off-by: Niket <niket.shah1@ocado.com> +* updated test section in README.md -* Look in dist directory +Co-authored-by: Florian Aucomte <33633200+faucomte97@users.noreply.github.com> ([`d5a6b79`](https://github.com/ocadotechnology/codeforlife-portal/commit/d5a6b79b2ad5add6593a0aac835167f937d9f383)) -Signed-off-by: Niket <niket.shah1@ocado.com> +## v4.11.2 (2020-10-14) -* make PR ready to merge +### Fix -Signed-off-by: Niket <niket.shah1@ocado.com> +* fix: Upgrade bootstrap from 3.3.7 to 3.4.1 (#1283) -* get info off travis +* fix: upgrade bootstrap from v3.3.7 to v3.4.1 Signed-off-by: Niket <niket.shah1@ocado.com> -* Notify semaphore to deploy to staging +* update chromedriver version on travis Signed-off-by: Niket <niket.shah1@ocado.com> -* remove travis file +* set maxfail Signed-off-by: Niket <niket.shah1@ocado.com> -* Update badge in README +* seperate test nav calls Signed-off-by: Niket <niket.shah1@ocado.com> -* expose semaphore secrest to the semaphore action +* fix url for bootstrap js Signed-off-by: Niket <niket.shah1@ocado.com> -* format ci.yml +* fix status font path Signed-off-by: Niket <niket.shah1@ocado.com> -* fix env variables +* fix typo Signed-off-by: Niket <niket.shah1@ocado.com> -* fix: github action not being able to push to master +* remove maxfail -Signed-off-by: Niket <niket.shah1@ocado.com> +Signed-off-by: Niket <niket.shah1@ocado.com> ([`6a3f701`](https://github.com/ocadotechnology/codeforlife-portal/commit/6a3f7015fdb5f82e89e755fdad488849d81c6d44)) -* Merge branch 'master' into github_actions_publish_pypi +## v4.11.1 (2020-10-13) -Signed-off-by: Niket <niket.shah1@ocado.com> +### Fix -# Conflicts: -# .github/workflows/ci.yml ([`d6dfacf`](https://github.com/ocadotechnology/codeforlife-portal/commit/d6dfacf0f932d27c099d93e6ef234ee26e9c11e5)) +* fix: Kurono dashboard independent students (#1282) -* fix: Publish pypi packages using Github Actions (#1309) +* fix: Handle independent students on kurono dashboard -* publish pypi packages test +* Add test -Signed-off-by: Niket <niket.shah1@ocado.com> +* Add test fixture -* comment out tests for now to speed up dev +* Use actual emojis -Signed-off-by: Niket <niket.shah1@ocado.com> +* Remove break -* add publish to ci workflow instead +* Use more fixtures + named tuples ([`5f49c58`](https://github.com/ocadotechnology/codeforlife-portal/commit/5f49c588153e58135a1a061c1504ba28abf3eb9e)) -Signed-off-by: Niket <niket.shah1@ocado.com> +## v4.11.0 (2020-10-09) -* add if to publish job +### Feature -Signed-off-by: Niket <niket.shah1@ocado.com> +* feat: Remove student logic in current kurono dashboard (#1281) -* try to fix syntax in if +* Remove student logic and content from the teacher kurono dashboard template Signed-off-by: Niket <niket.shah1@ocado.com> -* single quotes +* rearragne urls so the the comments make sense Signed-off-by: Niket <niket.shah1@ocado.com> -* Add publish steps +* Remove student logic in teacher dashboard view Signed-off-by: Niket <niket.shah1@ocado.com> -* build cfl_common before trying to publish it +* create template tag to provide url for the right aimmo dashboard Signed-off-by: Niket <niket.shah1@ocado.com> -* install wheel package +* rename the aimmo teacher dashboard view Signed-off-by: Niket <niket.shah1@ocado.com> -* Look in dist directory +* add test for aimmo teacher board permissions Signed-off-by: Niket <niket.shah1@ocado.com> -* make PR ready to merge +* Merge branch 'master' into Remove-student-logic-in-current-Kurono-dashboard-1257 Signed-off-by: Niket <niket.shah1@ocado.com> -* get info off travis +# Conflicts: +# portal/views/student/play.py + +* fix flows to get to aimmo dashboard Signed-off-by: Niket <niket.shah1@ocado.com> -* Notify semaphore to deploy to staging +* Move student dashboard view to the right file Signed-off-by: Niket <niket.shah1@ocado.com> -* remove travis file +* code review changes -Signed-off-by: Niket <niket.shah1@ocado.com> +Signed-off-by: Niket <niket.shah1@ocado.com> ([`6bbe396`](https://github.com/ocadotechnology/codeforlife-portal/commit/6bbe3960d15fe5ee02410dcfea4c43ba14018890)) -* Update badge in README +## v4.10.1 (2020-10-09) -Signed-off-by: Niket <niket.shah1@ocado.com> +### Fix -* expose semaphore secrest to the semaphore action +* fix: Add grid property to worksheets grid (#1280) -Signed-off-by: Niket <niket.shah1@ocado.com> +* fix: Add grid property to worksheets grid -* format ci.yml +* Update snapshot -Signed-off-by: Niket <niket.shah1@ocado.com> +* Add icon to button + fix resources section -* fix env variables +* Remove grid-fit for resources ([`2947d07`](https://github.com/ocadotechnology/codeforlife-portal/commit/2947d07c7340ed0e04a7b1c6682e0eb192e4ddcb)) -Signed-off-by: Niket <niket.shah1@ocado.com> ([`3c426b6`](https://github.com/ocadotechnology/codeforlife-portal/commit/3c426b661f218fbb4c47c59d1aeb091d2d7b67d0)) +## v4.10.0 (2020-10-09) -* fix: add missing wagtail app (#1310) +### Feature -* fix: add missing wagtail app +* feat: Kurono dashboard worksheet cards (#1277) -* Fix aimmo branch +* Add card list to kurono dashboard -* Reuncomment autoconfig +* Handle 'no games' case -* Install django autoconfig in action +* Update dashboard page test -* Install portal again after RR to fix compile error ([`74dc2ad`](https://github.com/ocadotechnology/codeforlife-portal/commit/74dc2adaf4b4f90962e18d2cda014c4da331f03e)) +* Link worksheets to PDFs so hero card button links to PDF +* Update Kurono logo ref -## v4.14.0 (2020-11-05) +* Split function + use Pytest asserts -### Feature +* Update migration dependency -* feat: Add checkbox for independent student registration for required age check (#1300) +* Add types -* Add checkbox for required age for independent students +* Add student pdf name to test worksheet -Signed-off-by: Niket <niket.shah1@ocado.com> +* Merge branch 'master' into kurono_dashboard_worksheet_cards -* make sure tests work +# Conflicts: +# portal/templates/portal/partials/hero_card.html +# portal/tests/snapshots/snap_test_partials.py + +* Kurono -> aimmo Signed-off-by: Niket <niket.shah1@ocado.com> -* fix typos +* KURONO -> AIMMO Signed-off-by: Niket <niket.shah1@ocado.com> -* consolidate padding rules for checkbox - -Signed-off-by: Niket <niket.shah1@ocado.com> ([`5f6b745`](https://github.com/ocadotechnology/codeforlife-portal/commit/5f6b745ee97f426945c1d32b9e53b8e17c04db9c)) +* bug fix +Signed-off-by: Niket <niket.shah1@ocado.com> ([`93ed5cf`](https://github.com/ocadotechnology/codeforlife-portal/commit/93ed5cfd17ee86ed539bf62e4a9dac520bba3b64)) -## v4.13.2 (2020-10-30) +## v4.9.0 (2020-10-08) -### Fix +### Feature -* fix: Fixed permission check for scheduled job to delete inactive users (#1297) +* feat: Add resources info to the student dashboard page for Kurono (#1278) -* add basic cloud scheduler permission check +* fix redirect issue on student dashboard Signed-off-by: Niket <niket.shah1@ocado.com> -* add print debug messages +* refactoring grid and added resources to studnet dashboard Signed-off-by: Niket <niket.shah1@ocado.com> -* fix header fetch bug +* move button sass code to buttons.scss file Signed-off-by: Niket <niket.shah1@ocado.com> -* check for correct service account +* Merge branch 'master' into Kurono-Student-Dashboard-Resources-section-1254 Signed-off-by: Niket <niket.shah1@ocado.com> -* move cloud scheduler function to appengine +# Conflicts: +# portal/templates/portal/partials/character_list.html +# portal/templates/portal/partials/hero_card.html +# portal/templates/portal/play/student_kurono_dashboard.html +# portal/views/student/play.py + +* fix tests Signed-off-by: Niket <niket.shah1@ocado.com> -* use lambda for dummy permission +* Update copy Signed-off-by: Niket <niket.shah1@ocado.com> -* fix tests +* fix grid logic Signed-off-by: Niket <niket.shah1@ocado.com> -* Merge branch 'master' into debug_branch2 ([`56f4ecd`](https://github.com/ocadotechnology/codeforlife-portal/commit/56f4ecdf2dfabb47687fc32cededab97ce6f55a8)) +* update snapshot for character list +Signed-off-by: Niket <niket.shah1@ocado.com> ([`b46ddb9`](https://github.com/ocadotechnology/codeforlife-portal/commit/b46ddb918f08c17a26a92766859192a564bf6aed)) -## v4.13.1 (2020-10-29) +## v4.8.0 (2020-10-05) -### Fix +### Feature -* fix: hide KS banners from students (#1296) +* feat: Add characters to the student dashboard (#1275) -* fix: hide KS banners from students ([`488f51a`](https://github.com/ocadotechnology/codeforlife-portal/commit/488f51a7c2ffd99882591360f68992f082d615a4)) +* feat: Add characters to the student dashboard +Signed-off-by: Niket <niket.shah1@ocado.com> -## v4.13.0 (2020-10-29) +* Merge branch 'master' into Kurono-Student-Dashboard-Kurono-characters-list-1256 + +# Conflicts: +# portal/templates/portal/partials/character_list.html +# portal/templates/portal/play/student_kurono_dashboard.html ([`ad0a27a`](https://github.com/ocadotechnology/codeforlife-portal/commit/ad0a27a0a426e4506b80e2aa80327d2584e7519e)) + +## v4.7.0 (2020-10-02) ### Feature -* feat: change InactiveUsersView to anonymise user and mark it as inactive (#1295) +* feat: Add banner & hero card to Student Kurono Dashboard (#1274) -* changed InactiveUsersView to anonymise user and mark it as inactive instead of deleting +* Add banner and hero card -* dummy commit because the previous one is not semantic +* Fix image typo -* changed test to use pytest assertion +* Finish components + make viewer open to students -* changed delete inactive users to not return users and updated test ([`0c9760a`](https://github.com/ocadotechnology/codeforlife-portal/commit/0c9760a6cf3835e3bcf8a89ce9643f68b32f4291)) +* Update tests +* Add test to check page loads fine -## v4.12.1 (2020-10-23) +* Optimise imports -### Fix +* Merge branch 'master' into kurono_dashboard_banner_hero -* fix: Upgrade jquery (#1294) +* Fix test -* Update to jquery 3.5.1 +* Test only views + print worksheets -Signed-off-by: Niket <niket.shah1@ocado.com> +* Revert to normal test command -* upgrade jquery to 3.5.1 +* Create worksheet for tests -Signed-off-by: Niket <niket.shah1@ocado.com> +* Add https: to cloud storage prefix -* updating color-error +* Optimise test utils -Signed-off-by: Niket <niket.shah1@ocado.com> +* Use class-based view for Kurono dashboard -* upgrade jquery-ui +* Use class based view for PDF viewer -Signed-off-by: Niket <niket.shah1@ocado.com> +* Remove logged in permission -* Add fallbacks +* Fix test -Signed-off-by: Niket <niket.shah1@ocado.com> +* Add materials redirect -* Merge branch 'master' into upgrade_jquery ([`5a49fcd`](https://github.com/ocadotechnology/codeforlife-portal/commit/5a49fcd49725fa1a645e58f788f8ba3f9719c97f)) +* Move redirect to urls file +* Revert to separate def ([`6199fe9`](https://github.com/ocadotechnology/codeforlife-portal/commit/6199fe9364effddfcf0b9cfe7a55faa6f4e2a949)) -## v4.12.0 (2020-10-23) +## v4.6.0 (2020-10-01) ### Feature -* feat: Link to new Kurono PDFs (#1293) +* feat: Create blank student kurono dashboard page (#1272) -* feat: Link to new Kurono PDFs +* Create page with dummy content -* Remove versioning from individual PDFs ([`add0d0a`](https://github.com/ocadotechnology/codeforlife-portal/commit/add0d0ae8c82d379a5dc51fb0d0fb57303ef5d7f)) +* Remove dummy content +* Remove imports -## v4.11.4 (2020-10-22) +* Merge branch 'master' into student_dashboard_banner_hero ([`f77d796`](https://github.com/ocadotechnology/codeforlife-portal/commit/f77d796a12cdea8404d7ccaf781eed5c51a27438)) -### Fix +## v4.5.0 (2020-09-30) -* fix: pass in kwargs in materials viewer redirect (#1288) +### Feature -* fix redirect bug for materials viewer +* feat: Add worksheet fixture (#1271) -Signed-off-by: Niket <niket.shah1@ocado.com> +* feat: Add worksheet fixture -* add test for bug +* Add worksheets and update characters -Signed-off-by: Niket <niket.shah1@ocado.com> +* Install latest aimmo beta -* removed shared state in tests +* Update snapshot -Signed-off-by: Niket <niket.shah1@ocado.com> ([`d95ac7a`](https://github.com/ocadotechnology/codeforlife-portal/commit/d95ac7acdc3502dd8f7c9884d6a58e5d7bd3ab50)) +* Run Black +* Rename test -## v4.11.3 (2020-10-14) +* Unregister characters from admin + +* Rename test again ([`6949ff6`](https://github.com/ocadotechnology/codeforlife-portal/commit/6949ff623b938c5f978090435a936026c7eba501)) + +## v4.4.2 (2020-09-25) ### Fix -* fix: update game buttons copy in student dashboard (#1284) +* fix: Add MANIFEST.in to common package to include fixture files (#1269) -* updated Pipfile.lock - -* removed local_settings.py step from README.md - -* added recaptcha silence in example settings.py - -* changed buttons to "Enter" in student dashboard - -* updated test section in README.md - -Co-authored-by: Florian Aucomte <33633200+faucomte97@users.noreply.github.com> ([`d5a6b79`](https://github.com/ocadotechnology/codeforlife-portal/commit/d5a6b79b2ad5add6593a0aac835167f937d9f383)) +* fix: Add MANIFEST.in to common package to include fixture files +Signed-off-by: Niket <niket.shah1@ocado.com> ([`3896c1a`](https://github.com/ocadotechnology/codeforlife-portal/commit/3896c1a7bb5788113e2eb174af357757ee036828)) -## v4.11.2 (2020-10-14) +## v4.4.1 (2020-09-24) ### Fix -* fix: Upgrade bootstrap from 3.3.7 to 3.4.1 (#1283) - -* fix: upgrade bootstrap from v3.3.7 to v3.4.1 +* fix: use absolute file paths to read files from fixture directory (#1268) -Signed-off-by: Niket <niket.shah1@ocado.com> +* fix: use absolute file paths to read files from fixture directory -* update chromedriver version on travis +Signed-off-by: Niket <niket.shah1@ocado.com> ([`2ff1fd0`](https://github.com/ocadotechnology/codeforlife-portal/commit/2ff1fd06783eb9354fb1505ae0a169c1562891f8)) -Signed-off-by: Niket <niket.shah1@ocado.com> +## v4.4.0 (2020-09-24) -* set maxfail +### Feature -Signed-off-by: Niket <niket.shah1@ocado.com> +* feat: Add Kurono/Aimmo characters (#1267) -* seperate test nav calls +* Add aimmo character model Signed-off-by: Niket <niket.shah1@ocado.com> -* fix url for bootstrap js +* fix character card css Signed-off-by: Niket <niket.shah1@ocado.com> -* fix status font path +* make add aimmo character data migration Signed-off-by: Niket <niket.shah1@ocado.com> -* fix typo +* neaten up code Signed-off-by: Niket <niket.shah1@ocado.com> -* remove maxfail - -Signed-off-by: Niket <niket.shah1@ocado.com> ([`6a3f701`](https://github.com/ocadotechnology/codeforlife-portal/commit/6a3f7015fdb5f82e89e755fdad488849d81c6d44)) - - -## v4.11.1 (2020-10-13) +* code review changes and add sort order -### Fix +Signed-off-by: Niket <niket.shah1@ocado.com> ([`47328f8`](https://github.com/ocadotechnology/codeforlife-portal/commit/47328f896a8ce54fd216b01d87c6512e6f7b5e5e)) -* fix: Kurono dashboard independent students (#1282) +## v4.3.0 (2020-09-23) -* fix: Handle independent students on kurono dashboard +### Feature -* Add test +* feat: Add wagtail CMS (#1264) -* Add test fixture +* fix: aimmo dashboard page for students -* Use actual emojis +Signed-off-by: Niket <niket.shah1@ocado.com> -* Remove break +* add django-storages -* Use more fixtures + named tuples ([`5f49c58`](https://github.com/ocadotechnology/codeforlife-portal/commit/5f49c588153e58135a1a061c1504ba28abf3eb9e)) +Signed-off-by: Niket <niket.shah1@ocado.com> +* Remove django-storages, add and setup wagtail -## v4.11.0 (2020-10-09) +Signed-off-by: Niket <niket.shah1@ocado.com> -### Feature +* artificially bump version up for testing on dev -* feat: Remove student logic in current kurono dashboard (#1281) +Signed-off-by: Niket <niket.shah1@ocado.com> -* Remove student logic and content from the teacher kurono dashboard template +* artificially bump version again Signed-off-by: Niket <niket.shah1@ocado.com> -* rearragne urls so the the comments make sense +* Revert "artificially bump version again" -Signed-off-by: Niket <niket.shah1@ocado.com> +This reverts commit 2808628695ba57876312865639cbd483d222d0bd. -* Remove student logic in teacher dashboard view +* uninstall unused wagtail parts Signed-off-by: Niket <niket.shah1@ocado.com> -* create template tag to provide url for the right aimmo dashboard +* Revert "uninstall unused wagtail parts" -Signed-off-by: Niket <niket.shah1@ocado.com> +This reverts commit c11e979b3586a78ec0d570a5811e7e037c20eed2. -* rename the aimmo teacher dashboard view +* Merge branch 'master' into Setup-wagtail-in-common-1262 + +* remove default file storage setting leftover Signed-off-by: Niket <niket.shah1@ocado.com> -* add test for aimmo teacher board permissions +* fix typo Signed-off-by: Niket <niket.shah1@ocado.com> -* Merge branch 'master' into Remove-student-logic-in-current-Kurono-dashboard-1257 +* ignore docs in codecov Signed-off-by: Niket <niket.shah1@ocado.com> -# Conflicts: -# portal/views/student/play.py - -* fix flows to get to aimmo dashboard +* remove six -Signed-off-by: Niket <niket.shah1@ocado.com> +Signed-off-by: Niket <niket.shah1@ocado.com> ([`5535b92`](https://github.com/ocadotechnology/codeforlife-portal/commit/5535b922c3d3e1403b978f9c9caae88c182b4c81)) -* Move student dashboard view to the right file +## v4.2.1 (2020-09-17) -Signed-off-by: Niket <niket.shah1@ocado.com> +### Fix -* code review changes +* fix: aimmo dashboard page for students (#1263) -Signed-off-by: Niket <niket.shah1@ocado.com> ([`6bbe396`](https://github.com/ocadotechnology/codeforlife-portal/commit/6bbe3960d15fe5ee02410dcfea4c43ba14018890)) +* fix: aimmo dashboard page for students +Signed-off-by: Niket <niket.shah1@ocado.com> ([`752360c`](https://github.com/ocadotechnology/codeforlife-portal/commit/752360c3167bdd93d74f7a0c1279c6a5ab824215)) -## v4.10.1 (2020-10-09) +## v4.2.0 (2020-09-17) -### Fix +### Feature -* fix: Add grid property to worksheets grid (#1280) +* feat: Create character card partial (#1261) -* fix: Add grid property to worksheets grid +* feat: Create character list inclusion tag and partial -* Update snapshot +* Create constant for min card width -* Add icon to button + fix resources section +* Use smaller text in card for lower sizes -* Remove grid-fit for resources ([`2947d07`](https://github.com/ocadotechnology/codeforlife-portal/commit/2947d07c7340ed0e04a7b1c6682e0eb192e4ddcb)) +* Make tablet and mobile layout follow designs +* Install RR and aimmo properly -## v4.10.0 (2020-10-09) +* Remove width property -### Feature +* Undo previous commit -* feat: Kurono dashboard worksheet cards (#1277) +* Use column system ([`733181e`](https://github.com/ocadotechnology/codeforlife-portal/commit/733181e063a7d46912feeb9a5fdce928d56b9282)) -* Add card list to kurono dashboard +## v4.1.0 (2020-09-11) -* Handle 'no games' case +### Feature -* Update dashboard page test +* feat: Create card list inclusion tag (#1260) -* Link worksheets to PDFs so hero card button links to PDF +* Create card list tag and partial -* Update Kurono logo ref +* SCSS syntax -* Split function + use Pytest asserts +* decrease shadow -* Update migration dependency +* Test content -* Add types +* Reduce font size for cards -* Add student pdf name to test worksheet +* Add tests -* Merge branch 'master' into kurono_dashboard_worksheet_cards +* Improve way data is passed in -# Conflicts: -# portal/templates/portal/partials/hero_card.html -# portal/tests/snapshots/snap_test_partials.py +* Update snapshot test -* Kurono -> aimmo +* Remove has_thumbnail -Signed-off-by: Niket <niket.shah1@ocado.com> +* Remove ms-grid -* KURONO -> AIMMO +* Create and use breakpoint constants -Signed-off-by: Niket <niket.shah1@ocado.com> +* Fix codeclimate issue -* bug fix +* Improve media query constants -Signed-off-by: Niket <niket.shah1@ocado.com> ([`93ed5cf`](https://github.com/ocadotechnology/codeforlife-portal/commit/93ed5cfd17ee86ed539bf62e4a9dac520bba3b64)) +* Fix last media queries +* Use autofill -## v4.9.0 (2020-10-08) +* Update queries and wrap properties -### Feature +* Fix wrong media queries -* feat: Add resources info to the student dashboard page for Kurono (#1278) +* Use only min width constant -* fix redirect issue on student dashboard +* Merge master ([`fcc2053`](https://github.com/ocadotechnology/codeforlife-portal/commit/fcc2053509818c3a7bc02133e31e099ce708f826)) -Signed-off-by: Niket <niket.shah1@ocado.com> +## v4.0.0 (2020-09-11) -* refactoring grid and added resources to studnet dashboard +### Breaking -Signed-off-by: Niket <niket.shah1@ocado.com> +* feat: New games now need a class associated to them (#1251) -* move button sass code to buttons.scss file +BREAKING CHANGE: Moved generator helper, email helper and some test utilities to common + +* Leftover commits Signed-off-by: Niket <niket.shah1@ocado.com> -* Merge branch 'master' into Kurono-Student-Dashboard-Resources-section-1254 +* Remove functions that change can_play list -Signed-off-by: Niket <niket.shah1@ocado.com> +* Update tests -# Conflicts: -# portal/templates/portal/partials/character_list.html -# portal/templates/portal/partials/hero_card.html -# portal/templates/portal/play/student_kurono_dashboard.html -# portal/views/student/play.py +* Update transfer test docstring -* fix tests +* Fix tests Signed-off-by: Niket <niket.shah1@ocado.com> -* Update copy +* Move generators up to cfl_common and some test helper functions Signed-off-by: Niket <niket.shah1@ocado.com> -* fix grid logic +* Move more utilities and helpers to common Signed-off-by: Niket <niket.shah1@ocado.com> -* update snapshot for character list - -Signed-off-by: Niket <niket.shah1@ocado.com> ([`b46ddb9`](https://github.com/ocadotechnology/codeforlife-portal/commit/b46ddb918f08c17a26a92766859192a564bf6aed)) +* Merge branch 'master' into class_based_games +* move permissions utils into common -## v4.8.0 (2020-10-05) +Signed-off-by: Niket <niket.shah1@ocado.com> -### Feature +* Fix imports so that common has no portal dependencies -* feat: Add characters to the student dashboard (#1275) +Signed-off-by: Niket <niket.shah1@ocado.com> -* feat: Add characters to the student dashboard +* install local common Signed-off-by: Niket <niket.shah1@ocado.com> -* Merge branch 'master' into Kurono-Student-Dashboard-Kurono-characters-list-1256 - -# Conflicts: -# portal/templates/portal/partials/character_list.html -# portal/templates/portal/play/student_kurono_dashboard.html ([`ad0a27a`](https://github.com/ocadotechnology/codeforlife-portal/commit/ad0a27a0a426e4506b80e2aa80327d2584e7519e)) +* Update Pipfile to use the local version of common +Signed-off-by: Niket <niket.shah1@ocado.com> -## v4.7.0 (2020-10-02) +* use the associated rapid router branch -### Feature +Signed-off-by: Niket <niket.shah1@ocado.com> -* feat: Add banner & hero card to Student Kurono Dashboard (#1274) +* install associated aimmo dep as well -* Add banner and hero card +Signed-off-by: Niket <niket.shah1@ocado.com> -* Fix image typo +* remove todos for cases already handled -* Finish components + make viewer open to students +Signed-off-by: Niket <niket.shah1@ocado.com> ([`8a33337`](https://github.com/ocadotechnology/codeforlife-portal/commit/8a333376a7c89cbb35091d0b5b57c99a099a2683)) -* Update tests +## v3.3.0 (2020-09-04) -* Add test to check page loads fine +### Feature -* Optimise imports +* feat: Create hero card partial (#1250) -* Merge branch 'master' into kurono_dashboard_banner_hero +* Create hero card inclusion tag -* Fix test +* Add href links to tag -* Test only views + print worksheets +* Add snapshot test -* Revert to normal test command +* Remove width prop from big card button -* Create worksheet for tests +* SCSS syntax -* Add https: to cloud storage prefix +* SCSS syntax -* Optimise test utils +* Update card design -* Use class-based view for Kurono dashboard +* Add docstrings to inclusion tags -* Use class based view for PDF viewer +* Update snapshot test ([`5597d16`](https://github.com/ocadotechnology/codeforlife-portal/commit/5597d16e36165e7d0df028c6468be54afd25d639)) -* Remove logged in permission +## v3.2.1 (2020-08-27) -* Fix test +### Fix -* Add materials redirect +* fix: Secure requests with POST checks (#1247) -* Move redirect to urls file +* Make GET requests POST where needed -* Revert to separate def ([`6199fe9`](https://github.com/ocadotechnology/codeforlife-portal/commit/6199fe9364effddfcf0b9cfe7a55faa6f4e2a949)) +* Make sure logic is executed only under POST request +* Upgrade Chromedriver -## v4.6.0 (2020-10-01) +* test require_POST -### Feature +Signed-off-by: Niket <niket.shah1@ocado.com> -* feat: Create blank student kurono dashboard page (#1272) +* Add test for organisation kick -* Create page with dummy content +Signed-off-by: Niket <niket.shah1@ocado.com> -* Remove dummy content +* Use require_POST for teacher_delete_class -* Remove imports +Signed-off-by: Niket <niket.shah1@ocado.com> -* Merge branch 'master' into student_dashboard_banner_hero ([`f77d796`](https://github.com/ocadotechnology/codeforlife-portal/commit/f77d796a12cdea8404d7ccaf781eed5c51a27438)) +* Sort imports +Signed-off-by: Niket <niket.shah1@ocado.com> ([`c38df21`](https://github.com/ocadotechnology/codeforlife-portal/commit/c38df21a9cc396ca923436c65acd443545446738)) -## v4.5.0 (2020-09-30) +## v3.2.0 (2020-08-20) ### Feature -* feat: Add worksheet fixture (#1271) - -* feat: Add worksheet fixture - -* Add worksheets and update characters - -* Install latest aimmo beta - -* Update snapshot +* feat: Use common package (#1232) -* Run Black +* Move models, create common module and migrations -* Rename test +* Make common pypi package -* Unregister characters from admin +* Make common pypi package part 2 -* Rename test again ([`6949ff6`](https://github.com/ocadotechnology/codeforlife-portal/commit/6949ff623b938c5f978090435a936026c7eba501)) +* Rename migrations +* Exclude common package from main package -## v4.4.2 (2020-09-25) +* Build and upload common package in travis + use portal version -### Fix +* Update common folder name -* fix: Add MANIFEST.in to common package to include fixture files (#1269) +* Merge branch 'master' into common-models-test -* fix: Add MANIFEST.in to common package to include fixture files +# Conflicts: +# .travis.yml -Signed-off-by: Niket <niket.shah1@ocado.com> ([`3896c1a`](https://github.com/ocadotechnology/codeforlife-portal/commit/3896c1a7bb5788113e2eb174af357757ee036828)) +* Install actual PyPi package +* Revert temp settings -## v4.4.1 (2020-09-24) +* Update lock file -### Fix +* Merge branch 'master' into common-models-test -* fix: use absolute file paths to read files from fixture directory (#1268) +* Fix version of cfl-common to portal version -* fix: use absolute file paths to read files from fixture directory +* Use correct models in migration -Signed-off-by: Niket <niket.shah1@ocado.com> ([`2ff1fd0`](https://github.com/ocadotechnology/codeforlife-portal/commit/2ff1fd06783eb9354fb1505ae0a169c1562891f8)) +Signed-off-by: Niket <niket.shah1@ocado.com> +* show correct python version -## v4.4.0 (2020-09-24) +Signed-off-by: Niket <niket.shah1@ocado.com> -### Feature +* Add migration test for portal -* feat: Add Kurono/Aimmo characters (#1267) +* Add check the models are under common -* Add aimmo character model +* Refactor model imports -Signed-off-by: Niket <niket.shah1@ocado.com> +* Bring back Guardian model -* fix character card css +* update permissions required as they are now in common Signed-off-by: Niket <niket.shah1@ocado.com> -* make add aimmo character data migration - -Signed-off-by: Niket <niket.shah1@ocado.com> +* Merge branch 'master' into common-models-test -* neaten up code +# Please enter a commit message to explain why this merge is necessary, +# especially if it merges an updated upstream into a topic branch. +# +# Lines starting with '#' will be ignored, and an empty message aborts +# the commit. -Signed-off-by: Niket <niket.shah1@ocado.com> +* Install RR branch -* code review changes and add sort order +* Don't t-lib -Signed-off-by: Niket <niket.shah1@ocado.com> ([`47328f8`](https://github.com/ocadotechnology/codeforlife-portal/commit/47328f896a8ce54fd216b01d87c6512e6f7b5e5e)) +* Add module docstring to migration +* Try installing RR with -U -## v4.3.0 (2020-09-23) +* Merge branch 'master' into common-models-test -### Feature +* Try to add branch config to see if it compares to master -* feat: Add wagtail CMS (#1264) +* Remove branch parameter -* fix: aimmo dashboard page for students +* Merge branch 'master' into common-models-test -Signed-off-by: Niket <niket.shah1@ocado.com> +* Merge branch 'master' into common-models-test -* add django-storages +* Merge branch 'master' into common-models-test -Signed-off-by: Niket <niket.shah1@ocado.com> +* Install normal RR ([`69af469`](https://github.com/ocadotechnology/codeforlife-portal/commit/69af46964a87f47e7695958cb7d77b5e137674b0)) -* Remove django-storages, add and setup wagtail +## v3.1.7 (2020-08-20) -Signed-off-by: Niket <niket.shah1@ocado.com> +### Fix -* artificially bump version up for testing on dev +* fix: Make cfl-common require Python 3.6 (#1238) -Signed-off-by: Niket <niket.shah1@ocado.com> +* fix: Make cfl-common require Python 3.6 -* artificially bump version again +* Remove python requires ([`7ed805f`](https://github.com/ocadotechnology/codeforlife-portal/commit/7ed805fd81a9b4ef38d8248e6f5c945e8bc92691)) -Signed-off-by: Niket <niket.shah1@ocado.com> +## v3.1.6 (2020-08-19) -* Revert "artificially bump version again" +### Fix -This reverts commit 2808628695ba57876312865639cbd483d222d0bd. +* fix: Run test stage not only on PR (#1237) -* uninstall unused wagtail parts +* fix: Run test stage not only on PR ([`8ba2ba2`](https://github.com/ocadotechnology/codeforlife-portal/commit/8ba2ba22d2b37ff7b03261b9af3913f7a1dd7408)) -Signed-off-by: Niket <niket.shah1@ocado.com> +## v3.1.5 (2020-08-19) -* Revert "uninstall unused wagtail parts" +### Fix -This reverts commit c11e979b3586a78ec0d570a5811e7e037c20eed2. +* fix: Replace curl with straight codecov command (#1236) -* Merge branch 'master' into Setup-wagtail-in-common-1262 +* fix: Replace curl with straight codecov command -* remove default file storage setting leftover +* Install codecov ([`a7912c7`](https://github.com/ocadotechnology/codeforlife-portal/commit/a7912c7d6a0a100fb78fdd003e0bf63fa568c524)) -Signed-off-by: Niket <niket.shah1@ocado.com> +## v3.1.4 (2020-08-18) -* fix typo +### Fix -Signed-off-by: Niket <niket.shah1@ocado.com> +* fix: Add install_requires to common package (#1235) -* ignore docs in codecov +* fix: Add install_requires to common package -Signed-off-by: Niket <niket.shah1@ocado.com> +* Update Python version -* remove six +* Ignore setup and apps files for CodeCov -Signed-off-by: Niket <niket.shah1@ocado.com> ([`5535b92`](https://github.com/ocadotechnology/codeforlife-portal/commit/5535b922c3d3e1403b978f9c9caae88c182b4c81)) +* Dummy commit to reset Travis +* Try putting ignore before comment -## v4.2.1 (2020-09-17) +* Try glob -### Fix +* Fix yaml syntax -* fix: aimmo dashboard page for students (#1263) +* Try direct path files again -* fix: aimmo dashboard page for students +* Try ignoring tests again and example project -Signed-off-by: Niket <niket.shah1@ocado.com> ([`752360c`](https://github.com/ocadotechnology/codeforlife-portal/commit/752360c3167bdd93d74f7a0c1279c6a5ab824215)) +* Ignore more test files ([`ed50c06`](https://github.com/ocadotechnology/codeforlife-portal/commit/ed50c06c33b999b05b007c039494911a8d39d8a6)) +## v3.1.3 (2020-08-13) -## v4.2.0 (2020-09-17) +### Fix -### Feature +* fix: Remove travis commit message condition (#1233) -* feat: Create character card partial (#1261) +* fix: Remove travis commit message condition ([`6b0fb45`](https://github.com/ocadotechnology/codeforlife-portal/commit/6b0fb4552a801eceb63d48e4654c90f2bd36843b)) -* feat: Create character list inclusion tag and partial +## v3.1.2 (2020-08-12) -* Create constant for min card width +### Fix -* Use smaller text in card for lower sizes +* fix: don't upload common package if already exists (#1231) -* Make tablet and mobile layout follow designs +* fix: don't upload common package if already exists -* Install RR and aimmo properly +* Only run deploy stage if commit message isn't the version number ([`ab0c051`](https://github.com/ocadotechnology/codeforlife-portal/commit/ab0c05177e7159076523ea3542b0f21bd8d45dcc)) -* Remove width property +## v3.1.1 (2020-08-07) -* Undo previous commit +### Fix -* Use column system ([`733181e`](https://github.com/ocadotechnology/codeforlife-portal/commit/733181e063a7d46912feeb9a5fdce928d56b9282)) +* fix: Rename common_utils references to cfl_common (#1230) +* fix: Rename common_utils references to cfl_common ([`4f3c6fa`](https://github.com/ocadotechnology/codeforlife-portal/commit/4f3c6fa2cfbabbe36a3f3fbb7e2e7aade73f8055)) -## v4.1.0 (2020-09-11) +## v3.1.0 (2020-08-07) ### Feature -* feat: Create card list inclusion tag (#1260) +* feat: Add common package (#1228) -* Create card list tag and partial +* Create common package -* SCSS syntax +* Upload common package to Pypi -* decrease shadow +* Remove unused files -* Test content +* Remove mistake setting -* Reduce font size for cards +* Exclude unnecessary folders from portal package tar -* Add tests +* Remove irrelevant comments -* Improve way data is passed in +* Use portal init -* Update snapshot test +* Fix path to portal init -* Remove has_thumbnail +* Rename common_utils to cfl_common ([`5f21be7`](https://github.com/ocadotechnology/codeforlife-portal/commit/5f21be79050f6f5ee79edaace8f7f7a65b793588)) -* Remove ms-grid +## v3.0.6 (2020-07-15) -* Create and use breakpoint constants +### Chore -* Fix codeclimate issue +* chore(deps): bump psutil from 5.4.8 to 5.6.6 (#1222) -* Improve media query constants +* chore(deps): bump psutil from 5.4.8 to 5.6.6 -* Fix last media queries +Bumps [psutil](https://github.com/giampaolo/psutil) from 5.4.8 to 5.6.6. +- [Release notes](https://github.com/giampaolo/psutil/releases) +- [Changelog](https://github.com/giampaolo/psutil/blob/master/HISTORY.rst) +- [Commits](https://github.com/giampaolo/psutil/compare/release-5.4.8...release-5.6.6) -* Use autofill +Signed-off-by: dependabot[bot] <support@github.com> ([`c8f1384`](https://github.com/ocadotechnology/codeforlife-portal/commit/c8f1384cf3be79b8dbc28d2af10d2e1c7581a725)) -* Update queries and wrap properties +### Fix -* Fix wrong media queries +* fix: Update copy in reset password page for independent student (#1225) -* Use only min width constant +* fix: Update copy in reset password page for independent student -* Merge master ([`fcc2053`](https://github.com/ocadotechnology/codeforlife-portal/commit/fcc2053509818c3a7bc02133e31e099ce708f826)) +* Reidrect logged in users to home when trying to view reset password page +* Revert teacher reset password redirect ([`93e9ac6`](https://github.com/ocadotechnology/codeforlife-portal/commit/93e9ac634c57bef07860754c666df0fcb2e04c16)) -## v4.0.0 (2020-09-11) +## v3.0.5 (2020-06-22) -### Breaking +### Fix -* feat: New games now need a class associated to them (#1251) +* fix: Update privacy policy to include Mouseflow and Freshdesk (#1221) -BREAKING CHANGE: Moved generator helper, email helper and some test utilities to common +* Add copy about Mouseflow -* Leftover commits +* Add Freshdesk links -Signed-off-by: Niket <niket.shah1@ocado.com> +* Remove SalesForce mention -* Remove functions that change can_play list +* Replace Chromedriver -* Update tests +* Chrome 83 ([`aade1d9`](https://github.com/ocadotechnology/codeforlife-portal/commit/aade1d9de73bc6e15c1fc4cc24c06853980c058d)) -* Update transfer test docstring +## v3.0.4 (2020-05-04) -* Fix tests +### Fix -Signed-off-by: Niket <niket.shah1@ocado.com> +* fix: Add hijack tags to 500 template (#1220) -* Move generators up to cfl_common and some test helper functions +* fix: Add hijack tags to 500 template ([`3f21c7c`](https://github.com/ocadotechnology/codeforlife-portal/commit/3f21c7c59302d787147cfccaa3f3013ba874735a)) -Signed-off-by: Niket <niket.shah1@ocado.com> +## v3.0.3 (2020-05-04) -* Move more utilities and helpers to common +### Fix -Signed-off-by: Niket <niket.shah1@ocado.com> +* fix: missing student message and incorrect link on footer (#1219) -* Merge branch 'master' into class_based_games +* fix OT links -* move permissions utils into common +* Add student message back in after they log in -Signed-off-by: Niket <niket.shah1@ocado.com> +Signed-off-by: Niket <niket.shah1@ocado.com> ([`3478845`](https://github.com/ocadotechnology/codeforlife-portal/commit/3478845fe343796359df66318668782fd55ec386)) -* Fix imports so that common has no portal dependencies +## v3.0.2 (2020-05-04) -Signed-off-by: Niket <niket.shah1@ocado.com> +### Fix -* install local common +* fix: Fix dropdown highlighting bug (#1218) -Signed-off-by: Niket <niket.shah1@ocado.com> +* fix: Remove visited class from dropdown menu items ([`cdaf852`](https://github.com/ocadotechnology/codeforlife-portal/commit/cdaf852802264e3888e215ec9e042707c07c4c1c)) -* Update Pipfile to use the local version of common +## v3.0.1 (2020-05-04) -Signed-off-by: Niket <niket.shah1@ocado.com> +### Fix -* use the associated rapid router branch +* fix: Fix teacher login recaptcha issue (#1217) -Signed-off-by: Niket <niket.shah1@ocado.com> +* Update Ocado logo links -* install associated aimmo dep as well +* Make teacher form work with reCaptcha Signed-off-by: Niket <niket.shah1@ocado.com> -* remove todos for cases already handled - -Signed-off-by: Niket <niket.shah1@ocado.com> ([`8a33337`](https://github.com/ocadotechnology/codeforlife-portal/commit/8a333376a7c89cbb35091d0b5b57c99a099a2683)) - +* Clean imports -## v3.3.0 (2020-09-04) +* Fix tests -### Feature +* Remove unnecessary kvp ([`2f463ff`](https://github.com/ocadotechnology/codeforlife-portal/commit/2f463ffa3fefc3281d9c574c646d092f116cabef)) -* feat: Create hero card partial (#1250) +## v3.0.0 (2020-05-01) -* Create hero card inclusion tag +### Breaking -* Add href links to tag +* feat: Separate login forms (#1216) -* Add snapshot test +BREAKING CHANGE: single page login form gone, urls for that login form redirects to home -* Remove width prop from big card button +* Add three login options to new login dropdown -* SCSS syntax +* Make dropdown button behaviour consistent -* SCSS syntax +* teacher form on separate page without redirects for already logged in and 2FA -* Update card design +Signed-off-by: Niket <niket.shah1@ocado.com> -* Add docstrings to inclusion tags +* Mobile layouts + chevron arrows -* Update snapshot test ([`5597d16`](https://github.com/ocadotechnology/codeforlife-portal/commit/5597d16e36165e7d0df028c6468be54afd25d639)) +* Link up dropdown Teacher with teacher login page +Signed-off-by: Niket <niket.shah1@ocado.com> -## v3.2.1 (2020-08-27) +* redirect teachers to dashboard if they try to login again -### Fix +Signed-off-by: Niket <niket.shah1@ocado.com> -* fix: Secure requests with POST checks (#1247) +* Move dropdown item icons to right hand side -* Make GET requests POST where needed +* Update dropdown menus -* Make sure logic is executed only under POST request +* Merge branch 'separate_login_forms' of https://github.com/ocadotechnology/codeforlife-portal into separate_login_forms -* Upgrade Chromedriver +* Fix student mobile menu and copy to base_old -* test require_POST +* Modify privacy policy Signed-off-by: Niket <niket.shah1@ocado.com> -* Add test for organisation kick - -Signed-off-by: Niket <niket.shah1@ocado.com> +* Make dropdown text bold -* Use require_POST for teacher_delete_class +* Use two factor form for teacher login Signed-off-by: Niket <niket.shah1@ocado.com> -* Sort imports +* Merge branch 'separate_login_forms' of https://github.com/ocadotechnology/codeforlife-portal into separate_login_forms -Signed-off-by: Niket <niket.shah1@ocado.com> ([`c38df21`](https://github.com/ocadotechnology/codeforlife-portal/commit/c38df21a9cc396ca923436c65acd443545446738)) +* Add separate independent student login form + +Signed-off-by: Niket <niket.shah1@ocado.com> +* Update some links and copy on home page -## v3.2.0 (2020-08-20) +* Add separate student login page -### Feature +Signed-off-by: Niket <niket.shah1@ocado.com> -* feat: Use common package (#1232) +* Merge branch 'separate_login_forms' of https://github.com/ocadotechnology/codeforlife-portal into separate_login_forms -* Move models, create common module and migrations +* Update verification link to redirect to correct form -* Make common pypi package +* Merge branch 'separate_login_forms' of https://github.com/ocadotechnology/codeforlife-portal into separate_login_forms -* Make common pypi package part 2 +* Add student login links + fix other login links -* Rename migrations +* Fix teacher login flow not going to onboarding in certain cases -* Exclude common package from main package +Signed-off-by: Niket <niket.shah1@ocado.com> -* Build and upload common package in travis + use portal version +* Fix text_class tests to use teacher login page -* Update common folder name +Signed-off-by: Niket <niket.shah1@ocado.com> -* Merge branch 'master' into common-models-test +* make test_organisation use new teacher login page, however the email links still point to the old login page -# Conflicts: -# .travis.yml +Signed-off-by: Niket <niket.shah1@ocado.com> -* Install actual PyPi package +* Merge branch 'separate_login_forms' of https://github.com/ocadotechnology/codeforlife-portal into separate_login_forms -* Revert temp settings +* fix verify email links tests -* Update lock file +Signed-off-by: Niket <niket.shah1@ocado.com> -* Merge branch 'master' into common-models-test +* fix test_teacher_student -* Fix version of cfl-common to portal version +Signed-off-by: Niket <niket.shah1@ocado.com> -* Use correct models in migration +* Fix teacher form Signed-off-by: Niket <niket.shah1@ocado.com> -* show correct python version +* Update decorators to point to correct login pages + +* modify test_teacher tests to point to the new login form Signed-off-by: Niket <niket.shah1@ocado.com> -* Add migration test for portal +* Merge branch 'separate_login_forms' of https://github.com/ocadotechnology/codeforlife-portal into separate_login_forms -* Add check the models are under common +* fix email_messages.userAlreadyRegisteredEmail login url links -* Refactor model imports +Signed-off-by: Niket <niket.shah1@ocado.com> -* Bring back Guardian model +* Update indep duplication link + old bases -* update permissions required as they are now in common +* Change aimmo home redirect + fix login buttons backgrounds + +* fix independent student login tests Signed-off-by: Niket <niket.shah1@ocado.com> -* Merge branch 'master' into common-models-test +* fix student login tests -# Please enter a commit message to explain why this merge is necessary, -# especially if it merges an updated upstream into a topic branch. -# -# Lines starting with '#' will be ignored, and an empty message aborts -# the commit. +Signed-off-by: Niket <niket.shah1@ocado.com> -* Install RR branch +* Fix link and request errors in last failing tests -* Don't t-lib +* Remove old login view logic -* Add module docstring to migration +* Redirect old login form link to home page -* Try installing RR with -U +Signed-off-by: Niket <niket.shah1@ocado.com> -* Merge branch 'master' into common-models-test +* remove login_page pageobject -* Try to add branch config to see if it compares to master +Signed-off-by: Niket <niket.shah1@ocado.com> -* Remove branch parameter +* edit independent student login page text -* Merge branch 'master' into common-models-test +Signed-off-by: Niket <niket.shah1@ocado.com> -* Merge branch 'master' into common-models-test +* Add link from independent_student -> student back -* Merge branch 'master' into common-models-test +Signed-off-by: Niket <niket.shah1@ocado.com> -* Install normal RR ([`69af469`](https://github.com/ocadotechnology/codeforlife-portal/commit/69af46964a87f47e7695958cb7d77b5e137674b0)) +* remove unnecessary line +Signed-off-by: Niket <niket.shah1@ocado.com> -## v3.1.7 (2020-08-20) +* Fix CodeClimate issues -### Fix +* code review changes -* fix: Make cfl-common require Python 3.6 (#1238) +Signed-off-by: Niket <niket.shah1@ocado.com> -* fix: Make cfl-common require Python 3.6 +* Merge branch 'separate_login_forms' of https://github.com/ocadotechnology/codeforlife-portal into separate_login_forms -* Remove python requires ([`7ed805f`](https://github.com/ocadotechnology/codeforlife-portal/commit/7ed805fd81a9b4ef38d8248e6f5c945e8bc92691)) +* Use spacing unit +* Merge branch 'separate_login_forms' of https://github.com/ocadotechnology/codeforlife-portal into separate_login_forms -## v3.1.6 (2020-08-19) +* add spacing for the login button -### Fix +Signed-off-by: Niket <niket.shah1@ocado.com> -* fix: Run test stage not only on PR (#1237) +* Merge branch 'separate_login_forms' of https://github.com/ocadotechnology/codeforlife-portal into separate_login_forms -* fix: Run test stage not only on PR ([`8ba2ba2`](https://github.com/ocadotechnology/codeforlife-portal/commit/8ba2ba22d2b37ff7b03261b9af3913f7a1dd7408)) +* Remove testing code +Signed-off-by: Niket <niket.shah1@ocado.com> ([`1cf959a`](https://github.com/ocadotechnology/codeforlife-portal/commit/1cf959a23d65a12c57e53827f62471b890ba426a)) -## v3.1.5 (2020-08-19) +## v2.36.1 (2020-04-27) ### Fix -* fix: Replace curl with straight codecov command (#1236) - -* fix: Replace curl with straight codecov command +* fix: Improve school lookup and creation permissions (#1210) -* Install codecov ([`a7912c7`](https://github.com/ocadotechnology/codeforlife-portal/commit/a7912c7d6a0a100fb78fdd003e0bf63fa568c524)) +* Add teacher permission class to school lookup +* Add school name validation + test -## v3.1.4 (2020-08-18) +* Check number of schools doesn't change -### Fix +* Updated form message -* fix: Add install_requires to common package (#1235) +* Refactor school searching def -* fix: Add install_requires to common package +* Update variables for clarity ([`451105f`](https://github.com/ocadotechnology/codeforlife-portal/commit/451105f7fd9f5d7771f49236097210655de5d5c1)) -* Update Python version +## v2.36.0 (2020-04-17) -* Ignore setup and apps files for CodeCov +### Feature -* Dummy commit to reset Travis +* feat: Add Ocado Technology logo to navbar (#1207) -* Try putting ignore before comment +* Add logos and add to header -* Try glob +* put html in for new mobile nav -* Fix yaml syntax +Signed-off-by: Niket <niket.shah1@ocado.com> -* Try direct path files again +* Make OT logo responsive for desktop and tablets -* Try ignoring tests again and example project +* Merge remote-tracking branch 'refs/remotes/origin/add_ot_logo' -* Ignore more test files ([`ed50c06`](https://github.com/ocadotechnology/codeforlife-portal/commit/ed50c06c33b999b05b007c039494911a8d39d8a6)) +Conflicts: + portal/static/portal/sass/partials/_header.scss + portal/static/portal/sass/partials/_images.scss + portal/templates/portal/base.html +* Fix dropdown menu and old styles -## v3.1.3 (2020-08-13) +* Fix tablet / mobile layout crossover bug -### Fix +* Use spacing unit + remove home icon classes -* fix: Remove travis commit message condition (#1233) +* Add styling for mobile header -* fix: Remove travis commit message condition ([`6b0fb45`](https://github.com/ocadotechnology/codeforlife-portal/commit/6b0fb4552a801eceb63d48e4654c90f2bd36843b)) +Signed-off-by: Niket <niket.shah1@ocado.com> +* Merge branch 'add_ot_logo' of https://github.com/ocadotechnology/codeforlife-portal into add_ot_logo -## v3.1.2 (2020-08-12) +Signed-off-by: Niket <niket.shah1@ocado.com> -### Fix +# Conflicts: +# portal/static/portal/sass/partials/_header.scss -* fix: don't upload common package if already exists (#1231) +* adjust for ipad landscape -* fix: don't upload common package if already exists +Signed-off-by: Niket <niket.shah1@ocado.com> -* Only run deploy stage if commit message isn't the version number ([`ab0c051`](https://github.com/ocadotechnology/codeforlife-portal/commit/ab0c05177e7159076523ea3542b0f21bd8d45dcc)) +* add call to action on home learning page +Signed-off-by: Niket <niket.shah1@ocado.com> -## v3.1.1 (2020-08-07) +* edit copy on home learning page -### Fix +Signed-off-by: Niket <niket.shah1@ocado.com> -* fix: Rename common_utils references to cfl_common (#1230) +* Fix old styles and dropdown menu -* fix: Rename common_utils references to cfl_common ([`4f3c6fa`](https://github.com/ocadotechnology/codeforlife-portal/commit/4f3c6fa2cfbabbe36a3f3fbb7e2e7aade73f8055)) +* Merge branch 'add_ot_logo' of https://github.com/ocadotechnology/codeforlife-portal into add_ot_logo +* Use spacing units -## v3.1.0 (2020-08-07) +Signed-off-by: Niket <niket.shah1@ocado.com> -### Feature +* Remove background color properly in mobile header -* feat: Add common package (#1228) +Signed-off-by: Niket <niket.shah1@ocado.com> -* Create common package +* use more specific class names (with BEM) for header account details dropdown -* Upload common package to Pypi +Signed-off-by: Niket <niket.shah1@ocado.com> -* Remove unused files +* Remove logo-ocado as it’s not used -* Remove mistake setting +Signed-off-by: Niket <niket.shah1@ocado.com> -* Exclude unnecessary folders from portal package tar +* Use constants -* Remove irrelevant comments +Signed-off-by: Niket <niket.shah1@ocado.com> ([`6341b67`](https://github.com/ocadotechnology/codeforlife-portal/commit/6341b67adb1796c4dd420b95e4ecfdcfcaf90285)) -* Use portal init +## v2.35.3 (2020-04-14) -* Fix path to portal init +### Fix -* Rename common_utils to cfl_common ([`5f21be7`](https://github.com/ocadotechnology/codeforlife-portal/commit/5f21be79050f6f5ee79edaace8f7f7a65b793588)) +* fix: download lesson button links on home learning page (#1203) +* fix issues in home learning page -## v3.0.6 (2020-07-15) +Signed-off-by: Niket <niket.shah1@ocado.com> -### Chore +* remove hidden class in home learning banner on homepage -* chore(deps): bump psutil from 5.4.8 to 5.6.6 (#1222) +Signed-off-by: Niket <niket.shah1@ocado.com> -* chore(deps): bump psutil from 5.4.8 to 5.6.6 +* remove hidden in banner test too -Bumps [psutil](https://github.com/giampaolo/psutil) from 5.4.8 to 5.6.6. -- [Release notes](https://github.com/giampaolo/psutil/releases) -- [Changelog](https://github.com/giampaolo/psutil/blob/master/HISTORY.rst) -- [Commits](https://github.com/giampaolo/psutil/compare/release-5.4.8...release-5.6.6) +Signed-off-by: Niket <niket.shah1@ocado.com> ([`3b42ad2`](https://github.com/ocadotechnology/codeforlife-portal/commit/3b42ad2e4b7694892a5bcd3f34bda4fe553d6e4b)) -Signed-off-by: dependabot[bot] <support@github.com> ([`c8f1384`](https://github.com/ocadotechnology/codeforlife-portal/commit/c8f1384cf3be79b8dbc28d2af10d2e1c7581a725)) +## v2.35.2 (2020-04-14) ### Fix -* fix: Update copy in reset password page for independent student (#1225) +* fix: Improve admin pages (#1200) -* fix: Update copy in reset password page for independent student +* Replace problematic filter bars with column in table -* Reidrect logged in users to home when trying to view reset password page +* Merge branch 'master' into improve_admin_pages -* Revert teacher reset password redirect ([`93e9ac6`](https://github.com/ocadotechnology/codeforlife-portal/commit/93e9ac634c57bef07860754c666df0fcb2e04c16)) +* Merge branch 'master' into improve_admin_pages + +* Remove school filters and add search functionality +* Merge branch 'master' into improve_admin_pages -## v3.0.5 (2020-06-22) +* Merge branch 'improve_admin_pages' of https://github.com/ocadotechnology/codeforlife-portal into improve_admin_pages + +* Add school search to Teacher page ([`f80bcb5`](https://github.com/ocadotechnology/codeforlife-portal/commit/f80bcb594ab651a196890745968f8bc3dac2655b)) + +## v2.35.1 (2020-04-09) ### Fix -* fix: Update privacy policy to include Mouseflow and Freshdesk (#1221) +* fix: Update response landing page (#1201) -* Add copy about Mouseflow +* fix: Update response landing page -* Add Freshdesk links +* add other classes back to banner -* Remove SalesForce mention +Signed-off-by: Niket <niket.shah1@ocado.com> -* Replace Chromedriver +* fix test -* Chrome 83 ([`aade1d9`](https://github.com/ocadotechnology/codeforlife-portal/commit/aade1d9de73bc6e15c1fc4cc24c06853980c058d)) +Signed-off-by: Niket <niket.shah1@ocado.com> ([`72ff7e6`](https://github.com/ocadotechnology/codeforlife-portal/commit/72ff7e626ea8d74194935f8e4a94097ae0d77100)) +## v2.35.0 (2020-04-09) -## v3.0.4 (2020-05-04) +### Feature -### Fix +* feat: Integrate Google Tag manager (#1199) -* fix: Add hijack tags to 500 template (#1220) +* add google tag manager -* fix: Add hijack tags to 500 template ([`3f21c7c`](https://github.com/ocadotechnology/codeforlife-portal/commit/3f21c7c59302d787147cfccaa3f3013ba874735a)) +Signed-off-by: Niket <niket.shah1@ocado.com> +* hide home learning emssage by default -## v3.0.3 (2020-05-04) +Signed-off-by: Niket <niket.shah1@ocado.com> -### Fix +* include tag manager in base_old as well -* fix: missing student message and incorrect link on footer (#1219) +Signed-off-by: Niket <niket.shah1@ocado.com> -* fix OT links +* dev -> staging -* Add student message back in after they log in +Signed-off-by: Niket <niket.shah1@ocado.com> -Signed-off-by: Niket <niket.shah1@ocado.com> ([`3478845`](https://github.com/ocadotechnology/codeforlife-portal/commit/3478845fe343796359df66318668782fd55ec386)) +* update Chromedriver version +Signed-off-by: Niket <niket.shah1@ocado.com> -## v3.0.2 (2020-05-04) +* update test + +Signed-off-by: Niket <niket.shah1@ocado.com> ([`d3c564c`](https://github.com/ocadotechnology/codeforlife-portal/commit/d3c564c7e00934c58f831692a91fd2f5ddc8d2ff)) + +## v2.34.1 (2020-04-06) ### Fix -* fix: Fix dropdown highlighting bug (#1218) +* fix: Only show create game HTML to teachers (#1195) -* fix: Remove visited class from dropdown menu items ([`cdaf852`](https://github.com/ocadotechnology/codeforlife-portal/commit/cdaf852802264e3888e215ec9e042707c07c4c1c)) +* fix: Have create game controls HTML only for teachers +* Merge branch 'master' into hidden_create_form ([`e8c599d`](https://github.com/ocadotechnology/codeforlife-portal/commit/e8c599d8a5d0da8abc0af042a71082ced378a787)) -## v3.0.1 (2020-05-04) +## v2.34.0 (2020-04-03) -### Fix +### Feature -* fix: Fix teacher login recaptcha issue (#1217) +* feat: Covid-19 response page (#1194) -* Update Ocado logo links +* Add banner -* Make teacher form work with reCaptcha +* Implement general page structure and content -Signed-off-by: Niket <niket.shah1@ocado.com> +* Add cards grids -* Clean imports +* Add tips SVGs -* Fix tests +* Add links to ZIP files -* Remove unnecessary kvp ([`2f463ff`](https://github.com/ocadotechnology/codeforlife-portal/commit/2f463ffa3fefc3281d9c574c646d092f116cabef)) +* Make layout responsive +* Fix iPad / phone breakpoint overlap -## v3.0.0 (2020-05-01) +* Fix padding issues -### Breaking +* Black and remove deprecated view -* feat: Separate login forms (#1216) +* Remove deprecated class and image -BREAKING CHANGE: single page login form gone, urls for that login form redirects to home +* Fix CodeClimate issues -* Add three login options to new login dropdown +* Replace fr with auto -* Make dropdown button behaviour consistent +* Change grey background to be lighter -* teacher form on separate page without redirects for already logged in and 2FA +* Use dash in URL -Signed-off-by: Niket <niket.shah1@ocado.com> +* Revert to 1fr and fix breakpoint -* Mobile layouts + chevron arrows +* Update content + +* Rename banner in view + +* Properly fix breakpoint issue + +* Add link to button -* Link up dropdown Teacher with teacher login page +* CSS fixes -Signed-off-by: Niket <niket.shah1@ocado.com> +* Revert breakpoint changes -* redirect teachers to dashboard if they try to login again +* Used class for h4 -Signed-off-by: Niket <niket.shah1@ocado.com> +* Rename elements according the BEM -* Move dropdown item icons to right hand side +* Add test ([`a330b5e`](https://github.com/ocadotechnology/codeforlife-portal/commit/a330b5ea61fc400f166d06a072adccadd87874f3)) -* Update dropdown menus +## v2.33.0 (2020-03-24) -* Merge branch 'separate_login_forms' of https://github.com/ocadotechnology/codeforlife-portal into separate_login_forms +### Feature -* Fix student mobile menu and copy to base_old +* feat: Add freshdesk help widget on help and support page and remove old form (#1186) -* Modify privacy policy +* Add freshdesk help widget on help and support page and remove old form Signed-off-by: Niket <niket.shah1@ocado.com> -* Make dropdown text bold - -* Use two factor form for teacher login +* run black Signed-off-by: Niket <niket.shah1@ocado.com> -* Merge branch 'separate_login_forms' of https://github.com/ocadotechnology/codeforlife-portal into separate_login_forms - -* Add separate independent student login form +* Remove additional code for the previous support email logic Signed-off-by: Niket <niket.shah1@ocado.com> -* Update some links and copy on home page - -* Add separate student login page +* Add CONTACT_FORM_EMAILS back in Signed-off-by: Niket <niket.shah1@ocado.com> -* Merge branch 'separate_login_forms' of https://github.com/ocadotechnology/codeforlife-portal into separate_login_forms +* Show the contact us form on all pages -* Update verification link to redirect to correct form +hidden by default but will show when you click on a “contact us” link -* Merge branch 'separate_login_forms' of https://github.com/ocadotechnology/codeforlife-portal into separate_login_forms +shows by default on the help and support page (i.e. unhidden) -* Add student login links + fix other login links +Signed-off-by: Niket <niket.shah1@ocado.com> ([`caa0750`](https://github.com/ocadotechnology/codeforlife-portal/commit/caa0750e6679a27d6f644a2ea72f17fbb9d18501)) -* Fix teacher login flow not going to onboarding in certain cases +## v2.32.1 (2020-03-13) -Signed-off-by: Niket <niket.shah1@ocado.com> +### Fix -* Fix text_class tests to use teacher login page +* fix: Unimported module caused 2FA cache not to clear (#1182) -Signed-off-by: Niket <niket.shah1@ocado.com> +* fix: Unimported module caused 2FA cache not to clear -* make test_organisation use new teacher login page, however the email links still point to the old login page +Signed-off-by: Niket <niket.shah1@ocado.com> ([`5ca9d61`](https://github.com/ocadotechnology/codeforlife-portal/commit/5ca9d6106ef7e95b0cd65d62d2a80efb785f657d)) -Signed-off-by: Niket <niket.shah1@ocado.com> +## v2.32.0 (2020-03-13) -* Merge branch 'separate_login_forms' of https://github.com/ocadotechnology/codeforlife-portal into separate_login_forms +### Feature -* fix verify email links tests +* feat: Upload new Kurono worksheets (#1178) -Signed-off-by: Niket <niket.shah1@ocado.com> +* feat: Upload new Kurono worksheets -* fix test_teacher_student +* Merge branch 'master' into upload_new_kurono_worksheets -Signed-off-by: Niket <niket.shah1@ocado.com> +* Make view in CreateView ([`1060bd8`](https://github.com/ocadotechnology/codeforlife-portal/commit/1060bd8ad44cf46b2d56888ac6e7a23e2a73973a)) -* Fix teacher form +## v2.31.0 (2020-03-10) -Signed-off-by: Niket <niket.shah1@ocado.com> +### Feature -* Update decorators to point to correct login pages +* feat: Dotmailer integration (#1168) -* modify test_teacher tests to point to the new login form +* update pipfile.lock -Signed-off-by: Niket <niket.shah1@ocado.com> +Signed-off-by: Niket Shah <masterniket@gmail.com> -* Merge branch 'separate_login_forms' of https://github.com/ocadotechnology/codeforlife-portal into separate_login_forms +* Replace add_to_salesforce with add_to_dotmailer -* fix email_messages.userAlreadyRegisteredEmail login url links +Signed-off-by: Niket Shah <masterniket@gmail.com> -Signed-off-by: Niket <niket.shah1@ocado.com> +* inject dotmailer preferences through settings -* Update indep duplication link + old bases +Signed-off-by: Niket Shah <masterniket@gmail.com> -* Change aimmo home redirect + fix login buttons backgrounds +* add pytest-mock -* fix independent student login tests +Signed-off-by: Niket Shah <masterniket@gmail.com> -Signed-off-by: Niket <niket.shah1@ocado.com> +* add test for add_to_dotmailer -* fix student login tests +Signed-off-by: Niket Shah <masterniket@gmail.com> -Signed-off-by: Niket <niket.shah1@ocado.com> +* run black -* Fix link and request errors in last failing tests +Signed-off-by: Niket Shah <masterniket@gmail.com> -* Remove old login view logic +* Merge branch 'master' into dotmailer_integration -* Redirect old login form link to home page +Signed-off-by: Niket Shah <masterniket@gmail.com> -Signed-off-by: Niket <niket.shah1@ocado.com> +# Conflicts: +# Pipfile.lock -* remove login_page pageobject +* Merge branch 'master' into dotmailer_integration ([`5946d97`](https://github.com/ocadotechnology/codeforlife-portal/commit/5946d976390f2b3cdb3279da46c8a153c570c0c2)) -Signed-off-by: Niket <niket.shah1@ocado.com> +## v2.30.1 (2020-03-10) -* edit independent student login page text +### Fix -Signed-off-by: Niket <niket.shah1@ocado.com> +* fix: Remove ratelimit (#1177) -* Add link from independent_student -> student back +* fix: Remove ratelimit -Signed-off-by: Niket <niket.shah1@ocado.com> +Signed-off-by: Niket Shah <masterniket@gmail.com> ([`31731d5`](https://github.com/ocadotechnology/codeforlife-portal/commit/31731d5d3af8c5c00f89d280ab11de613000e4ee)) -* remove unnecessary line +## v2.30.0 (2020-03-05) -Signed-off-by: Niket <niket.shah1@ocado.com> +### Feature -* Fix CodeClimate issues +* feat: Add django-hijack to admin pages (#1173) -* code review changes +* Test django-hijack -Signed-off-by: Niket <niket.shah1@ocado.com> +* Make hijack subnav fit with our styles -* Merge branch 'separate_login_forms' of https://github.com/ocadotechnology/codeforlife-portal into separate_login_forms +* Move hijack buttons to individual models -* Use spacing unit +* Remove front page news model -* Merge branch 'separate_login_forms' of https://github.com/ocadotechnology/codeforlife-portal into separate_login_forms +* Make migration -* add spacing for the login button +* Install modules -Signed-off-by: Niket <niket.shah1@ocado.com> +* Merge branch 'master' into test_django_hijack -* Merge branch 'separate_login_forms' of https://github.com/ocadotechnology/codeforlife-portal into separate_login_forms +# Conflicts: +# portal/admin.py +# portal/models.py -* Remove testing code +* Disable logout button when hijacked -Signed-off-by: Niket <niket.shah1@ocado.com> ([`1cf959a`](https://github.com/ocadotechnology/codeforlife-portal/commit/1cf959a23d65a12c57e53827f62471b890ba426a)) +* Fix versions and run Black +* Add migration test ([`6d2aa16`](https://github.com/ocadotechnology/codeforlife-portal/commit/6d2aa1690fa99db624e60a6df57fbf01c9a84f64)) -## v2.36.1 (2020-04-27) +## v2.29.12 (2020-03-05) ### Fix -* fix: Improve school lookup and creation permissions (#1210) +* fix: Replace __unicode__ with __str__ in models (#1172) -* Add teacher permission class to school lookup +* fix: Replace __unicode__ with __str__ in models -* Add school name validation + test +* Run Black -* Check number of schools doesn't change +* Revert to random username + add more model filters ([`87ce52e`](https://github.com/ocadotechnology/codeforlife-portal/commit/87ce52e28e07b9ef9cd44a506b7564cf6a36bc5a)) -* Updated form message +## v2.29.11 (2020-02-25) -* Refactor school searching def +### Fix -* Update variables for clarity ([`451105f`](https://github.com/ocadotechnology/codeforlife-portal/commit/451105f7fd9f5d7771f49236097210655de5d5c1)) +* fix: Use same logic as aimmo for game creation (#1167) +* fix: Use same logic as aimmo for game creation -## v2.36.0 (2020-04-17) +* Try manually installing latest aimmo to see if that's the problem -### Feature +* Install latest versions of aimmo and rapid-router in Travis ([`2a936d5`](https://github.com/ocadotechnology/codeforlife-portal/commit/2a936d54cd6e0582ffefe31511ce37f7922c646c)) -* feat: Add Ocado Technology logo to navbar (#1207) +## v2.29.10 (2020-02-19) -* Add logos and add to header +### Fix -* put html in for new mobile nav +* fix: Strengthen random password generator (#1165) -Signed-off-by: Niket <niket.shah1@ocado.com> +* fix: Strengthen random password generator ([`a4a3290`](https://github.com/ocadotechnology/codeforlife-portal/commit/a4a3290e95c8e3deea9669f55f46d25b34a05f0d)) -* Make OT logo responsive for desktop and tablets +## v2.29.9 (2020-02-19) -* Merge remote-tracking branch 'refs/remotes/origin/add_ot_logo' +### Chore -Conflicts: - portal/static/portal/sass/partials/_header.scss - portal/static/portal/sass/partials/_images.scss - portal/templates/portal/base.html +* chore: Remove GAE mail setup (#1159) -* Fix dropdown menu and old styles +* chore: Remove GAE mail setup -* Fix tablet / mobile layout crossover bug +* Merge branch 'master' into remove_gae_mail ([`4189cf4`](https://github.com/ocadotechnology/codeforlife-portal/commit/4189cf44ef47b18b1d8ca5163fb4e3a02e9220e3)) -* Use spacing unit + remove home icon classes +### Fix -* Add styling for mobile header +* fix: Install latest version of python-semantic-release (#1163) -Signed-off-by: Niket <niket.shah1@ocado.com> +* fix: Install latest version of python-semantic-release ([`41443e1`](https://github.com/ocadotechnology/codeforlife-portal/commit/41443e196ff95587b111258c3b7215cda90cddba)) -* Merge branch 'add_ot_logo' of https://github.com/ocadotechnology/codeforlife-portal into add_ot_logo +* fix: Update independent registration workflow (#1162) -Signed-off-by: Niket <niket.shah1@ocado.com> +* fix: Update independent registration workflow -# Conflicts: -# portal/static/portal/sass/partials/_header.scss +* Fix complexity issue ([`c61dedb`](https://github.com/ocadotechnology/codeforlife-portal/commit/c61dedb11add8314467c5eb140318b1d0ada0af1)) -* adjust for ipad landscape +## v2.29.8 (2020-02-10) -Signed-off-by: Niket <niket.shah1@ocado.com> +### Documentation -* add call to action on home learning page +* docs: added life cycle of a code change docs (#1156) -Signed-off-by: Niket <niket.shah1@ocado.com> +* added life cycle of a code change docs -* edit copy on home learning page +* Add semantic release link to doc -Signed-off-by: Niket <niket.shah1@ocado.com> +* Remove outdated docs -* Fix old styles and dropdown menu +* Link docs together ([`536c13d`](https://github.com/ocadotechnology/codeforlife-portal/commit/536c13d8ebe9d3f6947cfdac454a0029759d8d99)) -* Merge branch 'add_ot_logo' of https://github.com/ocadotechnology/codeforlife-portal into add_ot_logo +### Fix -* Use spacing units +* fix: Remove encoding of email message (#1158) -Signed-off-by: Niket <niket.shah1@ocado.com> +* fix: Remove encoding and add test ([`a01a6df`](https://github.com/ocadotechnology/codeforlife-portal/commit/a01a6df4006c68d1534379e1af655e380c35cd68)) -* Remove background color properly in mobile header +### Unknown -Signed-off-by: Niket <niket.shah1@ocado.com> +* 2.29.8 ([`a286f4c`](https://github.com/ocadotechnology/codeforlife-portal/commit/a286f4cdde153f4768a683f7aa5b95eb542ae8c0)) -* use more specific class names (with BEM) for header account details dropdown +## v2.29.7 (2020-01-07) -Signed-off-by: Niket <niket.shah1@ocado.com> +### Fix -* Remove logo-ocado as it’s not used +* fix: updated copy (#1154) -Signed-off-by: Niket <niket.shah1@ocado.com> +* changed copies with no links -* Use constants +* added links to copy -Signed-off-by: Niket <niket.shah1@ocado.com> ([`6341b67`](https://github.com/ocadotechnology/codeforlife-portal/commit/6341b67adb1796c4dd420b95e4ecfdcfcaf90285)) +* Revert "added links to copy" +This reverts commit 8796c1b0a62387fbe03ac6a190e8a77e6da49e45. -## v2.35.3 (2020-04-14) +* Merge branch 'master' into update_copy -### Fix +* Revert "Revert "added links to copy"" -* fix: download lesson button links on home learning page (#1203) +This reverts commit 5c82d05225eca4133732f25fadda4cbe8cecedd0. -* fix issues in home learning page +* added links to image and video -Signed-off-by: Niket <niket.shah1@ocado.com> +* removed "safe" on headline html ([`2eba29f`](https://github.com/ocadotechnology/codeforlife-portal/commit/2eba29fa7275948f728fd18cc150e2826a049592)) -* remove hidden class in home learning banner on homepage +### Unknown -Signed-off-by: Niket <niket.shah1@ocado.com> +* 2.29.7 ([`0fcfb6f`](https://github.com/ocadotechnology/codeforlife-portal/commit/0fcfb6f501f316a740aecd8d6900b359462f02da)) -* remove hidden in banner test too +## v2.29.6 (2020-01-02) -Signed-off-by: Niket <niket.shah1@ocado.com> ([`3b42ad2`](https://github.com/ocadotechnology/codeforlife-portal/commit/3b42ad2e4b7694892a5bcd3f34bda4fe553d6e4b)) +### Fix + +* fix: Secure API URLs (#1151) + +* fix: Make API URLs need admin login ([`f1d8c75`](https://github.com/ocadotechnology/codeforlife-portal/commit/f1d8c75626ac38a3c4842041349c2d05ea62f2dd)) + +### Unknown +* 2.29.6 ([`3b4fdeb`](https://github.com/ocadotechnology/codeforlife-portal/commit/3b4fdeb6efd9145b2be7140548d4c7370a21a686)) -## v2.35.2 (2020-04-14) +## v2.29.5 (2019-12-31) ### Fix -* fix: Improve admin pages (#1200) - -* Replace problematic filter bars with column in table +* fix: Remove reports module (#1150) -* Merge branch 'master' into improve_admin_pages +* fix: Remove reports module ([`039c699`](https://github.com/ocadotechnology/codeforlife-portal/commit/039c69928401d3f8d42b6a89d291b2bb02be5270)) -* Merge branch 'master' into improve_admin_pages +### Unknown -* Remove school filters and add search functionality +* 2.29.5 ([`0c80acd`](https://github.com/ocadotechnology/codeforlife-portal/commit/0c80acd7997bc9ebb8f338fe7e9356f0fc32896c)) -* Merge branch 'master' into improve_admin_pages +## v2.29.4 (2019-12-31) -* Merge branch 'improve_admin_pages' of https://github.com/ocadotechnology/codeforlife-portal into improve_admin_pages +### Fix -* Add school search to Teacher page ([`f80bcb5`](https://github.com/ocadotechnology/codeforlife-portal/commit/f80bcb594ab651a196890745968f8bc3dac2655b)) +* fix: Remove bytestring (#1149) +* fix: Remove bytestring -## v2.35.1 (2020-04-09) +* Run 2.7 and 3.6 Python tests -### Fix +* Remove Python 2.7 stage in travis and add classifiers in setup.py -* fix: Update response landing page (#1201) +* Use str builtin -* fix: Update response landing page +* Get rapid router master and get latest version of semantic release -* add other classes back to banner +* update Pipfile.lock -Signed-off-by: Niket <niket.shah1@ocado.com> +Signed-off-by: Niket Shah <masterniket@gmail.com> -* fix test +* Fix help and support email form -Signed-off-by: Niket <niket.shah1@ocado.com> ([`72ff7e6`](https://github.com/ocadotechnology/codeforlife-portal/commit/72ff7e626ea8d74194935f8e4a94097ae0d77100)) +* Update expectation of accented name test +* Updated Chromedriver + selenium version -## v2.35.0 (2020-04-09) +* Upgrade pytest and pytest-django -### Feature +* Upgrade pytest and pytest-django pt 2 -* feat: Integrate Google Tag manager (#1199) +* Add stable Chrome version to travis -* add google tag manager +* stop after one failure Signed-off-by: Niket <niket.shah1@ocado.com> -* hide home learning emssage by default +* print page source Signed-off-by: Niket <niket.shah1@ocado.com> -* include tag manager in base_old as well +* see if sleep fixes Signed-off-by: Niket <niket.shah1@ocado.com> -* dev -> staging +* enable debug Signed-off-by: Niket <niket.shah1@ocado.com> -* update Chromedriver version +* enable captcha on admin login form Signed-off-by: Niket <niket.shah1@ocado.com> -* update test - -Signed-off-by: Niket <niket.shah1@ocado.com> ([`d3c564c`](https://github.com/ocadotechnology/codeforlife-portal/commit/d3c564c7e00934c58f831692a91fd2f5ddc8d2ff)) - +* increase sleep time -## v2.34.1 (2020-04-06) +Signed-off-by: Niket <niket.shah1@ocado.com> -### Fix +* try headless chrome -* fix: Only show create game HTML to teachers (#1195) +Signed-off-by: Niket <niket.shah1@ocado.com> -* fix: Have create game controls HTML only for teachers +* remove debugging code in forbidden page -* Merge branch 'master' into hidden_create_form ([`e8c599d`](https://github.com/ocadotechnology/codeforlife-portal/commit/e8c599d8a5d0da8abc0af042a71082ced378a787)) +Signed-off-by: Niket <niket.shah1@ocado.com> +* see how many tests fail -## v2.34.0 (2020-04-03) +Signed-off-by: Niket <niket.shah1@ocado.com> -### Feature +* add time.sleep -* feat: Covid-19 response page (#1194) +Signed-off-by: Niket <niket.shah1@ocado.com> -* Add banner +* run black and enable captcha for admin login tests -* Implement general page structure and content +Signed-off-by: Niket <niket.shah1@ocado.com> -* Add cards grids +* remove nonexistent method (removed in previous commit) -* Add tips SVGs +Signed-off-by: Niket <niket.shah1@ocado.com> ([`8d5cca3`](https://github.com/ocadotechnology/codeforlife-portal/commit/8d5cca319c244baa859db108193da18e330cf332)) -* Add links to ZIP files +### Unknown -* Make layout responsive +* 2.29.4 ([`fd0eac1`](https://github.com/ocadotechnology/codeforlife-portal/commit/fd0eac1a2bfdafc10c813d346323d637d84cc9f6)) -* Fix iPad / phone breakpoint overlap +## v2.29.3 (2019-12-20) -* Fix padding issues +### Fix -* Black and remove deprecated view +* fix: uninstalled urllib3 (#1145) -* Remove deprecated class and image +* fix: uninstalled urllib3 -* Fix CodeClimate issues +* Merge branch 'master' into upgrade_urllib3 -* Replace fr with auto +* Update requests to latest version ([`98beac2`](https://github.com/ocadotechnology/codeforlife-portal/commit/98beac2d69bb270aec465755f935ee5a70ee9789)) -* Change grey background to be lighter +### Unknown -* Use dash in URL +* 2.29.3 ([`eb477e4`](https://github.com/ocadotechnology/codeforlife-portal/commit/eb477e408a72b7df2d3d61ae73acac03b1ead7cd)) -* Revert to 1fr and fix breakpoint +## v2.29.2 (2019-12-20) -* Update content +### Fix -* Rename banner in view +* fix: Fix capitalisation of PDF names (#1147) -* Properly fix breakpoint issue +* fix: Fix capitalisation of PDF names ([`4688f91`](https://github.com/ocadotechnology/codeforlife-portal/commit/4688f91c434a79dab696c363db5eb74e93d9f303)) -* Add link to button +### Unknown -* CSS fixes +* 2.29.2 ([`233fe3f`](https://github.com/ocadotechnology/codeforlife-portal/commit/233fe3f1d15dc02707b1e0918d6433d12a27bb10)) -* Revert breakpoint changes +## v2.29.1 (2019-12-18) -* Used class for h4 +### Fix -* Rename elements according the BEM +* fix: Fix captcha login error (#1143) -* Add test ([`a330b5e`](https://github.com/ocadotechnology/codeforlife-portal/commit/a330b5ea61fc400f166d06a072adccadd87874f3)) +* enable captcha for tests +so we can test the correct logic -## v2.33.0 (2020-03-24) +Signed-off-by: Niket Shah <masterniket@gmail.com> -### Feature +* remove get_project_version as it was not working -* feat: Add freshdesk help widget on help and support page and remove old form (#1186) +Signed-off-by: Niket Shah <masterniket@gmail.com> -* Add freshdesk help widget on help and support page and remove old form +* Show login and registration captcha in tests -Signed-off-by: Niket <niket.shah1@ocado.com> +Signed-off-by: Niket Shah <masterniket@gmail.com> -* run black +* wait for error message to show in login tests -Signed-off-by: Niket <niket.shah1@ocado.com> +Signed-off-by: Niket Shah <masterniket@gmail.com> -* Remove additional code for the previous support email logic +* send something as a response for recaptcha when logging in (in tests) -Signed-off-by: Niket <niket.shah1@ocado.com> +Signed-off-by: Niket Shah <masterniket@gmail.com> -* Add CONTACT_FORM_EMAILS back in +* Sleep longer -Signed-off-by: Niket <niket.shah1@ocado.com> +Signed-off-by: Niket Shah <masterniket@gmail.com> -* Show the contact us form on all pages +* Merge branch 'master' into fix_recaptcha_ui ([`cbd699c`](https://github.com/ocadotechnology/codeforlife-portal/commit/cbd699cc75fa0ae1785f8ae767205eb28d432073)) -hidden by default but will show when you click on a “contact us” link +### Unknown -shows by default on the help and support page (i.e. unhidden) +* 2.29.1 ([`c43aff7`](https://github.com/ocadotechnology/codeforlife-portal/commit/c43aff7bed8fde183f934467608ba208fd28cf70)) -Signed-off-by: Niket <niket.shah1@ocado.com> ([`caa0750`](https://github.com/ocadotechnology/codeforlife-portal/commit/caa0750e6679a27d6f644a2ea72f17fbb9d18501)) +## v2.29.0 (2019-12-17) +### Feature -## v2.32.1 (2020-03-13) +* feat: upgraded reportlab to 3.5.32 (#1144) -### Fix +* upgraded reportlab to 3.5.32 -* fix: Unimported module caused 2FA cache not to clear (#1182) +* dummy commit ([`925acc3`](https://github.com/ocadotechnology/codeforlife-portal/commit/925acc3ae3b4a0b8305fe716add57e1a0b3c250d)) -* fix: Unimported module caused 2FA cache not to clear +### Unknown -Signed-off-by: Niket <niket.shah1@ocado.com> ([`5ca9d61`](https://github.com/ocadotechnology/codeforlife-portal/commit/5ca9d6106ef7e95b0cd65d62d2a80efb785f657d)) +* 2.29.0 ([`07b4a1f`](https://github.com/ocadotechnology/codeforlife-portal/commit/07b4a1fffc422331a6f012263919466592b8ff61)) +## v2.28.1 (2019-12-16) -## v2.32.0 (2020-03-13) +### Fix -### Feature +* fix: Remove django-appconf (#1142) -* feat: Upload new Kurono worksheets (#1178) +* fix: Remove django-appconf -* feat: Upload new Kurono worksheets +* Merge branch 'master' into remove_appconf -* Merge branch 'master' into upload_new_kurono_worksheets +# Conflicts: +# Pipfile.lock ([`fcfda11`](https://github.com/ocadotechnology/codeforlife-portal/commit/fcfda1111b3c608a93bd6ca4bce19135b226cb40)) -* Make view in CreateView ([`1060bd8`](https://github.com/ocadotechnology/codeforlife-portal/commit/1060bd8ad44cf46b2d56888ac6e7a23e2a73973a)) +### Unknown +* 2.28.1 ([`70f4da0`](https://github.com/ocadotechnology/codeforlife-portal/commit/70f4da095bc605a27a33b603863a473c12ec003f)) -## v2.31.0 (2020-03-10) +## v2.28.0 (2019-12-16) ### Feature -* feat: Dotmailer integration (#1168) - -* update pipfile.lock - -Signed-off-by: Niket Shah <masterniket@gmail.com> - -* Replace add_to_salesforce with add_to_dotmailer - -Signed-off-by: Niket Shah <masterniket@gmail.com> +* feat: upgraded django-two-factor-auth to 1.9.1 (#1141) -* inject dotmailer preferences through settings +* upgraded django-two-factor-auth to 1.9.1 -Signed-off-by: Niket Shah <masterniket@gmail.com> +* dummy commit ([`b9b738c`](https://github.com/ocadotechnology/codeforlife-portal/commit/b9b738c84e0ed792e28aff8076a90c9d99a0a95e)) -* add pytest-mock +### Unknown -Signed-off-by: Niket Shah <masterniket@gmail.com> +* 2.28.0 ([`2900caa`](https://github.com/ocadotechnology/codeforlife-portal/commit/2900caaa9f6edfb64f03e59bd449ba34cf2d008c)) -* add test for add_to_dotmailer +## v2.27.4 (2019-12-16) -Signed-off-by: Niket Shah <masterniket@gmail.com> +### Fix -* run black +* fix: remove django jquery (#1140) -Signed-off-by: Niket Shah <masterniket@gmail.com> +* removed django-jquery, but it's a rapid router dependency -* Merge branch 'master' into dotmailer_integration +* removed django-query from lock file -Signed-off-by: Niket Shah <masterniket@gmail.com> +* Merge branch 'master' into remove_django_jquery -# Conflicts: -# Pipfile.lock +* removed jquery from autoconfig ([`32ef3d0`](https://github.com/ocadotechnology/codeforlife-portal/commit/32ef3d08a50f3d50dbe60d07edaecc645ba55a4d)) -* Merge branch 'master' into dotmailer_integration ([`5946d97`](https://github.com/ocadotechnology/codeforlife-portal/commit/5946d976390f2b3cdb3279da46c8a153c570c0c2)) +### Unknown +* 2.27.4 ([`5071ba5`](https://github.com/ocadotechnology/codeforlife-portal/commit/5071ba55ea81f6280bf0e1dc355590adc7da19e0)) -## v2.30.1 (2020-03-10) +## v2.27.3 (2019-12-16) ### Fix -* fix: Remove ratelimit (#1177) +* fix: cache templates with version (#1139) -* fix: Remove ratelimit +* fix: cache templates with version -Signed-off-by: Niket Shah <masterniket@gmail.com> ([`31731d5`](https://github.com/ocadotechnology/codeforlife-portal/commit/31731d5d3af8c5c00f89d280ab11de613000e4ee)) +Signed-off-by: Niket Shah <masterniket@gmail.com> +* Merge branch 'master' into cache_templates_with_version ([`8236127`](https://github.com/ocadotechnology/codeforlife-portal/commit/823612729eee61ae15bb9394b91c670b2a658bbb)) -## v2.30.0 (2020-03-05) +### Unknown -### Feature +* 2.27.3 ([`7afb7c7`](https://github.com/ocadotechnology/codeforlife-portal/commit/7afb7c7c903a9ccc01e5c3f934d3859c3fb97239)) -* feat: Add django-hijack to admin pages (#1173) +## v2.27.2 (2019-12-16) -* Test django-hijack +### Fix -* Make hijack subnav fit with our styles +* fix: Remove django-forms-bootstrap from portal (#1138) -* Move hijack buttons to individual models +* fix: Remove django-forms-bootstrap from portal -* Remove front page news model +Unused dependency -* Make migration +Signed-off-by: Niket Shah <masterniket@gmail.com> ([`070e0cc`](https://github.com/ocadotechnology/codeforlife-portal/commit/070e0cc71b6ed81cf82ffaa0a34da9ab1b5e71c8)) -* Install modules +### Unknown -* Merge branch 'master' into test_django_hijack +* 2.27.2 ([`e52e59c`](https://github.com/ocadotechnology/codeforlife-portal/commit/e52e59c1efba9033da39d3d92c78aa432a5ac3ba)) -# Conflicts: -# portal/admin.py -# portal/models.py +## v2.27.1 (2019-12-13) -* Disable logout button when hijacked +### Fix -* Fix versions and run Black +* fix: Redirect school students to dashboard when access indep page (#1130) + +* fix: Redirect school students to dashboard if they try to access the join school page -* Add migration test ([`6d2aa16`](https://github.com/ocadotechnology/codeforlife-portal/commit/6d2aa1690fa99db624e60a6df57fbf01c9a84f64)) +* Merge branch 'master' into redirect_new_joined_student +* Merge branch 'master' into redirect_new_joined_student -## v2.29.12 (2020-03-05) +* Merge branch 'master' into redirect_new_joined_student ([`2609aac`](https://github.com/ocadotechnology/codeforlife-portal/commit/2609aac48da28b115b9ca9dcdc236e07d1453517)) -### Fix +### Unknown -* fix: Replace __unicode__ with __str__ in models (#1172) +* 2.27.1 ([`b205621`](https://github.com/ocadotechnology/codeforlife-portal/commit/b2056213add651bd01cb71a449626dfb8dbbdf96)) -* fix: Replace __unicode__ with __str__ in models +## v2.27.0 (2019-12-13) -* Run Black +### Feature -* Revert to random username + add more model filters ([`87ce52e`](https://github.com/ocadotechnology/codeforlife-portal/commit/87ce52e28e07b9ef9cd44a506b7564cf6a36bc5a)) +* feat: Upgrade django recaptcha (#1131) +* Remove ratelimit on captchas -## v2.29.11 (2020-02-25) +Signed-off-by: Niket <niket.shah1@ocado.com> -### Fix +* Merge branch 'master' into upgrade_django_recaptcha -* fix: Use same logic as aimmo for game creation (#1167) +* Upgrade to Django Recaptcha and Invisible Recaptha V2 -* fix: Use same logic as aimmo for game creation +Signed-off-by: Niket <niket.shah1@ocado.com> -* Try manually installing latest aimmo to see if that's the problem +* Merge branch 'master' into upgrade_django_recaptcha -* Install latest versions of aimmo and rapid-router in Travis ([`2a936d5`](https://github.com/ocadotechnology/codeforlife-portal/commit/2a936d54cd6e0582ffefe31511ce37f7922c646c)) +Signed-off-by: Niket <niket.shah1@ocado.com> +# Conflicts: +# Pipfile.lock -## v2.29.10 (2020-02-19) +* Make tests pass -### Fix +Signed-off-by: Niket <niket.shah1@ocado.com> -* fix: Strengthen random password generator (#1165) +* Merge branch 'master' into upgrade_django_recaptcha -* fix: Strengthen random password generator ([`a4a3290`](https://github.com/ocadotechnology/codeforlife-portal/commit/a4a3290e95c8e3deea9669f55f46d25b34a05f0d)) +Signed-off-by: Niket <niket.shah1@ocado.com> +# Conflicts: +# Pipfile.lock -## v2.29.9 (2020-02-19) +* update Pipfile -### Chore +Signed-off-by: Niket <niket.shah1@ocado.com> -* chore: Remove GAE mail setup (#1159) +* Run black formatter -* chore: Remove GAE mail setup +Signed-off-by: Niket <niket.shah1@ocado.com> ([`518ea50`](https://github.com/ocadotechnology/codeforlife-portal/commit/518ea50b2152011d4e3984dfc7b125e8d610a4a1)) -* Merge branch 'master' into remove_gae_mail ([`4189cf4`](https://github.com/ocadotechnology/codeforlife-portal/commit/4189cf44ef47b18b1d8ca5163fb4e3a02e9220e3)) +### Unknown -### Fix +* 2.27.0 ([`d0449f7`](https://github.com/ocadotechnology/codeforlife-portal/commit/d0449f75836ebf391053d7f83623990b92804c05)) -* fix: Install latest version of python-semantic-release (#1163) +## v2.26.1 (2019-12-13) -* fix: Install latest version of python-semantic-release ([`41443e1`](https://github.com/ocadotechnology/codeforlife-portal/commit/41443e196ff95587b111258c3b7215cda90cddba)) +### Fix -* fix: Update independent registration workflow (#1162) +* fix: Remove docutils from Pipfile.lock (#1128) -* fix: Update independent registration workflow +* fix: lock file to remove docutils ([`ffcf583`](https://github.com/ocadotechnology/codeforlife-portal/commit/ffcf5838ff07a00c6d610564e41cde011d81572a)) -* Fix complexity issue ([`c61dedb`](https://github.com/ocadotechnology/codeforlife-portal/commit/c61dedb11add8314467c5eb140318b1d0ada0af1)) +### Unknown +* 2.26.1 ([`5e7a40d`](https://github.com/ocadotechnology/codeforlife-portal/commit/5e7a40df101b7840e9c424e9af0863e4628ab431)) -## v2.29.8 (2020-02-10) +## v2.26.0 (2019-12-12) -### Documentation +### Feature -* docs: added life cycle of a code change docs (#1156) +* feat: Upgrade responses to 0.10.7 (#1127) -* added life cycle of a code change docs +* feat: Upgrade responses to 0.10.7 ([`559cf26`](https://github.com/ocadotechnology/codeforlife-portal/commit/559cf2696741855a7504e0a1c3b6d675b9b0947a)) -* Add semantic release link to doc +### Unknown -* Remove outdated docs +* 2.26.0 ([`9292f59`](https://github.com/ocadotechnology/codeforlife-portal/commit/9292f59fb7a79a62fc10b8312c05286148da98b5)) -* Link docs together ([`536c13d`](https://github.com/ocadotechnology/codeforlife-portal/commit/536c13d8ebe9d3f6947cfdac454a0029759d8d99)) +## v2.25.3 (2019-12-12) ### Fix -* fix: Remove encoding of email message (#1158) +* fix: Remove postcodes (#1126) -* fix: Remove encoding and add test ([`a01a6df`](https://github.com/ocadotechnology/codeforlife-portal/commit/a01a6df4006c68d1534379e1af655e380c35cd68)) +* fix: remove postcodes ([`cd97371`](https://github.com/ocadotechnology/codeforlife-portal/commit/cd9737176ee8e693d311d0b97caf66ae05a906d3)) ### Unknown -* 2.29.8 ([`a286f4c`](https://github.com/ocadotechnology/codeforlife-portal/commit/a286f4cdde153f4768a683f7aa5b95eb542ae8c0)) - +* 2.25.3 ([`999aaa2`](https://github.com/ocadotechnology/codeforlife-portal/commit/999aaa2b981b380f58dbac290c82c6d9f6d59630)) -## v2.29.7 (2020-01-07) +## v2.25.2 (2019-12-11) ### Fix -* fix: updated copy (#1154) +* fix: removed django-classy-tags from setup.py file (#1124) -* changed copies with no links +* removed django-classy-tags from setup.py file ([`90c4306`](https://github.com/ocadotechnology/codeforlife-portal/commit/90c43065ddd6b5b6b8efbcaeae0c20d0f3af4cc1)) -* added links to copy +### Unknown -* Revert "added links to copy" +* 2.25.2 ([`6b18d04`](https://github.com/ocadotechnology/codeforlife-portal/commit/6b18d04d7c688b18bb8b84db0be93267c11fdccb)) -This reverts commit 8796c1b0a62387fbe03ac6a190e8a77e6da49e45. +## v2.25.1 (2019-12-11) -* Merge branch 'master' into update_copy +### Fix -* Revert "Revert "added links to copy"" +* fix: removed docutils from setup.py (#1123) -This reverts commit 5c82d05225eca4133732f25fadda4cbe8cecedd0. +* removed docutils from setup.py (still in lock file from elsewhere) -* added links to image and video +* codeclimate fix -* removed "safe" on headline html ([`2eba29f`](https://github.com/ocadotechnology/codeforlife-portal/commit/2eba29fa7275948f728fd18cc150e2826a049592)) +* deleted windows-requirements text file ([`33365e2`](https://github.com/ocadotechnology/codeforlife-portal/commit/33365e2b577ea6b031a788a5c2bca1314d457c20)) ### Unknown -* 2.29.7 ([`0fcfb6f`](https://github.com/ocadotechnology/codeforlife-portal/commit/0fcfb6f501f316a740aecd8d6900b359462f02da)) +* 2.25.1 ([`0b25874`](https://github.com/ocadotechnology/codeforlife-portal/commit/0b25874c498155ab5fcd90bb24fba4dc6a20aa67)) +## v2.25.0 (2019-12-11) -## v2.29.6 (2020-01-02) +### Feature -### Fix +* feat: upgraded phonenumbers to 8.11.0 (#1120) -* fix: Secure API URLs (#1151) +* upgraded phonenumbers to 8.11.0 -* fix: Make API URLs need admin login ([`f1d8c75`](https://github.com/ocadotechnology/codeforlife-portal/commit/f1d8c75626ac38a3c4842041349c2d05ea62f2dd)) +* Merge branch 'master' into update_phonenumbers -### Unknown +* downgraded more-itertools to 5.0.0 -* 2.29.6 ([`3b4fdeb`](https://github.com/ocadotechnology/codeforlife-portal/commit/3b4fdeb6efd9145b2be7140548d4c7370a21a686)) +* downgraded pytest to 3.7.0 +* made phonenumbers version >=8.11.0 and <8.12.0 ([`80b9257`](https://github.com/ocadotechnology/codeforlife-portal/commit/80b92571df7774e29edd1a73b4f706c36acda49d)) -## v2.29.5 (2019-12-31) +### Unknown -### Fix +* 2.25.0 ([`a4b8c9f`](https://github.com/ocadotechnology/codeforlife-portal/commit/a4b8c9fd0913d5d122a98647ee0911b5fb90cd77)) -* fix: Remove reports module (#1150) +## v2.24.0 (2019-12-11) -* fix: Remove reports module ([`039c699`](https://github.com/ocadotechnology/codeforlife-portal/commit/039c69928401d3f8d42b6a89d291b2bb02be5270)) +### Feature -### Unknown +* feat: Upgrade django-sekizai to 1.0.0 (#1122) -* 2.29.5 ([`0c80acd`](https://github.com/ocadotechnology/codeforlife-portal/commit/0c80acd7997bc9ebb8f338fe7e9356f0fc32896c)) +* feat: Update django-sekizai to 1.0.0 ([`861699f`](https://github.com/ocadotechnology/codeforlife-portal/commit/861699fad6b630abe9f578fc595d935ecf750813)) +### Unknown -## v2.29.4 (2019-12-31) +* 2.24.0 ([`a073b87`](https://github.com/ocadotechnology/codeforlife-portal/commit/a073b877e46cc993e00dedd8c90b96ecbd5eb1cf)) + +## v2.23.1 (2019-12-10) ### Fix -* fix: Remove bytestring (#1149) +* fix: Remove django-reversion (#1121) -* fix: Remove bytestring +* fix: remove django-reversion ([`1911cf9`](https://github.com/ocadotechnology/codeforlife-portal/commit/1911cf93e472d0ad8a035e0c72028f1a7ed95ce1)) -* Run 2.7 and 3.6 Python tests +### Unknown -* Remove Python 2.7 stage in travis and add classifiers in setup.py +* 2.23.1 ([`29f8e81`](https://github.com/ocadotechnology/codeforlife-portal/commit/29f8e818b67ef4db43b5874390e978c2850dedb8)) -* Use str builtin +## v2.23.0 (2019-12-10) -* Get rapid router master and get latest version of semantic release +### Feature -* update Pipfile.lock +* feat: Run futurize stage2 to theoretically support python3 (#1113) -Signed-off-by: Niket Shah <masterniket@gmail.com> +* futurize stage 1 -* Fix help and support email form +Signed-off-by: Niket <niket.shah1@ocado.com> -* Update expectation of accented name test +* started fixing imports for selenium tests -* Updated Chromedriver + selenium version +Signed-off-by: Niket <niket.shah1@ocado.com> -* Upgrade pytest and pytest-django +* Finish fixing imports for selenium -* Upgrade pytest and pytest-django pt 2 +* Run Black formatter -* Add stable Chrome version to travis +* futurized stage 2 up to portal/tests -* stop after one failure +* run futurize stage2 Signed-off-by: Niket <niket.shah1@ocado.com> -* print page source +* Merge branch 'support_python_3' of https://github.com/ocadotechnology/codeforlife-portal into support_python_3 + +* add unicode literals Signed-off-by: Niket <niket.shah1@ocado.com> -* see if sleep fixes +* testing on python 3.6 Signed-off-by: Niket <niket.shah1@ocado.com> -* enable debug +* Use Python 2.7 and remove byte strings Signed-off-by: Niket <niket.shah1@ocado.com> -* enable captcha on admin login form +* run black Signed-off-by: Niket <niket.shah1@ocado.com> -* increase sleep time +* update Pipfile.lock Signed-off-by: Niket <niket.shah1@ocado.com> -* try headless chrome +* Revert "add unicode literals" + +This reverts commit 99b55288ad59ddb85452c53aea5a80d56f2a754e. Signed-off-by: Niket <niket.shah1@ocado.com> -* remove debugging code in forbidden page +# Conflicts: +# Pipfile.lock +# portal/__init__.py +# portal/beta.py +# portal/helpers/location.py +# portal/strings/about.py +# portal/strings/help_and_support.py +# portal/strings/materials.py +# portal/strings/play.py +# portal/strings/play_aimmo.py +# portal/strings/play_rapid_router.py +# portal/strings/privacy_policy.py +# portal/strings/teach.py +# portal/strings/teacher_resources.py +# portal/strings/terms.py +# portal/tests/utils/messages.py +# portal/views/teacher/pdfs.py + +* run black Signed-off-by: Niket <niket.shah1@ocado.com> -* see how many tests fail +* added "u" for unicode accented strings ([`36266de`](https://github.com/ocadotechnology/codeforlife-portal/commit/36266de0914d58f8cc165f3bb7f6b7ccbdf2ebe0)) -Signed-off-by: Niket <niket.shah1@ocado.com> +### Unknown -* add time.sleep +* 2.23.0 ([`56e51d0`](https://github.com/ocadotechnology/codeforlife-portal/commit/56e51d0767ec1e71e78d20f4475cc5c2bf43fa93)) -Signed-off-by: Niket <niket.shah1@ocado.com> +## v2.22.0 (2019-11-26) -* run black and enable captcha for admin login tests +### Feature -Signed-off-by: Niket <niket.shah1@ocado.com> +* feat: Upload new Kurono student challenges (#1106) -* remove nonexistent method (removed in previous commit) +* feat: Upload new Kurono student challenges -Signed-off-by: Niket <niket.shah1@ocado.com> ([`8d5cca3`](https://github.com/ocadotechnology/codeforlife-portal/commit/8d5cca319c244baa859db108193da18e330cf332)) +* Update PDF title logic ([`a334c54`](https://github.com/ocadotechnology/codeforlife-portal/commit/a334c5418a65f968d2066870e54c5cbc7991a502)) ### Unknown -* 2.29.4 ([`fd0eac1`](https://github.com/ocadotechnology/codeforlife-portal/commit/fd0eac1a2bfdafc10c813d346323d637d84cc9f6)) - +* 2.22.0 ([`fa1a88c`](https://github.com/ocadotechnology/codeforlife-portal/commit/fa1a88c93f34d847caba5fbbf7191ed828474e34)) -## v2.29.3 (2019-12-20) +## v2.21.2 (2019-11-25) ### Fix -* fix: uninstalled urllib3 (#1145) - -* fix: uninstalled urllib3 - -* Merge branch 'master' into upgrade_urllib3 +* fix: use class references for login recaptcha (#1105) -* Update requests to latest version ([`98beac2`](https://github.com/ocadotechnology/codeforlife-portal/commit/98beac2d69bb270aec465755f935ee5a70ee9789)) +* fix: revert to Class references ([`ae1a159`](https://github.com/ocadotechnology/codeforlife-portal/commit/ae1a159c4dea57d789ca9bd4e82a190a2f85d2f7)) ### Unknown -* 2.29.3 ([`eb477e4`](https://github.com/ocadotechnology/codeforlife-portal/commit/eb477e408a72b7df2d3d61ae73acac03b1ead7cd)) - +* 2.21.2 ([`2f543c9`](https://github.com/ocadotechnology/codeforlife-portal/commit/2f543c91b6122c63a0606acaede102a10acaf898)) -## v2.29.2 (2019-12-20) +## v2.21.1 (2019-11-25) ### Fix -* fix: Fix capitalisation of PDF names (#1147) +* fix: remove deprecated function from admin login view (#1103) -* fix: Fix capitalisation of PDF names ([`4688f91`](https://github.com/ocadotechnology/codeforlife-portal/commit/4688f91c434a79dab696c363db5eb74e93d9f303)) +* fix: replace deprecated login function with loginview class -### Unknown +* Add phonenumbers to setup.py -* 2.29.2 ([`233fe3f`](https://github.com/ocadotechnology/codeforlife-portal/commit/233fe3f1d15dc02707b1e0918d6433d12a27bb10)) +* Merge branch 'master' into fix_admin_login + +* Fix test by replacing default value with email +* Add cov options to travis so it finds cov report -## v2.29.1 (2019-12-18) +* Use class-based login view -### Fix +* Fix recaptcha on admin login -* fix: Fix captcha login error (#1143) +* Use instances instead of classes ([`cfa49aa`](https://github.com/ocadotechnology/codeforlife-portal/commit/cfa49aa275491f1c9f93eeabff81fc3cf52699d2)) -* enable captcha for tests +### Unknown -so we can test the correct logic +* 2.21.1 ([`1acca87`](https://github.com/ocadotechnology/codeforlife-portal/commit/1acca87fe1c155fd18f8c2bef2ce4f13acbb5bd1)) -Signed-off-by: Niket Shah <masterniket@gmail.com> +## v2.21.0 (2019-11-20) -* remove get_project_version as it was not working +### Feature -Signed-off-by: Niket Shah <masterniket@gmail.com> +* feat: change cache control to private (#1102) -* Show login and registration captcha in tests +* removed online status middleware doc -Signed-off-by: Niket Shah <masterniket@gmail.com> +* set cache-control header to private on the home view -* wait for error message to show in login tests +* codeclimate fix ([`0fc198f`](https://github.com/ocadotechnology/codeforlife-portal/commit/0fc198fe029bf957dc76a316a5f403ee300f57da)) -Signed-off-by: Niket Shah <masterniket@gmail.com> +### Unknown -* send something as a response for recaptcha when logging in (in tests) +* 2.21.0 ([`b5bd69a`](https://github.com/ocadotechnology/codeforlife-portal/commit/b5bd69a1a95ea819d079942921df870e751c8367)) -Signed-off-by: Niket Shah <masterniket@gmail.com> +## v2.20.1 (2019-11-20) -* Sleep longer +### Fix -Signed-off-by: Niket Shah <masterniket@gmail.com> +* fix: changed XTCP header setting to autoconfig (#1101) -* Merge branch 'master' into fix_recaptcha_ui ([`cbd699c`](https://github.com/ocadotechnology/codeforlife-portal/commit/cbd699cc75fa0ae1785f8ae767205eb28d432073)) +* changed xtco setting to autoconfig ([`9a96ce8`](https://github.com/ocadotechnology/codeforlife-portal/commit/9a96ce86e37d0bf6d9661c44243dd4f3752f9d88)) ### Unknown -* 2.29.1 ([`c43aff7`](https://github.com/ocadotechnology/codeforlife-portal/commit/c43aff7bed8fde183f934467608ba208fd28cf70)) - +* 2.20.1 ([`5b8cd99`](https://github.com/ocadotechnology/codeforlife-portal/commit/5b8cd99a69c3d97b19bd2b73254519bc9660e141)) -## v2.29.0 (2019-12-17) +## v2.20.0 (2019-11-19) ### Feature -* feat: upgraded reportlab to 3.5.32 (#1144) - -* upgraded reportlab to 3.5.32 - -* dummy commit ([`925acc3`](https://github.com/ocadotechnology/codeforlife-portal/commit/925acc3ae3b4a0b8305fe716add57e1a0b3c250d)) +* feat: install django security middleware for STS and XCTO HTTP headers (#1097) -### Unknown +* Added X type content and STS headers -* 2.29.0 ([`07b4a1f`](https://github.com/ocadotechnology/codeforlife-portal/commit/07b4a1fffc422331a6f012263919466592b8ff61)) +* added csp +* Removed CSP, to add in a different PR -## v2.28.1 (2019-12-16) +* codeclimate fix -### Fix +* updated dependencies -* fix: Remove django-appconf (#1142) +* Revert "updated dependencies" -* fix: Remove django-appconf +This reverts commit 899bc2b071bb9e982d93b4824dccdac059b4ec02. -* Merge branch 'master' into remove_appconf +* removed security, using django security middleware to set XTCO -# Conflicts: -# Pipfile.lock ([`fcfda11`](https://github.com/ocadotechnology/codeforlife-portal/commit/fcfda1111b3c608a93bd6ca4bce19135b226cb40)) +* removed security app ([`7ab9182`](https://github.com/ocadotechnology/codeforlife-portal/commit/7ab918297d5681ef170befdb25933cd25c7429e1)) ### Unknown -* 2.28.1 ([`70f4da0`](https://github.com/ocadotechnology/codeforlife-portal/commit/70f4da095bc605a27a33b603863a473c12ec003f)) - +* 2.20.0 ([`3857418`](https://github.com/ocadotechnology/codeforlife-portal/commit/38574189b110e111ce3be96aaf3957ac1bd70f6b)) -## v2.28.0 (2019-12-16) +## v2.19.0 (2019-11-12) ### Feature -* feat: upgraded django-two-factor-auth to 1.9.1 (#1141) +* feat: upgrade django to 1.11.24 (#1030) -* upgraded django-two-factor-auth to 1.9.1 +* upgraded django to 1.11.24 -* dummy commit ([`b9b738c`](https://github.com/ocadotechnology/codeforlife-portal/commit/b9b738c84e0ed792e28aff8076a90c9d99a0a95e)) +* version conflict fix -### Unknown +* deleted pipfile.lock -* 2.28.0 ([`2900caa`](https://github.com/ocadotechnology/codeforlife-portal/commit/2900caaa9f6edfb64f03e59bd449ba34cf2d008c)) +* updated django-selenium-clean +* Merge branch 'master' into upgrade_to_django_1_11 -## v2.27.4 (2019-12-16) +# Conflicts: +# Pipfile.lock +# setup.py -### Fix +* Merge branch 'master' into upgrade_to_django_1_11 -* fix: remove django jquery (#1140) +* Merge branch 'master' into upgrade_to_django_1_11 -* removed django-jquery, but it's a rapid router dependency +Signed-off-by: Niket Shah <masterniket@gmail.com> -* removed django-query from lock file +# Conflicts: +# portal/urls.py -* Merge branch 'master' into remove_django_jquery +* fix merge conflict error -* removed jquery from autoconfig ([`32ef3d0`](https://github.com/ocadotechnology/codeforlife-portal/commit/32ef3d08a50f3d50dbe60d07edaecc645ba55a4d)) +Signed-off-by: Niket Shah <masterniket@gmail.com> -### Unknown +* update django two factor auth dep -* 2.27.4 ([`5071ba5`](https://github.com/ocadotechnology/codeforlife-portal/commit/5071ba55ea81f6280bf0e1dc355590adc7da19e0)) +Signed-off-by: Niket Shah <masterniket@gmail.com> +* remove cache setting to see if rapid router tests pass without this error -## v2.27.3 (2019-12-16) +Signed-off-by: Niket Shah <masterniket@gmail.com> -### Fix +* Merge branch 'master' into upgrade_to_django_1_11 -* fix: cache templates with version (#1139) +# Conflicts: +# setup.py -* fix: cache templates with version +* Merge branch 'master' into upgrade_to_django_1_11 -Signed-off-by: Niket Shah <masterniket@gmail.com> +* Fix urllib version -* Merge branch 'master' into cache_templates_with_version ([`8236127`](https://github.com/ocadotechnology/codeforlife-portal/commit/823612729eee61ae15bb9394b91c670b2a658bbb)) +* Bring back rapid router in setup.py ([`9a85fab`](https://github.com/ocadotechnology/codeforlife-portal/commit/9a85fab05992bcdbf30602af673d9703cf54ad4a)) ### Unknown -* 2.27.3 ([`7afb7c7`](https://github.com/ocadotechnology/codeforlife-portal/commit/7afb7c7c903a9ccc01e5c3f934d3859c3fb97239)) +* 2.19.0 ([`3a0a48e`](https://github.com/ocadotechnology/codeforlife-portal/commit/3a0a48eb241a8168f982418c7761a239ad857cea)) +## v2.18.0 (2019-10-31) -## v2.27.2 (2019-12-16) +### Feature -### Fix +* feat: Remove online status feature (#1093) -* fix: Remove django-forms-bootstrap from portal (#1138) +* fix: remove online status feature -* fix: Remove django-forms-bootstrap from portal +* fix codeclimate issue ([`7c8b4d4`](https://github.com/ocadotechnology/codeforlife-portal/commit/7c8b4d4056de4d74cb9d455bf3e87220fcc9eaf2)) -Unused dependency +### Unknown -Signed-off-by: Niket Shah <masterniket@gmail.com> ([`070e0cc`](https://github.com/ocadotechnology/codeforlife-portal/commit/070e0cc71b6ed81cf82ffaa0a34da9ab1b5e71c8)) +* 2.18.0 ([`219da47`](https://github.com/ocadotechnology/codeforlife-portal/commit/219da47d88b4cc841a23e23ae54a288e3b0ee9b0)) -### Unknown +## v2.17.0 (2019-10-31) -* 2.27.2 ([`e52e59c`](https://github.com/ocadotechnology/codeforlife-portal/commit/e52e59c1efba9033da39d3d92c78aa432a5ac3ba)) +### Build + +* build: bump urllib3 from 1.23 to 1.24.2 (#1088) +* build: bump urllib3 from 1.23 to 1.24.2 -## v2.27.1 (2019-12-13) +Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.23 to 1.24.2. +- [Release notes](https://github.com/urllib3/urllib3/releases) +- [Changelog](https://github.com/urllib3/urllib3/blob/master/CHANGES.rst) +- [Commits](https://github.com/urllib3/urllib3/compare/1.23...1.24.2) -### Fix +Signed-off-by: dependabot[bot] <support@github.com> -* fix: Redirect school students to dashboard when access indep page (#1130) +* Update pipfile lock ([`fba0243`](https://github.com/ocadotechnology/codeforlife-portal/commit/fba0243b8a6453ef63f038820db4bb05876b0bf8)) -* fix: Redirect school students to dashboard if they try to access the join school page +* build: bump pillow from 3.3.2 to 5.4.1 (#1083) -* Merge branch 'master' into redirect_new_joined_student +* build(deps): bump pillow from 3.3.2 to 6.2.0 -* Merge branch 'master' into redirect_new_joined_student +Bumps [pillow](https://github.com/python-pillow/Pillow) from 3.3.2 to 6.2.0. +- [Release notes](https://github.com/python-pillow/Pillow/releases) +- [Changelog](https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst) +- [Commits](https://github.com/python-pillow/Pillow/compare/3.3.2...6.2.0) -* Merge branch 'master' into redirect_new_joined_student ([`2609aac`](https://github.com/ocadotechnology/codeforlife-portal/commit/2609aac48da28b115b9ca9dcdc236e07d1453517)) +Signed-off-by: dependabot[bot] <support@github.com> -### Unknown +* Update lock -* 2.27.1 ([`b205621`](https://github.com/ocadotechnology/codeforlife-portal/commit/b2056213add651bd01cb71a449626dfb8dbbdf96)) +* Downgrade Pillow to 5.4.1 so that reportlab doesn't break +* Revert pipfile lock -## v2.27.0 (2019-12-13) +* Update pipfile properly ([`53a9aee`](https://github.com/ocadotechnology/codeforlife-portal/commit/53a9aee30c468537f8454d0d3fc9414a219d4eb4)) ### Feature -* feat: Upgrade django recaptcha (#1131) +* feat: update list of contributors (#1091) -* Remove ratelimit on captchas +* Fixes #1090 - add thanks ([`1e9057d`](https://github.com/ocadotechnology/codeforlife-portal/commit/1e9057d71bf3468aedac13b0475b9b71699f240e)) -Signed-off-by: Niket <niket.shah1@ocado.com> +### Unknown -* Merge branch 'master' into upgrade_django_recaptcha +* 2.17.0 ([`0595905`](https://github.com/ocadotechnology/codeforlife-portal/commit/0595905f5d86481d56aeb029b01408baf853fd08)) -* Upgrade to Django Recaptcha and Invisible Recaptha V2 +## v2.16.0 (2019-10-21) -Signed-off-by: Niket <niket.shah1@ocado.com> +### Feature -* Merge branch 'master' into upgrade_django_recaptcha +* feat: removed transparent subnav from RR page, deleted aimmo preview page (#1064) -Signed-off-by: Niket <niket.shah1@ocado.com> +* removed transparent subnav from RR page, deleted aimmo preview page + +* Merge branch 'master' into remove_transparent_banner + +Signed-off-by: Niket Shah <masterniket@gmail.com> # Conflicts: -# Pipfile.lock +# portal/templates/portal/play_aimmo_preview.html +# portal/templates/portal/play_rapid-router.html -* Make tests pass +* Fix urls and minor css issues -Signed-off-by: Niket <niket.shah1@ocado.com> +Signed-off-by: Niket Shah <masterniket@gmail.com> ([`e6ef252`](https://github.com/ocadotechnology/codeforlife-portal/commit/e6ef252d006dd1087760afc3c8707e7b7426db56)) -* Merge branch 'master' into upgrade_django_recaptcha +### Unknown -Signed-off-by: Niket <niket.shah1@ocado.com> +* 2.16.0 ([`0def5e1`](https://github.com/ocadotechnology/codeforlife-portal/commit/0def5e1e08380ac0cb34abc43cb41f11b6df06af)) -# Conflicts: -# Pipfile.lock +## v2.15.0 (2019-10-21) -* update Pipfile +### Feature -Signed-off-by: Niket <niket.shah1@ocado.com> +* feat: changed home page icons to include hexagons and kurono (#1063) -* Run black formatter +* changed home page icons to include hexagons and kurono -Signed-off-by: Niket <niket.shah1@ocado.com> ([`518ea50`](https://github.com/ocadotechnology/codeforlife-portal/commit/518ea50b2152011d4e3984dfc7b125e8d610a4a1)) +* Merge branch 'master' into new_home_page -### Unknown +* reduced image file size and added Kurono picture with avatar -* 2.27.0 ([`d0449f7`](https://github.com/ocadotechnology/codeforlife-portal/commit/d0449f75836ebf391053d7f83623990b92804c05)) +* new Kurono screenshot on home page hero +* Merge branch 'master' into new_home_page ([`203397d`](https://github.com/ocadotechnology/codeforlife-portal/commit/203397db6e8d2476fdc548c23467d56e981500fd)) -## v2.26.1 (2019-12-13) +### Unknown -### Fix +* 2.15.0 ([`0b8e04d`](https://github.com/ocadotechnology/codeforlife-portal/commit/0b8e04de241c342f4e7087777b5cee3b9c46efce)) -* fix: Remove docutils from Pipfile.lock (#1128) +## v2.14.1 (2019-10-14) -* fix: lock file to remove docutils ([`ffcf583`](https://github.com/ocadotechnology/codeforlife-portal/commit/ffcf5838ff07a00c6d610564e41cde011d81572a)) +### Fix -### Unknown +* fix: remove extra padding from banner images (#1078) -* 2.26.1 ([`5e7a40d`](https://github.com/ocadotechnology/codeforlife-portal/commit/5e7a40df101b7840e9c424e9af0863e4628ab431)) +* fix: move padding attribute to target only kurono logo +* adjust padding of kurono landing page -## v2.26.0 (2019-12-12) +Signed-off-by: Niket Shah <masterniket@gmail.com> -### Feature +* fix indentation in html -* feat: Upgrade responses to 0.10.7 (#1127) +Signed-off-by: Niket Shah <masterniket@gmail.com> -* feat: Upgrade responses to 0.10.7 ([`559cf26`](https://github.com/ocadotechnology/codeforlife-portal/commit/559cf2696741855a7504e0a1c3b6d675b9b0947a)) +* Merge branch 'master' into fix_banner_image ([`5ec3cc3`](https://github.com/ocadotechnology/codeforlife-portal/commit/5ec3cc36d8f02b0be13b321199b540cb6b28f0ae)) ### Unknown -* 2.26.0 ([`9292f59`](https://github.com/ocadotechnology/codeforlife-portal/commit/9292f59fb7a79a62fc10b8312c05286148da98b5)) +* 2.14.1 ([`a618fec`](https://github.com/ocadotechnology/codeforlife-portal/commit/a618fec0f2fee208891555584bd10de985333bff)) +## v2.14.0 (2019-10-11) -## v2.25.3 (2019-12-12) +### Feature -### Fix +* feat: New play page (#1061) -* fix: Remove postcodes (#1126) +* Create new play page -* fix: remove postcodes ([`cd97371`](https://github.com/ocadotechnology/codeforlife-portal/commit/cd9737176ee8e693d311d0b97caf66ae05a906d3)) +* Update other banners to be consistent with partial method -### Unknown +* Black formatter + reorganising some imports -* 2.25.3 ([`999aaa2`](https://github.com/ocadotechnology/codeforlife-portal/commit/999aaa2b981b380f58dbac290c82c6d9f6d59630)) +* Add test for new banner partial +* Update page to be closer to design -## v2.25.2 (2019-12-11) +* Update final 2 banners -### Fix +* Update images and amend mixin to accept auto parameter -* fix: removed django-classy-tags from setup.py file (#1124) +* Version cache play page -* removed django-classy-tags from setup.py file ([`90c4306`](https://github.com/ocadotechnology/codeforlife-portal/commit/90c43065ddd6b5b6b8efbcaeae0c20d0f3af4cc1)) +* Fix some CodeClimate issues -### Unknown +* Remove unnecessary else -* 2.25.2 ([`6b18d04`](https://github.com/ocadotechnology/codeforlife-portal/commit/6b18d04d7c688b18bb8b84db0be93267c11fdccb)) +* Rename URL and minify kurono hero + +* Update snapshot + +* Merge branch 'master' into new_play_page +# Conflicts: +# portal/templates/portal/play_aimmo.html +# portal/templatetags/app_tags.py +# portal/urls.py +# portal/views/home.py -## v2.25.1 (2019-12-11) +* Remove banner--class from partial -### Fix +* Fixed benefits in kurono landing page -* fix: removed docutils from setup.py (#1123) +* Remove banner class from game banner partial -* removed docutils from setup.py (still in lock file from elsewhere) +* Update headline to use h6 instead of p -* codeclimate fix +* Update snapshots -* deleted windows-requirements text file ([`33365e2`](https://github.com/ocadotechnology/codeforlife-portal/commit/33365e2b577ea6b031a788a5c2bca1314d457c20)) +* Rename partial names to be clearer and cleaner -### Unknown +* Rename partial names to be clearer and cleaner -* 2.25.1 ([`0b25874`](https://github.com/ocadotechnology/codeforlife-portal/commit/0b25874c498155ab5fcd90bb24fba4dc6a20aa67)) +* Migrate to pytest +* Update travis to use pipenv -## v2.25.0 (2019-12-11) +* Merge conflicts -### Feature +* Fix merge request -* feat: upgraded phonenumbers to 8.11.0 (#1120) +* Install dev dependencies -* upgraded phonenumbers to 8.11.0 +* Try calling codecov to get coverage -* Merge branch 'master' into update_phonenumbers +* Install codecov in travis -* downgraded more-itertools to 5.0.0 +* Install pytest-cov to generate coverage -* downgraded pytest to 3.7.0 +* Add testing doc + disable internal pytest warnings -* made phonenumbers version >=8.11.0 and <8.12.0 ([`80b9257`](https://github.com/ocadotechnology/codeforlife-portal/commit/80b92571df7774e29edd1a73b4f706c36acda49d)) +* Remove chromedriver version suggestion. ([`a6755c0`](https://github.com/ocadotechnology/codeforlife-portal/commit/a6755c0134a8590f3331c9e4f64aa4b72bf377a1)) ### Unknown -* 2.25.0 ([`a4b8c9f`](https://github.com/ocadotechnology/codeforlife-portal/commit/a4b8c9fd0913d5d122a98647ee0911b5fb90cd77)) +* 2.14.0 ([`60b4805`](https://github.com/ocadotechnology/codeforlife-portal/commit/60b4805117ce1dd11770dbca683abf456a8af5f1)) +## v2.13.3 (2019-10-09) -## v2.24.0 (2019-12-11) +### Fix -### Feature +* fix: benefits partial (#1077) -* feat: Upgrade django-sekizai to 1.0.0 (#1122) +* fixed benefits in all pages -* feat: Update django-sekizai to 1.0.0 ([`861699f`](https://github.com/ocadotechnology/codeforlife-portal/commit/861699fad6b630abe9f578fc595d935ecf750813)) +* updated snapshot -### Unknown +* removed homepage-info from partial ([`023c0fd`](https://github.com/ocadotechnology/codeforlife-portal/commit/023c0fd7f6a755e7bd120d36aed2171bef182661)) -* 2.24.0 ([`a073b87`](https://github.com/ocadotechnology/codeforlife-portal/commit/a073b877e46cc993e00dedd8c90b96ecbd5eb1cf)) +### Unknown +* 2.13.3 ([`0c601f8`](https://github.com/ocadotechnology/codeforlife-portal/commit/0c601f887b38e524989b3868fc0ac9ec684c0bff)) -## v2.23.1 (2019-12-10) +## v2.13.2 (2019-10-08) ### Fix -* fix: Remove django-reversion (#1121) +* fix: update privacy policy (#1076) -* fix: remove django-reversion ([`1911cf9`](https://github.com/ocadotechnology/codeforlife-portal/commit/1911cf93e472d0ad8a035e0c72028f1a7ed95ce1)) +* Updated the copy with revisions -### Unknown +Signed-off-by: Niket Shah <masterniket@gmail.com> -* 2.23.1 ([`29f8e81`](https://github.com/ocadotechnology/codeforlife-portal/commit/29f8e818b67ef4db43b5874390e978c2850dedb8)) +* Merge branch 'master' into update_privacy_policy ([`974c656`](https://github.com/ocadotechnology/codeforlife-portal/commit/974c6566c659948996523ea6a2853a2c17aec608)) +### Unknown -## v2.23.0 (2019-12-10) +* 2.13.2 ([`50d7c0f`](https://github.com/ocadotechnology/codeforlife-portal/commit/50d7c0fb0028a4a45411884063a0eade6d63c943)) -### Feature +## v2.13.1 (2019-10-08) -* feat: Run futurize stage2 to theoretically support python3 (#1113) +### Fix -* futurize stage 1 +* fix: Kurono landing qa fixes (#1065) -Signed-off-by: Niket <niket.shah1@ocado.com> +* redirect to preview aimmo page -* started fixing imports for selenium tests +* fixed page UI -Signed-off-by: Niket <niket.shah1@ocado.com> +* snapshot update ([`1e09a9e`](https://github.com/ocadotechnology/codeforlife-portal/commit/1e09a9e0f9024067f9e75559a020aa9ed39b32bf)) -* Finish fixing imports for selenium +### Unknown -* Run Black formatter +* 2.13.1 ([`4c4013c`](https://github.com/ocadotechnology/codeforlife-portal/commit/4c4013c78f97928f9a1258f4e6914d1372479cf5)) -* futurized stage 2 up to portal/tests +## v2.13.0 (2019-10-07) -* run futurize stage2 +### Feature -Signed-off-by: Niket <niket.shah1@ocado.com> +* feat: new Kurono landing page (#1060) -* Merge branch 'support_python_3' of https://github.com/ocadotechnology/codeforlife-portal into support_python_3 +* called play_aimmo.html play_aimmo_old.html and added page w/ partials -* add unicode literals +* Merge branch 'master' into kurono_landing_page -Signed-off-by: Niket <niket.shah1@ocado.com> +* url fix -* testing on python 3.6 +* black formatter -Signed-off-by: Niket <niket.shah1@ocado.com> +* added videos -* Use Python 2.7 and remove byte strings +* benefits changes -Signed-off-by: Niket <niket.shah1@ocado.com> +* mobile screen fix, top menu not showing -* run black +* fixed mobile -Signed-off-by: Niket <niket.shah1@ocado.com> +* deleted old html -* update Pipfile.lock +* some minor fixes -Signed-off-by: Niket <niket.shah1@ocado.com> +* code climate fixes -* Revert "add unicode literals" +* code climate fix -This reverts commit 99b55288ad59ddb85452c53aea5a80d56f2a754e. +* minor variable changes -Signed-off-by: Niket <niket.shah1@ocado.com> +* Revert "deleted old html" -# Conflicts: -# Pipfile.lock -# portal/__init__.py -# portal/beta.py -# portal/helpers/location.py -# portal/strings/about.py -# portal/strings/help_and_support.py -# portal/strings/materials.py -# portal/strings/play.py -# portal/strings/play_aimmo.py -# portal/strings/play_rapid_router.py -# portal/strings/privacy_policy.py -# portal/strings/teach.py -# portal/strings/teacher_resources.py -# portal/strings/terms.py -# portal/tests/utils/messages.py -# portal/views/teacher/pdfs.py +This reverts commit e33c2088246f60c0f59f9182287cbc32cb1ff229. -* run black +* typo fix and centred challenges -Signed-off-by: Niket <niket.shah1@ocado.com> +* renamed old html file and increased video height -* added "u" for unicode accented strings ([`36266de`](https://github.com/ocadotechnology/codeforlife-portal/commit/36266de0914d58f8cc165f3bb7f6b7ccbdf2ebe0)) +* minified kurono landing hero jpeg -### Unknown +* changed shadow colours -* 2.23.0 ([`56e51d0`](https://github.com/ocadotechnology/codeforlife-portal/commit/56e51d0767ec1e71e78d20f4475cc5c2bf43fa93)) +* renamed level +* changed videos with newer versions -## v2.22.0 (2019-11-26) +* version cached play aimmo page -### Feature +* left-align benefits text ([`cf4fbe5`](https://github.com/ocadotechnology/codeforlife-portal/commit/cf4fbe5acaece366e5761fc4667f17798f29185b)) -* feat: Upload new Kurono student challenges (#1106) +### Unknown -* feat: Upload new Kurono student challenges +* 2.13.0 ([`b1d4355`](https://github.com/ocadotechnology/codeforlife-portal/commit/b1d4355946a967555b63a1c4e56ab0e7d2641250)) -* Update PDF title logic ([`a334c54`](https://github.com/ocadotechnology/codeforlife-portal/commit/a334c5418a65f968d2066870e54c5cbc7991a502)) +## v2.12.0 (2019-09-30) -### Unknown +### Feature -* 2.22.0 ([`fa1a88c`](https://github.com/ocadotechnology/codeforlife-portal/commit/fa1a88c93f34d847caba5fbbf7191ed828474e34)) +* feat: Game banner partial (#1058) +* Adds game banner mixin + temp examples in play page -## v2.21.2 (2019-11-25) +* Adjust CSS -### Fix +* Merge branch 'master' into partial_game_banner -* fix: use class references for login recaptcha (#1105) +* fix after merging master into branch -* fix: revert to Class references ([`ae1a159`](https://github.com/ocadotechnology/codeforlife-portal/commit/ae1a159c4dea57d789ca9bd4e82a190a2f85d2f7)) +* made button display inline-block -### Unknown +* Add padding and constants -* 2.21.2 ([`2f543c9`](https://github.com/ocadotechnology/codeforlife-portal/commit/2f543c91b6122c63a0606acaede102a10acaf898)) +* Failing test +* fixed test -## v2.21.1 (2019-11-25) +* undid changes to first test -### Fix +* Formatting -* fix: remove deprecated function from admin login view (#1103) +* Make tests consistent -* fix: replace deprecated login function with loginview class +* Remove test partials from play page -* Add phonenumbers to setup.py +* Fix mobile media query to match Bootstrap standards -* Merge branch 'master' into fix_admin_login +* Remove game banner tag from play page -* Fix test by replacing default value with email +* Renamed constants to match sass standards -* Add cov options to travis so it finds cov report +* Add snapshot tests for partials testing -* Use class-based login view +* Disable code climate on test files -* Fix recaptcha on admin login +* Remove unused imports ([`976d85b`](https://github.com/ocadotechnology/codeforlife-portal/commit/976d85b310fadbedbdc5735fa34f5e60c8b9eb27)) -* Use instances instead of classes ([`cfa49aa`](https://github.com/ocadotechnology/codeforlife-portal/commit/cfa49aa275491f1c9f93eeabff81fc3cf52699d2)) +### Refactor -### Unknown +* refactor: benefits partial (#1053) -* 2.21.1 ([`1acca87`](https://github.com/ocadotechnology/codeforlife-portal/commit/1acca87fe1c155fd18f8c2bef2ce4f13acbb5bd1)) +* teach and about pages done +* made benefits into a partial -## v2.21.0 (2019-11-20) +* forgot to stage one file -### Feature +* Merge branch 'master' into benefits_partial -* feat: change cache control to private (#1102) +* codeclimate fix -* removed online status middleware doc +* Merge remote-tracking branch 'origin/master' into benefits_partial -* set cache-control header to private on the home view +* Auto stash before merge of "benefits_partial" and "origin/master" -* codeclimate fix ([`0fc198f`](https://github.com/ocadotechnology/codeforlife-portal/commit/0fc198fe029bf957dc76a316a5f403ee300f57da)) +* fixed broken bits, still unformatted grid -### Unknown +* fixed grids -* 2.21.0 ([`b5bd69a`](https://github.com/ocadotechnology/codeforlife-portal/commit/b5bd69a1a95ea819d079942921df870e751c8367)) +* reverted "about" benefits +* some refactoring, added test -## v2.20.1 (2019-11-20) +* codeclimate fixes -### Fix +* black formatter, css autoprefix -* fix: changed XTCP header setting to autoconfig (#1101) +* removed text conditional, autoprefixed only for last one version -* changed xtco setting to autoconfig ([`9a96ce8`](https://github.com/ocadotechnology/codeforlife-portal/commit/9a96ce86e37d0bf6d9661c44243dd4f3752f9d88)) +* typo + 200,000 users -### Unknown +* autoprefix fix -* 2.20.1 ([`5b8cd99`](https://github.com/ocadotechnology/codeforlife-portal/commit/5b8cd99a69c3d97b19bd2b73254519bc9660e141)) +* syntax fix ([`4b58142`](https://github.com/ocadotechnology/codeforlife-portal/commit/4b58142f6ec9b18823211689dafc0381926bc548)) +* refactor: Make page blurb into a partial (#1057) -## v2.20.0 (2019-11-19) +* refactor: Make page blurb into a partial -### Feature +* Add new line -* feat: install django security middleware for STS and XCTO HTTP headers (#1097) +* Use python data instead of JSON -* Added X type content and STS headers +* Add test for headline partial -* added csp +* Make test for generic for headline templatetag ([`3cabf53`](https://github.com/ocadotechnology/codeforlife-portal/commit/3cabf53c53d992c9a65b0aac79015c912fac892c)) -* Removed CSP, to add in a different PR +* refactor: Make banner into a partial (#1052) -* codeclimate fix +* Refactor banner to be a partial -* updated dependencies +* Remove dashboard banner from partial + simplify rest -* Revert "updated dependencies" +* Simplify partial logic -This reverts commit 899bc2b071bb9e982d93b4824dccdac059b4ec02. +* Fix indentation -* removed security, using django security middleware to set XTCO +* Add argument names to banner call -* removed security app ([`7ab9182`](https://github.com/ocadotechnology/codeforlife-portal/commit/7ab918297d5681ef170befdb25933cd25c7429e1)) +* Rename hexagon to image + Black format ([`e6676f3`](https://github.com/ocadotechnology/codeforlife-portal/commit/e6676f30e875aa6734ccb6356c28d044fa3e35a8)) ### Unknown -* 2.20.0 ([`3857418`](https://github.com/ocadotechnology/codeforlife-portal/commit/38574189b110e111ce3be96aaf3957ac1bd70f6b)) - +* 2.12.0 ([`1d0aa05`](https://github.com/ocadotechnology/codeforlife-portal/commit/1d0aa05848b8995f079e49ec05960d4f4898ceaa)) -## v2.19.0 (2019-11-12) +## v2.11.0 (2019-09-17) ### Feature -* feat: upgrade django to 1.11.24 (#1030) +* feat: update Kurono PDFs (#1050) -* upgraded django to 1.11.24 +* feat: update Kurono PDFs -* version conflict fix +* Added comment to trigger codecov ([`549b04f`](https://github.com/ocadotechnology/codeforlife-portal/commit/549b04f37dc3d7ba71fc0fc74ceffaa72dc57ea0)) -* deleted pipfile.lock +### Unknown -* updated django-selenium-clean +* 2.11.0 ([`d27e95c`](https://github.com/ocadotechnology/codeforlife-portal/commit/d27e95c8b4089b950fb2f5a5ddfdcffa4e85f354)) -* Merge branch 'master' into upgrade_to_django_1_11 +## v2.10.0 (2019-09-11) -# Conflicts: -# Pipfile.lock -# setup.py +### Feature -* Merge branch 'master' into upgrade_to_django_1_11 +* feat: redirect Kurono users to landing page till launch (#1036) -* Merge branch 'master' into upgrade_to_django_1_11 +* redirect Kurono users to landing page till launch Signed-off-by: Niket Shah <masterniket@gmail.com> -# Conflicts: -# portal/urls.py - -* fix merge conflict error +* Remove docs that are outdated Signed-off-by: Niket Shah <masterniket@gmail.com> -* update django two factor auth dep +* Change link in students dashboard page too Signed-off-by: Niket Shah <masterniket@gmail.com> -* remove cache setting to see if rapid router tests pass without this error +* Change other student links Signed-off-by: Niket Shah <masterniket@gmail.com> -* Merge branch 'master' into upgrade_to_django_1_11 +* Fix another url error -# Conflicts: -# setup.py +Signed-off-by: Niket Shah <masterniket@gmail.com> -* Merge branch 'master' into upgrade_to_django_1_11 +* Change other kurono links -* Fix urllib version +Signed-off-by: Niket Shah <masterniket@gmail.com> -* Bring back rapid router in setup.py ([`9a85fab`](https://github.com/ocadotechnology/codeforlife-portal/commit/9a85fab05992bcdbf30602af673d9703cf54ad4a)) +* change back on of the links + +Signed-off-by: Niket Shah <masterniket@gmail.com> ([`ab0ae82`](https://github.com/ocadotechnology/codeforlife-portal/commit/ab0ae828186450f38f2de3a603e6173cc6f1586e)) ### Unknown -* 2.19.0 ([`3a0a48e`](https://github.com/ocadotechnology/codeforlife-portal/commit/3a0a48eb241a8168f982418c7761a239ad857cea)) +* 2.10.0 ([`6978f71`](https://github.com/ocadotechnology/codeforlife-portal/commit/6978f7192df04d23f3e8767254195737f023101b)) +## v2.9.6 (2019-09-11) -## v2.18.0 (2019-10-31) +### Fix -### Feature +* fix: Escape message content (#1035) -* feat: Remove online status feature (#1093) +* fix: Escape message content -* fix: remove online status feature +Signed-off-by: Niket Shah <masterniket@gmail.com> -* fix codeclimate issue ([`7c8b4d4`](https://github.com/ocadotechnology/codeforlife-portal/commit/7c8b4d4056de4d74cb9d455bf3e87220fcc9eaf2)) +* Remove escape for non user link -### Unknown +Signed-off-by: Niket Shah <masterniket@gmail.com> -* 2.18.0 ([`219da47`](https://github.com/ocadotechnology/codeforlife-portal/commit/219da47d88b4cc841a23e23ae54a288e3b0ee9b0)) +* remove unicode +Signed-off-by: Niket Shah <masterniket@gmail.com> ([`c982277`](https://github.com/ocadotechnology/codeforlife-portal/commit/c9822770c7d00d2592c005e5a22406e16a20b6ff)) -## v2.17.0 (2019-10-31) +### Unknown -### Build +* 2.9.6 ([`e214496`](https://github.com/ocadotechnology/codeforlife-portal/commit/e214496777705c39fadddc64aced3caab3f5fe22)) -* build: bump urllib3 from 1.23 to 1.24.2 (#1088) +## v2.9.5 (2019-09-10) -* build: bump urllib3 from 1.23 to 1.24.2 +### Fix -Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.23 to 1.24.2. -- [Release notes](https://github.com/urllib3/urllib3/releases) -- [Changelog](https://github.com/urllib3/urllib3/blob/master/CHANGES.rst) -- [Commits](https://github.com/urllib3/urllib3/compare/1.23...1.24.2) +* fix: missing css bug (#1033) -Signed-off-by: dependabot[bot] <support@github.com> +* Remove support for django-pipeline 1.5.4 -* Update pipfile lock ([`fba0243`](https://github.com/ocadotechnology/codeforlife-portal/commit/fba0243b8a6453ef63f038820db4bb05876b0bf8)) +Signed-off-by: Niket Shah <masterniket@gmail.com> -* build: bump pillow from 3.3.2 to 5.4.1 (#1083) +* Use our own SeleniumTestCase -* build(deps): bump pillow from 3.3.2 to 6.2.0 +Signed-off-by: Niket Shah <masterniket@gmail.com> -Bumps [pillow](https://github.com/python-pillow/Pillow) from 3.3.2 to 6.2.0. -- [Release notes](https://github.com/python-pillow/Pillow/releases) -- [Changelog](https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst) -- [Commits](https://github.com/python-pillow/Pillow/compare/3.3.2...6.2.0) +* fix version requirement -Signed-off-by: dependabot[bot] <support@github.com> +Signed-off-by: Niket Shah <masterniket@gmail.com> -* Update lock +* Ran black formatter on test_settings -* Downgrade Pillow to 5.4.1 so that reportlab doesn't break +Signed-off-by: Niket Shah <masterniket@gmail.com> -* Revert pipfile lock +* use django selenium 0.2.1 -* Update pipfile properly ([`53a9aee`](https://github.com/ocadotechnology/codeforlife-portal/commit/53a9aee30c468537f8454d0d3fc9414a219d4eb4)) +Signed-off-by: Niket Shah <masterniket@gmail.com> -### Feature +* Add self selenium to selenium test case ([`4653fa7`](https://github.com/ocadotechnology/codeforlife-portal/commit/4653fa7764438f938c3b324c9ee4856e0aa9569c)) -* feat: update list of contributors (#1091) +### Unknown -* Fixes #1090 - add thanks ([`1e9057d`](https://github.com/ocadotechnology/codeforlife-portal/commit/1e9057d71bf3468aedac13b0475b9b71699f240e)) +* 2.9.5 ([`c0c4a71`](https://github.com/ocadotechnology/codeforlife-portal/commit/c0c4a71d3c72693a553df74faba6866c899a4c9b)) -### Unknown +## v2.9.4 (2019-09-09) -* 2.17.0 ([`0595905`](https://github.com/ocadotechnology/codeforlife-portal/commit/0595905f5d86481d56aeb029b01408baf853fd08)) +### Fix +* fix: Upgrade to django-pipeline 1.6.14 (#1031) -## v2.16.0 (2019-10-21) +* Upgrade to django-pipeline 1.6.14 -### Feature +* Fix no kurono test -* feat: removed transparent subnav from RR page, deleted aimmo preview page (#1064) +* Fix erratic independent student tests -* removed transparent subnav from RR page, deleted aimmo preview page +* Remove installation of Jinja2 ([`05d0100`](https://github.com/ocadotechnology/codeforlife-portal/commit/05d0100440590b5d56d6a420446900f1be3849e4)) -* Merge branch 'master' into remove_transparent_banner +### Unknown -Signed-off-by: Niket Shah <masterniket@gmail.com> +* 2.9.4 ([`d1e2fef`](https://github.com/ocadotechnology/codeforlife-portal/commit/d1e2fefeefefeb3684aeb06d56f6bc5d48d7d1c3)) -# Conflicts: -# portal/templates/portal/play_aimmo_preview.html -# portal/templates/portal/play_rapid-router.html +## v2.9.3 (2019-09-05) -* Fix urls and minor css issues +### Fix -Signed-off-by: Niket Shah <masterniket@gmail.com> ([`e6ef252`](https://github.com/ocadotechnology/codeforlife-portal/commit/e6ef252d006dd1087760afc3c8707e7b7426db56)) +* fix: typo in our terms of use page (#1028) + +* Fix typo in our terms of use page + +Signed-off-by: Niket Shah <masterniket@gmail.com> ([`398daff`](https://github.com/ocadotechnology/codeforlife-portal/commit/398daffb66e909e6e9aca0d3d1e7051e6283a25d)) ### Unknown -* 2.16.0 ([`0def5e1`](https://github.com/ocadotechnology/codeforlife-portal/commit/0def5e1e08380ac0cb34abc43cb41f11b6df06af)) +* 2.9.3 ([`82ed6c6`](https://github.com/ocadotechnology/codeforlife-portal/commit/82ed6c69bd99f1d7e0be20617199f98c903558db)) +## v2.9.2 (2019-09-04) -## v2.15.0 (2019-10-21) +### Fix -### Feature +* fix: Kurono landing page, RR subnav and links to testing survey (#1027) -* feat: changed home page icons to include hexagons and kurono (#1063) +* fixed Kurono landing page, added subnav and removed test survey -* changed home page icons to include hexagons and kurono +* put survey back in, changed survey's name on Drive -* Merge branch 'master' into new_home_page +* Removed feedback form when not logged in -* reduced image file size and added Kurono picture with avatar +* Added paragraph and contact button for landing page -* new Kurono screenshot on home page hero +* codeclimate fix -* Merge branch 'master' into new_home_page ([`203397d`](https://github.com/ocadotechnology/codeforlife-portal/commit/203397db6e8d2476fdc548c23467d56e981500fd)) +* Merge branch 'master' into remove_aimmo_testing_survey -### Unknown +* Merge branch 'master' into remove_aimmo_testing_survey -* 2.15.0 ([`0b8e04d`](https://github.com/ocadotechnology/codeforlife-portal/commit/0b8e04de241c342f4e7087777b5cee3b9c46efce)) +* minor changes +* Fix class name and spacing ([`0e38267`](https://github.com/ocadotechnology/codeforlife-portal/commit/0e382671c8a4e93bf107e390b9f2efce49880ea4)) -## v2.14.1 (2019-10-14) +### Unknown -### Fix +* 2.9.2 ([`9632dde`](https://github.com/ocadotechnology/codeforlife-portal/commit/9632ddef510fe6306a147f402b8504bc3af01aa9)) -* fix: remove extra padding from banner images (#1078) +## v2.9.1 (2019-09-04) -* fix: move padding attribute to target only kurono logo +### Fix -* adjust padding of kurono landing page +* fix: use correct image for teaching resources page (#1026) -Signed-off-by: Niket Shah <masterniket@gmail.com> +* Separate teaching resources section image and hero ([`900481a`](https://github.com/ocadotechnology/codeforlife-portal/commit/900481acf8559bcee48bd2e99f9052d23428cfb4)) -* fix indentation in html +### Unknown -Signed-off-by: Niket Shah <masterniket@gmail.com> +* 2.9.1 ([`ab77ef8`](https://github.com/ocadotechnology/codeforlife-portal/commit/ab77ef8a8e51dd9ded6a4ccb441d7c7b96fa3a23)) -* Merge branch 'master' into fix_banner_image ([`5ec3cc3`](https://github.com/ocadotechnology/codeforlife-portal/commit/5ec3cc36d8f02b0be13b321199b540cb6b28f0ae)) +## v2.9.0 (2019-08-28) -### Unknown +### Feature -* 2.14.1 ([`a618fec`](https://github.com/ocadotechnology/codeforlife-portal/commit/a618fec0f2fee208891555584bd10de985333bff)) +* feat: remove preview users (#1025) +* created migration for removing preview users -## v2.14.0 (2019-10-11) +* added migration test -### Feature +* codeclimate fix ([`4097804`](https://github.com/ocadotechnology/codeforlife-portal/commit/409780485813bb49d707e40f491c22d53bfbaad9)) -* feat: New play page (#1061) +### Unknown -* Create new play page +* 2.9.0 ([`da0bf16`](https://github.com/ocadotechnology/codeforlife-portal/commit/da0bf16af0c2ca856f7b6c5ee15e00d0d5c24171)) -* Update other banners to be consistent with partial method +## v2.8.1 (2019-08-23) -* Black formatter + reorganising some imports +### Fix -* Add test for new banner partial +* fix: make banners across website bigger (#1024) -* Update page to be closer to design +* Fix kurono banner in rebrand -* Update final 2 banners +* Update pictures to be bigger -* Update images and amend mixin to accept auto parameter +* Merge branch 'master' into kurono_rebrand ([`b722ab9`](https://github.com/ocadotechnology/codeforlife-portal/commit/b722ab99196664160f210e3add4c4a05ef27bee4)) -* Version cache play page +### Unknown -* Fix some CodeClimate issues +* 2.8.1 ([`603e2c9`](https://github.com/ocadotechnology/codeforlife-portal/commit/603e2c9c35e307deac28fd90b6465d0ff8559dc3)) -* Remove unnecessary else +## v2.8.0 (2019-08-23) -* Rename URL and minify kurono hero +### Ci -* Update snapshot +* ci: make tests run only in PR builds (#1023) -* Merge branch 'master' into new_play_page +* Update travis stage conditions to have tests run only in PRs ([`183e1ca`](https://github.com/ocadotechnology/codeforlife-portal/commit/183e1ca324e4b369f48e2bab00f3e8ccce2a740b)) -# Conflicts: -# portal/templates/portal/play_aimmo.html -# portal/templatetags/app_tags.py -# portal/urls.py -# portal/views/home.py +### Feature -* Remove banner--class from partial +* feat: removed preview user/eligible for testing logic (#1022) -* Fixed benefits in kurono landing page +* removed prev. user/eligible for testing, ind.student condition -* Remove banner class from game banner partial ++ migration to remove preview user field -* Update headline to use h6 instead of p +* codeclimate fixes -* Update snapshots +* added migration tests -* Rename partial names to be clearer and cleaner +* minor fixes -* Rename partial names to be clearer and cleaner +* added preview and eligible for testing fields back on -* Migrate to pytest +* Merge branch 'master' into remove_preview_logic ([`4cc76b7`](https://github.com/ocadotechnology/codeforlife-portal/commit/4cc76b7e79935de6d1b9a3463a4e1cf22550d0b4)) -* Update travis to use pipenv +### Unknown -* Merge conflicts +* 2.8.0 ([`2660312`](https://github.com/ocadotechnology/codeforlife-portal/commit/26603120431043614cd9e8564cb40ae20ff694b6)) -* Fix merge request +## v2.7.0 (2019-08-21) -* Install dev dependencies +### Documentation -* Try calling codecov to get coverage +* docs: add copywrite requirements to new task template (#1018) -* Install codecov in travis +* added copywrite requirements to new task template -* Install pytest-cov to generate coverage +* Merge branch 'master' into new_issue_template_copywrite ([`414ee17`](https://github.com/ocadotechnology/codeforlife-portal/commit/414ee175fca1952d6ed64a150a118610556bf021)) -* Add testing doc + disable internal pytest warnings +### Feature -* Remove chromedriver version suggestion. ([`a6755c0`](https://github.com/ocadotechnology/codeforlife-portal/commit/a6755c0134a8590f3331c9e4f64aa4b72bf377a1)) +* feat: kurono rebrand (#1020) -### Unknown +* changed urls, logos, one copy -* 2.14.0 ([`60b4805`](https://github.com/ocadotechnology/codeforlife-portal/commit/60b4805117ce1dd11770dbca683abf456a8af5f1)) +* removed row of pictures on landing page +* added story blurb -## v2.13.3 (2019-10-09) +* minor changes -### Fix +* position fix -* fix: benefits partial (#1077) +* replaced Kurono (preview version) on game table page with logo -* fixed benefits in all pages +* minor changes -* updated snapshot +* minor fixes, renamed images sass file -* removed homepage-info from partial ([`023c0fd`](https://github.com/ocadotechnology/codeforlife-portal/commit/023c0fd7f6a755e7bd120d36aed2171bef182661)) +* import fix ([`1725e13`](https://github.com/ocadotechnology/codeforlife-portal/commit/1725e136ef97c0d0fd278c73c28e9c59b7a00657)) ### Unknown -* 2.13.3 ([`0c601f8`](https://github.com/ocadotechnology/codeforlife-portal/commit/0c601f887b38e524989b3868fc0ac9ec684c0bff)) - +* 2.7.0 ([`5a9ebe7`](https://github.com/ocadotechnology/codeforlife-portal/commit/5a9ebe7ff850bc4ab2fb7ca8869b5ed72d535a29)) -## v2.13.2 (2019-10-08) +## v2.6.13 (2019-08-15) ### Fix -* fix: update privacy policy (#1076) +* fix: Login redirect user (#1010) -* Updated the copy with revisions +* Login redirect -Signed-off-by: Niket Shah <masterniket@gmail.com> +* Update Login page url -* Merge branch 'master' into update_privacy_policy ([`974c656`](https://github.com/ocadotechnology/codeforlife-portal/commit/974c6566c659948996523ea6a2853a2c17aec608)) +* Fix typo and CodeClimate -### Unknown +* Merge branch 'master' into LoginUpdate -* 2.13.2 ([`50d7c0f`](https://github.com/ocadotechnology/codeforlife-portal/commit/50d7c0fb0028a4a45411884063a0eade6d63c943)) +* Add tests +* Redirect to dashboard instead of teach page + add same functionality and +tests for register page redirect. ([`fc689ec`](https://github.com/ocadotechnology/codeforlife-portal/commit/fc689ecdaa132702db341a6a29de1ee9cc09b577)) -## v2.13.1 (2019-10-08) +### Unknown -### Fix +* 2.6.13 ([`eb6cf23`](https://github.com/ocadotechnology/codeforlife-portal/commit/eb6cf236e926c16970600c8eeb27fe5ce07adedb)) -* fix: Kurono landing qa fixes (#1065) +## v2.6.12 (2019-08-13) -* redirect to preview aimmo page +### Fix -* fixed page UI +* fix: align newsletter form and social media icons in footer (#1012) -* snapshot update ([`1e09a9e`](https://github.com/ocadotechnology/codeforlife-portal/commit/1e09a9e0f9024067f9e75559a020aa9ed39b32bf)) +* Align newsletter form in footer ([`7d48a46`](https://github.com/ocadotechnology/codeforlife-portal/commit/7d48a46f0184e14fab2dfc983fc61a25f54b262c)) ### Unknown -* 2.13.1 ([`4c4013c`](https://github.com/ocadotechnology/codeforlife-portal/commit/4c4013c78f97928f9a1258f4e6914d1372479cf5)) - - -## v2.13.0 (2019-10-07) - -### Feature +* 2.6.12 ([`6e1a649`](https://github.com/ocadotechnology/codeforlife-portal/commit/6e1a6494d4d00d8384194d34abd8b050bd7fd732)) -* feat: new Kurono landing page (#1060) +## v2.6.11 (2019-08-09) -* called play_aimmo.html play_aimmo_old.html and added page w/ partials +### Fix -* Merge branch 'master' into kurono_landing_page +* fix: Seperate the terms of use and privacy policy page (#1009) -* url fix +* Seperate the terms of use and privacy policy page -* black formatter +Signed-off-by: Niket Shah <masterniket@gmail.com> -* added videos +* Fix the all about the cookies link -* benefits changes +Signed-off-by: Niket Shah <masterniket@gmail.com> ([`ef32b78`](https://github.com/ocadotechnology/codeforlife-portal/commit/ef32b78a8519c7655870aa809392cd744721bfba)) -* mobile screen fix, top menu not showing +### Unknown -* fixed mobile +* 2.6.11 ([`8d3fa52`](https://github.com/ocadotechnology/codeforlife-portal/commit/8d3fa52377bf62d831c8f3260dc7ec45820aecc0)) -* deleted old html +## v2.6.10 (2019-08-05) -* some minor fixes +### Fix -* code climate fixes +* fix: AI:MMO link replaced with landing page for non preview users (#1006) -* code climate fix +* Replace non-preview users AIMMO link to AIMMO landing page instead of home page ([`5aad20b`](https://github.com/ocadotechnology/codeforlife-portal/commit/5aad20b832f13bbb2d2954ad010005347ed780b8)) -* minor variable changes +### Unknown -* Revert "deleted old html" +* 2.6.10 ([`2af0280`](https://github.com/ocadotechnology/codeforlife-portal/commit/2af0280c85d21ed52d27460f5b15fab426e1cad9)) -This reverts commit e33c2088246f60c0f59f9182287cbc32cb1ff229. +## v2.6.9 (2019-07-29) -* typo fix and centred challenges +### Documentation -* renamed old html file and increased video height +* docs: add solution to pillow install issues on macos mojave (#998) ([`bdc08e5`](https://github.com/ocadotechnology/codeforlife-portal/commit/bdc08e50e33bc871c601e3c57e6e9d9840fa4eb0)) -* minified kurono landing hero jpeg +### Fix -* changed shadow colours +* fix: Update Aimmo url link (#999) -* renamed level +* Update Aimmo url link ([`35ebdb8`](https://github.com/ocadotechnology/codeforlife-portal/commit/35ebdb8f155783a590208b68bc21febdddea4748)) -* changed videos with newer versions +### Unknown -* version cached play aimmo page +* 2.6.9 ([`0b08950`](https://github.com/ocadotechnology/codeforlife-portal/commit/0b08950aa951ca07db346920d7cdd71d62d0e804)) -* left-align benefits text ([`cf4fbe5`](https://github.com/ocadotechnology/codeforlife-portal/commit/cf4fbe5acaece366e5761fc4667f17798f29185b)) +## v2.6.8 (2019-07-25) -### Unknown +### Fix -* 2.13.0 ([`b1d4355`](https://github.com/ocadotechnology/codeforlife-portal/commit/b1d4355946a967555b63a1c4e56ab0e7d2641250)) +* fix: updated PDFs links to refer to AIMMO_v2 folder on the cloud (#996) +* updated PDFs links to refer to AIMMO_v2 folder on the cloud -## v2.12.0 (2019-09-30) +* updated resources to version 2 folder, removed broken links -### Feature +* Merge branch 'master' into update_aimmo_challenge_pdfs ([`d12a121`](https://github.com/ocadotechnology/codeforlife-portal/commit/d12a1215c755705795758f587ad8b1b5ab1c2fef)) -* feat: Game banner partial (#1058) +### Unknown -* Adds game banner mixin + temp examples in play page +* 2.6.8 ([`9191ddb`](https://github.com/ocadotechnology/codeforlife-portal/commit/9191ddbe41da95be8ec71904801a93a9d9e58eb1)) -* Adjust CSS +## v2.6.7 (2019-07-23) -* Merge branch 'master' into partial_game_banner +### Fix -* fix after merging master into branch +* fix: add AI:MMO header button to old base file (#995) -* made button display inline-block +* Add AI:MMO header button to old base file ([`b179707`](https://github.com/ocadotechnology/codeforlife-portal/commit/b179707ef0b06eda3a9a1418252664b7ee7ef43c)) -* Add padding and constants +### Unknown -* Failing test +* 2.6.7 ([`b671fcf`](https://github.com/ocadotechnology/codeforlife-portal/commit/b671fcf461ee2192b707bf98c82038a77a05d5b0)) -* fixed test +## v2.6.6 (2019-07-17) -* undid changes to first test +### Fix -* Formatting +* fix: correct URL for KS2 PDF (#993) -* Make tests consistent +* Fix KS2 S1 2 PDF URL ([`7670051`](https://github.com/ocadotechnology/codeforlife-portal/commit/76700515ed9d99430a75111d294f98a9df2c6816)) -* Remove test partials from play page +### Unknown -* Fix mobile media query to match Bootstrap standards +* 2.6.6 ([`0f0a539`](https://github.com/ocadotechnology/codeforlife-portal/commit/0f0a53981201c8dd582d67c41183ab020847dda4)) -* Remove game banner tag from play page +## v2.6.5 (2019-07-15) -* Renamed constants to match sass standards +### Fix -* Add snapshot tests for partials testing +* fix: remove scoreboard button (#992) -* Disable code climate on test files +* fix: remove scoreboard button for independent students -* Remove unused imports ([`976d85b`](https://github.com/ocadotechnology/codeforlife-portal/commit/976d85b310fadbedbdc5735fa34f5e60c8b9eb27)) +* fix: display of logout drop down on join school and change password screens ([`8dff714`](https://github.com/ocadotechnology/codeforlife-portal/commit/8dff71474914ec10c8ce2098734a75b6f8f6672f)) -### Refactor +### Unknown -* refactor: benefits partial (#1053) +* 2.6.5 ([`019d2f5`](https://github.com/ocadotechnology/codeforlife-portal/commit/019d2f5220d869557e303c46b63f55a71b26a39d)) -* teach and about pages done +## v2.6.4 (2019-07-11) -* made benefits into a partial +### Fix -* forgot to stage one file +* fix: students not seeing games (#990) -* Merge branch 'master' into benefits_partial +* added parameter name just in case -* codeclimate fix +* syntax fix -* Merge remote-tracking branch 'origin/master' into benefits_partial +* made necessary changes + some refactoring -* Auto stash before merge of "benefits_partial" and "origin/master" +* code climate fixes -* fixed broken bits, still unformatted grid +* codecov fixes? -* fixed grids +* Merge branch 'master' into fix_students_not_seeing_games -* reverted "about" benefits +* code climate fix -* some refactoring, added test +* Merge remote-tracking branch 'origin/fix_students_not_seeing_games' into fix_students_not_seeing_games -* codeclimate fixes +* coverage fix -* black formatter, css autoprefix +* codecov fix -* removed text conditional, autoprefixed only for last one version +* added a couple of tests + minor changes -* typo + 200,000 users +* fixed import -* autoprefix fix +* fixed more imports -* syntax fix ([`4b58142`](https://github.com/ocadotechnology/codeforlife-portal/commit/4b58142f6ec9b18823211689dafc0381926bc548)) +* typo -* refactor: Make page blurb into a partial (#1057) +* codecov patch disabled -* refactor: Make page blurb into a partial +* code climate fix -* Add new line +* added tests, small refactoring -* Use python data instead of JSON +* test fix -* Add test for headline partial +* test fix + added preview user setting to Student model -* Make test for generic for headline templatetag ([`3cabf53`](https://github.com/ocadotechnology/codeforlife-portal/commit/3cabf53c53d992c9a65b0aac79015c912fac892c)) +* added patch coverage back + test fix -* refactor: Make banner into a partial (#1052) +* removed docstring -* Refactor banner to be a partial +* test fix -* Remove dashboard banner from partial + simplify rest +* test fix -* Simplify partial logic +* replaced "return" with "assert" on tests -* Fix indentation +* Merge branch 'master' into fix_students_not_seeing_games -* Add argument names to banner call +* fixed and added tests -* Rename hexagon to image + Black format ([`e6676f3`](https://github.com/ocadotechnology/codeforlife-portal/commit/e6676f30e875aa6734ccb6356c28d044fa3e35a8)) +* test fix -### Unknown +* Merge branch 'master' into fix_students_not_seeing_games -* 2.12.0 ([`1d0aa05`](https://github.com/ocadotechnology/codeforlife-portal/commit/1d0aa05848b8995f079e49ec05960d4f4898ceaa)) +* set target codecov patch to 80% +* change in codecov threshold -## v2.11.0 (2019-09-17) +* removed patch change -### Feature +* Merge branch 'master' into fix_students_not_seeing_games -* feat: update Kurono PDFs (#1050) +* added update for moving students -* feat: update Kurono PDFs +* fixed test for preview dismiss -* Added comment to trigger codecov ([`549b04f`](https://github.com/ocadotechnology/codeforlife-portal/commit/549b04f37dc3d7ba71fc0fc74ceffaa72dc57ea0)) +* test fix -### Unknown +* minor test fixes -* 2.11.0 ([`d27e95c`](https://github.com/ocadotechnology/codeforlife-portal/commit/d27e95c8b4089b950fb2f5a5ddfdcffa4e85f354)) +* test fix +* typo -## v2.10.0 (2019-09-11) +* Fixed dismiss student test -### Feature +* Fixed dismiss student test even more ([`320a5af`](https://github.com/ocadotechnology/codeforlife-portal/commit/320a5af41fb05d233294a2394542486010a55ad4)) -* feat: redirect Kurono users to landing page till launch (#1036) +### Unknown -* redirect Kurono users to landing page till launch +* 2.6.4 ([`9b3f259`](https://github.com/ocadotechnology/codeforlife-portal/commit/9b3f25942a4251c637206b14086fbd66717df5f9)) -Signed-off-by: Niket Shah <masterniket@gmail.com> +## v2.6.3 (2019-07-10) -* Remove docs that are outdated +### Fix -Signed-off-by: Niket Shah <masterniket@gmail.com> +* fix: changed regex to allow spaces (#991) -* Change link in students dashboard page too +* changed regex to allow spaces ([`3ea6f10`](https://github.com/ocadotechnology/codeforlife-portal/commit/3ea6f10215111e89da0e3a350a81b567d85b5ac0)) -Signed-off-by: Niket Shah <masterniket@gmail.com> +### Unknown -* Change other student links +* 2.6.3 ([`93f5ceb`](https://github.com/ocadotechnology/codeforlife-portal/commit/93f5ceb89c5617888172e13c282138dbced4a2a8)) -Signed-off-by: Niket Shah <masterniket@gmail.com> +## v2.6.2 (2019-07-10) -* Fix another url error +### Fix -Signed-off-by: Niket Shah <masterniket@gmail.com> +* fix: Removal of optional sign next to New Password (#967) -* Change other kurono links +* removal of optional sign next to New Password -Signed-off-by: Niket Shah <masterniket@gmail.com> +* Merge branch 'master' into independent_edit_account_fix -* change back on of the links +* Re-arrangement of a few pieces of code -Signed-off-by: Niket Shah <masterniket@gmail.com> ([`ab0ae82`](https://github.com/ocadotechnology/codeforlife-portal/commit/ab0ae828186450f38f2de3a603e6173cc6f1586e)) +* Merge branch 'independent_edit_account_fix' of https://github.com/ocadotechnology/codeforlife-portal into independent_edit_account_fix -### Unknown +* Small syntax fix -* 2.10.0 ([`6978f71`](https://github.com/ocadotechnology/codeforlife-portal/commit/6978f7192df04d23f3e8767254195737f023101b)) +* Spacing and Cyclomatic complexity fix +* More spacing fixes -## v2.9.6 (2019-09-11) +* Fixing functions -### Fix +* indentation fix -* fix: Escape message content (#1035) +* Indentation fix -* fix: Escape message content +* Email verification fix -Signed-off-by: Niket Shah <masterniket@gmail.com> +* Name change fix -* Remove escape for non user link +* Merge branch 'master' into independent_edit_account_fix -Signed-off-by: Niket Shah <masterniket@gmail.com> +* Spacing Changes -* remove unicode +* Merge branch 'independent_edit_account_fix' of https://github.com/ocadotechnology/codeforlife-portal into independent_edit_account_fix -Signed-off-by: Niket Shah <masterniket@gmail.com> ([`c982277`](https://github.com/ocadotechnology/codeforlife-portal/commit/c9822770c7d00d2592c005e5a22406e16a20b6ff)) +* Revert "Spacing Changes" -### Unknown +This reverts commit 634bb360bcc681ebb9b69b1559fbe61cf86d7a77. -* 2.9.6 ([`e214496`](https://github.com/ocadotechnology/codeforlife-portal/commit/e214496777705c39fadddc64aced3caab3f5fe22)) +* Used FormView instead of VanillaView +* Merge branch 'master' into independent_edit_account_fix -## v2.9.5 (2019-09-10) +* Spacing changes and getting rid of prints -### Fix +* Merge branch 'independent_edit_account_fix' of https://github.com/ocadotechnology/codeforlife-portal into independent_edit_account_fix -* fix: missing css bug (#1033) +* Spacing fix -* Remove support for django-pipeline 1.5.4 +* Refactored get_form method -Signed-off-by: Niket Shah <masterniket@gmail.com> +* Similar blocks of code changed -* Use our own SeleniumTestCase +* Indentation fix -Signed-off-by: Niket Shah <masterniket@gmail.com> +* Form_Valid unrefactored -* fix version requirement +* Merge branch 'master' into independent_edit_account_fix -Signed-off-by: Niket Shah <masterniket@gmail.com> +* typo fix -* Ran black formatter on test_settings +* Merge branch 'master' into independent_edit_account_fix -Signed-off-by: Niket Shah <masterniket@gmail.com> +* Merge branch 'master' into independent_edit_account_fix -* use django selenium 0.2.1 +* Add verification success url -Signed-off-by: Niket Shah <masterniket@gmail.com> +* Fix test issues -* Add self selenium to selenium test case ([`4653fa7`](https://github.com/ocadotechnology/codeforlife-portal/commit/4653fa7764438f938c3b324c9ee4856e0aa9569c)) +* Refactored process form function -### Unknown +* Restructured student views, added docstrings and constant -* 2.9.5 ([`c0c4a71`](https://github.com/ocadotechnology/codeforlife-portal/commit/c0c4a71d3c72693a553df74faba6866c899a4c9b)) +* Refactor stuff +* More refactoring -## v2.9.4 (2019-09-09) +* Even more refactoring -### Fix +* Makes methods private -* fix: Upgrade to django-pipeline 1.6.14 (#1031) +* Remove blank lines ([`e7661bf`](https://github.com/ocadotechnology/codeforlife-portal/commit/e7661bf81c7cd10007cbd9eaa43177b8e621f315)) -* Upgrade to django-pipeline 1.6.14 +### Unknown -* Fix no kurono test +* 2.6.2 ([`eb17878`](https://github.com/ocadotechnology/codeforlife-portal/commit/eb17878950e5937a778af70795c93d18df3aa09d)) -* Fix erratic independent student tests +## v2.6.1 (2019-07-03) -* Remove installation of Jinja2 ([`05d0100`](https://github.com/ocadotechnology/codeforlife-portal/commit/05d0100440590b5d56d6a420446900f1be3849e4)) +### Fix -### Unknown +* fix: Students have access to their teachers' games (#946) -* 2.9.4 ([`d1e2fef`](https://github.com/ocadotechnology/codeforlife-portal/commit/d1e2fefeefefeb3684aeb06d56f6bc5d48d7d1c3)) +* Adds new students to games + tests +* Adds transferred and moved students to games -## v2.9.3 (2019-09-05) +* Merge branch 'master' into students-play-teacher-games -### Fix +* Merge remote-tracking branch 'origin/master' into students-play-teacher-games -* fix: typo in our terms of use page (#1028) +* adding students to games is one function -* Fix typo in our terms of use page +* small refactoring -Signed-off-by: Niket Shah <masterniket@gmail.com> ([`398daff`](https://github.com/ocadotechnology/codeforlife-portal/commit/398daffb66e909e6e9aca0d3d1e7051e6283a25d)) +* code climate fix -### Unknown +* small format change -* 2.9.3 ([`82ed6c6`](https://github.com/ocadotechnology/codeforlife-portal/commit/82ed6c69bd99f1d7e0be20617199f98c903558db)) +* Merge branch 'master' into students-play-teacher-games +* called function on dashboard -## v2.9.2 (2019-09-04) +* Changed test name and added description -### Fix +* code climate fixes? -* fix: Kurono landing page, RR subnav and links to testing survey (#1027) +* Merge branch 'master' into students-play-teacher-games -* fixed Kurono landing page, added subnav and removed test survey +* Merge branch 'master' into students-play-teacher-games -* put survey back in, changed survey's name on Drive +* Merge remote-tracking branch 'origin/students-play-teacher-games' into students-play-teacher-games -* Removed feedback form when not logged in +* Make docstrings more specific -* Added paragraph and contact button for landing page +* made class editing more modular, changed url name on onboarding * codeclimate fix -* Merge branch 'master' into remove_aimmo_testing_survey +* Merge branch 'master' into students-play-teacher-games ([`cf372aa`](https://github.com/ocadotechnology/codeforlife-portal/commit/cf372aab35a9850bdf6cbe9960578b3b4201a599)) -* Merge branch 'master' into remove_aimmo_testing_survey +### Unknown -* minor changes +* 2.6.1 ([`da59b85`](https://github.com/ocadotechnology/codeforlife-portal/commit/da59b85d413dbc484d026fcbae196e0939942f08)) -* Fix class name and spacing ([`0e38267`](https://github.com/ocadotechnology/codeforlife-portal/commit/0e382671c8a4e93bf107e390b9f2efce49880ea4)) +## v2.6.0 (2019-07-03) -### Unknown +### Feature -* 2.9.2 ([`9632dde`](https://github.com/ocadotechnology/codeforlife-portal/commit/9632ddef510fe6306a147f402b8504bc3af01aa9)) +* feat: integrating codecov (#985) +* added codecov yml -## v2.9.1 (2019-09-04) +* travis setup -### Fix +* changed line on travis -* fix: use correct image for teaching resources page (#1026) +* updated README -* Separate teaching resources section image and hero ([`900481a`](https://github.com/ocadotechnology/codeforlife-portal/commit/900481acf8559bcee48bd2e99f9052d23428cfb4)) +* removed install codecov and dev in yml ([`70b99b3`](https://github.com/ocadotechnology/codeforlife-portal/commit/70b99b3bbf309ab87b37d9d6c51c6642cc5fe274)) ### Unknown -* 2.9.1 ([`ab77ef8`](https://github.com/ocadotechnology/codeforlife-portal/commit/ab77ef8a8e51dd9ded6a4ccb441d7c7b96fa3a23)) +* 2.6.0 ([`f0cc675`](https://github.com/ocadotechnology/codeforlife-portal/commit/f0cc6755f09f74b84ffab7733f88d80343c72f59)) +* fix syntax error (#984) ([`a6a0d83`](https://github.com/ocadotechnology/codeforlife-portal/commit/a6a0d83b88303af3fff9af256d50ffb0ca8e528b)) -## v2.9.0 (2019-08-28) +## v2.5.9 (2019-06-28) -### Feature +### Fix -* feat: remove preview users (#1025) +* fix: Sending GA event (#983) -* created migration for removing preview users +* Adding GA Event back -* added migration test +* Add GA event back -* codeclimate fix ([`4097804`](https://github.com/ocadotechnology/codeforlife-portal/commit/409780485813bb49d707e40f491c22d53bfbaad9)) +* FInsh adding GA events ([`05f70fc`](https://github.com/ocadotechnology/codeforlife-portal/commit/05f70fc06e9fd7010f646192e4842fffffb09cde)) ### Unknown -* 2.9.0 ([`da0bf16`](https://github.com/ocadotechnology/codeforlife-portal/commit/da0bf16af0c2ca856f7b6c5ee15e00d0d5c24171)) - +* 2.5.9 ([`031c41b`](https://github.com/ocadotechnology/codeforlife-portal/commit/031c41b08d24c50861befbf6f56ae76bc184b38e)) -## v2.8.1 (2019-08-23) +## v2.5.8 (2019-06-28) ### Fix -* fix: make banners across website bigger (#1024) +* fix: created stub for future library (#981) -* Fix kurono banner in rebrand +* created stub for future library -* Update pictures to be bigger +* fixed url + removed function -* Merge branch 'master' into kurono_rebrand ([`b722ab9`](https://github.com/ocadotechnology/codeforlife-portal/commit/b722ab99196664160f210e3add4c4a05ef27bee4)) +* added docstring ([`b56ab3d`](https://github.com/ocadotechnology/codeforlife-portal/commit/b56ab3ddb2fc352ffb31ad942de00b9e4d2f2df5)) ### Unknown -* 2.8.1 ([`603e2c9`](https://github.com/ocadotechnology/codeforlife-portal/commit/603e2c9c35e307deac28fd90b6465d0ff8559dc3)) +* 2.5.8 ([`0cbd040`](https://github.com/ocadotechnology/codeforlife-portal/commit/0cbd040738a0ee05598d5525b3dae5453f6fdffa)) +## v2.5.7 (2019-06-27) -## v2.8.0 (2019-08-23) +### Fix -### Ci +* fix: removed password requirement for create school (#980) -* ci: make tests run only in PR builds (#1023) +* removed password requirement for create classes -* Update travis stage conditions to have tests run only in PRs ([`183e1ca`](https://github.com/ocadotechnology/codeforlife-portal/commit/183e1ca324e4b369f48e2bab00f3e8ccce2a740b)) +* Spacing fix -### Feature +* Another spacing fix -* feat: removed preview user/eligible for testing logic (#1022) +* Another spacing fix -* removed prev. user/eligible for testing, ind.student condition +* Fixed testing to remove required password -+ migration to remove preview user field +* Got rid of KeyError ([`d388665`](https://github.com/ocadotechnology/codeforlife-portal/commit/d3886653726ebce08e6894bf431e9ce06b2697b7)) -* codeclimate fixes +### Unknown -* added migration tests +* 2.5.7 ([`9815105`](https://github.com/ocadotechnology/codeforlife-portal/commit/9815105087e1e1b2954c6b3f813d539eef155fa6)) -* minor fixes +## v2.5.6 (2019-06-26) -* added preview and eligible for testing fields back on +### Fix -* Merge branch 'master' into remove_preview_logic ([`4cc76b7`](https://github.com/ocadotechnology/codeforlife-portal/commit/4cc76b7e79935de6d1b9a3463a4e1cf22550d0b4)) +* fix: google plus - (#977) + +* google plus - ([`a228772`](https://github.com/ocadotechnology/codeforlife-portal/commit/a228772a78f4142d989926b55f049c5d1b129ea1)) ### Unknown -* 2.8.0 ([`2660312`](https://github.com/ocadotechnology/codeforlife-portal/commit/26603120431043614cd9e8564cb40ae20ff694b6)) +* 2.5.6 ([`2879e98`](https://github.com/ocadotechnology/codeforlife-portal/commit/2879e98bfe9e4857d61a50587f0d328d0fa773b3)) +## v2.5.5 (2019-06-20) -## v2.7.0 (2019-08-21) +### Fix -### Documentation +* fix: Fixed social media spacing (#972) -* docs: add copywrite requirements to new task template (#1018) +* Fixed social media spacing ([`b0f40b3`](https://github.com/ocadotechnology/codeforlife-portal/commit/b0f40b33367d29018e4ac8fd3e4384cf6943b8ea)) -* added copywrite requirements to new task template +### Unknown -* Merge branch 'master' into new_issue_template_copywrite ([`414ee17`](https://github.com/ocadotechnology/codeforlife-portal/commit/414ee175fca1952d6ed64a150a118610556bf021)) +* 2.5.5 ([`0084971`](https://github.com/ocadotechnology/codeforlife-portal/commit/0084971cf3b7330bf56fc4851c843e1765e9f723)) -### Feature +## v2.5.4 (2019-06-20) -* feat: kurono rebrand (#1020) +### Fix -* changed urls, logos, one copy +* fix: added input control for special characters + test (#970) -* removed row of pictures on landing page +* added input control for special characters + test -* added story blurb +* refactored test -* minor changes +* syntax fix ([`d756e1f`](https://github.com/ocadotechnology/codeforlife-portal/commit/d756e1f56f235ec1941474a36a565ffa4cfe047d)) -* position fix +### Unknown -* replaced Kurono (preview version) on game table page with logo +* 2.5.4 ([`8703a4e`](https://github.com/ocadotechnology/codeforlife-portal/commit/8703a4eea1a6ee791b8e1e6e87a83c2f73486396)) -* minor changes +## v2.5.3 (2019-06-20) -* minor fixes, renamed images sass file +### Fix -* import fix ([`1725e13`](https://github.com/ocadotechnology/codeforlife-portal/commit/1725e136ef97c0d0fd278c73c28e9c59b7a00657)) +* fix: permission error on staging (#968) -### Unknown +* added brackets -* 2.7.0 ([`5a9ebe7`](https://github.com/ocadotechnology/codeforlife-portal/commit/5a9ebe7ff850bc4ab2fb7ca8869b5ed72d535a29)) +* added print to debug +* added print -## v2.6.13 (2019-08-15) +* added print -### Fix +* changed ajax -* fix: Login redirect user (#1010) +* printing userprofile -* Login redirect +* changed print -* Update Login page url +* ajax fix -* Fix typo and CodeClimate +* removed print -* Merge branch 'master' into LoginUpdate +* took preview user field out -* Add tests +* Added permission class + +* ajax change + +* tried to print the error, added data method + +* unified delete permission class -* Redirect to dashboard instead of teach page + add same functionality and -tests for register page redirect. ([`fc689ec`](https://github.com/ocadotechnology/codeforlife-portal/commit/fc689ecdaa132702db341a6a29de1ee9cc09b577)) +* Merge branch 'master' into test_permissions_on_dev ([`41949f3`](https://github.com/ocadotechnology/codeforlife-portal/commit/41949f3d49563d24d64400acc371a00210e07b54)) ### Unknown -* 2.6.13 ([`eb6cf23`](https://github.com/ocadotechnology/codeforlife-portal/commit/eb6cf236e926c16970600c8eeb27fe5ce07adedb)) - +* 2.5.3 ([`877d715`](https://github.com/ocadotechnology/codeforlife-portal/commit/877d715c97e718516933888f61b488c2cae0d2a8)) -## v2.6.12 (2019-08-13) +## v2.5.2 (2019-06-19) ### Fix -* fix: align newsletter form and social media icons in footer (#1012) +* fix: Got rid of pink flash (#966) -* Align newsletter form in footer ([`7d48a46`](https://github.com/ocadotechnology/codeforlife-portal/commit/7d48a46f0184e14fab2dfc983fc61a25f54b262c)) +* Got rid of pink flash ([`c619f87`](https://github.com/ocadotechnology/codeforlife-portal/commit/c619f87d87158d272a4383a3f3c8ba8c5905a0f0)) ### Unknown -* 2.6.12 ([`6e1a649`](https://github.com/ocadotechnology/codeforlife-portal/commit/6e1a6494d4d00d8384194d34abd8b050bd7fd732)) - +* 2.5.2 ([`42f4701`](https://github.com/ocadotechnology/codeforlife-portal/commit/42f4701373a4024cd30ce723ecd36aba51b3e6e7)) -## v2.6.11 (2019-08-09) +## v2.5.1 (2019-06-07) ### Fix -* fix: Seperate the terms of use and privacy policy page (#1009) +* fix: JS null error linked to newsletter form (#962) -* Seperate the terms of use and privacy policy page - -Signed-off-by: Niket Shah <masterniket@gmail.com> - -* Fix the all about the cookies link - -Signed-off-by: Niket Shah <masterniket@gmail.com> ([`ef32b78`](https://github.com/ocadotechnology/codeforlife-portal/commit/ef32b78a8519c7655870aa809392cd744721bfba)) +* Make newsletter form redirect to home page, get rid of hidden label -### Unknown +* Merge branch 'master' into fix-poltergeist -* 2.6.11 ([`8d3fa52`](https://github.com/ocadotechnology/codeforlife-portal/commit/8d3fa52377bf62d831c8f3260dc7ec45820aecc0)) +* Add independent student already registered test to increase coverage +* Merge branch 'master' into fix-poltergeist -## v2.6.10 (2019-08-05) +* Black formatter + optimise imports ([`44e1210`](https://github.com/ocadotechnology/codeforlife-portal/commit/44e1210ac0dae4230b3e70f2127ad51eab8c0437)) -### Fix +### Unknown -* fix: AI:MMO link replaced with landing page for non preview users (#1006) +* 2.5.1 ([`636c55b`](https://github.com/ocadotechnology/codeforlife-portal/commit/636c55b1fac586a62973c89e9f7414960d5a0e66)) -* Replace non-preview users AIMMO link to AIMMO landing page instead of home page ([`5aad20b`](https://github.com/ocadotechnology/codeforlife-portal/commit/5aad20b832f13bbb2d2954ad010005347ed780b8)) +## v2.5.0 (2019-06-07) -### Unknown +### Feature -* 2.6.10 ([`2af0280`](https://github.com/ocadotechnology/codeforlife-portal/commit/2af0280c85d21ed52d27460f5b15fab426e1cad9)) +* feat: added scottish curriculum link (#963) +* added scottish curriculum link ([`fefeece`](https://github.com/ocadotechnology/codeforlife-portal/commit/fefeece475018fa86c1aef68cc59c5c714d2bd0a)) -## v2.6.9 (2019-07-29) +### Unknown -### Documentation +* 2.5.0 ([`6c6e8bc`](https://github.com/ocadotechnology/codeforlife-portal/commit/6c6e8bc5ebca56d3568a6b4b62aeb07b23cf037f)) -* docs: add solution to pillow install issues on macos mojave (#998) ([`bdc08e5`](https://github.com/ocadotechnology/codeforlife-portal/commit/bdc08e50e33bc871c601e3c57e6e9d9840fa4eb0)) +## v2.4.1 (2019-06-07) ### Fix -* fix: Update Aimmo url link (#999) +* fix: game table column size (#961) -* Update Aimmo url link ([`35ebdb8`](https://github.com/ocadotechnology/codeforlife-portal/commit/35ebdb8f155783a590208b68bc21febdddea4748)) +* fixed the table column size ([`242f7a7`](https://github.com/ocadotechnology/codeforlife-portal/commit/242f7a7afa49a62c33057a82b21af6b61a43f347)) ### Unknown -* 2.6.9 ([`0b08950`](https://github.com/ocadotechnology/codeforlife-portal/commit/0b08950aa951ca07db346920d7cdd71d62d0e804)) +* 2.4.1 ([`25d7136`](https://github.com/ocadotechnology/codeforlife-portal/commit/25d713601f10334cffacc99255a80c21ec781bfd)) +## v2.4.0 (2019-06-06) -## v2.6.8 (2019-07-25) +### Chore -### Fix +* chore: Update stalebot daysUntilStale to 90 (#958) -* fix: updated PDFs links to refer to AIMMO_v2 folder on the cloud (#996) +* chore: Update stalebot daysUntilStale to 90 ([`be728fc`](https://github.com/ocadotechnology/codeforlife-portal/commit/be728fc364017bd2568b2ccd54c07495dcdf3721)) -* updated PDFs links to refer to AIMMO_v2 folder on the cloud +### Feature -* updated resources to version 2 folder, removed broken links +* feat: delete aimmo game button + confirmation pop-up (#957) -* Merge branch 'master' into update_aimmo_challenge_pdfs ([`d12a121`](https://github.com/ocadotechnology/codeforlife-portal/commit/d12a1215c755705795758f587ad8b1b5ab1c2fef)) +* added delete game button + popup + test -### Unknown +* test fix -* 2.6.8 ([`9191ddb`](https://github.com/ocadotechnology/codeforlife-portal/commit/9191ddbe41da95be8ec71904801a93a9d9e58eb1)) +* test fix +* test fix -## v2.6.7 (2019-07-23) +* test fix final -### Fix +* test fix final final -* fix: add AI:MMO header button to old base file (#995) +* test fix final final 0.2 -* Add AI:MMO header button to old base file ([`b179707`](https://github.com/ocadotechnology/codeforlife-portal/commit/b179707ef0b06eda3a9a1418252664b7ee7ef43c)) +* test fix final final FINAL -### Unknown +Selenium isn't working on my machine so I can only run Selenium tests on Travis -* 2.6.7 ([`b671fcf`](https://github.com/ocadotechnology/codeforlife-portal/commit/b671fcf461ee2192b707bf98c82038a77a05d5b0)) +* removed unnecessary import +* code climate fixes -## v2.6.6 (2019-07-17) +* code climate fix -### Fix +* code climate fix -* fix: correct URL for KS2 PDF (#993) +* code climate fix -* Fix KS2 S1 2 PDF URL ([`7670051`](https://github.com/ocadotechnology/codeforlife-portal/commit/76700515ed9d99430a75111d294f98a9df2c6816)) +* some format fixes -### Unknown +* format fixes -* 2.6.6 ([`0f0a539`](https://github.com/ocadotechnology/codeforlife-portal/commit/0f0a53981201c8dd582d67c41183ab020847dda4)) +* game now deleted on aimmo side, DELETE request sent from portal +* Merge remote-tracking branch 'origin/master' into delete_aimmo_game_button -## v2.6.5 (2019-07-15) +* added teacher permission -### Fix +* fixed formatting, refactored permissions to include try clauses -* fix: remove scoreboard button (#992) +* code climate fixes -* fix: remove scoreboard button for independent students - -* fix: display of logout drop down on join school and change password screens ([`8dff714`](https://github.com/ocadotechnology/codeforlife-portal/commit/8dff71474914ec10c8ce2098734a75b6f8f6672f)) +* changed popup code for readability -### Unknown +* smol fix -* 2.6.5 ([`019d2f5`](https://github.com/ocadotechnology/codeforlife-portal/commit/019d2f5220d869557e303c46b63f55a71b26a39d)) +* moved popup and used html data attributes +* some fixes -## v2.6.4 (2019-07-11) +* some fixes -### Fix +* some test refactoring -* fix: students not seeing games (#990) +* changed popup to be in line w/ design system, added animation -* added parameter name just in case +* code climate fixes -* syntax fix +* added strong font class -* made necessary changes + some refactoring +* created popup html partial * code climate fixes -* codecov fixes? +* some formatting fixes -* Merge branch 'master' into fix_students_not_seeing_games +* formatting fixes -* code climate fix +* made popup more modular and used in other confirmation box instances -* Merge remote-tracking branch 'origin/fix_students_not_seeing_games' into fix_students_not_seeing_games +* test fixes -* coverage fix +* test fix? -* codecov fix +* test fixes?? -* added a couple of tests + minor changes +* test fixes??? -* fixed import +* more test fixes -* fixed more imports +* test fixes II -* typo +* test fix III -* codecov patch disabled +* test fixes IV -* code climate fix +* test fix V -* added tests, small refactoring +* test import fixes -* test fix +* more import fixes -* test fix + added preview user setting to Student model +* import fixes II -* added patch coverage back + test fix +* should work now -* removed docstring +* removed console log -* test fix +* code climate fixes -* test fix +* removed unused import -* replaced "return" with "assert" on tests +* some fixes -* Merge branch 'master' into fix_students_not_seeing_games +* renamed test -* fixed and added tests +* accessibility fix -* test fix +* renamed template tag -* Merge branch 'master' into fix_students_not_seeing_games +* removed template tag, added django include -* set target codecov patch to 80% +* added .coveragerc file to exclude tests -* change in codecov threshold +* coverage fix? -* removed patch change +* coverage fix. -* Merge branch 'master' into fix_students_not_seeing_games +* more coverage fixes -* added update for moving students +* coveralls not being nice -* fixed test for preview dismiss +* oh well coveralls -* test fix +* omit travis files on coveragerc -* minor test fixes +* coverage only omitting test files -* test fix +* omitting eggs and / on coverage -* typo +* removed coveragerc file ([`39298cd`](https://github.com/ocadotechnology/codeforlife-portal/commit/39298cd2212c1a5b13f46e63aff4732502b37f9b)) -* Fixed dismiss student test +### Unknown -* Fixed dismiss student test even more ([`320a5af`](https://github.com/ocadotechnology/codeforlife-portal/commit/320a5af41fb05d233294a2394542486010a55ad4)) +* 2.4.0 ([`1988ce5`](https://github.com/ocadotechnology/codeforlife-portal/commit/1988ce5bbb6cc886535a4a79656ee697e60561d5)) -### Unknown +## v2.3.0 (2019-05-13) -* 2.6.4 ([`9b3f259`](https://github.com/ocadotechnology/codeforlife-portal/commit/9b3f25942a4251c637206b14086fbd66717df5f9)) +### Feature +* feat: Turn list of games from a dropdown into a table (#948) -## v2.6.3 (2019-07-10) +* aimmo home page redesign + test -### Fix +* Merge remote-tracking branch 'origin/master' into new_kurono_landing_page -* fix: changed regex to allow spaces (#991) +* test fix -* changed regex to allow spaces ([`3ea6f10`](https://github.com/ocadotechnology/codeforlife-portal/commit/3ea6f10215111e89da0e3a350a81b567d85b5ac0)) +* test fix -### Unknown +* test fixes -* 2.6.3 ([`93f5ceb`](https://github.com/ocadotechnology/codeforlife-portal/commit/93f5ceb89c5617888172e13c282138dbced4a2a8)) +* word missing +* code climate fixes -## v2.6.2 (2019-07-10) +* Created constants, removed unused functions, other fixes -### Fix +* More concise status indicator classes -* fix: Removal of optional sign next to New Password (#967) +* changed css class order -* removal of optional sign next to New Password +* changed spacing units -* Merge branch 'master' into independent_edit_account_fix +There was a $spacing constant only used in one place before; I changed it to the new one with the 5px value and deleted the base file -* Re-arrangement of a few pieces of code +* added base back and fixed codeclimate issues -* Merge branch 'independent_edit_account_fix' of https://github.com/ocadotechnology/codeforlife-portal into independent_edit_account_fix +* codeclimate fix -* Small syntax fix +* Merge branch 'master' into new_kurono_landing_page -* Spacing and Cyclomatic complexity fix +* some formatting adjustments -* More spacing fixes +* Merge remote-tracking branch 'origin/master' into new_kurono_landing_page -* Fixing functions +* play button now aligned to the start of the cell -* indentation fix +* aligned play button with header text ([`0817349`](https://github.com/ocadotechnology/codeforlife-portal/commit/0817349e95b7224ae675810e418ba902107cdb9e)) -* Indentation fix +### Unknown -* Email verification fix +* 2.3.0 ([`616e955`](https://github.com/ocadotechnology/codeforlife-portal/commit/616e9559b1e21c4ed4f7aa76a233a8f88e49425c)) -* Name change fix +## v2.2.6 (2019-05-13) -* Merge branch 'master' into independent_edit_account_fix +### Fix -* Spacing Changes +* fix: online status middleware cache (#955) -* Merge branch 'independent_edit_account_fix' of https://github.com/ocadotechnology/codeforlife-portal into independent_edit_account_fix +* replaced django middleware code -* Revert "Spacing Changes" +* created doc to explain django-online-status -This reverts commit 634bb360bcc681ebb9b69b1559fbe61cf86d7a77. +* fixed it? -* Used FormView instead of VanillaView +* Merge branch 'create_middleware_docs' into fix_online_status -* Merge branch 'master' into independent_edit_account_fix +* deleted unused files, deleted idle status + +* deleted hidden mercurial files, fixed one codeclimate issue -* Spacing changes and getting rid of prints +* fixed code climate issues -* Merge branch 'independent_edit_account_fix' of https://github.com/ocadotechnology/codeforlife-portal into independent_edit_account_fix +* fixed code climate issue -* Spacing fix +* deleted unused files (for real), changed to recent API, renamed folder -* Refactored get_form method +* changes in test -* Similar blocks of code changed +* coverage improvement -* Indentation fix +* uodate doc -* Form_Valid unrefactored +* Merge remote-tracking branch 'origin/fix_online_status' into fix_online_status -* Merge branch 'master' into independent_edit_account_fix +* changed the tests, integrated idle and old working code back in -* typo fix +removed offline users from list of online users, which wasn't there before and might have caused the cache overflow. Online, offline and idle tests have been rewritten -* Merge branch 'master' into independent_edit_account_fix +* Merge remote-tracking branch 'origin/fix_online_status' into fix_online_status -* Merge branch 'master' into independent_edit_account_fix +* code climate fix -* Add verification success url +* changed idle and offline times and mocked time for test -* Fix test issues +no more sleep :D ([`0ea74e8`](https://github.com/ocadotechnology/codeforlife-portal/commit/0ea74e886ab11f5fc3bcc1c6355ad3602c4fa3c9)) -* Refactored process form function +### Unknown -* Restructured student views, added docstrings and constant +* 2.2.6 ([`7cd8df1`](https://github.com/ocadotechnology/codeforlife-portal/commit/7cd8df129769bd288cd96f42a455dc77e019faf6)) -* Refactor stuff +## v2.2.5 (2019-05-02) -* More refactoring +### Fix -* Even more refactoring +* fix: updated cloud folder link (#954) -* Makes methods private +* updated cloud folder link -* Remove blank lines ([`e7661bf`](https://github.com/ocadotechnology/codeforlife-portal/commit/e7661bf81c7cd10007cbd9eaa43177b8e621f315)) +* fixed other links, too ([`e2d578b`](https://github.com/ocadotechnology/codeforlife-portal/commit/e2d578b907161f94a1374ef10335e7a96acb52ab)) ### Unknown -* 2.6.2 ([`eb17878`](https://github.com/ocadotechnology/codeforlife-portal/commit/eb17878950e5937a778af70795c93d18df3aa09d)) +* 2.2.5 ([`3bcce7e`](https://github.com/ocadotechnology/codeforlife-portal/commit/3bcce7ebf37cb66399db23c94a0ff6b940499121)) +* now using filter when checking for already registered users (#951) ([`d6d813d`](https://github.com/ocadotechnology/codeforlife-portal/commit/d6d813d36f089fa440f0c20f554b5d078cb189e1)) -## v2.6.1 (2019-07-03) +## v2.2.4 (2019-04-29) ### Fix -* fix: Students have access to their teachers' games (#946) +* fix: Remove context_instance leftover from Django 1.10 Upgrade (#947) -* Adds new students to games + tests +* fix: Remove context_instance -* Adds transferred and moved students to games +Signed-off-by: Niket Shah <masterniket@gmail.com> ([`ad9a38d`](https://github.com/ocadotechnology/codeforlife-portal/commit/ad9a38dd671576468c5263bb5694b88d9febff9c)) -* Merge branch 'master' into students-play-teacher-games +### Unknown -* Merge remote-tracking branch 'origin/master' into students-play-teacher-games +* 2.2.4 ([`6ccbcb1`](https://github.com/ocadotechnology/codeforlife-portal/commit/6ccbcb1574040a1fc6e1e684ad45464fd9502daa)) -* adding students to games is one function +## v2.2.3 (2019-04-24) -* small refactoring +### Fix -* code climate fix +* fix: link points to right PDF and wording updated (#944) -* small format change +* link points to right PDF and wording updated ([`2932b03`](https://github.com/ocadotechnology/codeforlife-portal/commit/2932b03452af4c6046b6b6f532f52649d3e5ac09)) -* Merge branch 'master' into students-play-teacher-games +### Unknown -* called function on dashboard +* 2.2.3 ([`ab9508b`](https://github.com/ocadotechnology/codeforlife-portal/commit/ab9508beb55f904a2bd7b11beffbf2e9483c4789)) -* Changed test name and added description +## v2.2.2 (2019-04-24) -* code climate fixes? +### Fix -* Merge branch 'master' into students-play-teacher-games +* fix: 'assessment' typo on materials page (#943) -* Merge branch 'master' into students-play-teacher-games +* fixed typo -* Merge remote-tracking branch 'origin/students-play-teacher-games' into students-play-teacher-games +* undid automatic html formatting ([`3a2ff2e`](https://github.com/ocadotechnology/codeforlife-portal/commit/3a2ff2e16cdb94f5ed942bb119942359db613cd0)) -* Make docstrings more specific +### Unknown -* made class editing more modular, changed url name on onboarding +* 2.2.2 ([`98b7e5a`](https://github.com/ocadotechnology/codeforlife-portal/commit/98b7e5a117892e668f22d1623e045aa850d15fdf)) -* codeclimate fix +## v2.2.1 (2019-04-16) -* Merge branch 'master' into students-play-teacher-games ([`cf372aa`](https://github.com/ocadotechnology/codeforlife-portal/commit/cf372aab35a9850bdf6cbe9960578b3b4201a599)) +### Fix -### Unknown +* fix: Add SessionAuthentication for inactive users api (#942) -* 2.6.1 ([`da59b85`](https://github.com/ocadotechnology/codeforlife-portal/commit/da59b85d413dbc484d026fcbae196e0939942f08)) +* fix: Add SessionAuthentication for inactive users api +Signed-off-by: Niket Shah <masterniket@gmail.com> ([`3c63d41`](https://github.com/ocadotechnology/codeforlife-portal/commit/3c63d4190bd94c6dfe46cb1ddb570f0812700b09)) -## v2.6.0 (2019-07-03) +### Unknown + +* 2.2.1 ([`5e353e1`](https://github.com/ocadotechnology/codeforlife-portal/commit/5e353e16d92bb3d274a6a27697ac498b076b4856)) + +## v2.2.0 (2019-04-15) ### Feature -* feat: integrating codecov (#985) +* feat: added ks3 assessment pdfs to materials page (#941) -* added codecov yml +* added ks3 pdfs that were missing and reformatted -* travis setup +reformatted ks1 and ks2 links (line break instead of different paragraphs) to match the design -* changed line on travis +* changed django version -* updated README +* Revert "changed django version" -* removed install codecov and dev in yml ([`70b99b3`](https://github.com/ocadotechnology/codeforlife-portal/commit/70b99b3bbf309ab87b37d9d6c51c6642cc5fe274)) +This reverts commit 4c5811755f8b89164bd290fb1da1850d0b614f27. + +* Merge branch 'master' into add_ks3_assessment + +* Merge remote-tracking branch 'origin/master' into add_ks3_assessment + +* reverted formatting ([`07ce24f`](https://github.com/ocadotechnology/codeforlife-portal/commit/07ce24f8a9659699b16bdbc7f29855f6438154fe)) ### Unknown -* 2.6.0 ([`f0cc675`](https://github.com/ocadotechnology/codeforlife-portal/commit/f0cc6755f09f74b84ffab7733f88d80343c72f59)) +* 2.2.0 ([`e718a83`](https://github.com/ocadotechnology/codeforlife-portal/commit/e718a83e10584abe82106276b8f6ce3e2a237296)) -* fix syntax error (#984) ([`a6a0d83`](https://github.com/ocadotechnology/codeforlife-portal/commit/a6a0d83b88303af3fff9af256d50ffb0ca8e528b)) +## v2.1.0 (2019-04-15) +### Feature -## v2.5.9 (2019-06-28) +* feat: Delete inactive users (#939) -### Fix +* Add capability to GET and DELETE inactive users -* fix: Sending GA event (#983) +Signed-off-by: Niket Shah <masterniket@gmail.com> -* Adding GA Event back - -* Add GA event back - -* FInsh adding GA events ([`05f70fc`](https://github.com/ocadotechnology/codeforlife-portal/commit/05f70fc06e9fd7010f646192e4842fffffb09cde)) +* Merge branch 'master' into delete_inactive_users -### Unknown +* add docstrings -* 2.5.9 ([`031c41b`](https://github.com/ocadotechnology/codeforlife-portal/commit/031c41b08d24c50861befbf6f56ae76bc184b38e)) +Signed-off-by: Niket Shah <masterniket@gmail.com> +* Add tests and fix bugs found -## v2.5.8 (2019-06-28) +Signed-off-by: Niket Shah <masterniket@gmail.com> -### Fix +* Fix code climate issues -* fix: created stub for future library (#981) +Signed-off-by: Niket Shah <masterniket@gmail.com> -* created stub for future library +* Merge branch 'master' into delete_inactive_users -* fixed url + removed function +Signed-off-by: Niket Shah <masterniket@gmail.com> -* added docstring ([`b56ab3d`](https://github.com/ocadotechnology/codeforlife-portal/commit/b56ab3ddb2fc352ffb31ad942de00b9e4d2f2df5)) +# Conflicts: +# setup.py ([`3541a94`](https://github.com/ocadotechnology/codeforlife-portal/commit/3541a94b309dc91438876d3dc6a933c013146f33)) ### Unknown -* 2.5.8 ([`0cbd040`](https://github.com/ocadotechnology/codeforlife-portal/commit/0cbd040738a0ee05598d5525b3dae5453f6fdffa)) +* 2.1.0 ([`a139152`](https://github.com/ocadotechnology/codeforlife-portal/commit/a13915208b2fede64b98aaf7bf2a67fd59f17c07)) +## v2.0.0 (2019-04-15) -## v2.5.7 (2019-06-27) +### Breaking -### Fix +* fix: Upgrade to Django 1.10 (#940) -* fix: removed password requirement for create school (#980) +BREAKING CHANGE: Dropping support for Django 1.9.x and upgrading Django rest framework to 3.8.x -* removed password requirement for create classes +* Use list instead of URL patterns -* Spacing fix +* Updated URLs across templates -* Another spacing fix +* Updating middleware for 1.10 -* Another spacing fix +* Making online status test work -* Fixed testing to remove required password +* Make exception logging middleware compatible -* Got rid of KeyError ([`d388665`](https://github.com/ocadotechnology/codeforlife-portal/commit/d3886653726ebce08e6894bf431e9ce06b2697b7)) +* Optimise middleware -### Unknown +* Fix middleware package name -* 2.5.7 ([`9815105`](https://github.com/ocadotechnology/codeforlife-portal/commit/9815105087e1e1b2954c6b3f813d539eef155fa6)) +* Upgrade Django and REST framework +* Merge master -## v2.5.6 (2019-06-26) +* Remove unnecessary test code -### Fix +* Fix exception logging middleware -* fix: google plus - (#977) +* Revert downgrade of selenium -* google plus - ([`a228772`](https://github.com/ocadotechnology/codeforlife-portal/commit/a228772a78f4142d989926b55f049c5d1b129ea1)) +* Clear cache to make online status run in proper conditions -### Unknown +* Remove 'empty form' tests made obsolete by Django update -* 2.5.6 ([`2879e98`](https://github.com/ocadotechnology/codeforlife-portal/commit/2879e98bfe9e4857d61a50587f0d328d0fa773b3)) +* Simplify code for Code Climate +* Simplify online status middleware code -## v2.5.5 (2019-06-20) +* re-add the ratelimit decorator -### Fix +* Revert "re-add the ratelimit decorator" -* fix: Fixed social media spacing (#972) +This reverts commit c24b0f5de4597fd5b3814e3d04c49d3dcf23feb5. -* Fixed social media spacing ([`b0f40b3`](https://github.com/ocadotechnology/codeforlife-portal/commit/b0f40b33367d29018e4ac8fd3e4384cf6943b8ea)) +* remove cms middleware (not needed) -### Unknown +* delete login attempts middleware ([`fe56627`](https://github.com/ocadotechnology/codeforlife-portal/commit/fe56627da7a3a19bdd61e8c6168efef5e5e4b34a)) -* 2.5.5 ([`0084971`](https://github.com/ocadotechnology/codeforlife-portal/commit/0084971cf3b7330bf56fc4851c843e1765e9f723)) +### Unknown +* 2.0.0 ([`c887f55`](https://github.com/ocadotechnology/codeforlife-portal/commit/c887f55da5e18cf2d77382838c30180a6f3b5f5c)) -## v2.5.4 (2019-06-20) +## v1.2.1 (2019-03-29) ### Fix -* fix: added input control for special characters + test (#970) - -* added input control for special characters + test +* fix: updated copyrights from 2017 and 2018 (#936) -* refactored test +* updated copyrights from 2017 and 2018 -* syntax fix ([`d756e1f`](https://github.com/ocadotechnology/codeforlife-portal/commit/d756e1f56f235ec1941474a36a565ffa4cfe047d)) +* fix: reverted one copyright ([`b2fb2d9`](https://github.com/ocadotechnology/codeforlife-portal/commit/b2fb2d984f1cc239169dadf345f7a5f9a9499287)) -### Unknown +### Refactor -* 2.5.4 ([`8703a4e`](https://github.com/ocadotechnology/codeforlife-portal/commit/8703a4eea1a6ee791b8e1e6e87a83c2f73486396)) +* refactor: Use black formatter (#933) +* run black formatter on the portal folder -## v2.5.3 (2019-06-20) +Signed-off-by: Niket Shah <masterniket@gmail.com> -### Fix +* Run black_formatter on setup.py -* fix: permission error on staging (#968) +Signed-off-by: Niket Shah <masterniket@gmail.com> -* added brackets +* Update the contributing guidelines -* added print to debug +Signed-off-by: Niket Shah <masterniket@gmail.com> -* added print +* Fix typos in the Contributing guidelines -* added print +Signed-off-by: Niket Shah <masterniket@gmail.com> -* changed ajax +* Update selenium to 2.53.6 -* printing userprofile +Signed-off-by: Niket Shah <masterniket@gmail.com> ([`5722f8e`](https://github.com/ocadotechnology/codeforlife-portal/commit/5722f8e962c438181fb3993b4dae5582a3a10807)) -* changed print +### Unknown -* ajax fix +* 1.2.1 ([`1810fcc`](https://github.com/ocadotechnology/codeforlife-portal/commit/1810fccf721aac43ad5baeb8a6439e326a61223e)) -* removed print +## v1.2.0 (2019-03-22) -* took preview user field out +### Feature -* Added permission class +* feat: reclassify key stages and use new PDFs (#898) -* ajax change +* Updates PDFs and key stages. -* tried to print the error, added data method +* Deleted all the local PDFs -* unified delete permission class +* Refactor session number updating function -* Merge branch 'master' into test_permissions_on_dev ([`41949f3`](https://github.com/ocadotechnology/codeforlife-portal/commit/41949f3d49563d24d64400acc371a00210e07b54)) +* Implements starting session index for proper ordering. -### Unknown +* Fix broken test -* 2.5.3 ([`877d715`](https://github.com/ocadotechnology/codeforlife-portal/commit/877d715c97e718516933888f61b488c2cae0d2a8)) +* Merge branch 'master' into update-key-stages +* Various changes: +- changed pngs to svgs +- changed html element in CSS to class +- added proper versioning to PDF links +- added docstrings and constants +- added new test -## v2.5.2 (2019-06-19) +* Merge branch 'master' into update-key-stages -### Fix +* Merge branch 'master' into update-key-stages -* fix: Got rid of pink flash (#966) +* Merge branch 'master' into update-key-stages -* Got rid of pink flash ([`c619f87`](https://github.com/ocadotechnology/codeforlife-portal/commit/c619f87d87158d272a4383a3f3c8ba8c5905a0f0)) +* Added levels covered to PDF data +Used CSS grid for session and resource sheet tables -### Unknown +* Merge remote-tracking branch 'origin/update-key-stages' into update-key-stages -* 2.5.2 ([`42f4701`](https://github.com/ocadotechnology/codeforlife-portal/commit/42f4701373a4024cd30ce723ecd36aba51b3e6e7)) +* Brought back mistakenly removed cache block +* Merge branch 'master' into update-key-stages -## v2.5.1 (2019-06-07) +* Use width constants and media query -### Fix +* Add IE-specific styles -* fix: JS null error linked to newsletter form (#962) +* Merge branch 'master' into update-key-stages -* Make newsletter form redirect to home page, get rid of hidden label +# Conflicts: +# portal/tests/pageObjects/portal/materials_page.py -* Merge branch 'master' into fix-poltergeist +* Point to correct PDF to test ([`d0c1691`](https://github.com/ocadotechnology/codeforlife-portal/commit/d0c16911d4e4fda36f68fd638b712ade4c8d2dfd)) -* Add independent student already registered test to increase coverage +### Refactor -* Merge branch 'master' into fix-poltergeist +* refactor: make URLs consistent with deployed project (#932) -* Black formatter + optimise imports ([`44e1210`](https://github.com/ocadotechnology/codeforlife-portal/commit/44e1210ac0dae4230b3e70f2127ad51eab8c0437)) +* refactor: Make urls consistent in the example project -### Unknown +Make urls consistent in the example project with the deployed website -* 2.5.1 ([`636c55b`](https://github.com/ocadotechnology/codeforlife-portal/commit/636c55b1fac586a62973c89e9f7414960d5a0e66)) +* Remove reports url +* Attempt to fix urls in tests -## v2.5.0 (2019-06-07) +* Fix test -### Feature +* Merge branch 'master' into make_urls_consistent_with_deployed_project ([`3e01096`](https://github.com/ocadotechnology/codeforlife-portal/commit/3e01096b8d44c74f1ec72d194328693e52334966)) -* feat: added scottish curriculum link (#963) +### Unknown -* added scottish curriculum link ([`fefeece`](https://github.com/ocadotechnology/codeforlife-portal/commit/fefeece475018fa86c1aef68cc59c5c714d2bd0a)) +* 1.2.0 ([`401de38`](https://github.com/ocadotechnology/codeforlife-portal/commit/401de38d4e871e22e282fe6fe60faa0b1368d3fe)) -### Unknown +## v1.1.3 (2019-03-21) -* 2.5.0 ([`6c6e8bc`](https://github.com/ocadotechnology/codeforlife-portal/commit/6c6e8bc5ebca56d3568a6b4b62aeb07b23cf037f)) +### Fix +* fix: independent students can change email (#931) -## v2.4.1 (2019-06-07) +* Fixed error, added a provisory clean email function -### Fix +Waiting for a decision on the behaviour for when the email input is already used -* fix: game table column size (#961) +* fix: edited behaviour for updating email -* fixed the table column size ([`242f7a7`](https://github.com/ocadotechnology/codeforlife-portal/commit/242f7a7afa49a62c33057a82b21af6b61a43f347)) +For both teachers and independent students. Added tests. -### Unknown +* fixes -* 2.4.1 ([`25d7136`](https://github.com/ocadotechnology/codeforlife-portal/commit/25d713601f10334cffacc99255a80c21ec781bfd)) +* codeclimate fixes +* fix: moved import, renamed variables -## v2.4.0 (2019-06-06) +* Merge branch 'master' into independent_student_change_email -### Chore +* fix: some refactoring -* chore: Update stalebot daysUntilStale to 90 (#958) +* Merge remote-tracking branch 'origin/independent_student_change_email' into independent_student_change_email -* chore: Update stalebot daysUntilStale to 90 ([`be728fc`](https://github.com/ocadotechnology/codeforlife-portal/commit/be728fc364017bd2568b2ccd54c07495dcdf3721)) +* split instructions idk -### Feature +* Florian ignored this 2 years ago so there's that -* feat: delete aimmo game button + confirmation pop-up (#957) +* fix: student name no longer hard coded -* added delete game button + popup + test +* Revert "split instructions idk" -* test fix +This reverts commit 0ffae7a2b9047ffa1fa5eab87624bcc7a81e9ae2. -* test fix +* fix: space ([`e3a1567`](https://github.com/ocadotechnology/codeforlife-portal/commit/e3a156731e00c152d2c505ecbf13c443ea889290)) -* test fix +* fix(test_settings.py): Point to example project static root so Selenium tests run using compiled styles (#929) -* test fix final +* Point static root to example project so Selenium tests run with correct styles -* test fix final final +* Merge branch 'master' into update-static-root ([`97d741f`](https://github.com/ocadotechnology/codeforlife-portal/commit/97d741f11e159da9460ae13396559a9a41a583fd)) -* test fix final final 0.2 +### Unknown -* test fix final final FINAL +* 1.1.3 ([`c5d3e69`](https://github.com/ocadotechnology/codeforlife-portal/commit/c5d3e6936bd6231b59eec8534563ce27b7118145)) -Selenium isn't working on my machine so I can only run Selenium tests on Travis +## v1.1.2 (2019-03-15) -* removed unnecessary import +### Ci -* code climate fixes +* ci(travis): Setup Semantic Releases (#926) -* code climate fix +* Tests semantic versioning -* code climate fix +* Removes problematic installs and unnecessary scripts -* code climate fix +* Removes versioneer and brings back installs in Travis -* some format fixes +* Fixes path -* format fixes +* Added stages to build -* game now deleted on aimmo side, DELETE request sent from portal +* Fixed version of python-semantic-release -* Merge remote-tracking branch 'origin/master' into delete_aimmo_game_button +* Bump up version to match portal's latest release -* added teacher permission +* feat(semantic versioning): Test automatic versioning -* fixed formatting, refactored permissions to include try clauses +Test that the version number is automatically bumped up -* code climate fixes +* fix(setup.cfg): Do not check build status -* changed popup code for readability +* ci(.travis.yml): Change deploy conditions -* smol fix +Deploy only if branch is master and is not a pull request -* moved popup and used html data attributes +* ci(.travis.yml): Uncomment test stage and remove versioneer -* some fixes +* ci(travis): Publish package on deploy step ([`742fbed`](https://github.com/ocadotechnology/codeforlife-portal/commit/742fbed833d9e0ca5b64008b54d4bf0b0be17273)) -* some fixes +### Fix -* some test refactoring +* fix(views/__init__.py): increment version manually to sync with project (#930) -* changed popup to be in line w/ design system, added animation +* Update version manually to be synced with project ([`7a91775`](https://github.com/ocadotechnology/codeforlife-portal/commit/7a917750e05bd24110f7278301b0ad005ee1ec5d)) -* code climate fixes +* fix: z-indexes of top menu, dropdown and subnavs (#928) -* added strong font class +* fixed z-indexes of top menu, dropdown and subnavs -* created popup html partial +* fix: subnav -* code climate fixes +* fix: removed brackets -* some formatting fixes +* fix: added space ([`4c28b53`](https://github.com/ocadotechnology/codeforlife-portal/commit/4c28b53f64fca5b12ea8b93c06ab713e642f439b)) -* formatting fixes +### Unknown -* made popup more modular and used in other confirmation box instances +* 1.1.2 ([`09ff77f`](https://github.com/ocadotechnology/codeforlife-portal/commit/09ff77f67629c62310762d7ab4b839261822f934)) -* test fixes +## v1.1.1 (2019-03-07) -* test fix? +### Unknown -* test fixes?? +* Added link to teacher dashboard on Cancel button (#923) -* test fixes??? +* Added link to teacher dashboard on Cancel button -* more test fixes +* Added space -* test fixes II +* Added space ([`de61bf2`](https://github.com/ocadotechnology/codeforlife-portal/commit/de61bf2468075c9b1815f4ed4a77b12ad2ebc9d5)) -* test fix III +## v1.1.0 (2019-02-28) -* test fixes IV +### Unknown -* test fix V +* Added password strength check + Tests (#918) -* test import fixes +* Added password strength check + Tests -* more import fixes +Also changed automatically generated passwords to Password2 instead of Password1 -* import fixes II +* Fixed A Couple Of Things -* should work now +Small errors caught on code climate -* removed console log +* Changed Password Reset Checks -* code climate fixes +Student passwords (not automatically generated) now need to be at least 8 characters long. +Also fixed 8 character condition (equal or greater than) -* removed unused import +* Changed Password Length Message On Test -* some fixes +* Changed Password Error/Warning Message -* renamed test +Instead of only pointing out length, it points out the password requirements whenever at least one isn't met -* accessibility fix +* Restructured The Dynamic Update Function ([`aa0caff`](https://github.com/ocadotechnology/codeforlife-portal/commit/aa0caff274ad85f395bd1b0a0c2caaf158a1de4a)) -* renamed template tag +* Moved Preview User Condition (#914) -* removed template tag, added django include +* Moved Preview User Condition -* added .coveragerc file to exclude tests +From the rapid router page html to the base one -* coverage fix? +* Removed ID ([`14bacb5`](https://github.com/ocadotechnology/codeforlife-portal/commit/14bacb5766ccbfe25272bce4c2f630e1beff167a)) -* coverage fix. +* Caches materials page (#896) -* more coverage fixes +* Caches materials page for an hour ([`03cc2e3`](https://github.com/ocadotechnology/codeforlife-portal/commit/03cc2e3538ba7b570cdb0fc048119d2dcc401db0)) -* coveralls not being nice +* Updates AIMMO PDFs (#881) -* oh well coveralls +* Upgraded dependencies -* omit travis files on coveragerc +* Merge branch 'master' of https://github.com/ocadotechnology/codeforlife-portal -* coverage only omitting test files +* Merge branch 'master' of https://github.com/ocadotechnology/codeforlife-portal -* omitting eggs and / on coverage +* Merge branch 'master' of https://github.com/ocadotechnology/codeforlife-portal -* removed coveragerc file ([`39298cd`](https://github.com/ocadotechnology/codeforlife-portal/commit/39298cd2212c1a5b13f46e63aff4732502b37f9b)) +* Merge branch 'master' of https://github.com/ocadotechnology/codeforlife-portal -### Unknown +* Updates AI:MMO PDFs on landing page +Removes KS3 from materials page -* 2.4.0 ([`1988ce5`](https://github.com/ocadotechnology/codeforlife-portal/commit/1988ce5bbb6cc886535a4a79656ee697e60561d5)) +* Merge branch 'master' into update-aimmo-pdfs +* Makes test target PDF with links and video for more complete test. ([`708a56a`](https://github.com/ocadotechnology/codeforlife-portal/commit/708a56a80408e53a7d6d17896a78df5692b72f02)) -## v2.3.0 (2019-05-13) +* Changes in font and home icon (#886) -### Feature +* Changes in font and home icon -* feat: Turn list of games from a dropdown into a table (#948) +Font size and home icon adjust to screens from 760px to 1200px wide so that the buttons don't overlap -* aimmo home page redesign + test +* Replaced direct assignment with mixin ([`d5c5753`](https://github.com/ocadotechnology/codeforlife-portal/commit/d5c57536babf6a23568dae22067208cb04d5a906)) -* Merge remote-tracking branch 'origin/master' into new_kurono_landing_page +* Deleted extra URL (#882) -* test fix +* Deleted extra URL -* test fix +* Deleted unused function ([`64f1a64`](https://github.com/ocadotechnology/codeforlife-portal/commit/64f1a64c5e7c394ebdcae2857b33e3f1ffa0428a)) -* test fixes +* Changed games subnav settings (#878) -* word missing +To be fixed on top ([`2aca20d`](https://github.com/ocadotechnology/codeforlife-portal/commit/2aca20d3361de4f0f24d20545d8a3121201a920e)) -* code climate fixes +* Fixes link to AIMMO home page (#875) -* Created constants, removed unused functions, other fixes +* Upgraded dependencies -* More concise status indicator classes +* Merge branch 'master' of https://github.com/ocadotechnology/codeforlife-portal -* changed css class order +* Merge branch 'master' of https://github.com/ocadotechnology/codeforlife-portal -* changed spacing units +* Replaces aimmo home URL with correct regex ([`937580e`](https://github.com/ocadotechnology/codeforlife-portal/commit/937580e388d796d24f159f68151b99657615d964)) -There was a $spacing constant only used in one place before; I changed it to the new one with the 5px value and deleted the base file +* Return of the Redesign: Upgrade of the AI:MMO home page (#856) -* added base back and fixed codeclimate issues +* Implemented new AIMMO game page HTML, CSS & JS. -* codeclimate fix +* Finished redesigning AIMMO home page (added/updated PDFs, fine-tuned styles and added create game form) -* Merge branch 'master' into new_kurono_landing_page +* Make preview users always redirect to new AIMMO page. -* some formatting adjustments +* Added tests -* Merge remote-tracking branch 'origin/master' into new_kurono_landing_page +* Merged changes from delete base files and resolved conflicts -* play button now aligned to the start of the cell +* Update SASS to cater to relevant CodeClimate issues -* aligned play button with header text ([`0817349`](https://github.com/ocadotechnology/codeforlife-portal/commit/0817349e95b7224ae675810e418ba902107cdb9e)) +* Updated Sass, JS and other naming instances -### Unknown +* Disabled creation of duplicate games with same name -* 2.3.0 ([`616e955`](https://github.com/ocadotechnology/codeforlife-portal/commit/616e9559b1e21c4ed4f7aa76a233a8f88e49425c)) +* Added Google Analytics event for create game button +* Simplified + selector with not(first) -## v2.2.6 (2019-05-13) +* Replaced z-indices with constants -### Fix +* Fixed CodeClimate issues. -* fix: online status middleware cache (#955) +* Added spaces between brackets -* replaced django middleware code +* Merge master into redesign-aimmo-home -* created doc to explain django-online-status +* Uses regex, AI:MMO's form and fixes CodeClimate issues ([`0cbe9bb`](https://github.com/ocadotechnology/codeforlife-portal/commit/0cbe9bb8c5ebbda96333931acd618fdbc44e6726)) -* fixed it? +* Deleted instruction to hide menu (#874) -* Merge branch 'create_middleware_docs' into fix_online_status +* Deleted instruction to hide menu ([`ed7aad1`](https://github.com/ocadotechnology/codeforlife-portal/commit/ed7aad1ab0a6d2d760022052f56597126b1d22b6)) -* deleted unused files, deleted idle status +* Upgraded dependencies (#871) -* deleted hidden mercurial files, fixed one codeclimate issue +* Upgraded dependencies ([`fb0a44d`](https://github.com/ocadotechnology/codeforlife-portal/commit/fb0a44dc98e64feef71da37f1c620a7442cc19fa)) -* fixed code climate issues +* Fixes log in buttons properly (#870) -* fixed code climate issue +* Increased width of log in buttons container -* deleted unused files (for real), changed to recent API, renamed folder +* Dropdown width increased to 80% to satisfy all breakpoints ([`e5222f0`](https://github.com/ocadotechnology/codeforlife-portal/commit/e5222f05ae1fa51ae3eca712d4cf62f504fdb7a8)) -* changes in test +* Login buttons wrap properly always (#868) -* coverage improvement +* Makes menu width fit content ([`1672156`](https://github.com/ocadotechnology/codeforlife-portal/commit/1672156259844ccb993e9820279787d5ff0e1984)) -* uodate doc +* Removes updated terms banner (#867) -* Merge remote-tracking branch 'origin/fix_online_status' into fix_online_status +* Removes terms banner ([`d9f18cb`](https://github.com/ocadotechnology/codeforlife-portal/commit/d9f18cb3de6ec8978065dd32808bb0726767fedc)) -* changed the tests, integrated idle and old working code back in +* Update terms (#858) -removed offline users from list of online users, which wasn't there before and might have caused the cache overflow. Online, offline and idle tests have been rewritten +* wip -* Merge remote-tracking branch 'origin/fix_online_status' into fix_online_status +* updated terms -* code climate fix +* fixes most pr comments ([`e26b36b`](https://github.com/ocadotechnology/codeforlife-portal/commit/e26b36b4fc99df0af750a43792ef681b928c2cbc)) -* changed idle and offline times and mocked time for test +* Delete unused import (#859) -no more sleep :D ([`0ea74e8`](https://github.com/ocadotechnology/codeforlife-portal/commit/0ea74e886ab11f5fc3bcc1c6355ad3602c4fa3c9)) +* Delete unused import ([`8aa7116`](https://github.com/ocadotechnology/codeforlife-portal/commit/8aa711664f9a4635f35f416ec9e60039b933c133)) -### Unknown +* Banner for updated terms & conditions (#857) -* 2.2.6 ([`7cd8df1`](https://github.com/ocadotechnology/codeforlife-portal/commit/7cd8df129769bd288cd96f42a455dc77e019faf6)) +* Added updated terms banner. +* Brought back import to be removed in another PR ([`d2545fe`](https://github.com/ocadotechnology/codeforlife-portal/commit/d2545feb4e7ffd7fe05f5fe3bb9db868c519d60a)) -## v2.2.5 (2019-05-02) +* Deleted redundant base files and fixed incorrect code (#849) -### Fix +* Deleted redundant base files. +Also moved template to partials folder. ([`3c65c0f`](https://github.com/ocadotechnology/codeforlife-portal/commit/3c65c0fff090e909e385692c538feb57d8e72e04)) -* fix: updated cloud folder link (#954) +* Return of the Redesign: Upgrade of the Student Dashboard (#844) -* updated cloud folder link - -* fixed other links, too ([`e2d578b`](https://github.com/ocadotechnology/codeforlife-portal/commit/e2d578b907161f94a1374ef10335e7a96acb52ab)) +* Redesigned student dashboard page. -### Unknown +* Add anchor jump to button to try and fix Travis test. -* 2.2.5 ([`3bcce7e`](https://github.com/ocadotechnology/codeforlife-portal/commit/3bcce7ebf37cb66399db23c94a0ff6b940499121)) +* Added time sleep -* now using filter when checking for already registered users (#951) ([`d6d813d`](https://github.com/ocadotechnology/codeforlife-portal/commit/d6d813d36f089fa440f0c20f554b5d078cb189e1)) +* Fix Code Climate issues +* I'm OCD about spacing okay -## v2.2.4 (2019-04-29) +* Remove comments -### Fix +* Added SVG and changed structure to CSS grid. +Also removed unnecessary new file. -* fix: Remove context_instance leftover from Django 1.10 Upgrade (#947) +* Removed duplicate mixin. -* fix: Remove context_instance +* Added newline at end of file. -Signed-off-by: Niket Shah <masterniket@gmail.com> ([`ad9a38d`](https://github.com/ocadotechnology/codeforlife-portal/commit/ad9a38dd671576468c5263bb5694b88d9febff9c)) +* Renamed button ID and gap mixin. +Reverted h3/h4 style changes and started spacing rule to multiples of 4. -### Unknown +* Renamed mixin and added newline -* 2.2.4 ([`6ccbcb1`](https://github.com/ocadotechnology/codeforlife-portal/commit/6ccbcb1574040a1fc6e1e684ad45464fd9502daa)) +* Renamed logo image. ([`27a85ad`](https://github.com/ocadotechnology/codeforlife-portal/commit/27a85ad177b70222a184c2b84a6c0b1abdefc01c)) +* Added templates for issues and a PR template (#818) -## v2.2.3 (2019-04-24) +* Added templates for issues and a PR template -### Fix +* grammar changes ([`4ec6a93`](https://github.com/ocadotechnology/codeforlife-portal/commit/4ec6a934f1801c1d6d789cb88cce64be5822db30)) -* fix: link points to right PDF and wording updated (#944) +* Menu box update 2: student buttons (#820) -* link points to right PDF and wording updated ([`2932b03`](https://github.com/ocadotechnology/codeforlife-portal/commit/2932b03452af4c6046b6b6f532f52649d3e5ac09)) +* Updated dropdown menu box to follow new styles on student pages. ([`3961629`](https://github.com/ocadotechnology/codeforlife-portal/commit/39616292ace6ab27c45d463df7da34a2cfe95c2b)) -### Unknown +* Added quotes to deploy password. (#819) ([`7878e2f`](https://github.com/ocadotechnology/codeforlife-portal/commit/7878e2fd598ce1510fb31114edac989d3a9585a8)) -* 2.2.3 ([`ab9508b`](https://github.com/ocadotechnology/codeforlife-portal/commit/ab9508beb55f904a2bd7b11beffbf2e9483c4789)) +* Merge pull request #812 from ocadotechnology/menu-box-teacher +Menu box update 1: teacher buttons ([`0abeb2b`](https://github.com/ocadotechnology/codeforlife-portal/commit/0abeb2bcbf91c9951f882b1e17dfb54c76d1dd24)) -## v2.2.2 (2019-04-24) +* Renamed CSS classes to follow BEM. ([`0f36045`](https://github.com/ocadotechnology/codeforlife-portal/commit/0f360454afec06d03d0043164aaca7850df65bb5)) -### Fix +* Resolved merge conflicts. ([`e683ca9`](https://github.com/ocadotechnology/codeforlife-portal/commit/e683ca99e761ff948e5006e9518efa4e82123558)) -* fix: 'assessment' typo on materials page (#943) +* Applied Niket's requested changes. +Also added truncation styling for when the name is too long. ([`4a7661b`](https://github.com/ocadotechnology/codeforlife-portal/commit/4a7661bfe5369be3de16fa254011d4ae271637e6)) -* fixed typo +* AIMMO added to the menu (#795) -* undid automatic html formatting ([`3a2ff2e`](https://github.com/ocadotechnology/codeforlife-portal/commit/3a2ff2e16cdb94f5ed942bb119942359db613cd0)) +* AIMMO added to the menu -### Unknown +* WIP - removed test to see how far it goes -* 2.2.2 ([`98b7e5a`](https://github.com/ocadotechnology/codeforlife-portal/commit/98b7e5a117892e668f22d1623e045aa850d15fdf)) +* add test back - test with a sleep +* try to add sleep before going to materials -## v2.2.1 (2019-04-16) +* upgrading chrome driver -### Fix +* Downgraded chromedriver again. Commented out super inheritance in base test -* fix: Add SessionAuthentication for inactive users api (#942) +* Uncommented setupclass :S -* fix: Add SessionAuthentication for inactive users api +* Added prints -Signed-off-by: Niket Shah <masterniket@gmail.com> ([`3c63d41`](https://github.com/ocadotechnology/codeforlife-portal/commit/3c63d4190bd94c6dfe46cb1ddb570f0812700b09)) +* More prints -### Unknown +* Checking if resources button is found -* 2.2.1 ([`5e353e1`](https://github.com/ocadotechnology/codeforlife-portal/commit/5e353e16d92bb3d274a6a27697ac498b076b4856)) +* Checking if it can find the new aimmo button +* Checking if resources button can be clicked -## v2.2.0 (2019-04-15) +* Added sleep before clicking resources button -### Feature +* Resized columns to fix test issue. ([`9f239a3`](https://github.com/ocadotechnology/codeforlife-portal/commit/9f239a3bc6376b83d6fe0e28f32a46746d71d410)) -* feat: added ks3 assessment pdfs to materials page (#941) +* Deleted duplicate and unused button IDs. ([`3073e16`](https://github.com/ocadotechnology/codeforlife-portal/commit/3073e16dc9d0203887251322843b7fcede26e058)) -* added ks3 pdfs that were missing and reformatted +* Merge pull request #810 from ocadotechnology/student-names-fix -reformatted ks1 and ks2 links (line break instead of different paragraphs) to match the design +Student names with dashes are now accepted ([`db14f8b`](https://github.com/ocadotechnology/codeforlife-portal/commit/db14f8b227fd80fd8de23d18fec3478dee9ec9ec)) -* changed django version +* Fixed small border-radius issue where the corners appeared white. ([`9d3ab45`](https://github.com/ocadotechnology/codeforlife-portal/commit/9d3ab45e7cdf7734ed35f1e3d73917e1acdbcc9b)) -* Revert "changed django version" +* CodeClimate fix. ([`735e41b`](https://github.com/ocadotechnology/codeforlife-portal/commit/735e41b77d6820a4a89c73ffea64fafc72a523ae)) -This reverts commit 4c5811755f8b89164bd290fb1da1850d0b614f27. +* Updated menu box content and styles. ([`da44a0f`](https://github.com/ocadotechnology/codeforlife-portal/commit/da44a0f8d9c6fa1caf7edbcce6a0f284967eb56c)) -* Merge branch 'master' into add_ks3_assessment +* Reverted static root. ([`a450c26`](https://github.com/ocadotechnology/codeforlife-portal/commit/a450c264639c0be103e9f51d8930526dc1c0a602)) -* Merge remote-tracking branch 'origin/master' into add_ks3_assessment +* Fixed student names with dashes issues. +Also added tests to verify dashes and underscores as well as invalid characters. ([`869876e`](https://github.com/ocadotechnology/codeforlife-portal/commit/869876e2197140b16526d81d81694103823e18da)) -* reverted formatting ([`07ce24f`](https://github.com/ocadotechnology/codeforlife-portal/commit/07ce24f8a9659699b16bdbc7f29855f6438154fe)) +* Update profile dropdown (#807) -### Unknown +* add min width for dropdown to stop text from overlapping it's button -* 2.2.0 ([`e718a83`](https://github.com/ocadotechnology/codeforlife-portal/commit/e718a83e10584abe82106276b8f6ce3e2a237296)) +* fixed dropdown text so user's name appears on left with icon on right +* added underline for logout menu items -## v2.1.0 (2019-04-15) +* pep8 ([`d3e6d01`](https://github.com/ocadotechnology/codeforlife-portal/commit/d3e6d01587cbd0b5e0bb2b470054165e32a2630d)) -### Feature +* Provide students from eligible school immediate preview access (#802) -* feat: Delete inactive users (#939) +* Made students preview users before they log in so they do not have the follow the user flow -* Add capability to GET and DELETE inactive users +* blank line -Signed-off-by: Niket Shah <masterniket@gmail.com> +* Changed user to userprofile in make preview tester -* Merge branch 'master' into delete_inactive_users +* Getting userprofile from teacher/student object -* add docstrings +* Now saving user profile -Signed-off-by: Niket Shah <masterniket@gmail.com> +* Fix build -* Add tests and fix bugs found +* Checking if teacher is associated with a school -Signed-off-by: Niket Shah <masterniket@gmail.com> +* Added user profile in test admin -* Fix code climate issues +* Fixed build, removed prints -Signed-off-by: Niket Shah <masterniket@gmail.com> +* Userprofile added to test admin ([`819c502`](https://github.com/ocadotechnology/codeforlife-portal/commit/819c502a2c90a775afa442a47d5a7bbc81470fb0)) -* Merge branch 'master' into delete_inactive_users +* Switch to MigrationExecutor() in base_test_migration (#793) -Signed-off-by: Niket Shah <masterniket@gmail.com> +* Started writing migration tests -# Conflicts: -# setup.py ([`3541a94`](https://github.com/ocadotechnology/codeforlife-portal/commit/3541a94b309dc91438876d3dc6a933c013146f33)) +* Added test case for preview user field -### Unknown +* Wrote two test cases testing the latest migration file -* 2.1.0 ([`a139152`](https://github.com/ocadotechnology/codeforlife-portal/commit/a13915208b2fede64b98aaf7bf2a67fd59f17c07)) +* Removed print +* upgrading setuptools -## v2.0.0 (2019-04-15) +* Reverted travis file -### Breaking +* EOF line -* fix: Upgrade to Django 1.10 (#940) +* Fixed version of django in travis.yml -BREAKING CHANGE: Dropping support for Django 1.9.x and upgrading Django rest framework to 3.8.x +* Using get_field() instead of getting a list of all model fields -* Use list instead of URL patterns +* Django-otp -* Updated URLs across templates +* removed django version fix from travis yml ([`219ad38`](https://github.com/ocadotechnology/codeforlife-portal/commit/219ad3820b5f2c2a395daaf02b1fe53120c8f883)) -* Updating middleware for 1.10 +* Fix master travis build by fixing a subdependency to django-otp version to 0.4.3 (#800) -* Making online status test work +* Fix django-otp version to 0.4.3 -* Make exception logging middleware compatible +* Add comment as to why we are fixing django-otp -* Optimise middleware +* add extra space ([`9f4b3f8`](https://github.com/ocadotechnology/codeforlife-portal/commit/9f4b3f8df54b3439b871d36a62cc0ee620653f67)) -* Fix middleware package name +* Generated Pipfile, updated docs (#787) -* Upgrade Django and REST framework +* Generated Pipfile, updated docs -* Merge master +* Updated docs ([`c726dc4`](https://github.com/ocadotechnology/codeforlife-portal/commit/c726dc4039ab24b8bedac2d62dd542bd675b1079)) -* Remove unnecessary test code +* Fixes #781 - upgrading rest framework (#783) ([`b1e2862`](https://github.com/ocadotechnology/codeforlife-portal/commit/b1e286281fd7c4f66ec7415eee42b5337cce20cb)) -* Fix exception logging middleware +* Fixes aimmo 691 - changed the search fields for failing admin pages (#782) ([`74634dc`](https://github.com/ocadotechnology/codeforlife-portal/commit/74634dcc3d3000f543f10929334266ffcf2ccf2f)) -* Revert downgrade of selenium +* Merge pull request #778 from ocadotechnology/upgrade_reversion -* Clear cache to make online status run in proper conditions +Upgrade reversion ([`3df0829`](https://github.com/ocadotechnology/codeforlife-portal/commit/3df08291ca4c8b08f225c07593ce6cdb5a3aebe5)) -* Remove 'empty form' tests made obsolete by Django update +* upgrade two factor auth ([`dd67a8a`](https://github.com/ocadotechnology/codeforlife-portal/commit/dd67a8a329513321d18fe3d008c408b7119af910)) -* Simplify code for Code Climate +* upgrade two factor auth ([`14c7376`](https://github.com/ocadotechnology/codeforlife-portal/commit/14c7376007b3d4912104bf95066f3830ecaa98c7)) -* Simplify online status middleware code +* upgrade two factor auth ([`f75accf`](https://github.com/ocadotechnology/codeforlife-portal/commit/f75accf450c322b3a84405092bbe5e1c7db97f56)) -* re-add the ratelimit decorator +* upgrade reversion ([`73710b0`](https://github.com/ocadotechnology/codeforlife-portal/commit/73710b0b7432f813154eda5908a4f52ad725df49)) -* Revert "re-add the ratelimit decorator" +* Remove libsass docstrings (#774) -This reverts commit c24b0f5de4597fd5b3814e3d04c49d3dcf23feb5. +* Remove ruby sass dependency -* remove cms middleware (not needed) +* Add libsass django-pipeline compiler -* delete login attempts middleware ([`fe56627`](https://github.com/ocadotechnology/codeforlife-portal/commit/fe56627da7a3a19bdd61e8c6168efef5e5e4b34a)) +* fix pipeline compilers import -### Unknown +* Add new line at end of file -* 2.0.0 ([`c887f55`](https://github.com/ocadotechnology/codeforlife-portal/commit/c887f55da5e18cf2d77382838c30180a6f3b5f5c)) +* Merge branch 'master' into remove_ruby_sass +* Remove docstrings as they don’t add anything for information -## v1.2.1 (2019-03-29) +* Merge branch 'master' into remove_ruby_sass -### Fix +# Conflicts: +# portal/pipeline_compilers/libsass_compiler.py -* fix: updated copyrights from 2017 and 2018 (#936) +* Merge branch 'master' into remove_ruby_sass ([`96b9fdd`](https://github.com/ocadotechnology/codeforlife-portal/commit/96b9fdd38ec82784f2ad1903afd600caa90bc1e3)) -* updated copyrights from 2017 and 2018 +* Removed string view arguments to url as it is deprecated in Django 1.10 (#775) ([`151c787`](https://github.com/ocadotechnology/codeforlife-portal/commit/151c78758d5a53fdd930293deaad5d118a3696fa)) -* fix: reverted one copyright ([`b2fb2d9`](https://github.com/ocadotechnology/codeforlife-portal/commit/b2fb2d984f1cc239169dadf345f7a5f9a9499287)) +* Remove ruby sass dependency (#772) -### Refactor +* Remove ruby sass dependency -* refactor: Use black formatter (#933) +* Add libsass django-pipeline compiler -* run black formatter on the portal folder +* fix pipeline compilers import -Signed-off-by: Niket Shah <masterniket@gmail.com> +* Add new line at end of file ([`c531b67`](https://github.com/ocadotechnology/codeforlife-portal/commit/c531b67de993e5cd8a8a6c41ef12fff735d08403)) -* Run black_formatter on setup.py +* Make the portal compatible with Django 1.9.13 (#752) -Signed-off-by: Niket Shah <masterniket@gmail.com> +* update some versions -* Update the contributing guidelines +* Make portal work with Django 1.9. -Signed-off-by: Niket Shah <masterniket@gmail.com> +* Remove Pipfile -* Fix typos in the Contributing guidelines +* Fix django-setuptest version -Signed-off-by: Niket Shah <masterniket@gmail.com> +* Merge branch 'master' into pipenv -* Update selenium to 2.53.6 +* Rename players -> aimmo -Signed-off-by: Niket Shah <masterniket@gmail.com> ([`5722f8e`](https://github.com/ocadotechnology/codeforlife-portal/commit/5722f8e962c438181fb3993b4dae5582a3a10807)) +* Merge branch 'master' into pipenv -### Unknown +* upgrade django_selenium_clean dep to 0.3.0 -* 1.2.1 ([`1810fcc`](https://github.com/ocadotechnology/codeforlife-portal/commit/1810fccf721aac43ad5baeb8a6439e326a61223e)) +* Upgrade selenium tests according to django_selenium_clean 0.3.0 +* Fix test errors due to django_selenium_clean upgrade and Djagno 1.9 upgrade ([`844686f`](https://github.com/ocadotechnology/codeforlife-portal/commit/844686f713d57384e4c0717f167a10161ddd0419)) -## v1.2.0 (2019-03-22) +* Upgraded version of Pillow (#773) ([`bbdc11e`](https://github.com/ocadotechnology/codeforlife-portal/commit/bbdc11eadbd2d2d2cad26f19257bb0b768e7dc66)) -### Feature +* greyes and disables the add students button (#744) -* feat: reclassify key stages and use new PDFs (#898) +* change d stuff -* Updates PDFs and key stages. +* extracted the variable in buttonDisable() -* Deleted all the local PDFs +* Something -* Refactor session number updating function +* DOesnt work -* Implements starting session index for proper ordering. +* it works -* Fix broken test +* cleanup disabled button logic -* Merge branch 'master' into update-key-stages +* update readme -* Various changes: -- changed pngs to svgs -- changed html element in CSS to class -- added proper versioning to PDF links -- added docstrings and constants -- added new test +* Revert "update readme" -* Merge branch 'master' into update-key-stages +This reverts commit 9a8afcf13ede4dc00669d897e390dc5ed3668c75. -* Merge branch 'master' into update-key-stages +* remove important, refactorings -* Merge branch 'master' into update-key-stages +* Merge branch 'master' into greyed_button -* Added levels covered to PDF data -Used CSS grid for session and resource sheet tables +* Merge remote-tracking branch 'origin/master' into greyed_button ([`fc07e31`](https://github.com/ocadotechnology/codeforlife-portal/commit/fc07e31cba625b3a7c1f3fc6163e357571ee5448)) -* Merge remote-tracking branch 'origin/update-key-stages' into update-key-stages +* add a comment to setup test deps and run tests (#770) ([`fa551a4`](https://github.com/ocadotechnology/codeforlife-portal/commit/fa551a4dcd1d0037248c7fd24ad75f0fe395e912)) -* Brought back mistakenly removed cache block +* Rename players -> aimmo (#769) -* Merge branch 'master' into update-key-stages +* Rename players -> aimmo -* Use width constants and media query +* rename players -> aimmo ([`15723c9`](https://github.com/ocadotechnology/codeforlife-portal/commit/15723c9e343c563bfc3cca14039766bedadc1626)) -* Add IE-specific styles +* Update readme to suggest fix of problem during setup (#768) -* Merge branch 'master' into update-key-stages +* change d stuff -# Conflicts: -# portal/tests/pageObjects/portal/materials_page.py +* extracted the variable in buttonDisable() -* Point to correct PDF to test ([`d0c1691`](https://github.com/ocadotechnology/codeforlife-portal/commit/d0c16911d4e4fda36f68fd638b712ade4c8d2dfd)) +* Something -### Refactor +* DOesnt work -* refactor: make URLs consistent with deployed project (#932) +* it works -* refactor: Make urls consistent in the example project +* cleanup disabled button logic -Make urls consistent in the example project with the deployed website +* update readme -* Remove reports url +* Revert "update readme" -* Attempt to fix urls in tests +This reverts commit 9a8afcf13ede4dc00669d897e390dc5ed3668c75. -* Fix test +* update readme ([`42aa11c`](https://github.com/ocadotechnology/codeforlife-portal/commit/42aa11c04962e1f2514ec09aca8b68dd43ce475e)) -* Merge branch 'master' into make_urls_consistent_with_deployed_project ([`3e01096`](https://github.com/ocadotechnology/codeforlife-portal/commit/3e01096b8d44c74f1ec72d194328693e52334966)) +* Invite a teacher resolves issue #745 (#759) -### Unknown +* invite teacher, still has issues -* 1.2.0 ([`401de38`](https://github.com/ocadotechnology/codeforlife-portal/commit/401de38d4e871e22e282fe6fe60faa0b1368d3fe)) +* invite teacher its still broken 2 +* Invite teachers done -## v1.1.3 (2019-03-21) +* #745 changes made invite teacher -### Fix +* code climate changes invite teach -* fix: independent students can change email (#931) +* Fixed css on email field -* Fixed error, added a provisory clean email function +* Refactored some more thing -Waiting for a decision on the behaviour for when the email input is already used +* New line added -* fix: edited behaviour for updating email +* Removed extra line -For both teachers and independent students. Added tests. +* Added some test cases for invite teacher functionality -* fixes +* Removed unused import -* codeclimate fixes +* Stuff ([`2e001ca`](https://github.com/ocadotechnology/codeforlife-portal/commit/2e001ca059e0ded9c6e8f6c503d0423ce12c6ca1)) -* fix: moved import, renamed variables +* Can now enter special characters on contact form (#765) -* Merge branch 'master' into independent_student_change_email +* Can now enter special characters on contact form -* fix: some refactoring +* Updated test as accents can now be sent as a message -* Merge remote-tracking branch 'origin/independent_student_change_email' into independent_student_change_email +* Removed comment ([`52c18ec`](https://github.com/ocadotechnology/codeforlife-portal/commit/52c18ecf3725c3a519a0a569e5cf72770d2a1637)) -* split instructions idk +* Fixes autofill, is branched correctly (#761) -* Florian ignored this 2 years ago so there's that +* Fixes autofill, is branched correctly -* fix: student name no longer hard coded +* Fix E203 PEP8 rule ([`7b2b05a`](https://github.com/ocadotechnology/codeforlife-portal/commit/7b2b05aa69afb7e73ccb7113944e63e083c5241d)) -* Revert "split instructions idk" +* Add __pycache__ into .gitignore (#764) ([`fa6b082`](https://github.com/ocadotechnology/codeforlife-portal/commit/fa6b08215fa4575be9e8e0644e033ceb183d662b)) -This reverts commit 0ffae7a2b9047ffa1fa5eab87624bcc7a81e9ae2. +* Fixes text resizing, branched correctly (#762) ([`b493253`](https://github.com/ocadotechnology/codeforlife-portal/commit/b493253498d1a40d348706d8d23abfee87755291)) -* fix: space ([`e3a1567`](https://github.com/ocadotechnology/codeforlife-portal/commit/e3a156731e00c152d2c505ecbf13c443ea889290)) +* Old email template back (#766) -* fix(test_settings.py): Point to example project static root so Selenium tests run using compiled styles (#929) +* Revert "added logo to reset_password_email template (#755)" -* Point static root to example project so Selenium tests run with correct styles +This reverts commit d9ebce47b4f9d9ed48e6b230113a281f5d0915ec. -* Merge branch 'master' into update-static-root ([`97d741f`](https://github.com/ocadotechnology/codeforlife-portal/commit/97d741f11e159da9460ae13396559a9a41a583fd)) +* Revert "added image to reset_password_email.html to be tested (#753)" -### Unknown +This reverts commit 7aa151a335899941d2fdc15b75a1703ad561fb6d. -* 1.1.3 ([`c5d3e69`](https://github.com/ocadotechnology/codeforlife-portal/commit/c5d3e6936bd6231b59eec8534563ce27b7118145)) +* added newline ([`9f3d2ed`](https://github.com/ocadotechnology/codeforlife-portal/commit/9f3d2ed397042b1c826556d1cf50b4d422efafb3)) +* added line break before broken button (#760) ([`47ea352`](https://github.com/ocadotechnology/codeforlife-portal/commit/47ea352e110cff6bd9582cc8102fe059e4579222)) -## v1.1.2 (2019-03-15) +* added logo to reset_password_email template (#755) -### Ci +* added image to reset_password_email.html to be tested -* ci(travis): Setup Semantic Releases (#926) +* fixed the image source -* Tests semantic versioning - -* Removes problematic installs and unnecessary scripts - -* Removes versioneer and brings back installs in Travis - -* Fixes path - -* Added stages to build - -* Fixed version of python-semantic-release - -* Bump up version to match portal's latest release - -* feat(semantic versioning): Test automatic versioning - -Test that the version number is automatically bumped up - -* fix(setup.cfg): Do not check build status - -* ci(.travis.yml): Change deploy conditions - -Deploy only if branch is master and is not a pull request - -* ci(.travis.yml): Uncomment test stage and remove versioneer - -* ci(travis): Publish package on deploy step ([`742fbed`](https://github.com/ocadotechnology/codeforlife-portal/commit/742fbed833d9e0ca5b64008b54d4bf0b0be17273)) +* added load static django command for the image in reset_password_email ([`d9ebce4`](https://github.com/ocadotechnology/codeforlife-portal/commit/d9ebce47b4f9d9ed48e6b230113a281f5d0915ec)) -### Fix +* added image to reset_password_email.html to be tested (#753) ([`7aa151a`](https://github.com/ocadotechnology/codeforlife-portal/commit/7aa151a335899941d2fdc15b75a1703ad561fb6d)) -* fix(views/__init__.py): increment version manually to sync with project (#930) +* fixes #747 favicon across code for life (#748) ([`0071c73`](https://github.com/ocadotechnology/codeforlife-portal/commit/0071c7376a258f413dccb29e424673394039354c)) -* Update version manually to be synced with project ([`7a91775`](https://github.com/ocadotechnology/codeforlife-portal/commit/7a917750e05bd24110f7278301b0ad005ee1ec5d)) +* fixes #742, C4L logo reappearing on firefox (#743) -* fix: z-indexes of top menu, dropdown and subnavs (#928) +* fixes #742, C4L logo reappearing on firefox -* fixed z-indexes of top menu, dropdown and subnavs +* delete blank line -* fix: subnav +* change static src to django tag -* fix: removed brackets +* home to contentwrapper ([`037d4fe`](https://github.com/ocadotechnology/codeforlife-portal/commit/037d4fe1fa4807e4840f543776213c48d588c0fc)) -* fix: added space ([`4c28b53`](https://github.com/ocadotechnology/codeforlife-portal/commit/4c28b53f64fca5b12ea8b93c06ab713e642f439b)) +* Replaced Context with a dictionary (#741) ([`fee66ed`](https://github.com/ocadotechnology/codeforlife-portal/commit/fee66ed804d12ab20f60c8938c67575114542234)) -### Unknown +* SessionAuthenticationMiddleware added to MIDDLEWARE_CLASSES (#740) -* 1.1.2 ([`09ff77f`](https://github.com/ocadotechnology/codeforlife-portal/commit/09ff77f67629c62310762d7ab4b839261822f934)) +* Merge remote-tracking branch 'upstream/master' into deprecation_warnings +* Removed use of patterns in urls.py -## v1.1.1 (2019-03-07) +* Removed use of patterns in reports/urls.py -### Unknown +* Added session authentication to middleware -* Added link to teacher dashboard on Cancel button (#923) +* Merge remote-tracking branch 'upstream/master' into deprecation_warnings ([`37d28f0`](https://github.com/ocadotechnology/codeforlife-portal/commit/37d28f0abbe438ffcddb359b0253f2d7a18dc3bb)) -* Added link to teacher dashboard on Cancel button +* Removed use of django.conf.urls.patterns() (#738) -* Added space +* Removed use of patterns in urls.py -* Added space ([`de61bf2`](https://github.com/ocadotechnology/codeforlife-portal/commit/de61bf2468075c9b1815f4ed4a77b12ad2ebc9d5)) +* Removed use of patterns in reports/urls.py ([`dfa51ba`](https://github.com/ocadotechnology/codeforlife-portal/commit/dfa51ba59d14f2430ecb3782b7d0bdd184762903)) +* Add only school users to game (#736) -## v1.1.0 (2019-02-28) +* Began writing code for the newsletter sign up button -### Unknown +* Attempt at newsletter signup in footer -* Added password strength check + Tests (#918) +* Finished working on the front end of footer sign up -* Added password strength check + Tests - -Also changed automatically generated passwords to Password2 instead of Password1 - -* Fixed A Couple Of Things - -Small errors caught on code climate - -* Changed Password Reset Checks - -Student passwords (not automatically generated) now need to be at least 8 characters long. -Also fixed 8 character condition (equal or greater than) - -* Changed Password Length Message On Test - -* Changed Password Error/Warning Message - -Instead of only pointing out length, it points out the password requirements whenever at least one isn't met - -* Restructured The Dynamic Update Function ([`aa0caff`](https://github.com/ocadotechnology/codeforlife-portal/commit/aa0caff274ad85f395bd1b0a0c2caaf158a1de4a)) +* Removed add_email_to_salesforce function. Need to change the signaturte of the original function -* Moved Preview User Condition (#914) +* Changed signature of add_to_salesforce function -* Moved Preview User Condition - -From the rapid router page html to the base one - -* Removed ID ([`14bacb5`](https://github.com/ocadotechnology/codeforlife-portal/commit/14bacb5766ccbfe25272bce4c2f630e1beff167a)) +* Reformatted code -* Caches materials page (#896) +* Finished writing tests -* Caches materials page for an hour ([`03cc2e3`](https://github.com/ocadotechnology/codeforlife-portal/commit/03cc2e3538ba7b570cdb0fc048119d2dcc401db0)) +* Reformatted code -* Updates AIMMO PDFs (#881) +* Changed newsletter_signup function -* Upgraded dependencies +* Added reference to context processors in test_settings.py -* Merge branch 'master' of https://github.com/ocadotechnology/codeforlife-portal +* Added a click to submit newsletter form -* Merge branch 'master' of https://github.com/ocadotechnology/codeforlife-portal +* Added print statements for debugging -* Merge branch 'master' of https://github.com/ocadotechnology/codeforlife-portal +* Added more print statements for debugging -* Merge branch 'master' of https://github.com/ocadotechnology/codeforlife-portal +* Deleted test_newsletter_footer -* Updates AI:MMO PDFs on landing page -Removes KS3 from materials page +* Switched to unit tests for the newsletter footer -* Merge branch 'master' into update-aimmo-pdfs +* Reformatted code -* Makes test target PDF with links and video for more complete test. ([`708a56a`](https://github.com/ocadotechnology/codeforlife-portal/commit/708a56a80408e53a7d6d17896a78df5692b72f02)) +* Reformatted code -* Changes in font and home icon (#886) +* Changed search for 'warning' to search for 'error' in base.html -* Changes in font and home icon - -Font size and home icon adjust to screens from 760px to 1200px wide so that the buttons don't overlap - -* Replaced direct assignment with mixin ([`d5c5753`](https://github.com/ocadotechnology/codeforlife-portal/commit/d5c57536babf6a23568dae22067208cb04d5a906)) +* Changed variable name to response -* Deleted extra URL (#882) +* Movewd newsletter_form import up with other portal imports in home.py -* Deleted extra URL - -* Deleted unused function ([`64f1a64`](https://github.com/ocadotechnology/codeforlife-portal/commit/64f1a64c5e7c394ebdcae2857b33e3f1ffa0428a)) +* Merged rules for newsletter footer css -* Changed games subnav settings (#878) +* Changed is_logged_in for when users don't exist -To be fixed on top ([`2aca20d`](https://github.com/ocadotechnology/codeforlife-portal/commit/2aca20d3361de4f0f24d20545d8a3121201a920e)) +* Added ref to context_processor in autoconfig -* Fixes link to AIMMO home page (#875) +* Switched to javascript for page redirection -* Upgraded dependencies +* removed incorrect getElementbyId statement -* Merge branch 'master' of https://github.com/ocadotechnology/codeforlife-portal +* Added a case for get req. just in case -* Merge branch 'master' of https://github.com/ocadotechnology/codeforlife-portal +* Tried to get the relative path for redirection -* Replaces aimmo home URL with correct regex ([`937580e`](https://github.com/ocadotechnology/codeforlife-portal/commit/937580e388d796d24f159f68151b99657615d964)) +* Changed url pattern of news_signup -* Return of the Redesign: Upgrade of the AI:MMO home page (#856) +* Removed redirection for testing -* Implemented new AIMMO game page HTML, CSS & JS. +* More changes for testing -* Finished redesigning AIMMO home page (added/updated PDFs, fine-tuned styles and added create game form) +* Using render instead of redirection after signup -* Make preview users always redirect to new AIMMO page. +* Changed test cases so they match the new version of process_newsletter_form -* Added tests +* Fixed merge conflict -* Merged changes from delete base files and resolved conflicts +* Fixed syntax error -* Update SASS to cater to relevant CodeClimate issues +* Reformatted code to follow pep8 -* Updated Sass, JS and other naming instances +* Added print statements for testing -* Disabled creation of duplicate games with same name +* Added another print statement inside is_developer -* Added Google Analytics event for create game button +* Debugging -* Simplified + selector with not(first) +* More logs for debugging -* Replaced z-indices with constants +* Testing -* Fixed CodeClimate issues. +* Moved csrf token -* Added spaces between brackets +* iAdded ensure_csrf_cookie -* Merge master into redesign-aimmo-home +* Added csrf decorator above process_newsletter_form -* Uses regex, AI:MMO's form and fixes CodeClimate issues ([`0cbe9bb`](https://github.com/ocadotechnology/codeforlife-portal/commit/0cbe9bb8c5ebbda96333931acd618fdbc44e6726)) +* Using csrf_protect decorator -* Deleted instruction to hide menu (#874) +* Added both decorators on home and proc_newsletter_form -* Deleted instruction to hide menu ([`ed7aad1`](https://github.com/ocadotechnology/codeforlife-portal/commit/ed7aad1ab0a6d2d760022052f56597126b1d22b6)) +* Added another decorator -* Upgraded dependencies (#871) +* Disabled csrf for newsletter form -* Upgraded dependencies ([`fb0a44d`](https://github.com/ocadotechnology/codeforlife-portal/commit/fb0a44dc98e64feef71da37f1c620a7442cc19fa)) +* Changed app_tags is_logged_in function back to what it originally was -* Fixes log in buttons properly (#870) +* Testing with redirection using javascript now -* Increased width of log in buttons container +* Trying window.parent.location -* Dropdown width increased to 80% to satisfy all breakpoints ([`e5222f0`](https://github.com/ocadotechnology/codeforlife-portal/commit/e5222f05ae1fa51ae3eca712d4cf62f504fdb7a8)) +* Changed test cases to match redirection -* Login buttons wrap properly always (#868) +* Fixed test cases and merge conflict in base -* Makes menu width fit content ([`1672156`](https://github.com/ocadotechnology/codeforlife-portal/commit/1672156259844ccb993e9820279787d5ff0e1984)) +* reverted logger name -* Removes updated terms banner (#867) +* Deleted render pages -* Removes terms banner ([`d9f18cb`](https://github.com/ocadotechnology/codeforlife-portal/commit/d9f18cb3de6ec8978065dd32808bb0726767fedc)) +* Reference to preview user decorator added to autoconfig -* Update terms (#858) +* Temp solution. First manager done for student -* wip - -* updated terms - -* fixes most pr comments ([`e26b36b`](https://github.com/ocadotechnology/codeforlife-portal/commit/e26b36b4fc99df0af750a43792ef681b928c2cbc)) +* has_beta_access no longer using unsafe function -* Delete unused import (#859) +* Testing import get_users_for_new_game -* Delete unused import ([`8aa7116`](https://github.com/ocadotechnology/codeforlife-portal/commit/8aa711664f9a4635f35f416ec9e60039b933c133)) +* Added prints for testing -* Banner for updated terms & conditions (#857) +* Testing versions -* Added updated terms banner. +* Finished writing code for adding user objects to game rather than student/teacher object, needs more testing -* Brought back import to be removed in another PR ([`d2545fe`](https://github.com/ocadotechnology/codeforlife-portal/commit/d2545feb4e7ffd7fe05f5fe3bb9db868c519d60a)) +* Temporarily switched eligible_for_testing to True for testing on deployment -* Deleted redundant base files and fixed incorrect code (#849) +* Moved dependency link above find_packages() for testing -* Deleted redundant base files. -Also moved template to partials folder. ([`3c65c0f`](https://github.com/ocadotechnology/codeforlife-portal/commit/3c65c0fff090e909e385692c538feb57d8e72e04)) +* Temporarily changed travis script to test build -* Return of the Redesign: Upgrade of the Student Dashboard (#844) +* Changes -* Redesigned student dashboard page. +* Made some more changes -* Add anchor jump to button to try and fix Travis test. +* Refactored -* Added time sleep +* Removed process dependency links command from yml file -* Fix Code Climate issues +* Removed dependency -* I'm OCD about spacing okay +* Removed migration ([`f9d5ed2`](https://github.com/ocadotechnology/codeforlife-portal/commit/f9d5ed21e3a3cab260a0d0a4b12c27f0a4316768)) -* Remove comments +* New privacy policy 3 (#734) -* Added SVG and changed structure to CSS grid. -Also removed unnecessary new file. +* last changes requested by legal team -* Removed duplicate mixin. +* changing ocado technology to Ocado Group PLC where appropriate -* Added newline at end of file. +* a few more changes requested by legal -* Renamed button ID and gap mixin. -Reverted h3/h4 style changes and started spacing rule to multiples of 4. +* other legal changes ([`0668b75`](https://github.com/ocadotechnology/codeforlife-portal/commit/0668b7548c49e4e4fb02af9b38189355aff07578)) -* Renamed mixin and added newline +* implemented a few children-friendly changes suggested by privacy expert (#733) -* Renamed logo image. ([`27a85ad`](https://github.com/ocadotechnology/codeforlife-portal/commit/27a85ad177b70222a184c2b84a6c0b1abdefc01c)) +* implemented a few children-friendly changes suggested by privacy expert -* Added templates for issues and a PR template (#818) +* minor change ([`6464e8d`](https://github.com/ocadotechnology/codeforlife-portal/commit/6464e8d7d608536c3208da6bdbb705d8e2602560)) -* Added templates for issues and a PR template +* New privacy policy (#732) -* grammar changes ([`4ec6a93`](https://github.com/ocadotechnology/codeforlife-portal/commit/4ec6a934f1801c1d6d789cb88cce64be5822db30)) +* updating the terms - wip -* Menu box update 2: student buttons (#820) +* updating the terms - fixes #730 -* Updated dropdown menu box to follow new styles on student pages. ([`3961629`](https://github.com/ocadotechnology/codeforlife-portal/commit/39616292ace6ab27c45d463df7da34a2cfe95c2b)) +* wip -* Added quotes to deploy password. (#819) ([`7878e2f`](https://github.com/ocadotechnology/codeforlife-portal/commit/7878e2fd598ce1510fb31114edac989d3a9585a8)) +* updated privacy policy - fixes #730 ([`9c38d92`](https://github.com/ocadotechnology/codeforlife-portal/commit/9c38d928490ea00bc54cbf40fbc9bdd9e7ae62f2)) -* Merge pull request #812 from ocadotechnology/menu-box-teacher +* Create specific account type for AI:MMO preview users ([`c7732be`](https://github.com/ocadotechnology/codeforlife-portal/commit/c7732be7cef921075778086ec1bda6eefca3bd75)) -Menu box update 1: teacher buttons ([`0abeb2b`](https://github.com/ocadotechnology/codeforlife-portal/commit/0abeb2bcbf91c9951f882b1e17dfb54c76d1dd24)) +* email opt-in for Email Newsletter on portal (#716) -* Renamed CSS classes to follow BEM. ([`0f36045`](https://github.com/ocadotechnology/codeforlife-portal/commit/0f360454afec06d03d0043164aaca7850df65bb5)) +* Began writing code for the newsletter sign up button -* Resolved merge conflicts. ([`e683ca9`](https://github.com/ocadotechnology/codeforlife-portal/commit/e683ca99e761ff948e5006e9518efa4e82123558)) +* Attempt at newsletter signup in footer -* Applied Niket's requested changes. -Also added truncation styling for when the name is too long. ([`4a7661b`](https://github.com/ocadotechnology/codeforlife-portal/commit/4a7661bfe5369be3de16fa254011d4ae271637e6)) +* Finished working on the front end of footer sign up -* AIMMO added to the menu (#795) +* Removed add_email_to_salesforce function. Need to change the signaturte of the original function -* AIMMO added to the menu - -* WIP - removed test to see how far it goes - -* add test back - test with a sleep - -* try to add sleep before going to materials - -* upgrading chrome driver - -* Downgraded chromedriver again. Commented out super inheritance in base test - -* Uncommented setupclass :S - -* Added prints - -* More prints - -* Checking if resources button is found - -* Checking if it can find the new aimmo button - -* Checking if resources button can be clicked - -* Added sleep before clicking resources button - -* Resized columns to fix test issue. ([`9f239a3`](https://github.com/ocadotechnology/codeforlife-portal/commit/9f239a3bc6376b83d6fe0e28f32a46746d71d410)) +* Changed signature of add_to_salesforce function -* Deleted duplicate and unused button IDs. ([`3073e16`](https://github.com/ocadotechnology/codeforlife-portal/commit/3073e16dc9d0203887251322843b7fcede26e058)) +* Reformatted code -* Merge pull request #810 from ocadotechnology/student-names-fix +* Finished writing tests -Student names with dashes are now accepted ([`db14f8b`](https://github.com/ocadotechnology/codeforlife-portal/commit/db14f8b227fd80fd8de23d18fec3478dee9ec9ec)) +* Reformatted code -* Fixed small border-radius issue where the corners appeared white. ([`9d3ab45`](https://github.com/ocadotechnology/codeforlife-portal/commit/9d3ab45e7cdf7734ed35f1e3d73917e1acdbcc9b)) +* Changed newsletter_signup function -* CodeClimate fix. ([`735e41b`](https://github.com/ocadotechnology/codeforlife-portal/commit/735e41b77d6820a4a89c73ffea64fafc72a523ae)) +* Added reference to context processors in test_settings.py -* Updated menu box content and styles. ([`da44a0f`](https://github.com/ocadotechnology/codeforlife-portal/commit/da44a0f8d9c6fa1caf7edbcce6a0f284967eb56c)) +* Added a click to submit newsletter form -* Reverted static root. ([`a450c26`](https://github.com/ocadotechnology/codeforlife-portal/commit/a450c264639c0be103e9f51d8930526dc1c0a602)) +* Added print statements for debugging -* Fixed student names with dashes issues. -Also added tests to verify dashes and underscores as well as invalid characters. ([`869876e`](https://github.com/ocadotechnology/codeforlife-portal/commit/869876e2197140b16526d81d81694103823e18da)) +* Added more print statements for debugging -* Update profile dropdown (#807) +* Deleted test_newsletter_footer -* add min width for dropdown to stop text from overlapping it's button +* Switched to unit tests for the newsletter footer -* fixed dropdown text so user's name appears on left with icon on right +* Reformatted code -* added underline for logout menu items +* Reformatted code -* pep8 ([`d3e6d01`](https://github.com/ocadotechnology/codeforlife-portal/commit/d3e6d01587cbd0b5e0bb2b470054165e32a2630d)) +* Changed search for 'warning' to search for 'error' in base.html -* Provide students from eligible school immediate preview access (#802) +* Changed variable name to response -* Made students preview users before they log in so they do not have the follow the user flow - -* blank line - -* Changed user to userprofile in make preview tester - -* Getting userprofile from teacher/student object - -* Now saving user profile - -* Fix build - -* Checking if teacher is associated with a school - -* Added user profile in test admin - -* Fixed build, removed prints - -* Userprofile added to test admin ([`819c502`](https://github.com/ocadotechnology/codeforlife-portal/commit/819c502a2c90a775afa442a47d5a7bbc81470fb0)) +* Movewd newsletter_form import up with other portal imports in home.py -* Switch to MigrationExecutor() in base_test_migration (#793) +* Merged rules for newsletter footer css -* Started writing migration tests - -* Added test case for preview user field - -* Wrote two test cases testing the latest migration file - -* Removed print - -* upgrading setuptools - -* Reverted travis file - -* EOF line - -* Fixed version of django in travis.yml - -* Using get_field() instead of getting a list of all model fields - -* Django-otp - -* removed django version fix from travis yml ([`219ad38`](https://github.com/ocadotechnology/codeforlife-portal/commit/219ad3820b5f2c2a395daaf02b1fe53120c8f883)) +* Changed is_logged_in for when users don't exist -* Fix master travis build by fixing a subdependency to django-otp version to 0.4.3 (#800) +* Added ref to context_processor in autoconfig -* Fix django-otp version to 0.4.3 +* Switched to javascript for page redirection -* Add comment as to why we are fixing django-otp +* removed incorrect getElementbyId statement -* add extra space ([`9f4b3f8`](https://github.com/ocadotechnology/codeforlife-portal/commit/9f4b3f8df54b3439b871d36a62cc0ee620653f67)) +* Added a case for get req. just in case -* Generated Pipfile, updated docs (#787) +* Tried to get the relative path for redirection -* Generated Pipfile, updated docs +* Changed url pattern of news_signup -* Updated docs ([`c726dc4`](https://github.com/ocadotechnology/codeforlife-portal/commit/c726dc4039ab24b8bedac2d62dd542bd675b1079)) +* Removed redirection for testing -* Fixes #781 - upgrading rest framework (#783) ([`b1e2862`](https://github.com/ocadotechnology/codeforlife-portal/commit/b1e286281fd7c4f66ec7415eee42b5337cce20cb)) +* More changes for testing -* Fixes aimmo 691 - changed the search fields for failing admin pages (#782) ([`74634dc`](https://github.com/ocadotechnology/codeforlife-portal/commit/74634dcc3d3000f543f10929334266ffcf2ccf2f)) +* Using render instead of redirection after signup -* Merge pull request #778 from ocadotechnology/upgrade_reversion +* Changed test cases so they match the new version of process_newsletter_form -Upgrade reversion ([`3df0829`](https://github.com/ocadotechnology/codeforlife-portal/commit/3df08291ca4c8b08f225c07593ce6cdb5a3aebe5)) +* Fixed merge conflict -* upgrade two factor auth ([`dd67a8a`](https://github.com/ocadotechnology/codeforlife-portal/commit/dd67a8a329513321d18fe3d008c408b7119af910)) +* Fixed syntax error -* upgrade two factor auth ([`14c7376`](https://github.com/ocadotechnology/codeforlife-portal/commit/14c7376007b3d4912104bf95066f3830ecaa98c7)) +* Reformatted code to follow pep8 -* upgrade two factor auth ([`f75accf`](https://github.com/ocadotechnology/codeforlife-portal/commit/f75accf450c322b3a84405092bbe5e1c7db97f56)) +* Added print statements for testing -* upgrade reversion ([`73710b0`](https://github.com/ocadotechnology/codeforlife-portal/commit/73710b0b7432f813154eda5908a4f52ad725df49)) +* Added another print statement inside is_developer -* Remove libsass docstrings (#774) +* Debugging -* Remove ruby sass dependency +* More logs for debugging -* Add libsass django-pipeline compiler +* Testing -* fix pipeline compilers import +* Moved csrf token -* Add new line at end of file +* iAdded ensure_csrf_cookie -* Merge branch 'master' into remove_ruby_sass +* Added csrf decorator above process_newsletter_form -* Remove docstrings as they don’t add anything for information +* Using csrf_protect decorator -* Merge branch 'master' into remove_ruby_sass +* Added both decorators on home and proc_newsletter_form -# Conflicts: -# portal/pipeline_compilers/libsass_compiler.py +* Added another decorator -* Merge branch 'master' into remove_ruby_sass ([`96b9fdd`](https://github.com/ocadotechnology/codeforlife-portal/commit/96b9fdd38ec82784f2ad1903afd600caa90bc1e3)) +* Disabled csrf for newsletter form -* Removed string view arguments to url as it is deprecated in Django 1.10 (#775) ([`151c787`](https://github.com/ocadotechnology/codeforlife-portal/commit/151c78758d5a53fdd930293deaad5d118a3696fa)) +* Changed app_tags is_logged_in function back to what it originally was -* Remove ruby sass dependency (#772) +* Testing with redirection using javascript now -* Remove ruby sass dependency +* Trying window.parent.location -* Add libsass django-pipeline compiler +* Changed test cases to match redirection -* fix pipeline compilers import +* Fixed test cases and merge conflict in base -* Add new line at end of file ([`c531b67`](https://github.com/ocadotechnology/codeforlife-portal/commit/c531b67de993e5cd8a8a6c41ef12fff735d08403)) +* reverted logger name -* Make the portal compatible with Django 1.9.13 (#752) +* Refactored process_newsletter_form -* update some versions +* More refactorings -* Make portal work with Django 1.9. +* Fixed indentation -* Remove Pipfile +* Some more changes for consistency and readability ([`aefb8b5`](https://github.com/ocadotechnology/codeforlife-portal/commit/aefb8b555893385c9829e24721bf630338b16c0d)) -* Fix django-setuptest version +* Revert newslettr form (#715) -* Merge branch 'master' into pipenv +* Revert "Email opt in using render (#714)" -* Rename players -> aimmo +This reverts commit 90c12eb16f6d9b762c4f21de7f5faa9eefbe3820. -* Merge branch 'master' into pipenv +* Revert "Email opt-in- redirection using javascript (#713)" -* upgrade django_selenium_clean dep to 0.3.0 +This reverts commit 164a64c55415cd95756a8a434f48cdf1ebabd847. -* Upgrade selenium tests according to django_selenium_clean 0.3.0 +* Revert "Email opt-in for Email Newsletter on portal (#702)" -* Fix test errors due to django_selenium_clean upgrade and Djagno 1.9 upgrade ([`844686f`](https://github.com/ocadotechnology/codeforlife-portal/commit/844686f713d57384e4c0717f167a10161ddd0419)) +This reverts commit 89ddb3d9bf204522ad93cbfc98ce8363a25c1eff. ([`f402329`](https://github.com/ocadotechnology/codeforlife-portal/commit/f402329aa053263a888ffcc534be79f77b28f2f0)) -* Upgraded version of Pillow (#773) ([`bbdc11e`](https://github.com/ocadotechnology/codeforlife-portal/commit/bbdc11eadbd2d2d2cad26f19257bb0b768e7dc66)) +* Email opt in using render (#714) -* greyes and disables the add students button (#744) +* Began writing code for the newsletter sign up button -* change d stuff +* Attempt at newsletter signup in footer -* extracted the variable in buttonDisable() +* Finished working on the front end of footer sign up -* Something +* Removed add_email_to_salesforce function. Need to change the signaturte of the original function -* DOesnt work +* Changed signature of add_to_salesforce function -* it works +* Reformatted code -* cleanup disabled button logic +* Finished writing tests -* update readme +* Reformatted code -* Revert "update readme" +* Changed newsletter_signup function -This reverts commit 9a8afcf13ede4dc00669d897e390dc5ed3668c75. +* Added reference to context processors in test_settings.py -* remove important, refactorings +* Added a click to submit newsletter form -* Merge branch 'master' into greyed_button +* Added print statements for debugging -* Merge remote-tracking branch 'origin/master' into greyed_button ([`fc07e31`](https://github.com/ocadotechnology/codeforlife-portal/commit/fc07e31cba625b3a7c1f3fc6163e357571ee5448)) +* Added more print statements for debugging -* add a comment to setup test deps and run tests (#770) ([`fa551a4`](https://github.com/ocadotechnology/codeforlife-portal/commit/fa551a4dcd1d0037248c7fd24ad75f0fe395e912)) +* Deleted test_newsletter_footer -* Rename players -> aimmo (#769) +* Switched to unit tests for the newsletter footer -* Rename players -> aimmo - -* rename players -> aimmo ([`15723c9`](https://github.com/ocadotechnology/codeforlife-portal/commit/15723c9e343c563bfc3cca14039766bedadc1626)) +* Reformatted code -* Update readme to suggest fix of problem during setup (#768) +* Reformatted code -* change d stuff - -* extracted the variable in buttonDisable() - -* Something - -* DOesnt work - -* it works - -* cleanup disabled button logic - -* update readme - -* Revert "update readme" - -This reverts commit 9a8afcf13ede4dc00669d897e390dc5ed3668c75. - -* update readme ([`42aa11c`](https://github.com/ocadotechnology/codeforlife-portal/commit/42aa11c04962e1f2514ec09aca8b68dd43ce475e)) +* Changed search for 'warning' to search for 'error' in base.html -* Invite a teacher resolves issue #745 (#759) +* Changed variable name to response -* invite teacher, still has issues - -* invite teacher its still broken 2 - -* Invite teachers done - -* #745 changes made invite teacher - -* code climate changes invite teach - -* Fixed css on email field - -* Refactored some more thing - -* New line added - -* Removed extra line - -* Added some test cases for invite teacher functionality - -* Removed unused import - -* Stuff ([`2e001ca`](https://github.com/ocadotechnology/codeforlife-portal/commit/2e001ca059e0ded9c6e8f6c503d0423ce12c6ca1)) +* Movewd newsletter_form import up with other portal imports in home.py -* Can now enter special characters on contact form (#765) +* Merged rules for newsletter footer css -* Can now enter special characters on contact form - -* Updated test as accents can now be sent as a message - -* Removed comment ([`52c18ec`](https://github.com/ocadotechnology/codeforlife-portal/commit/52c18ecf3725c3a519a0a569e5cf72770d2a1637)) +* Changed is_logged_in for when users don't exist -* Fixes autofill, is branched correctly (#761) +* Added ref to context_processor in autoconfig -* Fixes autofill, is branched correctly - -* Fix E203 PEP8 rule ([`7b2b05a`](https://github.com/ocadotechnology/codeforlife-portal/commit/7b2b05aa69afb7e73ccb7113944e63e083c5241d)) +* Switched to javascript for page redirection -* Add __pycache__ into .gitignore (#764) ([`fa6b082`](https://github.com/ocadotechnology/codeforlife-portal/commit/fa6b08215fa4575be9e8e0644e033ceb183d662b)) +* removed incorrect getElementbyId statement -* Fixes text resizing, branched correctly (#762) ([`b493253`](https://github.com/ocadotechnology/codeforlife-portal/commit/b493253498d1a40d348706d8d23abfee87755291)) +* Added a case for get req. just in case -* Old email template back (#766) +* Tried to get the relative path for redirection -* Revert "added logo to reset_password_email template (#755)" - -This reverts commit d9ebce47b4f9d9ed48e6b230113a281f5d0915ec. - -* Revert "added image to reset_password_email.html to be tested (#753)" - -This reverts commit 7aa151a335899941d2fdc15b75a1703ad561fb6d. - -* added newline ([`9f3d2ed`](https://github.com/ocadotechnology/codeforlife-portal/commit/9f3d2ed397042b1c826556d1cf50b4d422efafb3)) +* Changed url pattern of news_signup -* added line break before broken button (#760) ([`47ea352`](https://github.com/ocadotechnology/codeforlife-portal/commit/47ea352e110cff6bd9582cc8102fe059e4579222)) +* Removed redirection for testing -* added logo to reset_password_email template (#755) +* More changes for testing -* added image to reset_password_email.html to be tested - -* fixed the image source - -* added load static django command for the image in reset_password_email ([`d9ebce4`](https://github.com/ocadotechnology/codeforlife-portal/commit/d9ebce47b4f9d9ed48e6b230113a281f5d0915ec)) +* Using render instead of redirection after signup -* added image to reset_password_email.html to be tested (#753) ([`7aa151a`](https://github.com/ocadotechnology/codeforlife-portal/commit/7aa151a335899941d2fdc15b75a1703ad561fb6d)) +* Changed test cases so they match the new version of process_newsletter_form -* fixes #747 favicon across code for life (#748) ([`0071c73`](https://github.com/ocadotechnology/codeforlife-portal/commit/0071c7376a258f413dccb29e424673394039354c)) +* Fixed merge conflict -* fixes #742, C4L logo reappearing on firefox (#743) +* Fixed syntax error -* fixes #742, C4L logo reappearing on firefox - -* delete blank line - -* change static src to django tag - -* home to contentwrapper ([`037d4fe`](https://github.com/ocadotechnology/codeforlife-portal/commit/037d4fe1fa4807e4840f543776213c48d588c0fc)) +* Reformatted code to follow pep8 ([`90c12eb`](https://github.com/ocadotechnology/codeforlife-portal/commit/90c12eb16f6d9b762c4f21de7f5faa9eefbe3820)) -* Replaced Context with a dictionary (#741) ([`fee66ed`](https://github.com/ocadotechnology/codeforlife-portal/commit/fee66ed804d12ab20f60c8938c67575114542234)) +* Email opt-in- redirection using javascript (#713) -* SessionAuthenticationMiddleware added to MIDDLEWARE_CLASSES (#740) +* Began writing code for the newsletter sign up button -* Merge remote-tracking branch 'upstream/master' into deprecation_warnings +* Attempt at newsletter signup in footer -* Removed use of patterns in urls.py +* Finished working on the front end of footer sign up -* Removed use of patterns in reports/urls.py +* Removed add_email_to_salesforce function. Need to change the signaturte of the original function -* Added session authentication to middleware +* Changed signature of add_to_salesforce function -* Merge remote-tracking branch 'upstream/master' into deprecation_warnings ([`37d28f0`](https://github.com/ocadotechnology/codeforlife-portal/commit/37d28f0abbe438ffcddb359b0253f2d7a18dc3bb)) +* Reformatted code -* Removed use of django.conf.urls.patterns() (#738) +* Finished writing tests -* Removed use of patterns in urls.py - -* Removed use of patterns in reports/urls.py ([`dfa51ba`](https://github.com/ocadotechnology/codeforlife-portal/commit/dfa51ba59d14f2430ecb3782b7d0bdd184762903)) +* Reformatted code -* Add only school users to game (#736) +* Changed newsletter_signup function -* Began writing code for the newsletter sign up button - -* Attempt at newsletter signup in footer - -* Finished working on the front end of footer sign up - -* Removed add_email_to_salesforce function. Need to change the signaturte of the original function - -* Changed signature of add_to_salesforce function - -* Reformatted code - -* Finished writing tests - -* Reformatted code - -* Changed newsletter_signup function - -* Added reference to context processors in test_settings.py - -* Added a click to submit newsletter form - -* Added print statements for debugging - -* Added more print statements for debugging - -* Deleted test_newsletter_footer - -* Switched to unit tests for the newsletter footer - -* Reformatted code - -* Reformatted code - -* Changed search for 'warning' to search for 'error' in base.html - -* Changed variable name to response - -* Movewd newsletter_form import up with other portal imports in home.py - -* Merged rules for newsletter footer css - -* Changed is_logged_in for when users don't exist - -* Added ref to context_processor in autoconfig - -* Switched to javascript for page redirection - -* removed incorrect getElementbyId statement - -* Added a case for get req. just in case - -* Tried to get the relative path for redirection - -* Changed url pattern of news_signup - -* Removed redirection for testing - -* More changes for testing - -* Using render instead of redirection after signup - -* Changed test cases so they match the new version of process_newsletter_form - -* Fixed merge conflict - -* Fixed syntax error - -* Reformatted code to follow pep8 - -* Added print statements for testing - -* Added another print statement inside is_developer - -* Debugging - -* More logs for debugging - -* Testing - -* Moved csrf token - -* iAdded ensure_csrf_cookie - -* Added csrf decorator above process_newsletter_form - -* Using csrf_protect decorator - -* Added both decorators on home and proc_newsletter_form - -* Added another decorator - -* Disabled csrf for newsletter form - -* Changed app_tags is_logged_in function back to what it originally was - -* Testing with redirection using javascript now - -* Trying window.parent.location - -* Changed test cases to match redirection - -* Fixed test cases and merge conflict in base - -* reverted logger name - -* Deleted render pages - -* Reference to preview user decorator added to autoconfig - -* Temp solution. First manager done for student - -* has_beta_access no longer using unsafe function - -* Testing import get_users_for_new_game - -* Added prints for testing - -* Testing versions - -* Finished writing code for adding user objects to game rather than student/teacher object, needs more testing - -* Temporarily switched eligible_for_testing to True for testing on deployment - -* Moved dependency link above find_packages() for testing - -* Temporarily changed travis script to test build - -* Changes - -* Made some more changes - -* Refactored - -* Removed process dependency links command from yml file - -* Removed dependency - -* Removed migration ([`f9d5ed2`](https://github.com/ocadotechnology/codeforlife-portal/commit/f9d5ed21e3a3cab260a0d0a4b12c27f0a4316768)) +* Added reference to context processors in test_settings.py -* New privacy policy 3 (#734) +* Added a click to submit newsletter form -* last changes requested by legal team - -* changing ocado technology to Ocado Group PLC where appropriate - -* a few more changes requested by legal - -* other legal changes ([`0668b75`](https://github.com/ocadotechnology/codeforlife-portal/commit/0668b7548c49e4e4fb02af9b38189355aff07578)) +* Added print statements for debugging -* implemented a few children-friendly changes suggested by privacy expert (#733) +* Added more print statements for debugging -* implemented a few children-friendly changes suggested by privacy expert - -* minor change ([`6464e8d`](https://github.com/ocadotechnology/codeforlife-portal/commit/6464e8d7d608536c3208da6bdbb705d8e2602560)) +* Deleted test_newsletter_footer -* New privacy policy (#732) +* Switched to unit tests for the newsletter footer -* updating the terms - wip - -* updating the terms - fixes #730 - -* wip - -* updated privacy policy - fixes #730 ([`9c38d92`](https://github.com/ocadotechnology/codeforlife-portal/commit/9c38d928490ea00bc54cbf40fbc9bdd9e7ae62f2)) +* Reformatted code -* Create specific account type for AI:MMO preview users ([`c7732be`](https://github.com/ocadotechnology/codeforlife-portal/commit/c7732be7cef921075778086ec1bda6eefca3bd75)) +* Reformatted code -* email opt-in for Email Newsletter on portal (#716) +* Changed search for 'warning' to search for 'error' in base.html -* Began writing code for the newsletter sign up button - -* Attempt at newsletter signup in footer - -* Finished working on the front end of footer sign up - -* Removed add_email_to_salesforce function. Need to change the signaturte of the original function - -* Changed signature of add_to_salesforce function - -* Reformatted code - -* Finished writing tests - -* Reformatted code - -* Changed newsletter_signup function - -* Added reference to context processors in test_settings.py - -* Added a click to submit newsletter form - -* Added print statements for debugging - -* Added more print statements for debugging - -* Deleted test_newsletter_footer - -* Switched to unit tests for the newsletter footer - -* Reformatted code - -* Reformatted code - -* Changed search for 'warning' to search for 'error' in base.html - -* Changed variable name to response - -* Movewd newsletter_form import up with other portal imports in home.py - -* Merged rules for newsletter footer css - -* Changed is_logged_in for when users don't exist - -* Added ref to context_processor in autoconfig - -* Switched to javascript for page redirection - -* removed incorrect getElementbyId statement - -* Added a case for get req. just in case - -* Tried to get the relative path for redirection - -* Changed url pattern of news_signup - -* Removed redirection for testing - -* More changes for testing - -* Using render instead of redirection after signup - -* Changed test cases so they match the new version of process_newsletter_form - -* Fixed merge conflict - -* Fixed syntax error - -* Reformatted code to follow pep8 - -* Added print statements for testing - -* Added another print statement inside is_developer - -* Debugging - -* More logs for debugging - -* Testing - -* Moved csrf token - -* iAdded ensure_csrf_cookie - -* Added csrf decorator above process_newsletter_form - -* Using csrf_protect decorator - -* Added both decorators on home and proc_newsletter_form - -* Added another decorator - -* Disabled csrf for newsletter form - -* Changed app_tags is_logged_in function back to what it originally was - -* Testing with redirection using javascript now - -* Trying window.parent.location - -* Changed test cases to match redirection - -* Fixed test cases and merge conflict in base - -* reverted logger name - -* Refactored process_newsletter_form - -* More refactorings - -* Fixed indentation - -* Some more changes for consistency and readability ([`aefb8b5`](https://github.com/ocadotechnology/codeforlife-portal/commit/aefb8b555893385c9829e24721bf630338b16c0d)) +* Changed variable name to response -* Revert newslettr form (#715) +* Movewd newsletter_form import up with other portal imports in home.py -* Revert "Email opt in using render (#714)" - -This reverts commit 90c12eb16f6d9b762c4f21de7f5faa9eefbe3820. - -* Revert "Email opt-in- redirection using javascript (#713)" - -This reverts commit 164a64c55415cd95756a8a434f48cdf1ebabd847. - -* Revert "Email opt-in for Email Newsletter on portal (#702)" - -This reverts commit 89ddb3d9bf204522ad93cbfc98ce8363a25c1eff. ([`f402329`](https://github.com/ocadotechnology/codeforlife-portal/commit/f402329aa053263a888ffcc534be79f77b28f2f0)) +* Merged rules for newsletter footer css -* Email opt in using render (#714) +* Changed is_logged_in for when users don't exist -* Began writing code for the newsletter sign up button - -* Attempt at newsletter signup in footer - -* Finished working on the front end of footer sign up - -* Removed add_email_to_salesforce function. Need to change the signaturte of the original function - -* Changed signature of add_to_salesforce function - -* Reformatted code - -* Finished writing tests - -* Reformatted code - -* Changed newsletter_signup function - -* Added reference to context processors in test_settings.py - -* Added a click to submit newsletter form - -* Added print statements for debugging - -* Added more print statements for debugging - -* Deleted test_newsletter_footer - -* Switched to unit tests for the newsletter footer - -* Reformatted code - -* Reformatted code - -* Changed search for 'warning' to search for 'error' in base.html - -* Changed variable name to response - -* Movewd newsletter_form import up with other portal imports in home.py - -* Merged rules for newsletter footer css - -* Changed is_logged_in for when users don't exist - -* Added ref to context_processor in autoconfig - -* Switched to javascript for page redirection - -* removed incorrect getElementbyId statement - -* Added a case for get req. just in case - -* Tried to get the relative path for redirection - -* Changed url pattern of news_signup - -* Removed redirection for testing - -* More changes for testing - -* Using render instead of redirection after signup - -* Changed test cases so they match the new version of process_newsletter_form - -* Fixed merge conflict - -* Fixed syntax error - -* Reformatted code to follow pep8 ([`90c12eb`](https://github.com/ocadotechnology/codeforlife-portal/commit/90c12eb16f6d9b762c4f21de7f5faa9eefbe3820)) +* Added ref to context_processor in autoconfig -* Email opt-in- redirection using javascript (#713) +* Switched to javascript for page redirection -* Began writing code for the newsletter sign up button - -* Attempt at newsletter signup in footer - -* Finished working on the front end of footer sign up - -* Removed add_email_to_salesforce function. Need to change the signaturte of the original function - -* Changed signature of add_to_salesforce function - -* Reformatted code - -* Finished writing tests - -* Reformatted code - -* Changed newsletter_signup function - -* Added reference to context processors in test_settings.py - -* Added a click to submit newsletter form - -* Added print statements for debugging - -* Added more print statements for debugging - -* Deleted test_newsletter_footer - -* Switched to unit tests for the newsletter footer - -* Reformatted code - -* Reformatted code - -* Changed search for 'warning' to search for 'error' in base.html - -* Changed variable name to response - -* Movewd newsletter_form import up with other portal imports in home.py - -* Merged rules for newsletter footer css - -* Changed is_logged_in for when users don't exist - -* Added ref to context_processor in autoconfig - -* Switched to javascript for page redirection - * Reverted to old version of code for testing ([`164a64c`](https://github.com/ocadotechnology/codeforlife-portal/commit/164a64c55415cd95756a8a434f48cdf1ebabd847)) * Email opt-in for Email Newsletter on portal (#702) @@ -13608,10 +14448,10 @@ This reverts commit 89ddb3d9bf204522ad93cbfc98ce8363a25c1eff. ([`f402329`](https * Minor fix to form--register before bigger refactoring. Solves #705 (#712) -* Minor fix to form--register before bigger refactoring. Solves #705 - -* Fix register page - +* Minor fix to form--register before bigger refactoring. Solves #705 + +* Fix register page + * Remove extra student line as suggested by @CelineBoudier ([`546a3df`](https://github.com/ocadotechnology/codeforlife-portal/commit/546a3df1d2de4f81ea8c6377685af3fad326aee1)) * Added AI:MMO user guide - fixes #703 (#708) ([`ec623c3`](https://github.com/ocadotechnology/codeforlife-portal/commit/ec623c3825d9d0c014153633ebcc454d4e94b486)) @@ -13624,80 +14464,80 @@ Make run.bat equivalent to shell script ([`b2a4660`](https://github.com/ocadotec * Newsletter opt-in at signup (#696) -* Refactor Student form to also include the new checkbox - -* Add the checkbox to teacher form - -* Add the template HTML checkbox - -* Remove adding to salesforce db on verification - -* Add teacher and student logic to see if checkbox is ticked - -* Add initial styling - -* Add a T&Cs link to signup page - -* Add extra student text. - -* Fix minor student model error - -* Fix code climate issues - -* Minor tests and refactoring - -* Left align text - -* Fix the checkbox and make James happy :P - -* Add padding to move the text right a bit with the checkbox - -* Refactor duplicated html into another template - -* Improve CSS class naming to match BEM - -* Rename tests to make more sense - -* Fix code style issue - +* Refactor Student form to also include the new checkbox + +* Add the checkbox to teacher form + +* Add the template HTML checkbox + +* Remove adding to salesforce db on verification + +* Add teacher and student logic to see if checkbox is ticked + +* Add initial styling + +* Add a T&Cs link to signup page + +* Add extra student text. + +* Fix minor student model error + +* Fix code climate issues + +* Minor tests and refactoring + +* Left align text + +* Fix the checkbox and make James happy :P + +* Add padding to move the text right a bit with the checkbox + +* Refactor duplicated html into another template + +* Improve CSS class naming to match BEM + +* Rename tests to make more sense + +* Fix code style issue + * Change register form description text to be left aligned ([`bad17d2`](https://github.com/ocadotechnology/codeforlife-portal/commit/bad17d25a136497d572ec48b7b8735c7a044fea1)) * Make run.bat equivalent to shell script ([`7ce8df3`](https://github.com/ocadotechnology/codeforlife-portal/commit/7ce8df32e9c92681278b391fa46e82369d8b8c34)) * fixed responsiveness on login page (#689) -* fixed responsiveness on login page - -* added missing closing div tag and fixed indentation - +* fixed responsiveness on login page + +* added missing closing div tag and fixed indentation + * fix flex display for safari ([`b9b9e2f`](https://github.com/ocadotechnology/codeforlife-portal/commit/b9b9e2f760350b48ebced7361413186855467d76)) * Fix login redirection bug (#687) -* import is_safe_url - -* Add tests - -* Remove database save() - -* Remove failing test - -* Revert "Remove failing test" - -This reverts commit ea82594fb795f7cb6cd493e5fc23b2494c183579. - +* import is_safe_url + +* Add tests + +* Remove database save() + +* Remove failing test + +* Revert "Remove failing test" + +This reverts commit ea82594fb795f7cb6cd493e5fc23b2494c183579. + * Remove additional independent student redirect test ([`961afd1`](https://github.com/ocadotechnology/codeforlife-portal/commit/961afd191008a4a9570e2ef46dbeed4f903d5840)) * Got rid of django-cms - fixes #678 (#686) -* Got rid of django-cms - fixes #678 - +* Got rid of django-cms - fixes #678 + * added block head back ([`e7ad1e0`](https://github.com/ocadotechnology/codeforlife-portal/commit/e7ad1e0e907d0073c2e2d9e34ea7e1787182a109)) * fixes #677 Replace GET with POST when necessary, and refactored a bit… (#685) -* fixes #677 Replace GET with POST when necessary, and refactored a bit the post utils in js - +* fixes #677 Replace GET with POST when necessary, and refactored a bit the post utils in js + * now using postWithCsrf function ([`5159400`](https://github.com/ocadotechnology/codeforlife-portal/commit/5159400264b67f533fc1ea85aec65813344f39f1)) * made all single quote to double quote for html attributes (#684) ([`b60fa65`](https://github.com/ocadotechnology/codeforlife-portal/commit/b60fa65d1c629205a9889619e9e9909da03cecf2)) @@ -13706,31 +14546,31 @@ This reverts commit ea82594fb795f7cb6cd493e5fc23b2494c183579. * Add contact recaptcha and limit only captcha to signup (#682) -* Always use captcha on contact form - -* Add the functionality to register with no limits - -* Add the same limits to signups as logins - -* Add the same limits to signups as logins. Closes #679 - +* Always use captcha on contact form + +* Add the functionality to register with no limits + +* Add the same limits to signups as logins + +* Add the same limits to signups as logins. Closes #679 + * Change broken indentation ([`fb4a0ab`](https://github.com/ocadotechnology/codeforlife-portal/commit/fb4a0abb61f4ae75aed3e6d11efdaafe9b63485e)) * Added video + assessment, replaced missing links with Coming Soon Fixes #675 (#676) -* Added video, assessment page, replaced missing links with Coming soon -Fixes #675 - +* Added video, assessment page, replaced missing links with Coming soon +Fixes #675 + * space after colon ([`79f14b1`](https://github.com/ocadotechnology/codeforlife-portal/commit/79f14b1667ed5dc63f46744a73af1f01e7c8fdbe)) * Added KS3 teaching materials page and tests - Fixes #669 (#672) -* Added KS3 teaching materials page and tests - Fixes #669 - -* Corrections from comments on PR - svgs instead of pngs, better sass, etc - -* fixed a few more comments - +* Added KS3 teaching materials page and tests - Fixes #669 + +* Corrections from comments on PR - svgs instead of pngs, better sass, etc + +* fixed a few more comments + * removed extra lines ([`e758ed3`](https://github.com/ocadotechnology/codeforlife-portal/commit/e758ed32f9a21e04ca7c1271a05411a01816edd9)) * Update copyright (#671) @@ -13739,100 +14579,100 @@ Happy Belated New Year! ([`76bf2f6`](https://github.com/ocadotechnology/codeforl * Update to reCAPTCHA v2 (#665) -* Cherry pick PR #573 - -* Make sure that captchas do not run on tests - -* Allow custom commands to be used for testing - -* Attempt to fix selenium test - -* setup django test for travis - -* fix error in travis.yaml - -* fix error in travis.yaml - -* remove setuptests dependency - -* fix error in setup.py - -* Code climate changes - -* Remove unused imports - -* Add new line for pycodestyle - -* Add tests and address code review changes - -* follow PEP8 guidelines - -* refactor how view_options work for the recaptcha - -* make view_options a class variable instead of an instance variable - -* Add Django Recaptcha to the project - -* Re-implement reCAPTCHA for teacher and student password reset - -* Reimplement captcha for Teacher, Student and Independent Student login forms - -* fix spelling for check_email_errors - -* Reimplement captcha for AdminLoginForm - -* Reimplement captcha for contact us form - -* remove old captcha implementation - -* Add tests for captcha helper functions - -* fix some code climate issues - -* refactor render_login_form - -* remove unwanted comments - -* Fix help and support recaptcha logic - -* Fix passwordreset form - -* Remove commented out code - -* Update copyright year - -* Remove new lines at the top of class definition - -Following comments from code review - -* Remove new line at class definition - -* Revert "Update copyright year " - +* Cherry pick PR #573 + +* Make sure that captchas do not run on tests + +* Allow custom commands to be used for testing + +* Attempt to fix selenium test + +* setup django test for travis + +* fix error in travis.yaml + +* fix error in travis.yaml + +* remove setuptests dependency + +* fix error in setup.py + +* Code climate changes + +* Remove unused imports + +* Add new line for pycodestyle + +* Add tests and address code review changes + +* follow PEP8 guidelines + +* refactor how view_options work for the recaptcha + +* make view_options a class variable instead of an instance variable + +* Add Django Recaptcha to the project + +* Re-implement reCAPTCHA for teacher and student password reset + +* Reimplement captcha for Teacher, Student and Independent Student login forms + +* fix spelling for check_email_errors + +* Reimplement captcha for AdminLoginForm + +* Reimplement captcha for contact us form + +* remove old captcha implementation + +* Add tests for captcha helper functions + +* fix some code climate issues + +* refactor render_login_form + +* remove unwanted comments + +* Fix help and support recaptcha logic + +* Fix passwordreset form + +* Remove commented out code + +* Update copyright year + +* Remove new lines at the top of class definition + +Following comments from code review + +* Remove new line at class definition + +* Revert "Update copyright year " + This reverts commit bddec4fa9454ba8f576873879ca6b69f41f661d4. ([`b94d83b`](https://github.com/ocadotechnology/codeforlife-portal/commit/b94d83b1d243aaed855798547eb0bad13177953e)) * Correct typo in About page (#666) ([`c2079e9`](https://github.com/ocadotechnology/codeforlife-portal/commit/c2079e9a359a43cf2d7226965618e27a18c88b12)) * Resolves #662. Fixes stretching issue on aimmo landing page (#663) -* Resolves #662. Fixes stretching issue on aimmo landing page - +* Resolves #662. Fixes stretching issue on aimmo landing page + * Move the CSS to is-flex class instead ([`5039b82`](https://github.com/ocadotechnology/codeforlife-portal/commit/5039b82fc681e01abde78f10a3743c8b4f499348)) * Aimmo landing page - aimmo #381 (#658) -* Preparing the AIMMO landing page - -* Time zones intro - -* Fix grid and add subnav to AIMMO landing page - -* Add AIMMO landing page quinary swirl background - -* AIMMO Landing page, improve sticky nav - -* Added links to the buttons - +* Preparing the AIMMO landing page + +* Time zones intro + +* Fix grid and add subnav to AIMMO landing page + +* Add AIMMO landing page quinary swirl background + +* AIMMO Landing page, improve sticky nav + +* Added links to the buttons + * banner also in play/rr, url redirection, a few corrections ([`15d35a2`](https://github.com/ocadotechnology/codeforlife-portal/commit/15d35a2d62d07fff0cfe407e9854edae40cb5071)) * Factorised test functions. ([`f7027bc`](https://github.com/ocadotechnology/codeforlife-portal/commit/f7027bcc97d22347c1d950a9d997d6367049918f)) diff --git a/cfl_common/common/helpers/emails.py b/cfl_common/common/helpers/emails.py index 88f0611b4..070c61511 100644 --- a/cfl_common/common/helpers/emails.py +++ b/cfl_common/common/helpers/emails.py @@ -1,6 +1,5 @@ import datetime import json -import re from enum import Enum, auto from uuid import uuid4 @@ -66,13 +65,14 @@ def send_email( django_send_email(sender, recipients, subject, text_content, title, replace_url, plaintext_template, html_template) -def send_verification_email(request, user, data, new_email=None, age=None): +def send_verification_email(request, user, data, new_email=None, age=None, school=None): """ Sends emails relating to email address verification. On registration: - if the user is under 13, send a verification email addressed to the parent / guardian - if the user is over 13, send a regular verification email + - if the user is a student who just got released, send a verification email explaining the situation - if the user is a student who has requested to sign up to the newsletter, handle their Dotmailer subscription On email address update: @@ -88,20 +88,28 @@ def send_verification_email(request, user, data, new_email=None, age=None): student) """ - # verifying first email address (registration) + # verifying first email address (registration or unverified login attempt) if not new_email: verification = generate_token(user) - # if the user is a teacher if age is None: - url = f"{request.build_absolute_uri(reverse('verify_email', kwargs={'token': verification}))}" + # if the user is a released student + if hasattr(user, "new_student") and school is not None: + url = f"{request.build_absolute_uri(reverse('verify_email', kwargs={'token': verification}))}" + + send_dotdigital_email( + campaign_ids["verify_released_student"], [user.email], + personalization_values={"VERIFICATION_LINK": url, "SCHOOL_NAME": school.name} + ) + else: + url = f"{request.build_absolute_uri(reverse('verify_email', kwargs={'token': verification}))}" - send_dotdigital_email( - campaign_ids["verify_new_user"], [user.email], personalization_values={"VERIFICATION_LINK": url} - ) + send_dotdigital_email( + campaign_ids["verify_new_user"], [user.email], personalization_values={"VERIFICATION_LINK": url} + ) - if _newsletter_ticked(data): - add_to_dotmailer(user.first_name, user.last_name, user.email, DotmailerUserType.TEACHER) + if _newsletter_ticked(data): + add_to_dotmailer(user.first_name, user.last_name, user.email, DotmailerUserType.TEACHER) # if the user is an independent student else: if age < 13: diff --git a/cfl_common/common/mail.py b/cfl_common/common/mail.py index e2a0d87dd..007eb7986 100644 --- a/cfl_common/common/mail.py +++ b/cfl_common/common/mail.py @@ -26,6 +26,7 @@ "verify_new_user_first_reminder": 1557170, "verify_new_user_second_reminder": 1557173, "verify_new_user_via_parent": 1551587, + "verify_released_student": 1580574, } diff --git a/cfl_common/common/migrations/0052_add_cse_fields.py b/cfl_common/common/migrations/0052_add_cse_fields.py new file mode 100644 index 000000000..4833581a5 --- /dev/null +++ b/cfl_common/common/migrations/0052_add_cse_fields.py @@ -0,0 +1,68 @@ +# Generated by Django 3.2.25 on 2024-05-22 11:30 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('common', '0051_verify_returning_users'), + ] + + operations = [ + migrations.AddField( + model_name='schoolteacherinvitation', + name='_invited_teacher_email', + field=models.BinaryField(blank=True, null=True), + ), + migrations.AddField( + model_name='schoolteacherinvitation', + name='_invited_teacher_first_name', + field=models.BinaryField(blank=True, null=True), + ), + migrations.AddField( + model_name='schoolteacherinvitation', + name='_invited_teacher_last_name', + field=models.BinaryField(blank=True, null=True), + ), + migrations.AddField( + model_name='userprofile', + name='_email', + field=models.BinaryField(blank=True, null=True), + ), + migrations.AddField( + model_name='userprofile', + name='_first_name', + field=models.BinaryField(blank=True, null=True), + ), + migrations.AddField( + model_name='userprofile', + name='_last_name', + field=models.BinaryField(blank=True, null=True), + ), + migrations.AddField( + model_name='userprofile', + name='_username', + field=models.BinaryField(blank=True, null=True), + ), + migrations.AddField( + model_name='userprofile', + name='email', + field=models.CharField(blank=True, max_length=200, null=True), + ), + migrations.AddField( + model_name='userprofile', + name='first_name', + field=models.CharField(blank=True, max_length=200, null=True), + ), + migrations.AddField( + model_name='userprofile', + name='last_name', + field=models.CharField(blank=True, max_length=200, null=True), + ), + migrations.AddField( + model_name='userprofile', + name='username', + field=models.CharField(blank=True, max_length=200, null=True), + ), + ] diff --git a/cfl_common/common/models.py b/cfl_common/common/models.py index 871fac32b..e927778a5 100644 --- a/cfl_common/common/models.py +++ b/cfl_common/common/models.py @@ -16,12 +16,25 @@ class UserProfile(models.Model): developer = models.BooleanField(default=False) is_verified = models.BooleanField(default=False) - # Holds the user's earned kurono badges. This information has to be on the UserProfile as the Avatar objects are - # deleted every time the Game gets deleted. - # This is a string showing which badges in which worksheets have been earned. The format is "X:Y" where X is the - # worksheet ID and Y is the badge ID. This repeats for all badges and each pair is comma-separated. + # Holds the user's earned kurono badges. This information has to be on the + # UserProfile as the Avatar objects are deleted every time the Game gets + # deleted. + # This is a string showing which badges in which worksheets have been + # earned. The format is "X:Y" where X is the worksheet ID and Y is the + # badge ID. This repeats for all badges and each pair is comma-separated. aimmo_badges = models.CharField(max_length=200, null=True, blank=True) + # TODO: Make not nullable once data has been transferred + first_name = models.CharField(max_length=200, null=True, blank=True) + _first_name = models.BinaryField(null=True, blank=True) + last_name = models.CharField(max_length=200, null=True, blank=True) + _last_name = models.BinaryField(null=True, blank=True) + email = models.CharField(max_length=200, null=True, blank=True) + _email = models.BinaryField(null=True, blank=True) + # TODO: Make not nullable once data has been transferred + username = models.CharField(max_length=200, null=True, blank=True) + _username = models.BinaryField(null=True, blank=True) + def __str__(self): return f"{self.user.first_name} {self.user.last_name}" @@ -38,7 +51,9 @@ def get_queryset(self): class School(models.Model): name = models.CharField(max_length=200, unique=True) - country = CountryField(blank_label="(select country)", null=True, blank=True) + country = CountryField( + blank_label="(select country)", null=True, blank=True + ) # TODO: Create an Address model to house address details county = models.CharField(max_length=50, blank=True, null=True) creation_time = models.DateTimeField(default=timezone.now, null=True) @@ -61,7 +76,11 @@ def classes(self): def admins(self): teachers = self.teacher_school.all() - return [teacher for teacher in teachers if teacher.is_admin] if teachers else None + return ( + [teacher for teacher in teachers if teacher.is_admin] + if teachers + else None + ) def anonymise(self): self.name = uuid4().hex @@ -72,7 +91,11 @@ def anonymise(self): class TeacherModelManager(models.Manager): def factory(self, first_name, last_name, email, password): user = User.objects.create_user( - username=email, email=email, password=password, first_name=first_name, last_name=last_name + username=email, + email=email, + password=password, + first_name=first_name, + last_name=last_name, ) user_profile = UserProfile.objects.create(user=user) @@ -86,12 +109,28 @@ def get_queryset(self): class Teacher(models.Model): user = models.OneToOneField(UserProfile, on_delete=models.CASCADE) - new_user = models.OneToOneField(User, related_name="new_teacher", null=True, blank=True, on_delete=models.CASCADE) - school = models.ForeignKey(School, related_name="teacher_school", null=True, blank=True, on_delete=models.SET_NULL) + new_user = models.OneToOneField( + User, + related_name="new_teacher", + null=True, + blank=True, + on_delete=models.CASCADE, + ) + school = models.ForeignKey( + School, + related_name="teacher_school", + null=True, + blank=True, + on_delete=models.SET_NULL, + ) is_admin = models.BooleanField(default=False) blocked_time = models.DateTimeField(null=True, blank=True) invited_by = models.ForeignKey( - "self", related_name="invited_teachers", null=True, blank=True, on_delete=models.SET_NULL + "self", + related_name="invited_teachers", + null=True, + blank=True, + on_delete=models.SET_NULL, ) objects = TeacherModelManager() @@ -99,7 +138,10 @@ class Teacher(models.Model): def teaches(self, userprofile): if hasattr(userprofile, "student"): student = userprofile.student - return not student.is_independent() and student.class_field.teacher == self + return ( + not student.is_independent() + and student.class_field.teacher == self + ) def has_school(self): return self.school is not (None or "") @@ -119,11 +161,32 @@ def get_queryset(self): class SchoolTeacherInvitation(models.Model): token = models.CharField(max_length=32) - school = models.ForeignKey(School, related_name="teacher_invitations", null=True, on_delete=models.SET_NULL) - from_teacher = models.ForeignKey(Teacher, related_name="school_invitations", null=True, on_delete=models.SET_NULL) - invited_teacher_first_name = models.CharField(max_length=150) # Same as User model - invited_teacher_last_name = models.CharField(max_length=150) # Same as User model + school = models.ForeignKey( + School, + related_name="teacher_invitations", + null=True, + on_delete=models.SET_NULL, + ) + from_teacher = models.ForeignKey( + Teacher, + related_name="school_invitations", + null=True, + on_delete=models.SET_NULL, + ) + invited_teacher_first_name = models.CharField( + max_length=150 + ) # Same as User model + # TODO: Make not nullable once data has been transferred + _invited_teacher_first_name = models.BinaryField(null=True, blank=True) + invited_teacher_last_name = models.CharField( + max_length=150 + ) # Same as User model + # TODO: Make not nullable once data has been transferred + _invited_teacher_last_name = models.BinaryField(null=True, blank=True) + # TODO: Switch to a CharField to be able to hold hashed value invited_teacher_email = models.EmailField() # Same as User model + # TODO: Make not nullable once data has been transferred + _invited_teacher_email = models.BinaryField(null=True, blank=True) invited_teacher_is_admin = models.BooleanField(default=False) expiry = models.DateTimeField() creation_time = models.DateTimeField(default=timezone.now, null=True) @@ -168,7 +231,9 @@ def get_queryset(self): class Class(models.Model): name = models.CharField(max_length=200) - teacher = models.ForeignKey(Teacher, related_name="class_teacher", on_delete=models.CASCADE) + teacher = models.ForeignKey( + Teacher, related_name="class_teacher", on_delete=models.CASCADE + ) access_code = models.CharField(max_length=5, null=True) classmates_data_viewable = models.BooleanField(default=False) always_accept_requests = models.BooleanField(default=False) @@ -176,7 +241,11 @@ class Class(models.Model): creation_time = models.DateTimeField(default=timezone.now, null=True) is_active = models.BooleanField(default=True) created_by = models.ForeignKey( - Teacher, null=True, blank=True, related_name="created_classes", on_delete=models.SET_NULL + Teacher, + null=True, + blank=True, + related_name="created_classes", + on_delete=models.SET_NULL, ) objects = ClassModelManager() @@ -188,7 +257,9 @@ def __str__(self): def active_game(self): games = self.game_set.filter(game_class=self, is_archived=False) if len(games) >= 1: - assert len(games) == 1 # there should NOT be more than one active game + assert ( + len(games) == 1 + ) # there should NOT be more than one active game return games[0] return None @@ -198,8 +269,13 @@ def has_students(self): def get_requests_message(self): if self.always_accept_requests: - external_requests_message = "This class is currently set to always accept requests." - elif self.accept_requests_until is not None and (self.accept_requests_until - timezone.now()) >= timedelta(): + external_requests_message = ( + "This class is currently set to always accept requests." + ) + elif ( + self.accept_requests_until is not None + and (self.accept_requests_until - timezone.now()) >= timedelta() + ): external_requests_message = ( "This class is accepting external requests until " + self.accept_requests_until.strftime("%d-%m-%Y %H:%M") @@ -207,7 +283,9 @@ def get_requests_message(self): + timezone.get_current_timezone_name() ) else: - external_requests_message = "This class is not currently accepting external requests." + external_requests_message = ( + "This class is not currently accepting external requests." + ) return external_requests_message @@ -229,7 +307,9 @@ class UserSession(models.Model): login_time = models.DateTimeField(default=timezone.now) school = models.ForeignKey(School, null=True, on_delete=models.SET_NULL) class_field = models.ForeignKey(Class, null=True, on_delete=models.SET_NULL) - login_type = models.CharField(max_length=100, null=True) # for student login + login_type = models.CharField( + max_length=100, null=True + ) # for student login def __str__(self): return f"{self.user} login: {self.login_time} type: {self.login_type}" @@ -243,13 +323,24 @@ def get_random_username(self): return random_username def schoolFactory(self, klass, name, password, login_id=None): - user = User.objects.create_user(username=self.get_random_username(), password=password, first_name=name) + user = User.objects.create_user( + username=self.get_random_username(), + password=password, + first_name=name, + ) user_profile = UserProfile.objects.create(user=user) - return Student.objects.create(class_field=klass, user=user_profile, new_user=user, login_id=login_id) + return Student.objects.create( + class_field=klass, + user=user_profile, + new_user=user, + login_id=login_id, + ) def independentStudentFactory(self, name, email, password): - user = User.objects.create_user(username=email, email=email, password=password, first_name=name) + user = User.objects.create_user( + username=email, email=email, password=password, first_name=name + ) user_profile = UserProfile.objects.create(user=user) @@ -257,13 +348,29 @@ def independentStudentFactory(self, name, email, password): class Student(models.Model): - class_field = models.ForeignKey(Class, related_name="students", null=True, blank=True, on_delete=models.CASCADE) + class_field = models.ForeignKey( + Class, + related_name="students", + null=True, + blank=True, + on_delete=models.CASCADE, + ) # hashed uuid used for the unique direct login url login_id = models.CharField(max_length=64, null=True) user = models.OneToOneField(UserProfile, on_delete=models.CASCADE) - new_user = models.OneToOneField(User, related_name="new_student", null=True, blank=True, on_delete=models.CASCADE) + new_user = models.OneToOneField( + User, + related_name="new_student", + null=True, + blank=True, + on_delete=models.CASCADE, + ) pending_class_request = models.ForeignKey( - Class, related_name="class_request", null=True, blank=True, on_delete=models.SET_NULL + Class, + related_name="class_request", + null=True, + blank=True, + on_delete=models.SET_NULL, ) blocked_time = models.DateTimeField(null=True, blank=True) @@ -309,7 +416,9 @@ class JoinReleaseStudent(models.Model): JOIN = "join" RELEASE = "release" - student = models.ForeignKey(Student, related_name="student", on_delete=models.CASCADE) + student = models.ForeignKey( + Student, related_name="student", on_delete=models.CASCADE + ) # either "release" or "join" action_type = models.CharField(max_length=64) action_time = models.DateTimeField(default=timezone.now) @@ -317,8 +426,9 @@ class JoinReleaseStudent(models.Model): class DailyActivity(models.Model): """ - A model to record sets of daily activity. Currently used to record the amount of - student details download clicks, through the CSV and login cards methods, per day. + A model to record sets of daily activity. Currently used to record the + amount of student details download clicks, through the CSV and login + cards methods, per day. """ date = models.DateField(default=timezone.now) @@ -342,8 +452,8 @@ def __str__(self): class TotalActivity(models.Model): """ - A model to record total activity. Meant to only have one entry which records all total activity. - An example of this is total ever registrations. + A model to record total activity. Meant to only have one entry which + records all total activity. An example of this is total ever registrations. """ teacher_registrations = models.PositiveIntegerField(default=0) @@ -361,9 +471,11 @@ def __str__(self): class DynamicElement(models.Model): """ - This model is meant to allow us to quickly update some elements dynamically on the website without having to - redeploy everytime. For example, if a maintenance banner needs to be added, we check the box in the Django admin - panel, edit the text and it'll show immediately on the website. + This model is meant to allow us to quickly update some elements + dynamically on the website without having to redeploy everytime. For + example, if a maintenance banner needs to be added, we check the box in + the Django admin panel, edit the text and it'll show immediately on the + website. """ name = models.CharField(max_length=64, unique=True, editable=False) diff --git a/portal/__init__.py b/portal/__init__.py index fb56db929..3f8dd52b5 100644 --- a/portal/__init__.py +++ b/portal/__init__.py @@ -1 +1 @@ -__version__ = "6.44.5" +__version__ = "6.45.4" diff --git a/portal/forms/play.py b/portal/forms/play.py index 6b3d56837..3ab2342b9 100644 --- a/portal/forms/play.py +++ b/portal/forms/play.py @@ -277,15 +277,19 @@ class StudentJoinOrganisationForm(forms.Form): def clean(self): access_code = self.cleaned_data.get("access_code", None) + join_error_text = "The class code you entered either does not exist or is not currently accepting join requests. Please double check that you have entered the correct class code and contact the teacher of the class to ensure their class is currently accepting join requests." if access_code: classes = Class.objects.filter(access_code=access_code) if len(classes) != 1: - raise forms.ValidationError("Cannot find the school or club and/or class") + raise forms.ValidationError(join_error_text) + self.klass = classes[0] - if not self.klass.always_accept_requests: - if self.klass.accept_requests_until is None: - raise forms.ValidationError("Cannot find the school or club and/or class") - elif (self.klass.accept_requests_until - timezone.now()) < timedelta(): - raise forms.ValidationError("Cannot find the school or club and/or class") + + if not self.klass.always_accept_requests and ( + self.klass.accept_requests_until is None + or self.klass.accept_requests_until - timezone.now() + < timedelta() + ): + raise forms.ValidationError(join_error_text) return self.cleaned_data diff --git a/portal/templates/portal/email_verification_needed.html b/portal/templates/portal/email_verification_needed.html index 73db1f79c..1c170b819 100644 --- a/portal/templates/portal/email_verification_needed.html +++ b/portal/templates/portal/email_verification_needed.html @@ -10,7 +10,7 @@
An email has been sent to you. Make sure to check your Verification email sent

Please follow the link within the email to verify your details. This will expire in one hour.

- Open in Gmail Open in Outlook diff --git a/portal/templates/portal/reset_password_email_sent.html b/portal/templates/portal/reset_password_email_sent.html index 6b396a5a7..423cd6813 100644 --- a/portal/templates/portal/reset_password_email_sent.html +++ b/portal/templates/portal/reset_password_email_sent.html @@ -10,7 +10,7 @@
If you have entered a valid email address, you will receive a link to src="{% static 'portal/img/paper_plane.png' %}">
Open in Gmail Open in Outlook diff --git a/portal/tests/test_emails.py b/portal/tests/test_emails.py index b48f5f2a9..beb03cd26 100644 --- a/portal/tests/test_emails.py +++ b/portal/tests/test_emails.py @@ -10,7 +10,6 @@ send_dotmailer_consent_confirmation_email_to_user, DotmailerUserType, ) -from django.core import mail from django.test import Client from django.urls import reverse @@ -41,19 +40,15 @@ def now(cls): monkeypatch.setattr(datetime, "datetime", mydatetime) -@pytest.mark.django_db -def test_send_new_users_numbers_email(): - client = Client() - response = client.get(reverse("send_new_users_report")) - assert response.status_code == 200 - assert len(mail.outbox) == 1 - - def test_newsletter_calls_correct_requests(mocker, monkeypatch): mocked_create_contact = mocker.patch("common.helpers.emails.create_contact") - mocked_add_to_address_book = mocker.patch("common.helpers.emails.add_contact_to_address_book") + mocked_add_to_address_book = mocker.patch( + "common.helpers.emails.add_contact_to_address_book" + ) - add_to_dotmailer("Ray", "Charles", "ray.charles@example.com", DotmailerUserType.TEACHER) + add_to_dotmailer( + "Ray", "Charles", "ray.charles@example.com", DotmailerUserType.TEACHER + ) mocked_create_contact.assert_called_once() mocked_add_to_address_book.assert_called_once() @@ -74,10 +69,15 @@ def test_delete_account(mocker): delete_contact("example@mail.com") - mocked_delete.assert_called_once_with(DOTMAILER_DELETE_USER_BY_ID_URL, auth=(DOTMAILER_USER, DOTMAILER_PASSWORD)) + mocked_delete.assert_called_once_with( + DOTMAILER_DELETE_USER_BY_ID_URL, + auth=(DOTMAILER_USER, DOTMAILER_PASSWORD), + ) -def test_newsletter_sends_correct_request_data(mocker, monkeypatch, patch_datetime_now): +def test_newsletter_sends_correct_request_data( + mocker, monkeypatch, patch_datetime_now +): mocked_post = mocker.patch("common.helpers.emails.post") expected_body1 = { @@ -91,7 +91,13 @@ def test_newsletter_sends_correct_request_data(mocker, monkeypatch, patch_dateti {"key": "FULLNAME", "value": "Ray Charles"}, ], }, - "consentFields": [{"fields": [{"key": "DATETIMECONSENTED", "value": FAKE_TIME.__str__()}]}], + "consentFields": [ + { + "fields": [ + {"key": "DATETIMECONSENTED", "value": FAKE_TIME.__str__()} + ] + } + ], "preferences": [{"trout": True}], } @@ -109,51 +115,76 @@ def test_newsletter_sends_correct_request_data(mocker, monkeypatch, patch_dateti create_contact("Ray", "Charles", "ray.charles@example.com") mocked_post.assert_called_once_with( - DOTMAILER_CREATE_CONTACT_URL, auth=(DOTMAILER_USER, DOTMAILER_PASSWORD), json=expected_body1 + DOTMAILER_CREATE_CONTACT_URL, + auth=(DOTMAILER_USER, DOTMAILER_PASSWORD), + json=expected_body1, ) - add_contact_to_address_book("Ray", "Charles", "ray.charles@example.com", DotmailerUserType.TEACHER) + add_contact_to_address_book( + "Ray", "Charles", "ray.charles@example.com", DotmailerUserType.TEACHER + ) assert mocked_post.call_count == 3 mocked_post.assert_any_call( - DOTMAILER_MAIN_ADDRESS_BOOK_URL, auth=(DOTMAILER_USER, DOTMAILER_PASSWORD), json=expected_body2 + DOTMAILER_MAIN_ADDRESS_BOOK_URL, + auth=(DOTMAILER_USER, DOTMAILER_PASSWORD), + json=expected_body2, ) mocked_post.assert_any_call( - DOTMAILER_TEACHER_ADDRESS_BOOK_URL, auth=(DOTMAILER_USER, DOTMAILER_PASSWORD), json=expected_body2 + DOTMAILER_TEACHER_ADDRESS_BOOK_URL, + auth=(DOTMAILER_USER, DOTMAILER_PASSWORD), + json=expected_body2, ) mocked_post.reset_mock() - add_contact_to_address_book("Ray", "Charles", "ray.charles@example.com", DotmailerUserType.STUDENT) + add_contact_to_address_book( + "Ray", "Charles", "ray.charles@example.com", DotmailerUserType.STUDENT + ) assert mocked_post.call_count == 2 mocked_post.assert_any_call( - DOTMAILER_MAIN_ADDRESS_BOOK_URL, auth=(DOTMAILER_USER, DOTMAILER_PASSWORD), json=expected_body2 + DOTMAILER_MAIN_ADDRESS_BOOK_URL, + auth=(DOTMAILER_USER, DOTMAILER_PASSWORD), + json=expected_body2, ) mocked_post.assert_any_call( - DOTMAILER_STUDENT_ADDRESS_BOOK_URL, auth=(DOTMAILER_USER, DOTMAILER_PASSWORD), json=expected_body2 + DOTMAILER_STUDENT_ADDRESS_BOOK_URL, + auth=(DOTMAILER_USER, DOTMAILER_PASSWORD), + json=expected_body2, ) mocked_post.reset_mock() - add_contact_to_address_book("Ray", "Charles", "ray.charles@example.com", DotmailerUserType.NO_ACCOUNT) + add_contact_to_address_book( + "Ray", + "Charles", + "ray.charles@example.com", + DotmailerUserType.NO_ACCOUNT, + ) assert mocked_post.call_count == 2 mocked_post.assert_any_call( - DOTMAILER_MAIN_ADDRESS_BOOK_URL, auth=(DOTMAILER_USER, DOTMAILER_PASSWORD), json=expected_body2 + DOTMAILER_MAIN_ADDRESS_BOOK_URL, + auth=(DOTMAILER_USER, DOTMAILER_PASSWORD), + json=expected_body2, ) mocked_post.assert_any_call( - DOTMAILER_NO_ACCOUNT_ADDRESS_BOOK_URL, auth=(DOTMAILER_USER, DOTMAILER_PASSWORD), json=expected_body2 + DOTMAILER_NO_ACCOUNT_ADDRESS_BOOK_URL, + auth=(DOTMAILER_USER, DOTMAILER_PASSWORD), + json=expected_body2, ) -def test_consent_calls_send_correct_request_data(mocker, monkeypatch, patch_datetime_now): +def test_consent_calls_send_correct_request_data( + mocker, monkeypatch, patch_datetime_now +): mocked_post = mocker.patch("common.helpers.emails.post") mocked_put = mocker.patch("common.helpers.emails.put") @@ -181,21 +212,34 @@ def test_consent_calls_send_correct_request_data(mocker, monkeypatch, patch_date {"key": "FULLNAME", "value": "Ray Charles"}, ], }, - "consentFields": [{"fields": [{"key": "DATETIMECONSENTED", "value": FAKE_TIME.__str__()}]}], + "consentFields": [ + { + "fields": [ + {"key": "DATETIMECONSENTED", "value": FAKE_TIME.__str__()} + ] + } + ], } - expected_body2 = {"campaignID": DOTMAILER_THANKS_FOR_STAYING_CAMPAIGN_ID, "contactIds": ["1"]} + expected_body2 = { + "campaignID": DOTMAILER_THANKS_FOR_STAYING_CAMPAIGN_ID, + "contactIds": ["1"], + } add_consent_record_to_dotmailer_user(user) mocked_put.assert_called_once_with( - DOTMAILER_PUT_CONSENT_DATA_URL, auth=(DOTMAILER_USER, DOTMAILER_PASSWORD), json=expected_body1 + DOTMAILER_PUT_CONSENT_DATA_URL, + auth=(DOTMAILER_USER, DOTMAILER_PASSWORD), + json=expected_body1, ) send_dotmailer_consent_confirmation_email_to_user(user) mocked_post.assert_called_with( - DOTMAILER_SEND_CAMPAIGN_URL, auth=(DOTMAILER_USER, DOTMAILER_PASSWORD), json=expected_body2 + DOTMAILER_SEND_CAMPAIGN_URL, + auth=(DOTMAILER_USER, DOTMAILER_PASSWORD), + json=expected_body2, ) @@ -212,9 +256,15 @@ def test_dotmailer_consent_form(mocker, monkeypatch): c = Client() consent_form_url = reverse("consent_form") - mocked_get_user_success = mocker.patch("portal.views.dotmailer.get_dotmailer_user_by_email") - mocked_add_consent = mocker.patch("portal.views.dotmailer.add_consent_record_to_dotmailer_user") - mocked_send_campaign = mocker.patch("portal.views.dotmailer.send_dotmailer_consent_confirmation_email_to_user") + mocked_get_user_success = mocker.patch( + "portal.views.dotmailer.get_dotmailer_user_by_email" + ) + mocked_add_consent = mocker.patch( + "portal.views.dotmailer.add_consent_record_to_dotmailer_user" + ) + mocked_send_campaign = mocker.patch( + "portal.views.dotmailer.send_dotmailer_consent_confirmation_email_to_user" + ) get_consent_form_response = c.get(consent_form_url) @@ -244,7 +294,10 @@ def test_dotmailer_consent_form(mocker, monkeypatch): mocked_add_consent.assert_called_once() mocked_send_campaign.assert_called_once() - mocker.patch("portal.views.dotmailer.add_consent_record_to_dotmailer_user", side_effect=KeyError) + mocker.patch( + "portal.views.dotmailer.add_consent_record_to_dotmailer_user", + side_effect=KeyError, + ) wrong_email_response = c.post(consent_form_url, data=good_request_data) @@ -255,4 +308,7 @@ def test_dotmailer_consent_form(mocker, monkeypatch): def _is_warning_message_showing(response): messages = list(response.wsgi_request._messages) - assert messages[0].message == "Valid email address and consent required. Please try again." + assert ( + messages[0].message + == "Valid email address and consent required. Please try again." + ) diff --git a/portal/tests/test_independent_student.py b/portal/tests/test_independent_student.py index 0589fd809..0f0c35c79 100644 --- a/portal/tests/test_independent_student.py +++ b/portal/tests/test_independent_student.py @@ -283,7 +283,7 @@ def test_login_not_verified(self, mock_send_dotdigital_email): page = page.go_to_independent_student_login_page() page = page.independent_student_login_failure(username, password) - errors = page.has_login_failed("independent_student_login_form", INVALID_LOGIN_MESSAGE) + page.has_login_failed("independent_student_login_form", INVALID_LOGIN_MESSAGE) assert page.has_login_failed("independent_student_login_form", INVALID_LOGIN_MESSAGE) verification_url = mock_send_dotdigital_email.call_args.kwargs["personalization_values"]["VERIFICATION_LINK"] @@ -471,7 +471,9 @@ def test_join_class_nonexistent_class(self): ) assert self.is_join_class_page(page) - assert page.has_join_request_failed("Cannot find the school or club and/or class") + assert page.has_join_request_failed( + "The class code you entered either does not exist or is not currently accepting join requests. Please double check that you have entered the correct class code and contact the teacher of the class to ensure their class is currently accepting join requests." + ) def test_join_class_not_accepting_requests(self): teacher_email, _ = signup_teacher_directly() @@ -490,7 +492,9 @@ def test_join_class_not_accepting_requests(self): ) assert self.is_join_class_page(page) - assert page.has_join_request_failed("Cannot find the school or club and/or class") + assert page.has_join_request_failed( + "The class code you entered either does not exist or is not currently accepting join requests. Please double check that you have entered the correct class code and contact the teacher of the class to ensure their class is currently accepting join requests." + ) def test_join_class_revoked(self): teacher_email, _ = signup_teacher_directly() diff --git a/portal/tests/test_views.py b/portal/tests/test_views.py index a2e30f86a..a512449f5 100644 --- a/portal/tests/test_views.py +++ b/portal/tests/test_views.py @@ -53,8 +53,11 @@ class TestTeacherViews(TestCase): @classmethod def setUpTestData(cls): cls.email, cls.password = signup_teacher_directly() + cls.school = create_organisation_directly(cls.email) _, _, cls.class_access_code = create_class_directly(cls.email) - _, _, cls.student = create_school_student_directly(cls.class_access_code) + _, cls.password_student, cls.student = create_school_student_directly( + cls.class_access_code + ) def login(self): c = Client() @@ -63,7 +66,9 @@ def login(self): def test_reminder_cards(self): c = self.login() - url = reverse("teacher_print_reminder_cards", args=[self.class_access_code]) + url = reverse( + "teacher_print_reminder_cards", args=[self.class_access_code] + ) # First test with 2 dummy students NAME1 = "Test name" @@ -97,7 +102,9 @@ def test_reminder_cards(self): # page number students_per_page = REMINDER_CARDS_PDF_ROWS * REMINDER_CARDS_PDF_COLUMNS for _ in range(len(studentlist), students_per_page + 1): - studentlist.append({"name": NAME1, "password": PASSWORD1, "login_url": URL}) + studentlist.append( + {"name": NAME1, "password": PASSWORD1, "login_url": URL} + ) assert len(studentlist) == students_per_page + 1 @@ -136,7 +143,9 @@ def test_csv(self): reader = csv.reader(io.StringIO(content)) access_code = self.class_access_code - class_url = reverse("student_login", kwargs={"access_code": access_code}) + class_url = reverse( + "student_login", kwargs={"access_code": access_code} + ) row0 = next(reader) assert row0[0].strip() == access_code assert class_url in row0[1].strip() @@ -175,7 +184,9 @@ def test_organisation_kick_has_correct_permissions(self): def test_daily_activity_student_details(self): c = self.login() - url = reverse("teacher_print_reminder_cards", args=[self.class_access_code]) + url = reverse( + "teacher_print_reminder_cards", args=[self.class_access_code] + ) data = { "data": json.dumps( @@ -221,6 +232,48 @@ def test_daily_activity_student_details(self): with pytest.raises(Exception): count_student_details_click("Wrong download method") + def test_release_verified_student(self): + c = Client() + student_login_url = reverse( + "student_login", args=[self.class_access_code] + ) + response = c.post( + student_login_url, + { + "username": self.student.new_user.first_name, + "password": self.password_student, + }, + ) + assert response.status_code == 302 + + student = Student.objects.get(pk=self.student.pk) + assert student.user.is_verified + + c.logout() + c.login(username=self.email, password=self.password) + + release_url = reverse( + "teacher_dismiss_students", args=[self.class_access_code] + ) + response = c.post( + release_url, + { + "form-TOTAL_FORMS": 1, + "form-INITIAL_FORMS": 1, + "form-MIN_NUM_FORMS": 0, + "form-MAX_NUM_FORMS": 1000, + "form-0-orig_name": self.student.new_user.first_name, + "form-0-name": self.student.new_user.first_name, + "form-0-email": "independent@gmail.com", + "form-0-confirm_email": "independent@gmail.com", + "submit_dismiss": "", + }, + ) + assert response.status_code == 302 + + student = Student.objects.get(pk=self.student.pk) + assert not student.user.is_verified + class TestLoginViews(TestCase): @classmethod @@ -238,7 +291,9 @@ def _set_up_test_data(self): teacher_email, teacher_password = signup_teacher_directly() create_organisation_directly(teacher_email) _, _, class_access_code = create_class_directly(teacher_email) - student_name, student_password, _ = create_school_student_directly(class_access_code) + student_name, student_password, _ = create_school_student_directly( + class_access_code + ) return ( teacher_email, @@ -271,9 +326,16 @@ def _create_and_login_school_student(self, next_url=False): _, _, name, password, class_access_code = self._set_up_test_data() if next_url: - url = reverse("student_login", kwargs={"access_code": class_access_code}) + "?next=/" + url = ( + reverse( + "student_login", kwargs={"access_code": class_access_code} + ) + + "?next=/" + ) else: - url = reverse("student_login", kwargs={"access_code": class_access_code}) + url = reverse( + "student_login", kwargs={"access_code": class_access_code} + ) c = Client() response = c.post(url, {"username": name, "password": password}) @@ -312,7 +374,9 @@ def test_teacher_session(self): def _get_user_class(self, name, class_access_code): klass = Class.objects.get(access_code=class_access_code) - students = Student.objects.filter(new_user__first_name__iexact=name, class_field=klass) + students = Student.objects.filter( + new_user__first_name__iexact=name, class_field=klass + ) assert len(students) == 1 user = students[0].new_user return user, klass @@ -354,7 +418,9 @@ def test_student_session_class_link(self): _, _, name, password, class_access_code = self._set_up_test_data() c = Client() - url = reverse("student_login", kwargs={"access_code": class_access_code}) + url = reverse( + "student_login", kwargs={"access_code": class_access_code} + ) c.post(url, {"username": name, "password": password}) # check if there's a UserSession data within the last 10 secs @@ -375,7 +441,9 @@ def test_student_login_failed(self): randomname = "randomname" c = Client() - url = reverse("student_login", kwargs={"access_code": class_access_code}) + url = reverse( + "student_login", kwargs={"access_code": class_access_code} + ) c.post(url, {"username": randomname, "password": "xx"}) # check if there's a UserSession data within the last 10 secs @@ -401,7 +469,9 @@ def test_indep_student_session(self): def test_student_direct_login(self): _, _, _, _, class_access_code = self._set_up_test_data() - student, login_id, _, _ = create_student_with_direct_login(class_access_code) + student, login_id, _, _ = create_student_with_direct_login( + class_access_code + ) c = Client() assert c.login(user_id=student.new_user.id, login_id=login_id) == True @@ -523,7 +593,9 @@ def test_student_dashboard_view(self): c = Client() # Login and check initial data - url = reverse("student_login", kwargs={"access_code": class_access_code}) + url = reverse( + "student_login", kwargs={"access_code": class_access_code} + ) c.post(url, {"username": student_name, "password": student_password}) student_dashboard_url = reverse("student_details") @@ -602,7 +674,9 @@ def test_delete_account(self, mock_send_dotdigital_email: Mock): # try again with the correct password url = reverse("delete_account") - response = c.post(url, {"password": password, "unsubscribe_newsletter": "on"}) + response = c.post( + url, {"password": password, "unsubscribe_newsletter": "on"} + ) assert response.status_code == 302 mock_send_dotdigital_email.assert_called_once() @@ -684,7 +758,9 @@ def test_delete_account_admin(self, mock_send_dotdigital_email: Mock): school_id = school.id school_name = school.name - teachers = Teacher.objects.filter(school=school).order_by("new_user__last_name", "new_user__first_name") + teachers = Teacher.objects.filter(school=school).order_by( + "new_user__last_name", "new_user__first_name" + ) assert len(teachers) == 3 # one of the remaining teachers should be admin (the second in our case, as it's alphabetical) @@ -715,7 +791,9 @@ def test_delete_account_admin(self, mock_send_dotdigital_email: Mock): self.assertEqual(mock_send_dotdigital_email.call_count, 2) # 2 teachers left - teachers = Teacher.objects.filter(school=school).order_by("new_user__last_name", "new_user__first_name") + teachers = Teacher.objects.filter(school=school).order_by( + "new_user__last_name", "new_user__first_name" + ) assert len(teachers) == 2 # teacher2 should still be admin, teacher4 is not passed admin role because there is teacher2 @@ -727,7 +805,9 @@ def test_delete_account_admin(self, mock_send_dotdigital_email: Mock): # delete teacher4 anonymise(user4) - teachers = Teacher.objects.filter(school=school).order_by("new_user__last_name", "new_user__first_name") + teachers = Teacher.objects.filter(school=school).order_by( + "new_user__last_name", "new_user__first_name" + ) assert len(teachers) == 1 u = User.objects.get(id=usrid2) assert u.new_teacher.is_admin @@ -785,13 +865,17 @@ def test_logged_in_as_admin_check(self): c.logout() @patch("common.helpers.emails.send_dotdigital_email") - def test_registrations_increment_data(self, mock_send_dotdigital_email: Mock): + def test_registrations_increment_data( + self, mock_send_dotdigital_email: Mock + ): c = Client() total_activity = TotalActivity.objects.get(id=1) teacher_registration_count = total_activity.teacher_registrations student_registration_count = total_activity.student_registrations - independent_registration_count = total_activity.independent_registrations + independent_registration_count = ( + total_activity.independent_registrations + ) response = c.post( reverse("register"), @@ -811,7 +895,10 @@ def test_registrations_increment_data(self, mock_send_dotdigital_email: Mock): total_activity = TotalActivity.objects.get(id=1) - assert total_activity.teacher_registrations == teacher_registration_count + 1 + assert ( + total_activity.teacher_registrations + == teacher_registration_count + 1 + ) response = c.post( reverse("register"), @@ -833,7 +920,10 @@ def test_registrations_increment_data(self, mock_send_dotdigital_email: Mock): total_activity = TotalActivity.objects.get(id=1) - assert total_activity.independent_registrations == independent_registration_count + 1 + assert ( + total_activity.independent_registrations + == independent_registration_count + 1 + ) teacher_email, teacher_password = signup_teacher_directly() create_organisation_directly(teacher_email) @@ -849,7 +939,10 @@ def test_registrations_increment_data(self, mock_send_dotdigital_email: Mock): total_activity = TotalActivity.objects.get(id=1) - assert total_activity.student_registrations == student_registration_count + 3 + assert ( + total_activity.student_registrations + == student_registration_count + 3 + ) # CRON view tests @@ -868,8 +961,12 @@ def generic( secure=False, **extra, ): - wsgi_response = super().generic(method, path, data, content_type, secure, **extra) - assert 200 <= wsgi_response.status_code < 300, f"Response has error status code: {wsgi_response.status_code}" + wsgi_response = super().generic( + method, path, data, content_type, secure, **extra + ) + assert ( + 200 <= wsgi_response.status_code < 300 + ), f"Response has error status code: {wsgi_response.status_code}" return wsgi_response @@ -888,7 +985,9 @@ def setUp(self): indy_email, _, _ = create_independent_student_directly() self.teacher_user = User.objects.get(email=teacher_email) - self.teacher_user_profile = UserProfile.objects.get(user=self.teacher_user) + self.teacher_user_profile = UserProfile.objects.get( + user=self.teacher_user + ) self.indy_user = User.objects.get(email=indy_email) self.indy_user_profile = UserProfile.objects.get(user=self.indy_user) @@ -904,11 +1003,17 @@ def send_verify_email_reminder( assert_called: bool, mock_send_dotdigital_email: Mock, ): - self.teacher_user.date_joined = timezone.now() - timedelta(days=days, hours=12) + self.teacher_user.date_joined = timezone.now() - timedelta( + days=days, hours=12 + ) self.teacher_user.save() - self.student_user.date_joined = timezone.now() - timedelta(days=days, hours=12) + self.student_user.date_joined = timezone.now() - timedelta( + days=days, hours=12 + ) self.student_user.save() - self.indy_user.date_joined = timezone.now() - timedelta(days=days, hours=12) + self.indy_user.date_joined = timezone.now() - timedelta( + days=days, hours=12 + ) self.indy_user.save() self.teacher_user_profile.is_verified = is_verified @@ -919,9 +1024,13 @@ def send_verify_email_reminder( self.client.get(reverse(view_name)) if assert_called: - mock_send_dotdigital_email.assert_any_call(ANY, [self.teacher_user.email], personalization_values=ANY) + mock_send_dotdigital_email.assert_any_call( + ANY, [self.teacher_user.email], personalization_values=ANY + ) - mock_send_dotdigital_email.assert_any_call(ANY, [self.indy_user.email], personalization_values=ANY) + mock_send_dotdigital_email.assert_any_call( + ANY, [self.indy_user.email], personalization_values=ANY + ) # Check only two emails are sent - the student should never be included. assert mock_send_dotdigital_email.call_count == 2 @@ -931,22 +1040,40 @@ def send_verify_email_reminder( mock_send_dotdigital_email.reset_mock() def test_first_verify_email_reminder_view(self): - self.send_verify_email_reminder(6, False, "first-verify-email-reminder", False) - self.send_verify_email_reminder(7, False, "first-verify-email-reminder", True) - self.send_verify_email_reminder(7, True, "first-verify-email-reminder", False) - self.send_verify_email_reminder(8, False, "first-verify-email-reminder", False) + self.send_verify_email_reminder( + 6, False, "first-verify-email-reminder", False + ) + self.send_verify_email_reminder( + 7, False, "first-verify-email-reminder", True + ) + self.send_verify_email_reminder( + 7, True, "first-verify-email-reminder", False + ) + self.send_verify_email_reminder( + 8, False, "first-verify-email-reminder", False + ) def test_second_verify_email_reminder_view(self): - self.send_verify_email_reminder(13, False, "second-verify-email-reminder", False) - self.send_verify_email_reminder(14, False, "second-verify-email-reminder", True) - self.send_verify_email_reminder(14, True, "second-verify-email-reminder", False) - self.send_verify_email_reminder(15, False, "second-verify-email-reminder", False) + self.send_verify_email_reminder( + 13, False, "second-verify-email-reminder", False + ) + self.send_verify_email_reminder( + 14, False, "second-verify-email-reminder", True + ) + self.send_verify_email_reminder( + 14, True, "second-verify-email-reminder", False + ) + self.send_verify_email_reminder( + 15, False, "second-verify-email-reminder", False + ) def test_anonymise_unverified_accounts_view(self): now = timezone.now() for user in [self.teacher_user, self.indy_user, self.student_user]: - user.date_joined = now - timedelta(days=USER_DELETE_UNVERIFIED_ACCOUNT_DAYS + 1) + user.date_joined = now - timedelta( + days=USER_DELETE_UNVERIFIED_ACCOUNT_DAYS + 1 + ) user.save() for user_profile in [self.teacher_user_profile, self.indy_user_profile]: @@ -1011,7 +1138,9 @@ def anonymise_unverified_users( new_user=indy_user, ) - activity_today = DailyActivity.objects.get_or_create(date=datetime.now().date())[0] + activity_today = DailyActivity.objects.get_or_create( + date=datetime.now().date() + )[0] daily_teacher_count = activity_today.anonymised_unverified_teachers daily_indy_count = activity_today.anonymised_unverified_independents @@ -1034,16 +1163,30 @@ def anonymise_unverified_users( assert indy_user_active == assert_active assert student_user_active - activity_today = DailyActivity.objects.get_or_create(date=datetime.now().date())[0] + activity_today = DailyActivity.objects.get_or_create( + date=datetime.now().date() + )[0] total_activity = TotalActivity.objects.get(id=1) if not teacher_user_active: - assert activity_today.anonymised_unverified_teachers == daily_teacher_count + 1 - assert total_activity.anonymised_unverified_teachers == total_teacher_count + 1 + assert ( + activity_today.anonymised_unverified_teachers + == daily_teacher_count + 1 + ) + assert ( + total_activity.anonymised_unverified_teachers + == total_teacher_count + 1 + ) if not indy_user_active: - assert activity_today.anonymised_unverified_independents == daily_indy_count + 1 - assert total_activity.anonymised_unverified_independents == total_indy_count + 1 + assert ( + activity_today.anonymised_unverified_independents + == daily_indy_count + 1 + ) + assert ( + total_activity.anonymised_unverified_independents + == total_indy_count + 1 + ) teacher_user.delete() indy_user.delete() diff --git a/portal/urls.py b/portal/urls.py index d2846c9b5..70aedfedc 100644 --- a/portal/urls.py +++ b/portal/urls.py @@ -24,9 +24,15 @@ ) from portal.helpers.regexes import ACCESS_CODE_REGEX, JWT_REGEX from portal.views import cron -from portal.views.about import about, contribute, getinvolved -from portal.views.admin import AdminChangePasswordDoneView, AdminChangePasswordView -from portal.views.aimmo.dashboard import StudentAimmoDashboard, TeacherAimmoDashboard +from portal.views.about import about, getinvolved, contribute +from portal.views.admin import ( + AdminChangePasswordDoneView, + AdminChangePasswordView, +) +from portal.views.aimmo.dashboard import ( + StudentAimmoDashboard, + TeacherAimmoDashboard, +) from portal.views.api import ( AnonymiseOrphanSchoolsView, InactiveUsersView, @@ -35,8 +41,11 @@ number_users_per_country, registered_users, ) -from portal.views.dotmailer import dotmailer_consent_form, process_newsletter_form -from portal.views.email import send_new_users_report, verify_email +from portal.views.dotmailer import ( + dotmailer_consent_form, + process_newsletter_form, +) +from portal.views.email import verify_email from portal.views.home import ( coding_club, download_student_pack, @@ -50,8 +59,8 @@ from portal.views.login import old_login_form_redirect from portal.views.login.independent_student import IndependentStudentLoginView from portal.views.login.student import ( - StudentClassCodeView, StudentLoginView, + StudentClassCodeView, student_direct_login, ) from portal.views.login.teacher import TeacherLoginView @@ -70,8 +79,8 @@ student_edit_account, ) from portal.views.student.play import ( - IndependentStudentDashboard, SchoolStudentDashboard, + IndependentStudentDashboard, student_join_organisation, ) from portal.views.teach import teach @@ -109,12 +118,30 @@ js_info_dict = {"packages": ("conf.locale",)} two_factor_patterns = [ - url(r"^account/two_factor/setup/$", CustomSetupView.as_view(), name="setup"), + url( + r"^account/two_factor/setup/$", CustomSetupView.as_view(), name="setup" + ), url(r"^account/two_factor/qrcode/$", QRGeneratorView.as_view(), name="qr"), - url(r"^account/two_factor/setup/complete/$", SetupCompleteView.as_view(), name="setup_complete"), - url(r"^account/two_factor/backup/tokens/$", teacher_verified(BackupTokensView.as_view()), name="backup_tokens"), - url(r"^account/two_factor/$", teacher_verified(ProfileView.as_view()), name="profile"), - url(r"^account/two_factor/disable/$", teacher_verified(CustomDisableView.as_view()), name="disable"), + url( + r"^account/two_factor/setup/complete/$", + SetupCompleteView.as_view(), + name="setup_complete", + ), + url( + r"^account/two_factor/backup/tokens/$", + teacher_verified(BackupTokensView.as_view()), + name="backup_tokens", + ), + url( + r"^account/two_factor/$", + teacher_verified(ProfileView.as_view()), + name="profile", + ), + url( + r"^account/two_factor/disable/$", + teacher_verified(CustomDisableView.as_view()), + name="disable", + ), ] @@ -149,22 +176,51 @@ ), ), url(HOMEPAGE_REGEX, include("aimmo.urls")), - url(r"^teach/kurono/dashboard/$", TeacherAimmoDashboard.as_view(), name="teacher_aimmo_dashboard"), - url(r"^play/kurono/dashboard/$", StudentAimmoDashboard.as_view(), name="student_aimmo_dashboard"), - url(r"^favicon\.ico$", RedirectView.as_view(url="/static/portal/img/favicon.ico", permanent=True)), - url(r"^administration/password_change/$", AdminChangePasswordView.as_view(), name="administration_password_change"), + url( + r"^teach/kurono/dashboard/$", + TeacherAimmoDashboard.as_view(), + name="teacher_aimmo_dashboard", + ), + url( + r"^play/kurono/dashboard/$", + StudentAimmoDashboard.as_view(), + name="student_aimmo_dashboard", + ), + url( + r"^favicon\.ico$", + RedirectView.as_view( + url="/static/portal/img/favicon.ico", permanent=True + ), + ), + url( + r"^administration/password_change/$", + AdminChangePasswordView.as_view(), + name="administration_password_change", + ), url( r"^administration/password_change_done/$", AdminChangePasswordDoneView.as_view(), name="administration_password_change_done", ), - url(r"^mail/weekly/", send_new_users_report, name="send_new_users_report"), - url(r"^users/inactive/", InactiveUsersView.as_view(), name="inactive_users"), - url(r"^locked_out/$", TemplateView.as_view(template_name="portal/locked_out.html"), name="locked_out"), - url(r"^", include((two_factor_patterns, "two_factor"), namespace="two_factor")), + url( + r"^users/inactive/", InactiveUsersView.as_view(), name="inactive_users" + ), + url( + r"^locked_out/$", + TemplateView.as_view(template_name="portal/locked_out.html"), + name="locked_out", + ), + url( + r"^", + include((two_factor_patterns, "two_factor"), namespace="two_factor"), + ), url(r"^i18n/", include("django.conf.urls.i18n")), url(r"^jsi18n/$", JavaScriptCatalog.as_view(), js_info_dict), - url(r"^(?P[A-Z0-9]+)/$", play_default_level, name="play_default_level"), + url( + r"^(?P[A-Z0-9]+)/$", + play_default_level, + name="play_default_level", + ), url(r"^$", home, name="home"), url(r"^home-learning", home_learning, name="home-learning"), url(r"^register_form", register_view, name="register"), @@ -194,8 +250,16 @@ )(StudentLoginView.as_view()), name="student_login", ), - url(r"^login/student/$", StudentClassCodeView.as_view(), name="student_login_access_code"), - url(r"^u/(?P[0-9]+)/(?P[a-z0-9]+)/$", student_direct_login, name="student_direct_login"), + url( + r"^login/student/$", + StudentClassCodeView.as_view(), + name="student_login_access_code", + ), + url( + r"^u/(?P[0-9]+)/(?P[a-z0-9]+)/$", + student_direct_login, + name="student_direct_login", + ), url( r"^login/independent/$", ratelimit( @@ -210,32 +274,70 @@ ), url(r"^login_form", old_login_form_redirect, name="old_login_form"), url(r"^logout/$", logout_view, name="logout_view"), - url(r"^news_signup/$", process_newsletter_form, name="process_newsletter_form"), + url( + r"^news_signup/$", + process_newsletter_form, + name="process_newsletter_form", + ), url(r"^consent_form/$", dotmailer_consent_form, name="consent_form"), url( r"^verify_email/$", - TemplateView.as_view(template_name="portal/email_verification_needed.html"), + TemplateView.as_view( + template_name="portal/email_verification_needed.html" + ), name="email_verification", ), - url(rf"^verify_email/(?P{JWT_REGEX})/$", verify_email, name="verify_email"), - url(r"^user/password/reset/student/$", student_password_reset, name="student_password_reset"), - url(r"^user/password/reset/teacher/$", teacher_password_reset, name="teacher_password_reset"), - url(r"^user/password/reset/done/$", password_reset_done, name="reset_password_email_sent"), + url( + rf"^verify_email/(?P{JWT_REGEX})/$", + verify_email, + name="verify_email", + ), + url( + r"^user/password/reset/student/$", + student_password_reset, + name="student_password_reset", + ), + url( + r"^user/password/reset/teacher/$", + teacher_password_reset, + name="teacher_password_reset", + ), + url( + r"^user/password/reset/done/$", + password_reset_done, + name="reset_password_email_sent", + ), url( r"^user/password/reset/(?P[0-9A-Za-z]+)-(?P.+)/$", password_reset_check_and_confirm, name="password_reset_check_and_confirm", ), - url(r"^user/reset_screentime_warning/$", reset_screentime_warning, name="reset_screentime_warning"), - url(r"^user/reset_session_time/$", lambda _: HttpResponse(status=204), name="reset_session_time"), + url( + r"^user/reset_screentime_warning/$", + reset_screentime_warning, + name="reset_screentime_warning", + ), + url( + r"^user/reset_session_time/$", + lambda _: HttpResponse(status=204), + name="reset_session_time", + ), url( r"^teacher/password/reset/complete/$", TemplateView.as_view(template_name="portal/reset_password_done.html"), name="password_reset_complete", ), url(r"^teach/$", teach, name="teach"), - url(r"^teach/onboarding-organisation/$", organisation_manage, name="onboarding-organisation"), - url(r"^teach/onboarding-classes", teacher_onboarding_create_class, name="onboarding-classes"), + url( + r"^teach/onboarding-organisation/$", + organisation_manage, + name="onboarding-organisation", + ), + url( + r"^teach/onboarding-classes", + teacher_onboarding_create_class, + name="onboarding-classes", + ), url( rf"^teach/onboarding-class/(?P{ACCESS_CODE_REGEX})$", teacher_onboarding_edit_class, @@ -251,10 +353,22 @@ teacher_download_csv, name="teacher_download_csv", ), - url(r"^invited_teacher/(?P[0-9a-f]+)/$", invited_teacher, name="invited_teacher"), + url( + r"^invited_teacher/(?P[0-9a-f]+)/$", + invited_teacher, + name="invited_teacher", + ), url(r"^play/$", play_landing_page, name="play"), - url(r"^play/details/$", SchoolStudentDashboard.as_view(), name="student_details"), - url(r"^play/details/independent$", IndependentStudentDashboard.as_view(), name="independent_student_details"), + url( + r"^play/details/$", + SchoolStudentDashboard.as_view(), + name="student_details", + ), + url( + r"^play/details/independent$", + IndependentStudentDashboard.as_view(), + name="independent_student_details", + ), url(r"^play/account/$", student_edit_account, name="student_edit_account"), url( r"^play/account/independent/$", @@ -268,19 +382,45 @@ )(independentStudentEditAccountView), name="independent_edit_account", ), - url(r"^play/account/school_student/$", SchoolStudentEditAccountView.as_view(), name="school_student_edit_account"), - url(r"^play/join/$", student_join_organisation, name="student_join_organisation"), + url( + r"^play/account/school_student/$", + SchoolStudentEditAccountView.as_view(), + name="school_student_edit_account", + ), + url( + r"^play/join/$", + student_join_organisation, + name="student_join_organisation", + ), url(r"^about", about, name="about"), url(r"^getinvolved", getinvolved, name="getinvolved"), url(r"^contribute", contribute, name="contribute"), url(r"^terms", terms, name="terms"), url(r"^privacy-notice/$", privacy_notice, name="privacy_notice"), - url(r"^privacy-policy/$", privacy_notice, name="privacy_policy"), # Keeping this to route from old URL + url( + r"^privacy-policy/$", privacy_notice, name="privacy_policy" + ), # Keeping this to route from old URL url(r"^teach/dashboard/$", dashboard_manage, name="dashboard"), - url(r"^teach/dashboard/kick/(?P[0-9]+)/$", organisation_kick, name="organisation_kick"), - url(r"^teach/dashboard/toggle_admin/(?P[0-9]+)/$", organisation_toggle_admin, name="organisation_toggle_admin"), - url(r"^teach/dashboard/disable_2FA/(?P[0-9]+)/$", teacher_disable_2FA, name="teacher_disable_2FA"), - url(r"^teach/dashboard/school/leave/$", organisation_leave, name="organisation_leave"), + url( + r"^teach/dashboard/kick/(?P[0-9]+)/$", + organisation_kick, + name="organisation_kick", + ), + url( + r"^teach/dashboard/toggle_admin/(?P[0-9]+)/$", + organisation_toggle_admin, + name="organisation_toggle_admin", + ), + url( + r"^teach/dashboard/disable_2FA/(?P[0-9]+)/$", + teacher_disable_2FA, + name="teacher_disable_2FA", + ), + url( + r"^teach/dashboard/school/leave/$", + organisation_leave, + name="organisation_leave", + ), url( r"^teach/dashboard/student/accept/(?P[0-9]+)/$", teacher_accept_student_request, @@ -291,17 +431,31 @@ teacher_reject_student_request, name="teacher_reject_student_request", ), - url(rf"^teach/class/(?P{ACCESS_CODE_REGEX})$", teacher_view_class, name="view_class"), url( - rf"^teach/class/delete/(?P{ACCESS_CODE_REGEX})$", teacher_delete_class, name="teacher_delete_class" + rf"^teach/class/(?P{ACCESS_CODE_REGEX})$", + teacher_view_class, + name="view_class", + ), + url( + rf"^teach/class/delete/(?P{ACCESS_CODE_REGEX})$", + teacher_delete_class, + name="teacher_delete_class", ), url( rf"^teach/class/(?P{ACCESS_CODE_REGEX})/students/delete/$", teacher_delete_students, name="teacher_delete_students", ), - url(rf"^teach/class/edit/(?P{ACCESS_CODE_REGEX})$", teacher_edit_class, name="teacher_edit_class"), - url(r"^teach/class/student/edit/(?P[0-9]+)/$", teacher_edit_student, name="teacher_edit_student"), + url( + rf"^teach/class/edit/(?P{ACCESS_CODE_REGEX})$", + teacher_edit_class, + name="teacher_edit_class", + ), + url( + r"^teach/class/student/edit/(?P[0-9]+)/$", + teacher_edit_student, + name="teacher_edit_student", + ), url( rf"^teach/class/(?P{ACCESS_CODE_REGEX})/password_reset/$", teacher_class_password_reset, @@ -317,9 +471,15 @@ teacher_move_students, name="teacher_move_students", ), - url(r"^teach/dashboard/resend_invite/(?P[0-9a-f]+)/$", resend_invite_teacher, name="resend_invite_teacher"), url( - r"^teach/dashboard/toggle_admin_invite/(?P[0-9]+)/$", invite_toggle_admin, name="invite_toggle_admin" + r"^teach/dashboard/resend_invite/(?P[0-9a-f]+)/$", + resend_invite_teacher, + name="resend_invite_teacher", + ), + url( + r"^teach/dashboard/toggle_admin_invite/(?P[0-9]+)/$", + invite_toggle_admin, + name="invite_toggle_admin", ), url( r"^teach/dashboard/delete_teacher_invite/(?P[0-9a-f]+)$", @@ -333,7 +493,9 @@ ), url(r"^delete/account/$", delete_account, name="delete_account"), url( - r"^schools/anonymise/(?P\d+)/", AnonymiseOrphanSchoolsView.as_view(), name="anonymise_orphan_schools" + r"^schools/anonymise/(?P\d+)/", + AnonymiseOrphanSchoolsView.as_view(), + name="anonymise_orphan_schools", ), url( r"^api/", @@ -358,7 +520,15 @@ ), ), url(r"^codingClub/$", coding_club, name="codingClub"), - url(r"^codingClub/(?P[3-4])/", download_student_pack, name="download_student_pack"), - url(r"^removeFakeAccounts/", RemoveFakeAccounts.as_view(), name="remove_fake_accounts"), + url( + r"^codingClub/(?P[3-4])/", + download_student_pack, + name="download_student_pack", + ), + url( + r"^removeFakeAccounts/", + RemoveFakeAccounts.as_view(), + name="remove_fake_accounts", + ), url(r"^tenYears/", ten_year_map_page, name="tenYears"), ] diff --git a/portal/views/email.py b/portal/views/email.py index 3d31a643d..671b0dd88 100644 --- a/portal/views/email.py +++ b/portal/views/email.py @@ -1,38 +1,47 @@ from datetime import timedelta import jwt -from common.helpers.emails import NOTIFICATION_EMAIL, send_email -from common.models import School, Student, Teacher +from common.models import Teacher from common.permissions import logged_in_as_independent_student from django.conf import settings from django.contrib import messages as messages from django.contrib.auth.models import User -from django.db.models import Count -from django.http import HttpResponse, HttpResponseRedirect +from django.http import HttpResponseRedirect from django.shortcuts import render from django.urls import reverse_lazy from django.utils import timezone -from django_countries import countries - -from portal.app_settings import CONTACT_FORM_EMAILS def verify_email(request, token): decoded_jwt = jwt.decode(token, settings.SECRET_KEY, algorithms=["HS256"]) user_found = User.objects.filter(email=decoded_jwt["email"]).first() - usertype = "TEACHER" if Teacher.objects.filter(new_user=user_found).exists() else "INDEP_STUDENT" + usertype = ( + "TEACHER" + if Teacher.objects.filter(new_user=user_found).exists() + else "INDEP_STUDENT" + ) is_expired = decoded_jwt["expires"] < timezone.now().timestamp() is_changing_email = decoded_jwt["new_email"] != "" - updated_email = decoded_jwt["new_email"] if is_changing_email else decoded_jwt["email"] + updated_email = ( + decoded_jwt["new_email"] if is_changing_email else decoded_jwt["email"] + ) if not user_found or is_expired: - return render(request, "portal/email_verification_failed.html", {"usertype": usertype}) + return render( + request, + "portal/email_verification_failed.html", + {"usertype": usertype}, + ) is_user_verified = user_found.userprofile.is_verified if is_user_verified and not is_changing_email: - return render(request, "portal/email_verification_failed.html", {"usertype": usertype}) + return render( + request, + "portal/email_verification_failed.html", + {"usertype": usertype}, + ) if not is_user_verified or is_changing_email: user_found.email = updated_email @@ -41,7 +50,9 @@ def verify_email(request, token): user_found.userprofile.save() user_found.save() - messages.success(request, "Your email address was successfully verified, please log in.") + messages.success( + request, "Your email address was successfully verified, please log in." + ) if logged_in_as_independent_student(user_found): login_url = "independent_student_login" @@ -53,43 +64,7 @@ def verify_email(request, token): def has_verification_failed(verifications): return ( - len(verifications) > 1 or verifications[0].verified or (verifications[0].expiry - timezone.now()) < timedelta() - ) - - -def send_new_users_report(request): - new_users_count = User.objects.filter(date_joined__gte=timezone.now() - timedelta(days=7)).count() - users_count = User.objects.count() - active_users = User.objects.filter(last_login__gte=timezone.now() - timedelta(days=7)).count() - school_count = School.objects.count() - teacher_count = Teacher.objects.count() - student_count = Student.objects.count() - schools_countries = School.objects.values("country").annotate(nb_countries=Count("id")).order_by("-nb_countries") - nb_countries = schools_countries.count() - countries_count = "\n".join( - "{}: {}".format(dict(countries)[k["country"]], k["nb_countries"]) for k in schools_countries[:3] - ) - send_email( - NOTIFICATION_EMAIL, - CONTACT_FORM_EMAILS, - "new users", - "There are {new_users} new users this week!\n" - "The total number of registered users is now: {users}\n" - "Current number of schools: {schools}\n" - "Current number of teachers: {teachers}\n" - "Current number of students: {students}\n" - "Number of users that last logged in during the last week: {active_users}\n" - "Number of countries with registered schools: {countries}\n" - "Top 3 - schools per country:\n{countries_counter}".format( - new_users=new_users_count, - users=users_count, - schools=school_count, - teachers=teacher_count, - students=student_count, - countries=nb_countries, - active_users=active_users, - countries_counter=countries_count, - ), - "new users", + len(verifications) > 1 + or verifications[0].verified + or (verifications[0].expiry - timezone.now()) < timedelta() ) - return HttpResponse("success") diff --git a/portal/views/teacher/teach.py b/portal/views/teacher/teach.py index 23ffd108d..afdf370d1 100644 --- a/portal/views/teacher/teach.py +++ b/portal/views/teacher/teach.py @@ -552,15 +552,16 @@ def process_dismiss_student_form(request, formset, klass, access_code): student.new_user.first_name = data["name"] student.new_user.username = data["email"] student.new_user.email = data["email"] + student.user.is_verified = False student.save() student.new_user.save() - student.new_user.userprofile.save() + student.user.save() # log the data joinrelease = JoinReleaseStudent.objects.create(student=student, action_type=JoinReleaseStudent.RELEASE) joinrelease.save() - send_verification_email(request, student.new_user, data) + send_verification_email(request, student.new_user, data, school=klass.teacher.school) if not failed_users: messages.success(request, "The students have been released successfully from the class.") diff --git a/setup.py b/setup.py index 8223adf1b..d9e36ec22 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,9 @@ from setuptools import find_packages, setup with open("portal/__init__.py", "r") as fd: - version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) + version = re.search( + r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE + ).group(1) try: from semantic_release import setup_hook @@ -17,6 +19,8 @@ setup( name="codeforlife-portal", version=version, + long_description=open("README.md", "r").read(), + long_description_content_type="text/markdown", packages=find_packages(), include_package_data=True, install_requires=[ @@ -32,7 +36,7 @@ "reportlab==3.6.13", "django-formtools==2.2", "django-otp==1.0.2", # we needed to fix this due to a wide ranged dependency in django-two-factor-auth - "requests==2.31.0", + "requests==2.32.2", "django-treebeard==4.3.1", "django-sekizai==2.0.0", "django-classy-tags==2.0.0", @@ -46,6 +50,10 @@ "setuptools==65.5.1", "django-import-export", ], - classifiers=["Programming Language :: Python", "Programming Language :: Python :: 3.8", "Framework :: Django"], + classifiers=[ + "Programming Language :: Python", + "Programming Language :: Python :: 3.8", + "Framework :: Django", + ], zip_safe=False, )