forgejo/models/user
Lunny Xiao ebff0513db
Fix context cache bug & enable context cache for dashabord commits' authors (#26991)
Unfortunately, when a system setting hasn't been stored in the database,
it cannot be cached.
Meanwhile, this PR also uses context cache for push email avatar display
which should avoid to read user table via email address again and again.

According to my local test, this should reduce dashboard elapsed time
from 150ms -> 80ms .
2023-09-11 10:14:01 +00:00
..
avatar.go Fix context cache bug & enable context cache for dashabord commits' authors (#26991) 2023-09-11 10:14:01 +00:00
badge.go Remove most path-based golangci exclusions (#24214) 2023-04-19 22:08:01 -04:00
email_address.go Check blocklist for emails when adding them to account (#26812) 2023-08-30 10:46:49 -05:00
email_address_test.go
error.go Refactor rename user and rename organization (#24052) 2023-05-21 23:13:47 +08:00
external_login_user.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
follow.go
follow_test.go
list.go
main_test.go move repository deletion to service layer (#26948) 2023-09-08 04:51:15 +00:00
must_change_password.go
openid.go
openid_test.go
redirect.go Fix bug when change user name (#25637) 2023-07-03 12:05:59 +02:00
redirect_test.go
search.go Add login name and source id for admin user searching API (#23376) 2023-03-15 19:53:01 +08:00
setting.go Add Debian package registry (#24426) 2023-05-02 12:31:35 -04:00
setting_keys.go Show outdated comments in files changed tab (#24936) 2023-06-21 16:08:12 +00:00
setting_test.go
user.go Fix API leaking Usermail if not logged in (#25097) 2023-07-31 01:18:38 +00:00
user_system.go
user_test.go Only validate changed columns when update user (#24867) 2023-05-24 07:30:55 +00:00
user_update.go