gitea/models/repo
Lunny Xiao dfd511faf3
Fix comment permissions () ()
backport  

This PR will fix some missed checks for private repositories' data on
web routes and API routes.
..
archiver.go Display when a repo was archived ()
attachment.go For API attachments, use API URL () ()
attachment_test.go Implement FSFE REUSE for golang files ()
avatar.go Add context cache as a request level cache ()
collaboration.go Always reuse transaction ()
collaboration_test.go Add unit test for repository collaboration () ()
fork.go Implement FSFE REUSE for golang files ()
fork_test.go refactor some functions to support ctx as first parameter ()
git.go Avoid amending the Rebase and Fast-forward merge if there is no message template () ()
issue.go Rename almost all Ctx functions ()
language_stats.go Round language stats percentage using largest remainder ()
main_test.go Implement FSFE REUSE for golang files ()
mirror.go Replace `interface{}` with `any` () ()
pushmirror.go Replace `interface{}` with `any` () ()
pushmirror_test.go Replace `interface{}` with `any` () ()
redirect.go Implement FSFE REUSE for golang files ()
redirect_test.go Implement FSFE REUSE for golang files ()
release.go Fix comment permissions () ()
repo.go Rewrite logger system ()
repo_indexer.go Implement FSFE REUSE for golang files ()
repo_list.go Restricted users only see repos in orgs which their team was assigned to () ()
repo_list_test.go fix calReleaseNumCommitsBehind ()
repo_test.go Set repository link based on the url in package.json for npm packages ()
repo_unit.go Pull Requests: setting to allow edits by maintainers by default, tweak UI ()
search.go Split "modules/context.go" to separate files ()
star.go Remove stars when repo goes private ()
star_test.go Remove stars when repo goes private ()
topic.go Fix the topic validation rule and suport dots () ()
topic_test.go Fix the topic validation rule and suport dots () ()
update.go Fix unclear `IsRepositoryExist` logic ()
upload.go Implement FSFE REUSE for golang files ()
user_repo.go Refactor authors dropdown (send get request from frontend to avoid long wait time) ()
user_repo_test.go Implement FSFE REUSE for golang files ()
watch.go Implement FSFE REUSE for golang files ()
watch_test.go Implement FSFE REUSE for golang files ()
wiki.go Implement FSFE REUSE for golang files ()
wiki_test.go Implement FSFE REUSE for golang files ()