gitea/services
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>
2025-01-30 05:40:44 +00:00
..
actions Refactor user & avatar (#33433) 2025-01-30 07:33:50 +08:00
agit User facing messages for AGit errors (#33012) 2025-01-27 02:33:39 +00:00
asymkey Move delete deploy keys into service layer (#32201) 2024-12-18 04:10:38 +00:00
attachment
auth Add basic auth support to rss/atom feeds (#33371) 2025-01-27 02:07:39 +00:00
automerge Automerge supports deleting branch automatically after merging (#32343) 2025-01-10 03:51:03 +08:00
context Refactor repository transfer (#33211) 2025-01-30 05:40:44 +00:00
contexttest Refactor request context (#32956) 2024-12-24 11:43:57 +08:00
convert Make tracked time representation display as hours (#33315) 2025-01-19 09:30:44 +08:00
cron Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
doctor Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00
externalaccount
feed Refactor RefName (#33234) 2025-01-13 14:01:53 +08:00
forms Support choose email when creating a commit via web UI (#33432) 2025-01-30 01:24:57 +00:00
gitdiff Link to tree views of submodules if possible (#33424) 2025-01-30 00:09:52 +00:00
indexer
issue Refactor RefName (#33234) 2025-01-13 14:01:53 +08:00
lfs
mailer Refactor user & avatar (#33433) 2025-01-30 07:33:50 +08:00
markup Refactor request context (#32956) 2024-12-24 11:43:57 +08:00
migrations Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00
mirror Fix mirror bug (#33224) 2025-01-12 18:46:37 +08:00
notify Refactor repository transfer (#33211) 2025-01-30 05:40:44 +00:00
oauth2_provider
org Refactor tests (#33021) 2024-12-29 01:05:56 +00:00
packages Support choose email when creating a commit via web UI (#33432) 2025-01-30 01:24:57 +00:00
projects
pull Automerge supports deleting branch automatically after merging (#32343) 2025-01-10 03:51:03 +08:00
release Refactor "string truncate" (#32984) 2024-12-26 11:56:03 +08:00
repository Refactor repository transfer (#33211) 2025-01-30 05:40:44 +00:00
secrets
task
uinotification
user Refactor repository transfer (#33211) 2025-01-30 05:40:44 +00:00
webhook Add tests for webhook and fix some webhook bugs (#33396) 2025-01-30 03:09:48 +00:00
webtheme
wiki Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00