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>
2025-01-30 05:40:44 +00:00
..
actions Refactor RefName (#33234) 2025-01-13 14:01:53 +08:00
activities Add missed auto merge feed message on dashboard (#33309) 2025-01-26 18:33:05 +00:00
admin
asymkey Use ProtonMail/go-crypto to replace keybase/go-crypto (#33402) 2025-01-27 09:14:08 +08:00
auth
avatars
db Refactor context flash msg and global variables (#33375) 2025-01-25 14:36:47 +00:00
dbfs
fixtures Only allow admins to rename default/protected branches (#33276) 2025-01-15 20:51:49 +00:00
git Improve sync fork behavior (#33319) 2025-01-20 15:17:47 +08:00
issues Refactor user package (#33423) 2025-01-29 01:14:35 +02:00
migrations Automerge supports deleting branch automatically after merging (#32343) 2025-01-10 03:51:03 +08:00
organization Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00
packages Refactor maven package registry (#33049) 2024-12-31 05:30:52 +00:00
perm Support public code/issue access for private repositories (#33127) 2025-01-14 01:53:34 +00:00
project Use project's redirect url instead of composing url (#33058) 2024-12-31 19:19:53 +08:00
pull Automerge supports deleting branch automatically after merging (#32343) 2025-01-10 03:51:03 +08:00
renderhelper
repo Refactor repository transfer (#33211) 2025-01-30 05:40:44 +00:00
secret
shared/types
system
unit
unittest Refactor ref type (#33242) 2025-01-14 15:35:34 +08:00
user Support choose email when creating a commit via web UI (#33432) 2025-01-30 01:24:57 +00:00
webhook Refactor webhook events (#33337) 2025-01-23 18:53:06 +00:00
main_test.go
repo_test.go Fix issue comment number (#30556) 2024-12-30 14:35:46 -08:00
repo.go Fix issue comment number (#30556) 2024-12-30 14:35:46 -08:00