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/models
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>
22 hours ago
..
actions Refactor RefName (#33234) 3 weeks ago
activities Add missed auto merge feed message on dashboard (#33309) 4 days ago
admin Fix javascript error when an anonymous user visiting migration page (#32144) 4 months ago
asymkey Use ProtonMail/go-crypto to replace keybase/go-crypto (#33402) 4 days ago
auth Refactor tests (#33021) 1 month ago
avatars Replace 10 more gt- classes with tw- (#29945) 10 months ago
db Refactor context flash msg and global variables (#33375) 6 days ago
dbfs Enable `unparam` linter (#31277) 8 months ago
fixtures Only allow admins to rename default/protected branches (#33276) 2 weeks ago
git Improve sync fork behavior (#33319) 2 weeks ago
issues Refactor user package (#33423) 2 days ago
migrations Automerge supports deleting branch automatically after merging (#32343) 3 weeks ago
organization Refactor older tests to use testify (#33140) 3 weeks ago
packages Refactor maven package registry (#33049) 1 month ago
perm Support public code/issue access for private repositories (#33127) 2 weeks ago
project Use project's redirect url instead of composing url (#33058) 1 month ago
pull Automerge supports deleting branch automatically after merging (#32343) 3 weeks ago
renderhelper Refactor render system (orgmode) (#32671) 2 months ago
repo Refactor repository transfer (#33211) 22 hours ago
secret Clarify Actions resources ownership (#31724) 6 months ago
shared/types Refactor locale&string&template related code (#29165) 12 months ago
system Refactor deletion (#28610) 1 year ago
unit Add `DEFAULT_MIRROR_REPO_UNITS` and `DEFAULT_TEMPLATE_REPO_UNITS` options (#32416) 3 months ago
unittest Refactor ref type (#33242) 2 weeks ago
user Support choose email when creating a commit via web UI (#33432) 1 day ago
webhook Refactor webhook events (#33337) 1 week ago
main_test.go make writing main test easier (#27270) 1 year ago
repo.go Fix issue comment number (#30556) 1 month ago
repo_test.go Fix issue comment number (#30556) 1 month ago