aboutsummaryrefslogtreecommitdiffstats
path: root/modules/system
Commit message (Collapse)AuthorAgeFilesLines
* Replace more db.DefaultContext (#27628)Lunny Xiao2023-10-153-11/+16
| | | Target #27065
* make writing main test easier (#27270)Lunny Xiao2023-09-281-3/+1
| | | | | | | | | This PR removed `unittest.MainTest` the second parameter `TestOptions.GiteaRoot`. Now it detects the root directory by current working directory. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Implement FSFE REUSE for golang files (#21840)flynnnnnnnnnn2022-11-274-8/+4
| | | | | | | | | Change all license headers to comply with REUSE specification. Fix #16132 Co-authored-by: flynnnnnnnnnn <flynnnnnnnnnn@github> Co-authored-by: John Olheiser <john.olheiser@gmail.com>
* Fix dashboard ignored system setting cache (#21621)Lunny Xiao2022-11-102-80/+0
| | | | | | This is a performance regression from #18058 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Andrew Thornton <art27@cantab.net>
* Sync git hooks when config file path changed (#21619)Jason Song2022-10-281-1/+2
| | | | | | | | A patch to #17335. Just like AppPath, Gitea writes its own CustomConf into git hook scripts too. If Gitea's CustomConf changes, then the git push may fail. Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Add system setting table with cache and also add cache supports for user ↵Lunny Xiao2022-10-176-0/+223
setting (#18058)