Commit Graph

22 Commits (02efd990102481e8d6bd577d4feb874187a00182)

Author SHA1 Message Date
Lunny Xiao b167f35113
Add context parameter to some database functions (#26055) 1 year ago
Lunny Xiao f9cfd6ce5b
Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 2 years ago
techknowlogick 03591f0f95
add user rename endpoint to admin api (#22789) 2 years ago
Lunny Xiao 68704532c2
Rename almost all Ctx functions (#22071) 2 years ago
Lunny Xiao 0a7d3ff786
refactor some functions to support ctx as first parameter (#21878) 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
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
Wim cb50375e2b
Add more linters to improve code readability (#19989) 2 years ago
Lunny Xiao 27ba86d283
move agit dependcy (#19998) 2 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues (#19931) 2 years ago
zeripath d002e3da00
Fix spelling mistake in ProcReceive (#19853) 3 years ago
6543 06e4687cec
more context for models (#19511) 3 years ago
wxiaoguang 124b072f0b
Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 3 years ago
6543 3043eb36bf
Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 3 years ago
luzpaz 8c647bf0f6
Fix various typos (#18219) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
a1012112796 358555f72c
Return correct error response for agit force-push (#16989) 3 years ago
Lunny Xiao 74d75eb69c
Fix spelling of HookProcReceiveResult (#16690) 3 years ago
a1012112796 3705168837
Add agit flow support in gitea (#14295) 3 years ago