Report Improvements by Xon

Report Improvements by Xon 2.12.7

No permission to download
  • Fix editing another user's report comment would change the user of that report comment
    • The permission for this was not granted by default to any group
  • Fix being unable to set "Maximum non-moderator users who can handle reports" to zero
  • Fix some report centre permissions (view/edit/view attachment) where not assigned to moderators on install
  • Harden the new-install code path of the installer to only add report queue permissions to the stock Moderator/Administrator groups if they have the dependent permissions, not any user-group which may have moderator only permissions
  • Add CLI command "sv-dev:export-report-users" to export non-moderators for a report
  • Fix report assignment list would not include non-moderators who had been allowed the "view report queue" and "update report" permissions at the report queue level (when Report Centre Essentials is installed & active)
  • Fix possible misleading "Potential miss-configuration detected. X users have access to handle/update this report via permissions" being logged
    • This is the result of the report assignment list could include non-moderators who had been denied the "view report queue" and "update report" permissions at the global level.
    • These users could not see, be alerted by or interact with the report, they where just being added to the dropdown as being assignable. Actual permission checks prevented them doing anything with the report they could potentially be assigned to.
  • Like
Reactions: TAIFUN
  • Fix missing column default causing errors when the add-on is disabled
  • Fix out of date add-on option phrase
  • Fix reporting users from the approval queue
  • Work-around for buggy report data when indexing reports
  • Add 'report' button to items in the approval queue which support reports
  • Add report filtering options to the approval queue
    • No longer includes reported content by default
    • Add filter for whether to include reported content, with option to save a filter set as default
  • Add a 'load more' button to the approval queue
  • Fix "Method canResolveLinkedReport is not callable on the given object" error when Warning Improvements is not installed when issuing a warning
  • Fix function type error when viewing reports if Report Centre Essentials add-on is not installed or when other add-ons may modify the comments list.
  • Require XenForo 2.2+
  • Migrate xf_report_comment.ip_id column to 64bit integer to support the xf_ip.ip_id column being 64bit in a future update
    • Strongly recommend 64bit php!
  • php 8.2 compat fixes
  • Fix issue when issuing a warning which would result in the warning details to not be populated on selecting a warning type
  • Like
Reactions: Sunka
Top