Release 2.4.9
- When there's more than 3 unread notifications, mask the alerts exceeding
- Handle custom filters "date" and "type" in computation of the following statistics indicators: hours available for machine reservations and tickets available for training reservations
- Fix a bug about user's born on February 29th , when current year is not a leap year
- Fix two bugs about wrong values in statistics
- Various bug fixes and minor improvements
Please see the change log for more details.
TODO DEPLOY
- Check your
ALLOWED_MIME_TYPES
environment variable, it may containapplication/
if you have kept the default values. This can lead to a security issue, please remove it. - Run the following commands in order:
rails runner StatisticCustomAggregation.destroy_all
, thenrake db:seed
, then restart Sidekiq, thenrake fablab:es_build_availabilities_index
- If, at least once in the past, you have regenerated the statistics, they are very likely corrupted. Run this command to fix:
rake fablab:generate_stats[1095]
(1095 can be reduced to the number of days your fab-manager's instance have been online). This is not required if you had never run this command before.