Commit Graph

92 Commits (b36e2ca4195298d2e4516e3022b953543f62f470)

Author SHA1 Message Date
6543 b2f828db5e
refactor: make db iterate context aware (#27710) 1 year ago
6543 e83f2cbbac
Add doctor dbconsistency fix to delete repos with no owner (#27290) 1 year ago
JakobDev ebe803e514
Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
JakobDev cc5df26680
Even more `db.DefaultContext` refactor (#27352) 1 year ago
6543 15fa0383fb
doctor: delete action entries without existing user (#27292) 1 year ago
Earl Warren 98f02203f9
fix orphan check for deleted branch (#27310) 1 year ago
JakobDev 7047df36d4
Another round of `db.DefaultContext` refactor (#27103) 1 year ago
KN4CK3R bcb78e70ca
Quote table `release` in sql queries (#27205) 1 year ago
JakobDev 76659b1114
Reduce usage of `db.DefaultContext` (#27073) 1 year ago
yp05327 60ca3d04a4
Add fix incorrect can_create_org_repo for org owner team (#26683) 1 year ago
harryzcy c5e187c389
Upgrade go dependencies (#25819) 1 year ago
6543 8995046110
Less naked returns (#25713) 1 year ago
wxiaoguang f0bde0e4f9
Simplify the LFS GC logger usage (#25717) 1 year ago
wxiaoguang 2cdf260f42
Refactor path & config system (#25330) 1 year ago
wxiaoguang 4647660776
Rewrite logger system (#24726) 2 years ago
Lunny Xiao 377a0a20f0
Merge setting.InitXXX into one function with options (#24389) 2 years ago
silverwind 47748df9b3
Enable forbidigo linter (#24278) 2 years ago
wxiaoguang 50a72e7a83
Use a general approach to access custom/static/builtin assets (#24022) 2 years ago
Zettat123 df411819eb
Check LFS/Packages settings in dump and doctor command (#23631) 2 years ago
FuXiaoHei cdc9e91750
add path prefix to ObjectStorage.Iterator (#23332) 2 years ago
Jason Song c84238800b
Refactor `setting.Database.UseXXX` to methods (#23354) 2 years ago
Lunny Xiao c53ad052d8
Refactor the setting to make unit test easier (#22405) 2 years ago
yp05327 bd66fa586a
Rename `repo.GetOwner` to `repo.LoadOwner` (#22967) 2 years ago
zeripath 2cc3a6381c
Add cron method to gc LFS MetaObjects (#22385) 2 years ago
zeripath 651fe4bb7d
Add doctor command for full GC of LFS (#21978) 2 years ago
Jason Song 0a85537c79
Support disabling database auto migration (#22053) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
KN4CK3R 044c754ea5
Add `context.Context` to more methods (#21546) 2 years ago
Gusted 20385b52a3
Prevent dangling user redirects (#21856) 2 years ago
zeripath c772934ff6
Adjust gitea doctor --run storages to check all storage types (#21785) 2 years ago
zeripath d9ba7f7442
Prevent panic in doctor command when running default checks (#21791) 2 years ago
Lunny Xiao 9a70a12a34
Merge db.Iterate and IterateObjects (#21641) 2 years ago
Clar Fon 76e9a4f701
Use right syntax for symbolic-ref command (#21577) 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
wxiaoguang dcd9fc7ee8
Refactor git command arguments and make all arguments to be safe to be used (#21535) 2 years ago
Clar Fon 42b803554c
Add HEAD fix to gitea doctor (#21352) 2 years ago
KN4CK3R 0e57ff7eee
Add generic set type (#21408) 2 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 2 years ago
wxiaoguang 11dc6df5be
Fix git.Init for doctor sub-command (#20782) 2 years ago
wxiaoguang 75d96f4a02
Refactor legacy git init (#20376) 2 years ago
luzpaz d29d6d1991
Fix various typos (#20338) 2 years ago
Gusted 91b21473a6
Add username check to doctor (#20140) 2 years ago
zeripath 2111741a48
Add doctor command to write commit-graphs (#20007) 2 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 2 years ago
Gusted 909fb6ad20
Backtick table name in generic orphan check (#20019) 2 years ago
zeripath dd1ed35f75
Add dbconsistency checks for Stopwatches (#20010) 2 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues (#19931) 2 years ago
Gusted 59fd864fad
Add breaking email restrictions checker in doctor (#19903) 2 years ago
Gusted 0e516949a4
Fix inconsistency in doctor output (#19836) 3 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago