Releases: UWM-Libraries/GeoDiscovery
v4.4.10
AGSL GeoDiscovery v4.4.10
Add Turnstile Bot Protection with bot_challenge_page
This PR integrates the bot_challenge_page
gem to mitigate scraping and bot traffic against GeoDiscovery's catalog.
Summary
- Added
bot_challenge_page
andrack-attack
to the Gemfile - Configured bot challenge in
ApplicationController
- Mounted
the engine andchallenge route inroutes.rb
- Created initializer to:
- Enable Turnstile using ENV-based keys
- Rate-limit
CatalogController#index
- Exempt facet JS requests and safelisted IPs
- Added Universities of Wisconsin IP ranges to config.yml (currently unused as being set by
.env
for now) - Updated Capistrano config to symlink
.env.production
fromshared/
instead of copying the example file
This work aligns with work implemented by Stanford. It helps prevent abusive traffic while allowing campus networks and public search engines to browse without unnecessary friction.
v4.4.8
Full Changelog: v4.4.5...v4.4.8
Gemfile.lock Updates:
Dependency Upgrades:
- bigdecimal updated from 3.1.8 to 3.1.9.
- csv updated from 3.3.1 to 3.3.2.
- debug updated from 1.9.2 to 1.10.0.
- erubi updated from 1.13.0 to 1.13.1.
- importmap-rails updated from 2.0.3 to 2.1.0.
- net-imap updated from 0.5.2 to 0.5.4.
- nokogiri updated from 1.17.2 to 1.18.0.
- rack-test updated from 2.1.0 to 2.2.0.
- regexp_parser updated from 2.9.3 to 2.10.0.
- tilt updated from 2.4.0 to 2.5.0.
- view_component updated from 3.20.0 to 3.21.0.
catalog_controller.rb Modifications:
- Reordering of Show Fields:
- The ALTERNATIVE_TITLE and DESCRIPTION fields were repositioned after the REFERENCES field.
- Helper Method Addition:
- The DESCRIPTION field now utilizes the truncate_render_html_value helper method.
- Label Change:
- The REFERENCES field's label was updated from "Resource Link" to "More details at".
- Conditional Display Logic:
- The REFERENCES field includes a condition to check for the presence of external_url before rendering.
v4.4.5
Released on: September 16, 2024
Key Changes:
- Rate Limiting for Exception Emails: Implemented a rate limiter for exception emails to reduce the volume of error notifications. [Commit
d08ff73
] - Sidekiq Configuration: Added
sidekiq.yml
for better control over job processing. [Commitb0f6bb6
] - Logging Improvements:
- Updated Sidekiq to use Rails logger. [Commit
86df6f3
] - Set log levels to control verbosity in production. [Commit
60585e3
]
- Updated Sidekiq to use Rails logger. [Commit
- Job Handling: Discarded
NoMethodError
andDeserializationError
jobs to prevent unnecessary retries. [Commit7552b79
] - Code Cleanup: Applied linter fixes and adjustments for code consistency. [Commits
a0450cd
,d5818f1
] - Gitignore Updates: Stopped tracking SQLite files. [Commits
2f562ad
,2d4486b
]
Dependency Updates:
- Bumped several dependencies, including:
- Turbo-Rails from 2.0.5 to 2.0.6
- Sprockets-Rails from 3.5.1 to 3.5.2
- Rails from 7.0.8.4 to 7.2.1
Full Changelog: v4.4.3...v4.4.5
v4.4.3
GeoDiscovery v4.4.1
This release brings GeoDiscovery's production environment up to GeoBlacklight 4.4 which includes new features like the Blacklight::Allmaps plugin and support for Cloud Optimized GeoTIFF and PMtiles. It also makes some updates to the homepage buttons and the social media icons. Facets in the search results pages are re-ordered.