forgejo/services/user
Earl Warren 3ba58114c7 test(avatar): deleting a user avatar and file is atomic
The avatar must not be unset in the database if there is a failure to
remove the avatar file from storage (file or S3). The two operations
are wrapped in a transaction for that purpose and this test verifies
it is effective.

See 1be797faba Fix bug on avatar

(cherry picked from commit c139efb1e9)
2024-06-04 22:39:38 +00:00
..
avatar.go Unify user update methods (#28733) 2024-02-04 13:29:09 +00:00
avatar_test.go test(avatar): deleting a user avatar and file is atomic 2024-06-04 22:39:38 +00:00
block.go [MODERATION] User blocking 2024-02-05 15:56:45 +01:00
block_test.go [MODERATION] User blocking 2024-02-05 15:56:45 +01:00
delete.go Check the token's owner and repository when registering a runner (#30406) 2024-04-16 11:43:08 +02:00
email.go Skip email domain check when admins edit user emails (#29609) 2024-03-11 23:36:58 +07:00
email_test.go Skip email domain check when admins edit user emails (#29609) 2024-03-11 23:36:58 +07:00
update.go [v7.0/forgejo] Add optional pronoun field in user settings (#3076) 2024-04-06 13:23:43 +00:00
update_test.go Unify user update methods (#28733) 2024-02-04 13:29:09 +00:00
user.go [BUG] Don't delete inactive emails explicitly 2024-03-29 15:14:09 +01:00
user_test.go [BUG] Don't delete inactive emails explicitly 2024-03-29 15:14:09 +01:00