Skip to content

Commit

Permalink
bugfix/deseng421: Changed engagement links so that they open in the s…
Browse files Browse the repository at this point in the history
…ame window/tab as opposed to a new one. (#2329)
  • Loading branch information
jareth-whitney authored Oct 27, 2023
1 parent a3af416 commit 0bd8e02
Show file tree
Hide file tree
Showing 9 changed files with 362 additions and 304 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org/).


## v1.0.1 - 2023-10-18
## v1.0.1 - 2023-10-26

> **Feature**: Update sample .env files - [🎟️DSENG-414](https://apps.itsm.gov.bc.ca/jira/browse/DESENG-414)
> **Bug Fix**: Engagements will now open in the same browser window/tab, not a new one. [🎟️DSENG-421](https://apps.itsm.gov.bc.ca/jira/browse/DESENG-421)
> **Bug Fix**: Update sample .env files - [🎟️DSENG-414](https://apps.itsm.gov.bc.ca/jira/browse/DESENG-414)
>- Sample .env files have been updated to reflect the current state of the project.
>- *Breaking*: Keycloak URLs and resources now point to the BC Government's SSO service when using `sample.env` as a baseline
>- *Breaking*: The `met_api` module has been updated slightly to consume Pathfinder SSO's API schema.
Expand Down
2 changes: 1 addition & 1 deletion met-api/src/met_api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def setup_jwt_manager(app_context, jwt_manager):
"""Use flask app to configure the JWTManager to work for a particular Realm."""

def get_roles(a_dict):
return a_dict['client_roles'] # pragma: no cover
return a_dict['realm_access']['roles'] # pragma: no cover

app_context.config['JWT_ROLE_CALLBACK'] = get_roles
jwt_manager.init_app(app_context)
23 changes: 11 additions & 12 deletions met-cron/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Flask-Caching==2.0.2
Flask-Caching==2.1.0
Flask-Cors==3.0.10
Flask-Mail==0.9.1
Flask-Migrate==2.7.0
Expand All @@ -12,43 +12,42 @@ MarkupSafe==2.1.3
SQLAlchemy-Utils==0.41.1
SQLAlchemy==1.3.24
Werkzeug==2.3.7
alembic==1.12.0
alembic==1.12.1
aniso8601==9.0.1
attrs==23.1.0
bcrypt==4.0.1
blinker==1.6.2
blinker==1.6.3
cachelib==0.9.0
certifi==2023.7.22
charset-normalizer==3.2.0
charset-normalizer==3.3.1
click==8.1.7
ecdsa==0.18.0
flask-jwt-oidc==0.3.0
flask-marshmallow==0.11.0
flask-restx==1.1.0
flask-restx==1.2.0
gunicorn==21.2.0
idna==3.4
importlib-resources==6.1.0
itsdangerous==2.0.1
jaeger-client==4.8.0
jsonschema-specifications==2023.7.1
jsonschema==4.19.0
jsonschema==4.17.3
marshmallow-sqlalchemy==0.25.0
marshmallow==3.20.1
opentracing==2.4.0
packaging==23.1
psycopg2-binary==2.9.7
packaging==23.2
psycopg2-binary==2.9.9
pyasn1==0.5.0
pyrsistent==0.20.0
python-dotenv==1.0.0
python-jose==3.3.0
pytz==2023.3.post1
referencing==0.30.2
requests==2.31.0
rpds-py==0.10.3
rsa==4.9
secure==0.3.0
six==1.16.0
threadloop==1.0.2
thrift==0.16.0
tornado==6.3.3
typing_extensions==4.8.0
urllib3==2.0.4
urllib3==2.0.7
-e git+https://github.com/bcgov/met-public.git#egg=met-api&subdirectory=met-api
Empty file modified met-cron/run_met_publish.sh
100644 → 100755
Empty file.
Loading

0 comments on commit 0bd8e02

Please sign in to comment.