Commit Graph

64 Commits (031f5f7b7ceb57283171f7654798fad54873e03f)

Author SHA1 Message Date
Lunny Xiao 1a9821f57a
Move issues related files into models/issues (#19931) 3 years ago
Lunny Xiao 110fc57cbc
Move some code into models/git (#19879) 3 years ago
6543 a9cc9c0f7a
Auto merge pull requests when all checks succeeded via WebUI (#19648) 3 years ago
Lunny Xiao 26095115f4
Move some repository related code into sub package (#19711) 3 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
Lunny Xiao 4344a64107
Allow custom default merge message with .gitea/default_merge_message/<merge_style>_TEMPLATE.md (#18177) 3 years ago
delvh 5ca224a789
Allow to mark files in a PR as viewed (#19007) 3 years ago
Gusted 0eac09e066
Improve reviewing PR UX (#19612) 3 years ago
wxiaoguang 7b089c465d
Remove `RequireHighlightJS` field, update plantuml example. (#19615) 3 years ago
6543 92f139d091
Use for a repo action one database transaction (#19576) 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
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