Combined work from 5 commits:
1. a00141d
Enhance trusted user email notifications and update translations
- Improved the logic for displaying trusted user notifications in verification emails, ensuring users receive appropriate messages based on their trusted status and verification progress.
- Added new translation strings for messages related to becoming a trusted user and the benefits associated with it in English, Czech, Italian, and Slovak.
- Updated existing translations to maintain consistency across languages for the trusted user notifications.
https://github.com/alexanderzatko/rovas/commit/a00141dcba231a4941f1cc1ba...
2. 68d5acf
Refactor user account loading logic for improved consistency
- Enhanced the `rovas_user_load_account` function to ensure it always reloads user data by UID, accommodating various input types including EntityMetadataWrapper.
- Improved handling of account objects and numeric IDs to streamline user loading and prevent potential errors when accessing user fields.
https://github.com/alexanderzatko/rovas/commit/68d5acf36c26c94891464e36d...
3. af3f679
Update verification email messages to include trusted user notices
- Modified the email message templates for verification requests to append trusted user notices, ensuring users are informed of their trusted status and benefits.
- Adjusted the HTML structure in the `rovas_user_trusted_email_notice` function to ensure proper formatting of messages in verification emails.
- Enhanced the logic for displaying verification request messages to maintain consistency across different user scenarios.
https://github.com/alexanderzatko/rovas/commit/af3f679d261f4d15810045ecb...
4. 6a3cd15
Update trusted user messaging in rovas_user module and translations
- Revised the messaging for trusted users to clarify that they can have their work reports approved immediately without needing to verify reports.
- Updated corresponding translation strings in English, Czech, Italian, and Slovak to reflect the new messaging.
https://github.com/alexanderzatko/rovas/commit/6a3cd15b115396b7423e783f6...
5. 5d2e66d
Enhance trusted user email notifications logic
- Updated the `rovas_user_trusted_email_notice` function to grant sticky trusted status on the user's own page views, ensuring eligible verifiers receive appropriate messaging in their emails.
- Improved the handling of user accounts to ensure accurate notifications for trusted users.
https://github.com/alexanderzatko/rovas/commit/5d2e66de6b95ffe6971c97093...
This report was created by the Rovas Connector for Cursor/VS extension