forgejo_backup/models/fixtures/ModerationFeatures/user.yml
floss4good 95e8bbd5f0 fix: make sure to use unaltered fields when saving a shadow copy for updated profiles or comments (#8533)
Follow-up of !6977

### Manual testing
- User **S** creates an organization **O** and posts a comment **C** (on a random issue);
- User **R** report as abuse the comment **C**, the organization **O** as well as the user **S**;
- User **S** changes the content of comment **C** and the description of organization **O** as well as the description of their own profile;
- Check (within DB) that shadow copies are being created (and linked to corresponding abuse reports) for comment **C**, organization **O** and user **S** and the content is the one from the moment when the reports were submitted (therefore before the updates made by **S**).

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8533
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: floss4good <floss4good@disroot.org>
Co-committed-by: floss4good <floss4good@disroot.org>
2025-07-20 23:52:58 +02:00

22 lines
682 B
YAML

- # This user is a spammer and will create abusive content (for testing moderation functionalities).
id: 1002
lower_name: alexsmith
name: alexsmith
full_name: Alex Smith
email: alexsmith@example.org
keep_email_private: false
passwd: passwdSalt:password
passwd_hash_algo: dummy
type: 0
location: '@master@seo.net'
website: http://promote-your-business.biz
pronouns: SEO
salt: passwdSalt
description: I can help you promote your business online using SEO.
created_unix: 1752697800 # 2025-07-16 20:30:00
is_active: true
is_admin: false
is_restricted: false
avatar: avatar-hash-1002
avatar_email: alexsmith@example.org
use_custom_avatar: false