Commit Graph

17 Commits (c28bed27af82b664df943e5fd3d9bd07fb2f2b77)

Author SHA1 Message Date
Lunny Xiao dd30d9d5c0
Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods (#28220) 12 months ago
wxiaoguang a6aed0fee6
Increase "version" when update the setting value to a same value as before (#28243) 12 months ago
wxiaoguang fce1d5d7dc
Fix system config cache expiration timing (#28072) 1 year ago
wxiaoguang 9f8d59858a
Refactor system setting (#27000) 1 year ago
Lunny Xiao ebff0513db
Fix context cache bug & enable context cache for dashabord commits' authors (#26991) 1 year ago
Lunny Xiao 91fa0eb9d7
Avoid warning for system setting when start up (#23054) 2 years ago
Lunny Xiao bd820aa9c5
Add context cache as a request level cache (#22294) 2 years ago
Jason Song 21c91b7dff
Set disable_gravatar/enable_federated_avatar when offline mode is true (#22479) 2 years ago
Lunny Xiao dfd2db5695
Fix set system setting failure once it cached (#22333) 2 years ago
Lunny Xiao fdbb0b4762
fix gravatar disable bug (#22336) 2 years ago
Lunny Xiao a1c30740bb
Fix get system setting bug when enabled redis cache (#22295) 2 years ago
Lunny Xiao 9c8fc7f677
Fix bug of DisableGravatar default value (#22296) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
Lunny Xiao 34283a74e8
Allow detect whether it's in a database transaction for a context.Context (#21756) 2 years ago
Lunny Xiao 385462d36c
Fix dashboard ignored system setting cache (#21621) 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
Lunny Xiao f860a6d2e4
Add system setting table with cache and also add cache supports for user setting (#18058) 2 years ago