From 8ef5e1cd0394ebd13640e0206926b1f560a681c9 Mon Sep 17 00:00:00 2001 From: Andrew Duthie <1779930+aduth@users.noreply.github.com> Date: Tue, 19 Dec 2023 12:05:42 -0500 Subject: [PATCH 1/4] Enable, document RISC push notifications for local development (#9796) changelog: Internal, Documentation, Document RISC push notifications for local development --- config/application.yml.default | 2 ++ docs/local-development.md | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/config/application.yml.default b/config/application.yml.default index b3eddb6d71f..7971699c8fb 100644 --- a/config/application.yml.default +++ b/config/application.yml.default @@ -404,9 +404,11 @@ development: otp_delivery_blocklist_findtime: 5 password_pepper: f22d4b2cafac9066fe2f4416f5b7a32c piv_cac_verify_token_secret: ee7f20f44cdc2ba0c6830f70470d1d1d059e1279cdb58134db92b35947b1528ef5525ece5910cf4f2321ab989a618feea12ef95711dbc62b9601e8520a34ee12 + push_notifications_enabled: true rails_mailer_previews_enabled: true rack_timeout_service_timeout_seconds: 9_999_999_999 raise_on_missing_title: true + risc_notifications_local_enabled: true s3_report_bucket_prefix: '' s3_report_public_bucket_prefix: '' saml_endpoint_configs: '[{"suffix":"2023","secret_key_passphrase":"trust-but-verify"}]' diff --git a/docs/local-development.md b/docs/local-development.md index 0511c4d677e..7c3dbe2c88f 100644 --- a/docs/local-development.md +++ b/docs/local-development.md @@ -164,6 +164,10 @@ stylesheets. To see outbound SMS messages and phone calls, visit `http://localhost:3000/test/telephony`. +### Viewing RISC push notifications + +To view [RISC Security Events](https://developers.login.gov/security-events/) push notifications delivered by the application, visit http://localhost:3000/test/push_notification. + ### Setting up Geolocation Login.gov uses MaxMind Geolite2 for geolocation. To test geolocation locally, you will need to add a copy of the Geolite2-City database to the IdP. From d69f97f16ef8bbf18324ce864cd2dee700cf4486 Mon Sep 17 00:00:00 2001 From: Andrew Duthie <1779930+aduth@users.noreply.github.com> Date: Tue, 19 Dec 2023 12:40:38 -0500 Subject: [PATCH 2/4] Remove unimplemented clearfix CSS class from static error pages (#9799) changelog: Internal, Code Quality, Remove unused style reference from error page markup --- app/views/pages/not_acceptable.html | 2 +- app/views/pages/page_not_found.html | 2 +- app/views/pages/page_took_too_long.html.erb | 2 +- public/401.html | 2 +- public/406.html | 2 +- public/422.html | 2 +- public/429.html | 2 +- public/500.html | 2 +- public/503.html | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/views/pages/not_acceptable.html b/app/views/pages/not_acceptable.html index 781f84e1640..cdbf85fe2b6 100644 --- a/app/views/pages/not_acceptable.html +++ b/app/views/pages/not_acceptable.html @@ -9,7 +9,7 @@