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/models/activities
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
..
action.go Refactor dashboard/feed.tmpl (#26956) 10 months ago
action_list.go refactor some functions to support ctx as first parameter (#21878) 2 years ago
action_test.go Bypass MariaDB performance bug of the "IN" sub-query, fix incorrect IssueIndex (#26279) 11 months ago
main_test.go move repository deletion to service layer (#26948) 10 months ago
notification.go Fix bug with sqlite load read (#26305) 11 months ago
notification_test.go Fix bug with sqlite load read (#26305) 11 months ago
repo_activity.go Add context parameter to some database functions (#26055) 12 months ago
statistic.go Reduce usage of `db.DefaultContext` (#27073) 10 months ago
user_heatmap.go Localize activity heatmap (except tooltip) (#24131) 1 year ago
user_heatmap_test.go Add pagination for dashboard and user activity feeds (#22937) 1 year ago