gitea/models/user
Lunny Xiao 70327d6a92
Improve commits list performance to reduce unnecessary database queries (#33528)
When listing commits, Gitea attempts to retrieve the actual user based
on the commit email. Querying users one by one from the database is
inefficient. This PR optimizes the process by batch querying users by
email, reducing the number of database queries.
2025-02-14 00:05:55 -08:00
..
avatar_test.go Refactor user & avatar (#33433) 2025-01-30 07:33:50 +08:00
avatar.go Refactor user & avatar (#33433) 2025-01-30 07:33:50 +08:00
badge.go Add admin API route for managing user's badges (#23106) 2024-03-01 03:23:28 -05:00
block.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
email_address_test.go Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
email_address.go Support choose email when creating a commit via web UI (#33432) 2025-01-30 01:24:57 +00:00
error.go Remove unused KeyID. (#29167) 2024-02-14 12:50:10 -05:00
external_login_user.go allow synchronizing user status from OAuth2 login providers (#31572) 2024-07-16 20:33:16 +02:00
follow_test.go Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
follow.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
list.go Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
must_change_password.go Add command to bulk set must-change-password (#22823) 2023-02-14 16:12:19 -06:00
openid_test.go Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00
openid.go Refactor user package (#33423) 2025-01-29 01:14:35 +02:00
redirect_test.go Another round of db.DefaultContext refactor (#27103) 2023-09-25 13:17:37 +00:00
redirect.go Another round of db.DefaultContext refactor (#27103) 2023-09-25 13:17:37 +00:00
search.go Refactor pagination (#33037) 2024-12-30 01:57:38 +00:00
setting_keys.go Save initial signup information for users to aid in spam prevention (#31852) 2024-09-09 17:05:16 -04:00
setting_test.go Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
setting.go More refactoring of db.DefaultContext (#27083) 2023-09-15 06:13:19 +00:00
user_list.go Some small refactors (#33144) 2025-01-10 06:00:06 +00:00
user_system_test.go Refactor user & avatar (#33433) 2025-01-30 07:33:50 +08:00
user_system.go Add a option "--user-type bot" to admin user create, improve role display (#27885) 2025-02-07 08:41:55 +00:00
user_test.go Refactor user & avatar (#33433) 2025-01-30 07:33:50 +08:00
user_update.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
user.go Improve commits list performance to reduce unnecessary database queries (#33528) 2025-02-14 00:05:55 -08:00