gitea/routers/web/repo/setting
Lunny Xiao f88dbf86b3
Some checks are pending
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
cron-translations / crowdin-pull (push) Has been skipped
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
..
avatar.go
collaboration.go Move RepoTransfer from models to models/repo sub package (#32506) 2024-12-18 11:44:16 +08:00
default_branch.go
deploy_key.go Move delete deploy keys into service layer (#32201) 2024-12-18 04:10:38 +00:00
git_hooks.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
lfs.go Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
main_test.go
protected_branch.go Only allow admins to rename default/protected branches (#33276) 2025-01-15 20:51:49 +00:00
protected_tag.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
runners.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
secrets.go Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
setting.go Refactor repository transfer (#33211) 2025-01-30 05:40:44 +00:00
settings_test.go Remove duplicate "ResponseWriter.Status" method (#33346) 2025-01-22 06:37:52 +00:00
variables.go Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
webhook.go Refactor webhook events (#33337) 2025-01-23 18:53:06 +00:00