Alert Improvements by Xon

Alert Improvements by Xon 2.7.4

No permission to download
  • When pruning alerts; Reduce maximum batch size, and back-off by 1 second between prune attempts
  • Fix unexpected extra queries when a user doesn't have unread alerts
  • Even if "Alerts pop-up skips mark read" is set, mark alerts with the content type "user" as read when the alert pop-up is opened. As these alerts never get marked as read by visiting content
  • Patch hourly alert cleanup to better respect max job run time
  • Rename various templates to match XenForo Resource Standards
    • The installer does attempt to rename the affected templates to preserve history and custom changes.
  • Only delete in batches to prevent issues with galera clustering which can deadlock or stall for large data sets
  • Do not constantly change view_date when re-summarizing or un-summarizing alerts to prevent alerts being kept alive forever
  • Like
Reactions: Sunka
  • Compatibility fix for 3rd party add-ons which replace an expected ArrayCollection object with an array
  • Like
Reactions: Sunka
  • When summarizing alerts hopefully reduce the chance of deadlocking, and if it happens gracefully recover
  • Fix XF2.0 support, and prevent duplicate queries on XF2.1
  • Like
Reactions: Sunka
  • Fix AdminCP User edit setting 'alerts page skips mark read' to the same value as 'alerts pop-up page skips mark read'