Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade packages #637

Merged
merged 7 commits into from Jun 18, 2021
Merged

Upgrade packages #637

merged 7 commits into from Jun 18, 2021

Conversation

insacuri
Copy link
Contributor

@insacuri insacuri commented Jun 14, 2021

What and why?

Security vulnerabilities and a big flask upgrade made us want to upgrade this.

One thing to note: Flask-Login moved 'user_id' in the session to '_user_id' (as part of maxcountryman/flask-login#470), but we actually use the key in the messages code (specifically https://github.com/ONSdigital/response-operations-ui/blob/main/response_operations_ui/views/messages.py#L691)... so I've added to the session when you log in. We could use the new '_user_id' value but we don't want to rely on 'internal' flask-login values incase they one day decide to call it something else or just remove it.

The changes to the components have been updated in the design system too.

How to test?

Trello

@insacuri insacuri merged commit dada76a into main Jun 18, 2021
@insacuri insacuri deleted the upgrade-packages branch June 18, 2021 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants