forgejo/models/activities
Lunny Xiao 1bf5527eac
Refactor Find Sources and fix bug when view a user who belongs to an unactive auth source ()
The steps to reproduce it.

First, create a new oauth2 source.
Then, a user login with this oauth2 source.
Disable the oauth2 source.
Visit users -> settings -> security, 500 will be displayed.
This is because this page only load active Oauth2 sources but not all
Oauth2 sources.
2023-11-03 01:41:00 +00:00
..
action.go Upgrade to golangci-lint@v1.55.0 () 2023-10-24 02:54:59 +00:00
action_list.go refactor some functions to support ctx as first parameter () 2022-12-03 10:48:26 +08:00
action_test.go More db.DefaultContext refactor () 2023-09-29 12:12:54 +00:00
main_test.go make writing main test easier () 2023-09-28 01:38:53 +00:00
notification.go More db.DefaultContext refactor () 2023-09-29 12:12:54 +00:00
notification_test.go More db.DefaultContext refactor () 2023-09-29 12:12:54 +00:00
repo_activity.go Quote table release in sql queries () 2023-09-23 12:57:39 +00:00
statistic.go Refactor Find Sources and fix bug when view a user who belongs to an unactive auth source () 2023-11-03 01:41:00 +00:00
user_heatmap.go More db.DefaultContext refactor () 2023-09-29 12:12:54 +00:00
user_heatmap_test.go Another round of db.DefaultContext refactor () 2023-09-25 13:17:37 +00:00