forgejo/models/activities
Lunny Xiao d996c5d517
Some performance optimization on dashboard and issues page (#29010)
This PR do some loading speed optimization for feeds user interface
pages.
- Load action users batchly but not one by one.
- Load action repositories batchly but not one by one.
- Load action's Repo Owners batchly but not one by one.
- Load action's possible issues batchly but not one by one.
- Load action's possible comments batchly but not one by one.

(cherry picked from commit aed3b53abdd02a3ffbf9e8eb90272ff567333073)
2024-03-20 08:46:28 +01:00
..
action.go Some performance optimization on dashboard and issues page (#29010) 2024-03-20 08:46:28 +01:00
action_list.go Some performance optimization on dashboard and issues page (#29010) 2024-03-20 08:46:28 +01:00
action_test.go More db.DefaultContext refactor (#27265) 2023-09-29 12:12:54 +00:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
notification.go [MODERATION] User blocking 2024-02-05 15:56:45 +01:00
notification_test.go Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +00:00
repo_activity.go Simplify how git repositories are opened (#28937) 2024-01-27 21:09:51 +01:00
statistic.go Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +00:00
user_heatmap.go More db.DefaultContext refactor (#27265) 2023-09-29 12:12:54 +00:00
user_heatmap_test.go Refactor timeutil package (#28623) 2023-12-28 10:09:57 +00:00