Commit Graph

46 Commits (8fd15990c5c8980caf2b9ffefc0b3427efacdc04)

Author SHA1 Message Date
Jason Song b150ff0bab
Cancel previous runs of the same PR automatically (#29961) 8 months ago
wxiaoguang 21151474e3
Fix loadOneBranch panic (#29938) 8 months ago
Jason Song f371f84fa3
Restore deleted branches when syncing (#29898) 8 months ago
Lunny Xiao 930bae2300
Add cache for branch divergence on branch list page (#29577) 9 months ago
Lunny Xiao 25b842df26
Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 9 months ago
Jason Song 5bdf805e05
Sync branches to DB immediately when handle git hook calling (#29493) 9 months ago
6543 a3f05d0d98
remove util.OptionalBool and related functions (#29513) 9 months ago
Lunny Xiao b79c30435f
Use the database object format name but not read from git repoisitory everytime and fix possible migration wrong objectformat when migrating a sha256 repository (#29294) 9 months ago
6543 7fbdb60fc1
Start to migrate from `util.OptionalBool` to `optional.Option[bool]` (#29329) 9 months ago
Lunny Xiao 5f82ead13c
Simplify how git repositories are opened (#28937) 10 months ago
Lunny Xiao 0e6fd0d1c1
Fix branch list bug which displayed default branch twice (#28878) 10 months ago
Lunny Xiao 97292da960
Fix schedule tasks bugs (#28691) 10 months ago
Lunny Xiao 921df1cbad
Remove unnecessary syncbranchToDB with tests (#28624) 11 months ago
Lunny Xiao 408a484224
Adjust object format interface (#28469) 11 months ago
Adam Majer cbf923e87b
Abstract hash function usage (#28138) 11 months ago
Lunny Xiao 537fa69962
Second part of refactor `db.Find` (#28194) 11 months ago
Lunny Xiao aeb383025f
Also sync DB branches on push if necessary (#28361) 12 months ago
JakobDev ebe803e514
Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
JakobDev 28f9b313ba
Updates to the API for archived repos (#27149) 1 year ago
Lunny Xiao 47b878858a
Search branches (#27055) 1 year ago
Lunny Xiao 540bf9fa6d
Move notification interface to services layer (#26915) 1 year ago
Lunny Xiao 6e19484f4d
Sync branches into databases (#22743) 1 year ago
Lunny Xiao 0d47b0ab1d
Remove duplicated functions when deleting a branch (#25128) 1 year ago
Lunny Xiao f9cfd6ce5b
Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 2 years ago
Yarden Shoham 4810fe55e3
Add status indicator on main home screen for each repo (#24638) 2 years ago
Jason Song 04347eb810
Use context parameter in services/repository (#23186) 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
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
KN4CK3R 044c754ea5
Add `context.Context` to more methods (#21546) 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
Lunny Xiao 110fc57cbc
Move some code into models/git (#19879) 2 years ago
Lunny Xiao 4ca1d7547a
Move some helper files out of models (#19355) 3 years ago
99rgosse edff571aa9
Avoid MoreThanOne Error (#19557) 3 years ago
zeripath 889a8c268c
Use full output of git show-ref --tags to get tags for PushUpdateAddTag (#19235) 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 9e6e1dc950
Improve checkBranchName (#17901) 3 years ago
mscherer 34b5436ae1
Refactor various strings (#17784) 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
a1012112796 bb39359668
Add a simple way to rename branch like gh (#15870) 3 years ago
KN4CK3R 383ffcfa34
Small refactoring of modules/private (#15947) 3 years ago
Lunny Xiao 0909695204
Merge all deleteBranch as one function and also fix bug when delete branch don't close related PRs (#16067) 4 years ago