Commit Graph

29 Commits (3af2c8e4ab4dca53a16ead9940a0ac4752072045)

Author SHA1 Message Date
wxiaoguang f4538791f5
Refactor internal API for git commands, use meaningful messages instead of "Internal Server Error" (#23687) 2 years ago
Jason Song 4011821c94
Implement actions (#21937) 2 years ago
Lunny Xiao 2782c14396
Supports wildcard protected branch (#20825) 2 years ago
Jason Song 7adc2de464
Use context parameter in models/git (#22367) 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
wxiaoguang dcd9fc7ee8
Refactor git command arguments and make all arguments to be safe to be used (#21535) 2 years ago
Gusted 9eb6c4a0df
Add missing parameter for error in log message (#20144) 2 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 2 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues (#19931) 2 years ago
Lunny Xiao 110fc57cbc
Move some code into models/git (#19879) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
Lunny Xiao cbd45471b1
Move access and repo permission to models/perm/access (#19350) 3 years ago
6543 92f139d091
Use for a repo action one database transaction (#19576) 3 years ago
6543 d8905cb623
Dont overwrite err with nil & rename PullCheckingFuncs to reflect there usage (#19572) 3 years ago
qwerty287 8eb1cd9264
Add "Allow edits from maintainer" feature (#18002) 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 9c349a4277
Move checks for pulls before merge into own function (#19271) 3 years ago
wxiaoguang 2b55422cd7
Fix the bug: deploy key with write access can not push (#19010) 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
wxiaoguang 4da1d97810
Refactor HTTP request context (#17979) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
Lunny Xiao 99b2858e62
Move unit into models/unit/ (#17576) 3 years ago
zeripath 8de44d1995
Clean-up HookPreReceive and restore functionality for pushing non-standard refs (#16705) 3 years ago