Skip to content

Redmine SLA 3.4.0

Choose a tag to compare

@likehopper likehopper released this 08 Nov 00:15
· 55 commits to main since this release
49ef263

Choose Flaticon / Magnific or Tabler Icons in the plugin display settings, or add a local icon set with the same manifest format. Version 3.4.0 requires Ruby 3.0 or later.

This release also fixes SLA calculations:

  • Time zones with _, digits, + or - were truncated: America/New_York failed on PostgreSQL and returned no SLA on MySQL/MariaDB, and Etc/GMT+12 was read as Etc/GMT. The settings page now notes that a new zone does not recalculate existing SLA times and reminds the administrator to inform users.
  • Spent time is counted once when two requests compute the same issue at the same time.
  • Refresh recalculates spent time from the SLA start instead of keeping the stored total.
  • Changing the statuses counted by an SLA type invalidates that type's spent time.
  • Saving a tracker mapping no longer recalculates every cache of the project inside the request.

Validation: Redmine 5.1.13, 6.1.4 and 7.0.1 on PostgreSQL 17.7, MariaDB 10.11.19 and strict MySQL 8.0.46: 10,761 tests / 68,242 assertions, no failures or errors, 12 expected PostgreSQL-only skips. Unit, functional, integration/API, Chromium system, standalone icon and documentation tests. The upgrade from 3.3.4 with populated caches was checked on all nine combinations.

Upgrade: update the plugin files, run bundle exec rake redmine:plugins:migrate RAILS_ENV=production (migrations 025 and 026 redeploy SQL functions), then restart Redmine. Existing SLA caches are kept: purge them to recalculate values computed before the upgrade. No production deployment was performed.

Thanks to @joaoperfig for the Tabler icon set (#89).

Icon sets · Changelog · Testing · Pull request #90