Commit Graph

93 Commits (d7ec23febf7c97de9d626797997a5a91ad5c3da8)

Author SHA1 Message Date
Chai-Shi e5f3c16587
Fix sync fork for consistency (#33147) 1 month ago
Lunny Xiao 39d51e7c82
Automerge supports deleting branch automatically after merging (#32343) 1 month ago
Chai-Shi 0387195abb
[Feature] Private README.md for organization (#32872) 2 months ago
wxiaoguang 2a828e2798
Clarify path param naming (#32969) 2 months ago
wxiaoguang 6d5aa9218e
Refactor request context (#32956) 2 months ago
Lunny Xiao 751fe8b714
Move some errors to their own sub packages (#32880) 2 months ago
Kemal Zebari 01b1896bf5
Implement update branch API (#32433) 2 months ago
Lunny Xiao 17053e953f
Fix delete branch perm checking (#32654) 2 months ago
6543 846f618716
Add priority to protected branch (#32286) 3 months ago
Kemal Zebari 355889dbc2
Remove duplicate empty repo check in delete branch API (#32569) 3 months ago
Tim de2ad2e1b1
Make admins adhere to branch protection rules (#32248) 4 months ago
Henry Goodman 12cb1d2998
Allow force push to protected branches (#28086) 8 months ago
wxiaoguang 43c7a2e7b1
Refactor names (#31405) 8 months ago
Edward Zhang 02e183bf3f
Fix branch_protection api shows users/teams who has no readAccess (#30291) 10 months ago
Lunny Xiao 29f149bd9f
Move context from modules to services (#29440) 12 months ago
6543 7fbdb60fc1
Start to migrate from `util.OptionalBool` to `optional.Option[bool]` (#29329) 12 months ago
Lunny Xiao 5f82ead13c
Simplify how git repositories are opened (#28937) 1 year ago
Jimmy Praet 5d3fdd1212
Add branch protection setting for ignoring stale approvals (#28498) 1 year ago
Lunny Xiao 537fa69962
Second part of refactor `db.Find` (#28194) 1 year ago
Lunny Xiao aeb383025f
Also sync DB branches on push if necessary (#28361) 1 year ago
JakobDev cc5df26680
Even more `db.DefaultContext` refactor (#27352) 1 year ago
JakobDev 28f9b313ba
Updates to the API for archived repos (#27149) 1 year ago
JakobDev 76659b1114
Reduce usage of `db.DefaultContext` (#27073) 1 year ago
Infinoid 86ee5b4b1b
PATCH branch-protection updates check list even when checks are disabled (#26351) 2 years ago
Lunny Xiao b167f35113
Add context parameter to some database functions (#26055) 2 years ago
Lunny Xiao de981c39e6
Fix bug of branches API with tests (#25578) 2 years ago
Lunny Xiao 6e19484f4d
Sync branches into databases (#22743) 2 years ago
来自村里的小螃蟹 cd9a13ebb4
Create a branch directly from commit on the create branch API (#22956) 2 years ago
Lunny Xiao fd9d072af1
Fix protected branch for API (#24013) 2 years ago
Jason Song 04347eb810
Use context parameter in services/repository (#23186) 2 years ago
Lunny Xiao bd820aa9c5
Add context cache as a request level cache (#22294) 2 years ago
Lunny Xiao 2782c14396
Supports wildcard protected branch (#20825) 2 years ago
Jason Song 7adc2de464
Use context parameter in models/git (#22367) 2 years ago
KN4CK3R a35749893b
Move `convert` package to services (#22264) 2 years ago
Lunny Xiao 36cbaec54c
Fix ListBranches to handle empty case (#21921) 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 110fc57cbc
Move some code into models/git (#19879) 3 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
Gusted 334707fee9
Don't error when branch's commit doesn't exist (#19547) 3 years ago
6543 06e4687cec
more context for models (#19511) 3 years ago
Lunny Xiao b06b9a056c
Move organization related structs into sub package (#18518) 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
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
zeripath 01087e9eef
Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
Lunny Xiao c97d66d23c
Move repofiles from modules/repofiles to services/repository/files (#17774) 3 years ago
Lunny Xiao 5233051e64
Move some functions into services/repository (#17677) 3 years ago