Commit Graph

82 Commits (4f513474dce9788bead4799fefe2ed2fdfa75213)

Author SHA1 Message Date
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
silentcodeg 63f6e6c0bd
[doctor] pq: syntax error at or near "." quote user table name (#19765) 3 years ago
silentcodeg c27268db21
[doctor] do not update User Stars numbers unless --fix (#19750) 3 years ago
silentcodeg 6a052fba05
[doctor] explain what enable-push-options does (#19740) 3 years ago
silentcodeg e82db15cfa
Add doctor orphan check for orphaned pull requests without an existing base repo (#19731) 3 years ago
6543 f41c2bec4c
Delete user related oauth stuff on user deletion too (#19677) 3 years ago
singuliere 443675d180
[doctor] Add check/fix for bogus action rows (#19656) 3 years ago
Pilou ebb23967dc
[doctor] authorized-keys: fix displayed check name (#19464) 3 years ago
wxiaoguang 124b072f0b
Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 3 years ago
6543 3e88af898a
Make git.OpenRepository accept Context (#19260) 3 years ago
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 3 years ago