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.
gitea/models/activities
Timon van der Berg ebfde84529
Repo Activity: count new issues that were closed (#31776)
I'm new to go and contributing to gitea, your guidance is much
appreciated.

This is meant to solve https://github.com/go-gitea/gitea/issues/13309

Previously, closed issues would not be shown under new issues in the
activity tab, even if they were newly created.

changes:
* Split out newlyCreatedIssues from issuesForActivityStatement to count
  both currently open and closed issues.
* Use a seperate function to count active issues to prevent
double-counting issues after the above change.

Result is that new issues that have been closed are shown both under
"new" and "closed".

Signed-off-by: Timon van der Berg <tmnvanderberg@gmail.com>
5 months ago
..
action.go Improve get feed with pagination (#31821) 6 months ago
action_list.go Reduce unnecessary database queries on actions table (#30509) 10 months ago
action_test.go Refactor webhook (#31587) 8 months ago
main_test.go make writing main test easier (#27270) 1 year ago
notification.go Fix web notification icon not updated once you read all notifications (#31447) 8 months ago
notification_list.go Refactor more filterslice (#30370) 11 months ago
notification_test.go Use db.Find instead of writing methods for every object (#28084) 1 year ago
repo_activity.go Repo Activity: count new issues that were closed (#31776) 5 months ago
statistic.go Rename project board -> column to make the UI less confusing (#30170) 9 months ago
user_heatmap.go More `db.DefaultContext` refactor (#27265) 1 year ago
user_heatmap_test.go Refactor timeutil package (#28623) 1 year ago