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/repo
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 month ago
..
archiver.go Refactor context RefName and RepoAssignment (#33226) 2 months ago
attachment.go
attachment_test.go
avatar.go
avatar_test.go
collaboration.go
collaboration_test.go
fork.go
fork_test.go
git.go
issue.go
language_stats.go
license.go Fix missing license when sync mirror (#33255) 2 months ago
main_test.go
mirror.go
org_repo.go Move RepoTransfer from models to models/repo sub package (#32506) 3 months ago
pushmirror.go
pushmirror_test.go
redirect.go
redirect_test.go
release.go Refactor "string truncate" (#32984) 3 months ago
release_test.go
repo.go Refactor context flash msg and global variables (#33375) 2 months ago
repo_indexer.go
repo_list.go
repo_list_test.go
repo_test.go Refactor context flash msg and global variables (#33375) 2 months ago
repo_unit.go
repo_unit_test.go
search.go
star.go
star_test.go
topic.go
topic_test.go
transfer.go Refactor repository transfer (#33211) 1 month ago
update.go fix empty repo updated time (#33120) 2 months ago
upload.go
user_repo.go
user_repo_test.go
watch.go
watch_test.go
wiki.go Make git clone URL could use current signed-in user (#33091) 2 months ago
wiki_test.go Make git clone URL could use current signed-in user (#33091) 2 months ago