forgejo-federation/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>
2023-09-14 17:09:32 +00:00
..
action.go Refactor dashboard/feed.tmpl (#26956) 2023-09-07 16:23:13 +02:00
action_list.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
action_test.go Bypass MariaDB performance bug of the "IN" sub-query, fix incorrect IssueIndex (#26279) 2023-08-07 12:23:59 +02:00
main_test.go move repository deletion to service layer (#26948) 2023-09-08 04:51:15 +00:00
notification.go Fix bug with sqlite load read (#26305) 2023-08-05 10:40:27 +08:00
notification_test.go Fix bug with sqlite load read (#26305) 2023-08-05 10:40:27 +08:00
repo_activity.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
statistic.go Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
user_heatmap.go Localize activity heatmap (except tooltip) (#24131) 2023-04-17 14:26:01 -04:00
user_heatmap_test.go Add pagination for dashboard and user activity feeds (#22937) 2023-02-24 16:15:10 -05:00