- (Jon) Updated the application exceptions controller to instrument the
ActiveSupport::Notifications
for internal errors GH-139 - (Jon) Updated
config/initializers/prometheus.rb
to include theMiddleware instrumentation
fix for the 0 memory bug by notifying Action Dispatch subscribers on Prometheus initialise GH-139 - (Jon) Updated
config/puma.rb
to include metrics plugin and port information for the metrics endpoint as environment variable, with default, to enable running multiple sibling HMLR apps locally if needed without port conflicts GH-139 - (Jon) Updated the
lr_common_styles
gem to the latest 1.9.9 patch release. - (Jon) Moved all mirrored configuration settings from individual environments into the application configuration to reduce the need to manage multiple sources of truth
- (Jon) Implemented improved boilerplate metrics integration to offer analysis of current application usage stats
- (Jon) Added
process_threads
gauge to prometheus metrics alongside isolating thread counts to specific status' as per the Rails thread documentation GH-148 - (Jon) Updated the approach to resolve GH-142
- (Jon) Excluded prometheus metrics from the testing environment to reduce noise in the logs
- (Jon) Added
puma-metrics
gem to provide base metrics for the Puma web server - (Jon) Added the
internal_error_event
metric to the improved error controls - (Jon) Tweaked the application controller to improve error control and display provided message in themed pages to match the rest of the application
- (Jon) Added
puma.stats
to footer template in development environment only, again as per the approach in theLR_Common_Styles
gem - (Jon) Reorganised makefile targets alphabetically as well as mirrored other improvements from the other applications in the suite
- (Jon) Updated .rubocop.yml primarily reorganising the rules alphabetically as
well as adding
CountAsOne
to bothMetrics/ClassLength
andMetrics/MethodLength
; includes files with removed earlier disabling of said rules! - (Jon) Updated
.gitignore
to include ignoringbyebug
history as well as sets the tmp directory ignore to be anywhere, not just at the project root
- (Dan) Fixes bug XXS vulnerability 133
- (Dan) Update the error messages for the postcode selectors step 3/7 so each error message is unique to the postcode selector 120
- (Dan) Updates alt text for screenshots of example reports 115
- (Dan) Updates report page styles so links are underlined and gives download report page a seperate page title
- (Dan) Updates gemfile to use v1.9.5 lr_common_styles
- (Dan) Updates the page titles throughout the app 116
- (Dan) Updates the button text on reports page to be dynamic and adds aria labels to help screen readers 119
- (Dan) Update the error message for the postcode selectors step 3/7 120
- (Dan) Update the error message for the postcode selectors step 3/7 120
- (Dan) Updates step 3/7 to return user input rather than false when user inputs invalid value 118
- (Dan) Adds underline text to laning page of standard reports and to help link114
- (Dan) Styled the help button to match PPD 117
- (Dan) Adds more descriptive text to action buttons on the report page 115
- (Jon) Updated the
lr_common_styles
gem to the latest 1.9.3 patch release.
- (Jon) Updated the
lr_common_styles
gem to the latest 1.9.2 patch release.- Also includes minor patch updates for gems, please see the
Gemfile.lock
for details.
- Also includes minor patch updates for gems, please see the
- (Jon) Updated the
app/controllers/application_controller.rb
to include thebefore_action
for thechange_default_caching_policy
method to ensure the defaultCache-Control
header for all requests is set to 5 minutes (300 seconds).
- (Jon) This sets the cache control headers to be public and cacheable with a retry limit of 5 mins as per the other cache settings. GH-114
- (Jon) Primarily to add the Request ID in the headers to pass to SR Manager but
also including the addition of the
detailed_request_log
to match the other apps and additional debugging messages while in development GH-124 - (Jon) Keeping with the logging improvements this change rewrites the messages passed to the logging gem to ensure the included details are simple and straight to the point. This should also improve the issues reported in GH-117 , at least from the front-end point of view!
- (Jon) Updated the README to include the
API_SERVICE_URL
variable to ensure the localstandard_reports_manager
instance is used in the test environment. - (Jon) Ensures we're using the latest version of
json_rails_logger
as well as other minor and patch updated gems
- (Jon) Updated the
json_rails_logger
gem to the latest 1.0.1 release.- Also includes minor patch updates for gems, please see the
Gemfile.lock
for details.
- Also includes minor patch updates for gems, please see the
- (Jon) Updated the
json_rails_logger
gem to the latest 1.0.0 release.
- (Jon) Added a cli recommendation for running the
sr-manager
locally; resolved a markdown linting issue with using HTML in markdown; as well as fixed a simple typo in thelocalhost:3001
port example - (Jon) Refactors the elapsed time calculated for API requests to be resolved as microseconds rather than milliseconds. This is to improve the reporting of the elapsed time in the system tooling logs.
- (Jon) Minor text changes to the
Gemfile
to include instructions for running Epimorphics specific gems locally during the development of those gems. - (Jon) Updated the production
json_rails_logger
gem version to be at least the current version~>1.3.5
(this is to cover out of sync release versions) - (Jon) Updated the production
lr_common_styles
gem version to be at least the current version~>1.9.1
(this is to cover out of sync release versions) - (Jon) Refactored better guards in
entrypoint.sh
to ensure the required env vars are set accordingly or deployment will fail noisily. - (Jon) Refactored the version cadence creation to include a SUFFIX value if provided; otherwise no SUFFIX is included in the version number.
- (Jon) Set the default root path environment variable to be
/app/standard-reports
in the production environment as well as updated variable requests to usefetch
to future proof the codebase
- (Ian) Adopt all of the current Epimorphics best-practice deployment patterns, including shared GitHub actions, updated Makefile and Dockerfile, Prometheus monitoring, and updated version of Sentry.
- (Ian) Updated the README as part of handover.
- (Jon) Add Folkestone and Hythe to district names.
- (Joseph) Add North and West Northamptonshire to county names.
- (Joseph) Add Bournemouth, Christchurch and Poole to county names.
- (Joseph) Add Somerset West and Taunton to district names.
- (Joseph) Add East Suffolk to district names.
- (Joseph) Add West Suffolk to district names.
- (Mairead) Added deployment sub repo and assisting deployment files
- (Mairead) Added Object.assign polyfill
- (Joseph) Small config change to allow linking to privacy notice.
- Switch from Travis to Github actions for CI tests
- dependency updates
- added the accessibility statement
- added skip-to-main-content link
Updates to improve WCAG compliance, including:
- remove
.text-muted
on some elements to improve colour contrast - ensure that hidden elements are not tabbable
- ensure that form elements have unique IDs
- add aria-label to ensure that action intents are clear and unique
- use standard button styles for the form actions
- Updates to Gem dependencies following some CVE warnings
- Updates to various gem dependencies following some CVE warnings, but keeping Rails at version 5 for now.
- Changed minor version number as we've switched to using a separate Sentry project for this app.
- Add validation to avoid SPARQL-injection attack via postal codes
- Add
ActionController::BadRequest
to the list of exceptions that Sentry will ignore
- General update of gem dependencies
- Address deprecation warnings in MiniTest expectations
- Added changelog