Skip to content

Conversation

ssddanbrown
Copy link
Member

@ssddanbrown ssddanbrown commented Sep 1, 2023

For #4480.

Todo

  • Add test case to cover.
  • Update notifications to use user language preference.
  • Test what occurs when a non-expected language preference exists.
  • Test bottom text, that's not controlled in notification class.
    • Check this for user invites (and other existing notifications) too. Likely need to add system in other places to properly pass notifications.

@ssddanbrown ssddanbrown added this to the v23.08.1 milestone Sep 1, 2023
@ssddanbrown ssddanbrown self-assigned this Sep 1, 2023
- This ensures content notifications are not translated to receiver
  language.
- This adds actual plaintext support for content notifications (Was
  previously just HTML as text view).
- Shares same base class across all mail notifications.
- Also cleaned up existing notification classes.

Future cleanup requested via #4501
- Passed decode flags to provide consistent behaviour across PHP
  versions during testing.
- Added env option to prevent local option taking action in PHPunit
  tests.
@ssddanbrown ssddanbrown merged commit 1cd19c7 into development Sep 2, 2023
@ssddanbrown ssddanbrown deleted the notification_language branch September 2, 2023 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

1 participant