Fix edge case where legacy warning definitions with >255 characters would cause an internal server error instead of reporting the warning definition's title was too long
- If installed, require Alert Improvements v2.9.0+
- Compatibility fix with Alert Improvements when warning anonymization is enabled and warning alerts are sent
- Only show "Hide x old warnings" phrase if there are old warnings on a user's profile to hide
This add-on is
- Require php 7.2+
- Require Standard Library by Xon v1.18.0+
- Fix a warning title of > 255 characters could be entered and it would be silently truncated. Field is now correctly length checked
- Fix editing a warning to disable the spoilered content warning did not remove the spoiler title
- Fix deleting a warning did not disable injecting a spoiler tag into post contents
- Rename some missed phrases when updating "Escalating default warning expiry" feature
- Fix removing expired warnings/bans for a user on the next page load was not triggering as expected
- Fix Report Improvements integration for warning edits now showing disabled reactions flag correctly
- Fix typo in admincp phrase
- Fix error during updating when Report Improvements files exist, but the add-on isn't active
- Change "Warning Escalating Defaults" related phrases text to "Escalating default warning expiry" phrases to better reflect the feature
- Improve compatibility with older MySQL/MariaDb versions (Fix column sv_content_spoiler_title can't have a default value)
- When content is edited, ensure the warning spoiler/disable reaction flags are copied to ensure they are kept in sync
- Fix 'default selected' when using radio-view when issuing a warning not selecting the first warning in the list, and causing nothing to be selected when the custom warning isn't selectable