26 Commits (main)

Author SHA1 Message Date
Kemal Zebari a9f2ea720b
Honor delete branch on merge repo setting when using merge API (#35488) 2 months ago
wxiaoguang 0cbaa0b662
Remove incorrect "db.DefaultContext" usages (#35366) 4 months ago
wxiaoguang 60246730b5
Remove wrong "git.DefaultContext" (#35364) 4 months ago
Lunny Xiao 51aafb4278
Fix bug when API get pull changed files for deleted head repository (#34333) 8 months ago
TheFox0x7 ee3c82f874
Enable addtional linters (#34085) 9 months ago
TheFox0x7 0fde8ecd55
Enable testifylint rules (#34075) 9 months ago
wxiaoguang 6422f05a4e
Decouple diff stats query from actual diffing (#33810) 10 months ago
TheFox0x7 cc1fdc84ca
Use test context in tests and new loop system in benchmarks (#33648) 10 months ago
TheFox0x7 33e8e82c4b
Enable tenv and testifylint rules (#32852) 1 year ago
Lunny Xiao fbe6d9dc6b
Use batch database operations instead of one by one to optimze api pulls (#32680) 1 year ago
Zettat123 fcedf634d5
Fix bug in getting merged pull request by commit (#32079) 1 year ago
yp05327 e0a408e6f3
Add permission check when creating PR (#31033) 1 year ago
yp05327 a50026e2f3
Fix no edit history after editing issue's title and content (#30814) 2 years ago
norohind ed02d1fab8
Fix PR creation via api between branches of same repo with head field namespaced (#26986) 2 years ago
qwerty287 65952417a8
Add API to get PR by base/head (#29242) 2 years ago
KN4CK3R 838db2f891
Convert to url auth to header auth in tests (#28484) 2 years ago
Jack Hay 18de83b2a3
Redesign Scoped Access Tokens (#24767) 3 years ago
KN4CK3R f1173d6879
Use more specific test methods (#24265) 3 years ago
wxiaoguang cfe3d6e9b5
Make more functions use ctx instead of db.DefaultContext (#24068) 3 years ago
Chongyi Zheng de484e86bc
Support scoped access tokens (#20908) 3 years ago
Chongyi Zheng 8698458f48
Remove deprecated packages & staticcheck fixes (#22012) 3 years ago
Lunny Xiao df676a47d0
Remove session in api tests (#21984) 3 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 3 years ago
KN4CK3R 044c754ea5
Add `context.Context` to more methods (#21546) 3 years ago
qwerty287 1dfa28ffa5
Add API endpoint to get changed files of a PR (#21177) 3 years ago
Kyle D c8ded77680
Kd/ci playwright go test (#20123) 3 years ago
Lunny Xiao 86c85c19b6
Refactor AssertExistsAndLoadBean to use generics (#20797) 3 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues (#19931) 4 years ago
KN4CK3R 3f280f89e7
Update HTTP status codes to modern codes (#18063) 4 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 4 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 4 years ago
wxiaoguang 81926d61db
Decouple unit test, remove intermediate `unittestbridge` package (#17662) 4 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 4 years ago
zeripath fa3895ce81
Move modules/forms to services/forms (#15305) 5 years ago
Norwin 658d1bfac8
API: fix set milestone on PR creation (#14981) 5 years ago
Lunny Xiao 6433ba0ec3
Move macaron to chi (#14293) 5 years ago
6543 5814079bf5
Add option to API to update PullRequest base branch (#11666) 6 years ago
zeripath 055f6d2296 Fix "data race" in testlogger (#9159) 6 years ago
Lunny Xiao 46a12f196b
Move change issue title from models to issue service package (#8456) 6 years ago
Lunny Xiao 34eee25bd4
Move sdk structs to modules/structs (#6905) 7 years ago
Lunny Xiao 9f18b23129 Fix 404 when send pull request some situation (#6871) 7 years ago
B-OnTheGo e47df0b301 Enforce token on api routes [fixed critical security issue #4357] (#4840) 7 years ago
Julien Tant 7781e8cef2 Disable merging a WIP Pull request (#4529) 7 years ago
Ethan Koenig f1adaef458 Less verbose integration tests (#2123) 9 years ago
Ethan Koenig eae9154811 Fix SQL bug in models.PullRequests 9 years ago