Commit Graph

114 Commits (7854c447d920334e941f43d00622592a0869ef0d)

Author SHA1 Message Date
Lunny Xiao 1a9821f57a
Move issues related files into models/issues (#19931) 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
6543 6a969681cd
Delete related PullAutoMerge and ReviewState on User/Repo Deletion (#19649) 3 years ago
Lunny Xiao 4344a64107
Allow custom default merge message with .gitea/default_merge_message/<merge_style>_TEMPLATE.md (#18177) 3 years ago
kolaente 59b30f060a
Auto merge pull requests when all checks succeeded via API (#9307) 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
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 74731c3a5a
Move some issue methods as functions (#19255) 3 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 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
a1012112796 637c3ec5d8
Don't delete branch if other PRs with this branch are open (#18164) 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
Lunny Xiao 5723240490
Some repository refactors (#17950) 3 years ago
Lunny Xiao 3ca5dc7e32
Move keys to models/asymkey (#17917) 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 baed01f247
Remove unnecessary attributes of User struct (#17745) 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 4afdb1eb78
API pull's head/base have correct permission (#17214) 3 years ago
Norwin 1f45b3a629
API: don't allow merged PRs to be reopened (#17192) 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
qwerty287 0fa153f421
Merge endpoints for pull diff/patch (#17104) 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 2289580bb7
[API] generalize list header (#16551) 3 years ago
KN4CK3R d9ef43a712
Replace `list.List` with slices (#16311) 3 years ago
zeripath 19e2c6a302
Set AllowedHeaders on API CORS handler (#16524) 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
Jimmy Praet 78118a3b02
Add checkbox to delete pull branch after successful merge (#16049) 3 years ago
sebastian-sauer 92328a3394
Add API to get commits of PR (#16300) 3 years ago
6543 9c4601bdf8
Code Formats, Nits & Unused Func/Var deletions (#15286) 4 years ago
zeripath fa3895ce81
Move modules/forms to services/forms (#15305) 4 years ago
Norwin 658d1bfac8
API: fix set milestone on PR creation (#14981) 4 years ago
a1012112796 a5279b74b6
Make manual merge autodetection optional and add manual merge as merge method (#12543) 4 years ago
Lunny Xiao 6433ba0ec3
Move macaron to chi (#14293) 4 years ago
M4RKUS-11111 ff1b00002a
Deny wrong pull (#13308) 4 years ago
赵智超 dfa7291f8f
[Enhancement] Allow admin to merge pr with protected file changes (#12078) 4 years ago
赵智超 fec1521555
Not using "ctx.ServerError" in api (#12907) 4 years ago
zeripath a5440fcb1e
Report error if API merge is not allowed (#12528) 4 years ago