Releases: ministryofjustice/analytics-platform-control-panel
Releases · ministryofjustice/analytics-platform-control-panel
Rename deleteapp to delete_app and allow more flexible confirmation
Fixes
Changes
- Accept y and yes caselessly
- Rename deleteapp to delete_app
Updated Packages
Cleanups
Lower case email in app access problems, and deleting defunct apps
Fixes
- Adding customers to app requires lower case email address ANPL-816
- Prevents app deletion errors caused by trying to delete in the wrong cluster PR-1006
- Provides a new django management command to delete a single app based on its slug. ANPL-841
Changes
- Added a new django app (controlpanel.cli) to contain manage commands and anything cli related that doesn't neatly fit into api or frontend functionality.
Updated Packages
Cleaups
Fix Usernames with capitalisations IAM BUG and other fixes
Fixes
- Capitalisation in github usernames causing IAM grant problems ANPL-785
- Build was broken due to fuzzy version numbers
Updated Packages
- Python
- asgiref 3.2.10 to 3.5.0
- Django 3.1.1 to 3.1.14
- Jinja2 pinned to 2.11.3
- MarkupSafe pinned to 2.0.1
- Uvicorn 0.11.8 to 0.17.5
- NodeJS
- path-parse from 1.0.6 to 1.0.7
- ajv from 6.10.2 to 6.12.6
- y18n from 3.2.1 to 3.2.2
- handlebars from 4.5.3 to 4.7.7
Changes
Dev Tools
make dev-run
andmake dev-exec
use bash rather than sh- re-enabled dev-packages to mean we have ANPL-764
- django-debug-toolbar
- ipdb
- ipython also pinned to 7.31.1
make dev-py
now runs from the dev-packages so it uses ipython as the terminal.
Make the EKS based on_authentication method clearer and more reliable
Changed
- The on_authenticate method now handles people logging into eks without being in a pending state
Cleanup
- Fixed the relevant test
- cpanel is now a model level variable rather than string
User bootstrap chart now looked for in cpanel namespace
Fixes
- The bootstrap-username chart was being looked for in the user-username space, its now looked for in cpanel which is where it should be.
Changes
- Logging changes for migration state behaviour.
Repair the ability of to add users to apps
Fixes
- Enables users to add email address users to their apps in control panel again
- This fixes ANPL-774
Cleanup
- Auth0 structure has some refactoring
- Renaming of fixture methods as fixtures
Development features
- Docker now syncs the local folder of tests over to the container so you don't need to rebuild for every dev test run
- Makefile Method (test-wip) that allows you to test only tests that use the @pytest.mark.indevelopment decorator.
Making the Django Admin more usable
New Features
- You can filter by migration status
- You can search by username, email and auth0 id
- On the normal control panel toolbar if you have staff permissions (necessary to access the admin) it shows a link to the admin.
Cleanup
- Reorder imports in controlpanel/api/admin.py
Roundup of Updates and Fixes 19th Jan 2022
TLDR - Django admin based User Migration, Login Fail Cleanup, Production Error clarification
New Features
- Django Admin Enabled
- User Migration is now a bulk action available within the django admin
Changes
- Sentry changes
- errors from production are now labeled as such, rather than alpha
- errors are categorised as EKS/NotEKS
- errors are categorised whether they come from webserver, worker, or shell
- Updated the version from 1.4.2 to 1.5.1
- Based on recomendations from sentry, have also enabled redis integration
- Text on the login page clarifies that you may be on the wrong system.
- Dependabot fixes
- Pylint from 2.4.4 to 2.12.2
- Iodash from 4.17.19
Fixes
N/A in this release
federated login
ANPL-684 Test aws federated login on EKS with control panel in dev EKS and prod EKS
Build from ECR rather than Dockerhub
Due to rate limits, we had issues building releases, we've switched to using ECR for the source.