Commit Graph

31 Commits (1b1658d8875e42f0c5130ddfe9c7339e10bf5c20)

Author SHA1 Message Date
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) 3 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) 5 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
Lunny Xiao bb5a6b7a07 fix xorm NewSession uncorrected usages (#774) 8 years ago
Ethan Koenig 8093b3372e Less boilerplate in models/ unit tests (#725) 8 years ago
Ethan Koenig 973282dae2 Better coverage in pull_test (#615) 8 years ago
Ethan Koenig 72bfabfada Unit tests for models/pull.go 8 years ago