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/services/repository
Lunny Xiao fe49cb0243
Fix get reviewers' bug (#32415)
This PR rewrites `GetReviewer` function and move it to service layer.

Reviewers should not be watchers, so that this PR removed all watchers
from reviewers. When the repository is under an organization, the pull
request unit read permission will be checked to resolve the bug of
#32394

Fix #32394
4 months ago
..
archiver Remove transaction for archive download (#32186) 4 months ago
commitstatus Add new event commit status creation and webhook implementation (#27151) 5 months ago
files Fix git error handling (#32401) 5 months ago
adopt.go Move AddCollabrator and CreateRepositoryByExample to service layer (#32419) 5 months ago
adopt_test.go Reduce integration test overhead (#32475) 4 months ago
avatar.go Improve avatar uploading / resizing / compressing, remove Fomantic card module (#24653) 2 years ago
avatar_test.go Use context parameter in services/repository (#23186) 2 years ago
branch.go Fix git error handling (#32401) 5 months ago
cache.go Always enable caches (#28527) 1 year ago
check.go Update tool dependencies (#29030) 1 year ago
collaboration.go Move AddCollabrator and CreateRepositoryByExample to service layer (#32419) 5 months ago
collaboration_test.go Move AddCollabrator and CreateRepositoryByExample to service layer (#32419) 5 months ago
commit.go Move context from modules to services (#29440) 1 year ago
contributors_graph.go Enable more `revive` linter rules (#30608) 11 months ago
contributors_graph_test.go disable gravatar in test (#32529) 4 months ago
create.go Add `DEFAULT_MIRROR_REPO_UNITS` and `DEFAULT_TEMPLATE_REPO_UNITS` options (#32416) 5 months ago
create_test.go bump to use go 1.22 (#29119) 1 year ago
delete.go Support repo license (#24872) 6 months ago
delete_test.go Delete repos of org when purge delete user (#27273) 1 year ago
fork.go Refactor find forks and fix possible bugs that weak permissions check (#32528) 4 months ago
fork_test.go Add option to prohibit fork if user reached maximum limit of repositories (#21848) 2 years ago
generate.go Move AddCollabrator and CreateRepositoryByExample to service layer (#32419) 5 months ago
generate_test.go Move generate from module to service (#29465) 1 year ago
hooks.go Simplify how git repositories are opened (#28937) 1 year ago
init.go Move generate from module to service (#29465) 1 year ago
lfs.go Use the database object format name but not read from git repoisitory everytime and fix possible migration wrong objectformat when migrating a sha256 repository (#29294) 1 year ago
lfs_test.go Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods (#28220) 1 year ago
license.go Support repo license (#24872) 6 months ago
license_test.go Support repo license (#24872) 6 months ago
main_test.go make writing main test easier (#27270) 2 years ago
migrate.go Support repo license (#24872) 6 months ago
push.go Fix broken releases when re-pushing tags (#32435) 5 months ago
repository.go Support repo license (#24872) 6 months ago
repository_test.go refactor some functions to support ctx as first parameter (#21878) 2 years ago
setting.go Fix an actions schedule bug (#28942) 1 year ago
template.go Move generate from module to service (#29465) 1 year ago
transfer.go Move AddCollabrator and CreateRepositoryByExample to service layer (#32419) 5 months ago
transfer_test.go Clarify permission "HasAccess" behavior (#30585) 11 months ago