21 Commits (main)

Author SHA1 Message Date
Lunny Xiao a440116a16
Support updating branch via API (#35951) 1 week ago
Lunny Xiao 5454fdacd4
Use git model to detect whether branch exist instead of gitrepo method (#35459) 2 months ago
Michal Suchánek ea96ff6b0c
Rename UpdateBranch API to RenameBranch API (#35374) 4 months ago
wxiaoguang 0cbaa0b662
Remove incorrect "db.DefaultContext" usages (#35366) 4 months ago
Lunny Xiao c27d87a9ac
Refactor Branch struct in package modules/git (#33980) 9 months ago
TheFox0x7 0fde8ecd55
Enable testifylint rules (#34075) 9 months ago
Kemal Zebari 2483a93fbc
Only allow admins to rename default/protected branches (#33276) 11 months ago
TheFox0x7 33e8e82c4b
Enable tenv and testifylint rules (#32852) 1 year ago
Kemal Zebari 01b1896bf5
Implement update branch API (#32433) 1 year ago
6543 846f618716
Add priority to protected branch (#32286) 1 year ago
wxiaoguang 2df7563f31
Recommend/convert to use case-sensitive collation for MySQL/MSSQL (#28662) 2 years ago
Lunny Xiao 921df1cbad
Remove unnecessary syncbranchToDB with tests (#28624) 2 years ago
KN4CK3R 838db2f891
Convert to url auth to header auth in tests (#28484) 2 years ago
Infinoid 86ee5b4b1b
PATCH branch-protection updates check list even when checks are disabled (#26351) 2 years ago
Jack Hay 18de83b2a3
Redesign Scoped Access Tokens (#24767) 3 years ago
wxiaoguang 6f9c278559
Rewrite queue (#24505) 3 years ago
Chongyi Zheng de484e86bc
Support scoped access tokens (#20908) 3 years ago
Lunny Xiao 2782c14396
Supports wildcard protected branch (#20825) 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
Kyle D c8ded77680
Kd/ci playwright go test (#20123) 3 years ago
KN4CK3R 3f280f89e7
Update HTTP status codes to modern codes (#18063) 4 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 4 years ago
6543 a67861b4dc
Fix Benchmark tests, remove a broken one & add two new (#15250) 5 years ago
Terence Le Huu Phuong 141d52cc0f
Add API Endpoint for Branch Creation (#11607) 6 years ago
zeripath d26aee3830
Slight performance changes to integrations/git_test.go (#11227) 6 years ago
6543 3c5a4d094a
[API] Add branch delete (#11112) 6 years ago
Lunny Xiao dcaa5643d7
Fix branch api canPush and canMerge (#10776) 6 years ago
David Svantesson 9ff4e1d2d9
Add API branch protection endpoint (#9311) 6 years ago
zeripath 055f6d2296 Fix "data race" in testlogger (#9159) 6 years ago
Lunny Xiao 34eee25bd4
Move sdk structs to modules/structs (#6905) 7 years ago
B-OnTheGo e47df0b301 Enforce token on api routes [fixed critical security issue #4357] (#4840) 7 years ago
Ethan Koenig e59adcde65 Use httptest in integration tests (#3080) 8 years ago
Ethan Koenig f1adaef458 Less verbose integration tests (#2123) 9 years ago
Ethan Koenig f99489d5c5 Fix API for branches with slashes (#2096) 9 years ago