You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/services/user
Lunny Xiao f88dbf86b3
Refactor repository transfer (#33211)
- Both have `RejectTransfer` and `CancelTransfer` because the permission
checks are not the same. `CancelTransfer` can be done by the doer or
those who have admin permission to access this repository.
`RejectTransfer` can be done by the receiver user if it's an individual
or those who can create repositories if it's an organization.

- Some tests are wrong, this PR corrects them.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
1 day ago
..
avatar.go Fix bug on avatar (#31008) 9 months ago
block.go Refactor repository transfer (#33211) 1 day ago
block_test.go Add user blocking (#29028) 11 months ago
delete.go Enable more `revive` linter rules (#30608) 9 months ago
email.go Skip email domain check when admins edit user emails (#29609) 11 months ago
email_test.go Skip email domain check when admins edit user emails (#29609) 11 months ago
update.go Move some errors to their own sub packages (#32880) 1 month ago
update_test.go Resolve lint for unused parameter and unnecessary type arguments (#30750) 9 months ago
user.go Move some errors to their own sub packages (#32880) 1 month ago
user_test.go Move some errors to their own sub packages (#32880) 1 month ago