Commit Graph

152 Commits (58c634b8549fb279aec72cecd6a48511803db067)

Author SHA1 Message Date
6543 06e4687cec
more context for models (#19511) 3 years ago
Lunny Xiao 1dfa26e00e
Move milestone to models/issues/ (#19278) 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
6543 3e88af898a
Make git.OpenRepository accept Context (#19260) 3 years ago
Lunny Xiao b06b9a056c
Move organization related structs into sub package (#18518) 3 years ago
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 3 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 3 years ago
zeripath 393ea86ae1
Always set PullRequestWorkInProgressPrefixes in PrepareViewPullInfo (#18713) 3 years ago
6543 3043eb36bf
Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 3 years ago
zeripath 089b4e6a45
Use indirect comparison when showing pull requests (#18313) 3 years ago
wxiaoguang a38ba634a4
Load EasyMDE/CodeMirror dynamically, remove RequireEasyMDE (#18069) 3 years ago
a1012112796 637c3ec5d8
Don't delete branch if other PRs with this branch are open (#18164) 3 years ago
Gusted 650a50a7ba
Remove unused route "/tasks/trigger" (#18160) 3 years ago
zeripath ffc08c1914
Do not read or write git reference files directly (#18079) 3 years ago
99rgosse e0cf3d86c4
Migrated Repository will show modifications when possible (#17191) 3 years ago
zeripath e4e411821d
Abort merge if head has been updated before pressing merge (#18032) 3 years ago
wxiaoguang 4da1d97810
Refactor HTTP request context (#17979) 3 years ago
qwerty287 9d943bf374
Add missing `X-Total-Count` and fix some related bugs (#17968) 3 years ago
Lunny Xiao 5723240490
Some repository refactors (#17950) 3 years ago
wxiaoguang 0a9fcf63a4
Clean legacy SimpleMDE code (#17926) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
zeripath 01087e9eef
Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 3 years ago
qwerty287 e0f81b4ef4
Allow forks to org if you can create repos (#17783) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
Lunny Xiao baed01f247
Remove unnecessary attributes of User struct (#17745) 3 years ago
zeripath 8511eec4d4
Allow Loading of Diffs that are too large (#17739) 3 years ago
Lunny Xiao 7a03473159
Use a standalone struct name for Organization (#17632) 3 years ago
zeripath bbffcc3aec
Multiple Escaping Improvements (#17551) 3 years ago
Lunny Xiao 99b2858e62
Move unit into models/unit/ (#17576) 3 years ago
zeripath a889d0cc8c
Add buttons to allow loading of incomplete diffs (#16829) 3 years ago
pricly-yellow 20eaca6d05
Fix stange behavior of DownloadPullDiffOrPatch in incorect index (#17223) 3 years ago
zeripath 206ea10b45
Prevent NPE on invalid diff (#17197) 3 years ago
Norwin f48dce3176
Don't return binary file changes in raw PR diffs by default (#17158) 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 eb0330a3fe
Ensure that rebase conflicts are handled in updates (#16952) 3 years ago
a1012112796 cbf05c3f79
Add option to update pull request by `rebase` (#16125) 3 years ago
6543 d21702475b
Fix git.Blob.DataAsync(): close pipe since we return a NopCloser (#16899) 3 years ago
6543 bb4cc876b1
Repare and Improve GetDiffRangeWithWhitespaceBehavior (#16894) 3 years ago
Kyle Evans cad70599a6
Refactor the fork service slightly to take ForkRepoOptions (#16744) 3 years ago
6543 c4d70a0325
Rename ctx.Form() to ctx.FormString() and move code into own file (#16571) 3 years ago
KN4CK3R d9ef43a712
Replace `list.List` with slices (#16311) 3 years ago
Marty 4e68d6f41d
Show correct text when comparing commits on empty pull request (#16569) 3 years ago
Lunny Xiao 33e0b38287
Rename context.Query to context.Form (#16562) 3 years ago
a1012112796 3705168837
Add agit flow support in gitea (#14295) 3 years ago
zeripath fd15fd4c67
Handle too long PR titles correctly (#16517) 3 years ago
Jimmy Praet 78118a3b02
Add checkbox to delete pull branch after successful merge (#16049) 3 years ago