Commit Graph

18 Commits (d351a42494e71b5e2da63302c2f9b46c78e6dbde)

Author SHA1 Message Date
wxiaoguang cdb4d1a8db
Refactor StringsToInt64s (#29967) 8 months ago
qwerty287 0a426cc575
Add API to get merged PR of a commit (#29243) 9 months ago
JakobDev ebe803e514
Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
JakobDev c548dde205
More refactoring of `db.DefaultContext` (#27083) 1 year ago
Nanguan Lin da50be7360
Replace 'userxx' with 'orgxx' in all test files when the user type is org (#27052) 1 year ago
Lunny Xiao e3ed67859a
Move some functions to service layer (#26969) 1 year ago
Lunny Xiao 36eb3c433a
Add transaction when creating pull request created dirty data (#26259) 1 year ago
Lunny Xiao b167f35113
Add context parameter to some database functions (#26055) 1 year ago
Cory Todd 179704695c
Fix duplicate Reviewed-by trailers (#24796) 1 year ago
Vladimir Buyanov 3bdd48016f
Add codeowners feature (#24910) 1 year ago
谈笑风生间 309354c70e
New webhook trigger for receiving Pull Request review requests (#24481) 2 years ago
sillyguodong e962ade99c
Refresh the refernce of the closed PR when reopening (#24231) 2 years ago
KN4CK3R f1173d6879
Use more specific test methods (#24265) 2 years ago
sillyguodong 2f49b55c19
Fix cannot reopen after pushing commits to a closed PR (#23189) 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
Lunny Xiao 86c85c19b6
Refactor AssertExistsAndLoadBean to use generics (#20797) 2 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues (#19931) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
Lunny Xiao 4344a64107
Allow custom default merge message with .gitea/default_merge_message/<merge_style>_TEMPLATE.md (#18177) 3 years ago
6543 92f139d091
Use for a repo action one database transaction (#19576) 3 years ago
6543 06e4687cec
more context for models (#19511) 3 years ago
6543 9c349a4277
Move checks for pulls before merge into own function (#19271) 3 years ago
a1012112796 637c3ec5d8
Don't delete branch if other PRs with this branch are open (#18164) 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
wxiaoguang 750a8465f5
A better go code formatter, and now `make fmt` can run in Windows (#17684) 3 years ago
wxiaoguang 81926d61db
Decouple unit test, remove intermediate `unittestbridge` package (#17662) 3 years ago
wxiaoguang df64fa4865
Decouple unit test code from business code (#17623) 3 years ago
Lunny Xiao 99b2858e62
Move unit into models/unit/ (#17576) 3 years ago
pricly-yellow 20eaca6d05
Fix stange behavior of DownloadPullDiffOrPatch in incorect index (#17223) 3 years ago
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 years ago
a1012112796 3705168837
Add agit flow support in gitea (#14295) 3 years ago
Steven 864e656d81
Display conflict-free merge messages for pull requests (#15773) 4 years ago
Lunny Xiao 5abe1c52de
Display pull request head branch even the branch deleted or repository deleted (#10413) 5 years ago
SpaWn2KiLl 1f01f53c53 API add/generalize pagination (#9452) 5 years ago
6543 36943e56d6 Add "Update Branch" button to Pull Requests (#9784) 5 years ago
Lunny Xiao 384c2b342e
Move pull request api convert to convert package (#9664) 5 years ago
Lunny Xiao 8878cfa4a1
Fix lint (#9688) 5 years ago
Lunny Xiao ce2d488c94 Move PushToBaseRepo from models to services/pull (#9352) 5 years ago
zeripath 74179d1b5e Remove SavePatch and generate patches on the fly (#9302) 5 years ago
Lunny Xiao 82e0383d21 Move some pull request functions from models to services (#9266) 5 years ago
Lunny Xiao 945f121262
Fix bug on pull requests when transfer head repository (#8564) 5 years ago
quantonganh ff85a6331e only return head: null if source branch was deleted (#6705) 5 years ago
kolaente f9ec2f89f2 Add golangci (#6418) 6 years ago
Julien Tant 7781e8cef2 Disable merging a WIP Pull request (#4529) 6 years ago
Ethan Koenig b496e3e1cc Fix unit test race condition (#2516) 7 years ago
Morlinest 8e61823ec4 Fix tests code to prevent some runtime errors (#2381) 7 years ago
Ethan Koenig ceae143e78 Consistency checks for unit tests (#853) 8 years ago