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.
forgejo/services/convert
JakobDev 76659b1114
Reduce usage of `db.DefaultContext` (#27073)
Part of #27065

This reduces the usage of `db.DefaultContext`. I think I've got enough
files for the first PR. When this is merged, I will continue working on
this.

Considering how many files this PR affect, I hope it won't take to long
to merge, so I don't end up in the merge conflict hell.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
10 months ago
..
activity.go For API attachments, use API URL (#25639) 12 months ago
attachment.go For API attachments, use API URL (#25639) 12 months ago
convert.go Reduce usage of `db.DefaultContext` (#27073) 10 months ago
git_commit.go Add file status for API "Get a single commit from a repository" (#16205) (#25831) 12 months ago
git_commit_test.go Move `convert` package to services (#22264) 2 years ago
issue.go Allow to archive labels (#26478) 11 months ago
issue_comment.go Add context parameter to some database functions (#26055) 11 months ago
issue_test.go Move `convert` package to services (#22264) 2 years ago
main_test.go move repository deletion to service layer (#26948) 10 months ago
mirror.go Fix SyncOnCommit always return false in API of push_mirrors (#23088) 1 year ago
notification.go Fix `Permission` in API returned repository struct (#25388) 1 year ago
package.go Fix `Permission` in API returned repository struct (#25388) 1 year ago
pull.go Fix `Permission` in API returned repository struct (#25388) 1 year ago
pull_review.go Add context cache as a request level cache (#22294) 1 year ago
pull_test.go Fix `Permission` in API returned repository struct (#25388) 1 year ago
release.go add Upload URL to release API (#26663) 10 months ago
release_test.go add Upload URL to release API (#26663) 10 months ago
repository.go Fix `Permission` in API returned repository struct (#25388) 1 year ago
secret.go feat: implement organization secret creation API (#26566) 10 months ago
status.go refactor improve NoBetterThan (#26126) 11 months ago
user.go Fix API leaking Usermail if not logged in (#25097) 11 months ago
user_test.go Add context cache as a request level cache (#22294) 1 year ago
utils.go Move `convert` package to services (#22264) 2 years ago
utils_test.go Rewrite queue (#24505) 1 year ago
wiki.go Make wiki title supports dashes and improve wiki name related features (#24143) 1 year ago