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
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ thriftpy2 = "*"
urllib3 = "*"
webassets = "*"
Flask = "*"
Flask-Login = "==0.4.1"
Flask-Login = "*"
Flask-WTF = "*"
Flask-Assets = "*"
pyScss = "*"
PyJWT = "*"
Flask-Session = "*"
Werkzeug = "==0.16.1"
Werkzeug = "*"
et_xmlfile = "*"
Jinja2 = "*"
MarkupSafe = "*"
Expand Down
471 changes: 243 additions & 228 deletions Pipfile.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _infra/helm/response-operations-ui/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ version: 1.1.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: 2.5.10
appVersion: 2.5.11
1 change: 0 additions & 1 deletion response_operations_ui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ def create_app(config_name=None):
content_security_policy=csp_policy,
content_security_policy_nonce_in=['script-src'],
force_https=False, # this is handled at the load balancer
legacy_content_security_policy_header=True,
strict_transport_security=True,
strict_transport_security_max_age=ONE_YEAR_IN_SECONDS,
referrer_policy=DEFAULT_REFERRER_POLICY,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<nav class="section-nav" id="{{ params.id }}" aria-label="{{ params.ariaLabel }}" role="menu">
<ul class="section-nav__list" aria-label="{{ params.ariaListLabel }}">
{% for item in (params.itemsList if params.itemsList is iterable else params.itemsList.items()) %}
<li class="section-nav__item {{ item.classes }}{{ ' section-nav__item--active' if (item.url == params.currentPath) or (item.url in params.currentPath) or (params.tabQuery == item.title|lower) }}">
<a class="section-nav__link" role="menuitem" href="{{ item.url }}" {% if (item.url == params.currentPath) or (item.url in params.currentPath) or (params.tabQuery == item.title|lower) %} aria-current="location" {% endif %}>{{ item.title }}</a>
<li class="section-nav__item {{ item.classes }}{{ ' section-nav__item--active' if params.currentPath is defined and ((item.url == params.currentPath) or (item.url in params.currentPath)) or (params.tabQuery == item.title|lower) }}">
<a class="section-nav__link" role="menuitem" href="{{ item.url }}" {% if (params.currentPath is defined and ((item.url == params.currentPath) or (item.url in params.currentPath))) or (params.tabQuery == item.title|lower) %} aria-current="location" {% endif %}>{{ item.title }}</a>
</li>
{% endfor %}
</ul>
Expand Down
1 change: 1 addition & 0 deletions response_operations_ui/views/sign_in.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def sign_in():
# store the token in the session (it's server side and stored in redis)
session['token'] = access_token
session['username'] = username
session['user_id'] = user_id
user = User(user_id, username)
login_user(user)
if 'next' in session:
Expand Down