Commit Graph

81 Commits (df9612bb535c0f2b4540641ce2fba2c3d65de284)

Author SHA1 Message Date
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
Jimmy Praet 78118a3b02
Add checkbox to delete pull branch after successful merge (#16049) 3 years ago
Jimmy Praet 06f483d0c4
Append to existing trailers in generated squash commit message (#15980) 3 years ago
Viktor Yakovchuk 08f4b3f312
Fix 500 Error with branch and tag sharing the same name #15592 (#16040) 3 years ago
parnic 35742d4af7
Reintroduce squash merge default comment as a config setting (#16134) 3 years ago
6543 1cd301796c
Only log Error on getLastCommitStatus error to let pull list still be visible (#15716) 4 years ago
Lunny Xiao 8202dd1311
Performance improvement for list pull requests (#15447) 4 years ago
zeripath f0e15250b9
Migrate to use jsoniter instead of encoding/json (#14841) 4 years ago
zeripath 59fd641d1f
When Deleting Repository only explicitly close PRs whose base is not this repository (#14823) 4 years ago
6543 0d1444751f
[API] Add pagination to ListBranches (#14524) 4 years ago
Jimmy Praet 4d9349123f
label and milestone webhooks on issue/pull creation (#14363) 4 years ago
Lunny Xiao 3c96a37162
Some code improvements (#14266) 4 years ago
Jimmy Praet e6acce649b
Send notifications for mentions in pulls, issues, (code-)comments (#14218) 4 years ago
6543 a19447aed1
migrate from com.* to alternatives (#14103) 4 years ago
Mura Li 09304db9a5
Use the text of pull-request as the squash commit's message (#13071) 4 years ago
Cirno the Strongest f3c4baa84b
Show dropdown with all statuses for commit (#13977) 4 years ago
Cirno the Strongest efa9a8a6e3
Show status check for merged PRs (#13975) 4 years ago
6543 e483220ea3
[Refactor] CombinedStatus and CommitStatus related functions & structs (#14026) 4 years ago
John Olheiser 979fbe086c
Increment skip to avoid infini-loop (#13703) 4 years ago
Jimmy Praet 03fa2eccbc
Use chronological commit order in default squash message (#13661) (#13696) 4 years ago
赵智超 dfa7291f8f
[Enhancement] Allow admin to merge pr with protected file changes (#12078) 4 years ago
zeripath 342e49e325
Stop cloning unnecessarily on PR update (#12839) 4 years ago