Commit Graph

102 Commits (c207b94e0c99080fe7f43c3049469883fe4dde15)

Author SHA1 Message Date
sillyguodong e962ade99c
Refresh the refernce of the closed PR when reopening (#24231) 2 years ago
wxiaoguang cfe3d6e9b5
Make more functions use ctx instead of db.DefaultContext (#24068) 2 years ago
sillyguodong 35cb786ca1
[Patch] Fix closed PR also triggers Webhooks and actions (#23782) 2 years ago
sillyguodong 0d7cf7b768
Disable sending email after push a commit to a closed PR (#23462) 2 years ago
Brecht Van Lommel d647e74502
Improve squash merge commit author and co-author with private emails (#22977) 2 years ago
zeripath 8598356df1
Refactor and tidy-up the merge/update branch code (#22568) 2 years ago
sillyguodong 2f49b55c19
Fix cannot reopen after pushing commits to a closed PR (#23189) 2 years ago
Jason Song c18a62279a
Fix time to NotifyPullRequestSynchronized (#22650) 2 years ago
Lunny Xiao 4e946e5a7d
Small refactor for loading PRs (#22652) 2 years ago
zeripath 78e6b21c1a
Improve checkIfPRContentChanged (#22611) 2 years ago
Brecht Van Lommel c8139c0f64
Webhooks: for issue close/reopen action, add commit ID that caused it (#22583) 2 years ago
Lunny Xiao db2286bbb6
some refactor about code comments (#20821) 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
KN4CK3R 0e57ff7eee
Add generic set type (#21408) 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 4ca1d7547a
Move some helper files out of models (#19355) 3 years ago
kolaente 59b30f060a
Auto merge pull requests when all checks succeeded via API (#9307) 3 years ago
6543 f034ee6cf0
PullService lock via pullID (#19520) 3 years ago
6543 06e4687cec
more context for models (#19511) 3 years ago
parnic cdab46220d
Add commit status popup to issuelist (#19375) 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
Lunny Xiao 74731c3a5a
Move some issue methods as functions (#19255) 3 years ago
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 3 years ago
6543 3043eb36bf
Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 3 years ago
qwerty287 1f40933d38
Add config options to hide issue events (#17414) 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 3 years ago
zeripath 4a20eadfd7
Restore propagation of ErrDependenciesLeft (#18325) 3 years ago
zeripath 089b4e6a45
Use indirect comparison when showing pull requests (#18313) 3 years ago
zeripath 8354670708
Prevent hang in git cat-file if repository is not a valid repository and other fixes (#17991) 3 years ago
qwerty287 9d943bf374
Add missing `X-Total-Count` and fix some related bugs (#17968) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
mscherer 34b5436ae1
Refactor various strings (#17784) 3 years ago
zeripath 01087e9eef
Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
zeripath a889d0cc8c
Add buttons to allow loading of incomplete diffs (#16829) 3 years ago
zeripath 920608e592
Support direct comparison (git diff a..b) as well merge comparison (a...b) (#16635) 3 years ago
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 3 years ago
zeripath 9302eba971
DBContext is just a Context (#17100) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 years ago
KN4CK3R d9ef43a712
Replace `list.List` with slices (#16311) 3 years ago
a1012112796 3705168837
Add agit flow support in gitea (#14295) 3 years ago
Lunny Xiao 9f31f3aa8a
Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago