Commit Graph

24 Commits (14dc00ae01c35ad51a3982a5725777bbeabe2b78)

Author SHA1 Message Date
delvh 778ad795fd
Refactor deletion (#28610) 11 months ago
Lunny Xiao dd30d9d5c0
Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods (#28220) 11 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
Lunny Xiao cddf245c12
Replace more db.DefaultContext (#27628) 1 year ago
wxiaoguang 9f8d59858a
Refactor system setting (#27000) 1 year ago
JakobDev cc5df26680
Even more `db.DefaultContext` refactor (#27352) 1 year ago
Lunny Xiao 673cf6af76
make writing main test easier (#27270) 1 year ago
JakobDev 7047df36d4
Another round of `db.DefaultContext` refactor (#27103) 1 year ago
Lunny Xiao ebff0513db
Fix context cache bug & enable context cache for dashabord commits' authors (#26991) 1 year ago
Lunny Xiao 4f32abaf94
move repository deletion to service layer (#26948) 1 year ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 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