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.
forgejo/models/user
Lunny Xiao a1c30740bb
Fix get system setting bug when enabled redis cache (#22295)
Fix #22281

In #21621 , `Get[V]` and `Set[V]` has been introduced, so that cache
value will be `*Setting`. For memory cache it's OK. But for redis cache,
it can only store `string` for the current implementation. This PR
revert some of changes of that and just store or return a `string` for
system setting.
2 years ago
..
avatar.go Fix get system setting bug when enabled redis cache (#22295) 2 years ago
badge.go Implement FSFE REUSE for golang files (#21840) 2 years ago
email_address.go Use ErrInvalidArgument in packages (#22268) 2 years ago
email_address_test.go refactor some functions to support ctx as first parameter (#21878) 2 years ago
error.go Implement FSFE REUSE for golang files (#21840) 2 years ago
external_login_user.go Implement FSFE REUSE for golang files (#21840) 2 years ago
follow.go Implement FSFE REUSE for golang files (#21840) 2 years ago
follow_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
list.go Implement FSFE REUSE for golang files (#21840) 2 years ago
main_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
openid.go Use ErrInvalidArgument in packages (#22268) 2 years ago
openid_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
redirect.go Implement FSFE REUSE for golang files (#21840) 2 years ago
redirect_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
search.go Implement FSFE REUSE for golang files (#21840) 2 years ago
setting.go Fix get system setting bug when enabled redis cache (#22295) 2 years ago
setting_keys.go Implement FSFE REUSE for golang files (#21840) 2 years ago
setting_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
user.go Add option to prohibit fork if user reached maximum limit of repositories (#21848) 2 years ago
user_test.go refactor some functions to support ctx as first parameter (#21878) 2 years ago
user_update.go Implement FSFE REUSE for golang files (#21840) 2 years ago