Skip to content

Commit

Permalink
Upgrade packages (#637)
Browse files Browse the repository at this point in the history
* Upgrade packages

* Remove now removed flag

* Make small changes to fix issues

* Change to _user_id as defined by flask-login

* Update to not use flask-login internal values

* auto patch increment

Co-authored-by: ras-rm-pr-bot <matt.crocker+rasrm@gmail.com>
  • Loading branch information
insacuri and ras-rm-pr-bot committed Jun 18, 2021
1 parent 762ebc2 commit dada76a
Show file tree
Hide file tree
Showing 6 changed files with 249 additions and 234 deletions.
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

0 comments on commit dada76a

Please sign in to comment.