-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge SSO and dev changes into gdx-main (#2343)
* Bugfix/deseng413 (#2330) * bugfix/deseng413: Upgraded BC-Sans font to newest version. * bugfix/deseng413: Small update to changelog for clarification. * Feature: SSO Migration - DESENG #408 (#2333) * Make role checks platform-agnostic * default to standard realm * Remove local Keycloak instances and config * Use tenant information from DB instead of Keycloak * Update sample.env files * Clean up the changelog... and we're good to go! 🥳 * [DESENG-414] .env var (and config) audit and cleanup (#2339) * Overhaul of most configuration files * No longer using semver; update CHANGELOG.MD * Feature/deseng415 (#2334) * feature/deseng415: Added recording of date with feedback submission and displaying the data on admin side. * feature/deseng415: Fixed feedback schema, removed yup import, fixed change log date. * bugfix/deseng429: Removed outdated service class. (#2337) * bugfix/deseng429: Removed outdated service class. * bugfix/deseng429: Changed version and changelog to match deployments to gdx-main. * DESENG-438 Superusers can publish engagements without attached surveys (#2338) * DESENG-441 Remove unused engagement metadata fields (#2340) * Fixed merge errors in the changelog --------- Co-authored-by: jareth-whitney <[email protected]> Co-authored-by: Baelx <[email protected]> Co-authored-by: Alex <[email protected]> Well done team! 💖
- Loading branch information
1 parent
0bd8e02
commit 505f300
Showing
74 changed files
with
1,074 additions
and
3,912 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,68 @@ | ||
# Change Log | ||
|
||
All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org/). | ||
All notable changes to this project will be documented in this file. | ||
|
||
## December 11, 2023 | ||
|
||
## v1.0.1 - 2023-10-26 | ||
- **Task** Merge `gdx-sso`, `gdx-dev`, `gdx-main` into `main` [🎟️DESENG-442](https://apps.itsm.gov.bc.ca/jira/browse/DESENG-442) | ||
|
||
> **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. | ||
## December 5, 2023 | ||
|
||
- Changes to `DEVELOPMENT.md` to reflect the current state of the project | ||
- Remove one old production .env file with obsolete settings | ||
- **Task** Remove unused project metadata [🎟️DESENG-441](https://apps.itsm.gov.bc.ca/jira/browse/DESENG-441) | ||
|
||
## December 4, 2023 | ||
|
||
- **Feature**: .env var audit and cleanup [🎟️DESENG-414](https://apps.itsm.gov.bc.ca/jira/browse/DESENG-414) (work finished) | ||
- Full rewrite of met_api/config.py | ||
- Sample .env files updated to capture all current settings | ||
- Changed many configs to use a nested dict structure | ||
- Changed all configs to use get_named_config() to access settings | ||
- SQLAlchemy now generates its url based on db settings | ||
- Default settings are handled more gracefully | ||
- Enable file-watching reloader and debugger for development environments | ||
- Inline documentation added in config.py | ||
- Removed unused settings | ||
|
||
## November 29, 2023 | ||
|
||
- **Feature**: Superusers can publish engagements without attached surveys [🎟️DESENG-438](https://apps.itsm.gov.bc.ca/jira/browse/DESENG-438) | ||
|
||
## November 21, 2023 | ||
|
||
- **Feature**: Started logging source url path with feedback submission. Viewable in dashboard. [🎟️DESENG-415](https://apps.itsm.gov.bc.ca/jira/browse/DESENG-415) | ||
|
||
## November 11, 2023 | ||
|
||
- **Bug Fix**: Removed a duplicate service class [🎟️DESENG-429](https://apps.itsm.gov.bc.ca/jira/browse/DESENG-429) | ||
|
||
## November 6, 2023 | ||
|
||
- **Feature**: Switch MET to use Keycloak SSO service [🎟️DESENG-408](https://apps.itsm.gov.bc.ca/jira/browse/DESENG-408) | ||
- Switch all role-based checks on the API to use a single callback function (`current_app.config['JWT_ROLE_CALLBACK']`) | ||
- Added a configurable path `JWT_ROLE_CLAIM` to indicate where your SSO instance places role information in the JWT token. If your access token looks like: | ||
`{ ..., "realm_access": { "roles": [ "role1", "role2"]}}` you would set `JWT_ROLE_CLAIM=realm_access.roles` | ||
- Explicitly disable single tenant mode by default to ensure correct multi-tenancy behaviour | ||
- Remove local Keycloak instances and configuration | ||
- Default to the "standard" realm for Keycloak | ||
- Use tenancy information from DB rather than Keycloak | ||
|
||
- **Feature**: .env var audit and cleanup [🎟️DESENG-414](https://apps.itsm.gov.bc.ca/jira/browse/DESENG-414) | ||
|
||
## October 26, 2023 | ||
|
||
- **Bug Fix**: Upgraded BC-Sans font to the newest version [🎟️DESENG-413](https://apps.itsm.gov.bc.ca/jira/browse/DESENG-413) | ||
|
||
## October 19, 2023 | ||
|
||
- **Feature**: Update sample .env files [🎟️DESENG-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. | ||
- Keycloak URLs and resources now point to the BC Government's SSO service when using `sample.env` as a baseline | ||
- The `met_api` module has been updated slightly to consume Pathfinder SSO's API schema. | ||
- Remove one old production .env file with obsolete settings | ||
- Changes to DEVELOPMENT.md to reflect the current state of the project | ||
|
||
|
||
## v1.0.0 - 2023-10-01 | ||
|
||
- App handoff from EAO to GDX | ||
- Added changelog | ||
- Added changelog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
27 changes: 27 additions & 0 deletions
27
met-api/migrations/versions/02ff8ecc6b91_added_url_path_column_to_feedback_table.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
"""Added URL path column to feedback table. | ||
Revision ID: 02ff8ecc6b91 | ||
Revises: 25e6609cb4db | ||
Create Date: 2023-11-10 10:33:06.780841 | ||
""" | ||
from alembic import op | ||
import sqlalchemy as sa | ||
from sqlalchemy.dialects import postgresql | ||
|
||
# revision identifiers, used by Alembic. | ||
revision = '02ff8ecc6b91' | ||
down_revision = '25e6609cb4db' | ||
branch_labels = None | ||
depends_on = None | ||
|
||
|
||
def upgrade(): | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
op.add_column('feedback', sa.Column('submission_path', sa.String())) | ||
# ### end Alembic commands ### | ||
|
||
def downgrade(): | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
op.drop_column('feedback', 'submission_path') | ||
# ### end Alembic commands ### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.