Commit Graph

268 Commits (9bc5552c11f6aca08c8c873a0561882b3e099350)

Author SHA1 Message Date
wxiaoguang 43c7a2e7b1
Refactor names (#31405) 5 months ago
wxiaoguang f5dfd7d73c
Add a simple test for AdoptRepository (#31391) 5 months ago
silverwind 816222243a
Add `lint-go-gopls` (#30729) 5 months ago
Lunny Xiao 5c1b550e00
Fix push multiple branches error with tests (#31151) 6 months ago
Lunny Xiao c6cf96d31d
Fix automerge will not work because of some events haven't been triggered (#30780) 6 months ago
wxiaoguang edbf74c418
Fix "force private" logic (#31012) 6 months ago
yp05327 e94723f2de
Fix incorrect default branch when adopt a repository (#30912) 6 months ago
wxiaoguang 9c08637eae
Make "sync branch" also sync object format and add tests (#30878) 6 months ago
wxiaoguang 7c613f100e
Make sure git version&feature are always prepared (#30877) 6 months ago
Chongyi Zheng e80466f734
Resolve lint for unused parameter and unnecessary type arguments (#30750) 7 months ago
Lunny Xiao c685eefe4a
If a repository return no commitstatus, then still cache it but not query it from database (#30700) 7 months ago
silverwind 74f0c84fa4
Enable more `revive` linter rules (#30608) 7 months ago
wxiaoguang 7cb88e9c18
Use correct hash for "git update-index" (#30626) 7 months ago
wxiaoguang 48d4580dd5
Clarify permission "HasAccess" behavior (#30585) 7 months ago
wxiaoguang c248f010ad
Refactor cache and disable go-chi cache (#30417) 7 months ago
Lunny Xiao f9c3e79aba
Fix commit status cache which missed target_url (#30426) 7 months ago
Lunny Xiao fc34481d05
Add commit status summary table to reduce query from commit status table (#30223) 7 months ago
Zettat123 0fe9f93eb4
Check the token's owner and repository when registering a runner (#30406) 7 months ago
wxiaoguang 83f83019ef
Clean up log messages (#30313) 7 months ago
Lunny Xiao f8ab9dafb7
Use db.ListOptionsAll instead of db.ListOptions{ListAll: true} (#29995) 8 months ago
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) 8 months ago
Lunny Xiao 25b842df26
Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 8 months ago
Earl Warren f6d01ac2d8
Add download URL for executable files (#28260) 8 months ago
Lunny Xiao e308d25f1b
Cache repository default branch commit status to reduce query on commit status table (#29444) 8 months ago
Jason Song 5bdf805e05
Sync branches to DB immediately when handle git hook calling (#29493) 8 months ago
wxiaoguang 5cddab4f74
Make wiki default branch name changable (#29603) 8 months ago
Lunny Xiao e2277d07ca
Move some asymkey functions to service layer (#28894) 9 months ago
KN4CK3R c337ff0ec7
Add user blocking (#29028) 9 months ago
6543 a3f05d0d98
remove util.OptionalBool and related functions (#29513) 9 months ago
Lunny Xiao 58ce1de994
Move migration functions to services layer (#29497) 9 months ago
Lunny Xiao b5188cd55c
Move generate from module to service (#29465) 9 months ago
Lunny Xiao 29f149bd9f
Move context from modules to services (#29440) 9 months ago
KN4CK3R 4197e28100
Refactor git attributes (#29356) 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
Şahin Akkaya 875f5ea6d8
Implement code frequency graph (#29191) 9 months ago
6543 7fbdb60fc1
Start to migrate from `util.OptionalBool` to `optional.Option[bool]` (#29329) 9 months ago
vincent 35d5e4aea4
Fix content size does not match error when uploading lfs file (#29259) 9 months ago
Jason Song 0ea8de2d07
Do not use lower tag names to find releases/tags (#29261) 9 months ago
Şahin Akkaya 21331be30c
Implement contributors graph (#27882) 9 months ago
KN4CK3R 94d06be035
Extract linguist code to method (#29168) 9 months ago
techknowlogick a346a8c852
bump to use go 1.22 (#29119) 9 months ago
Lunny Xiao 9bb1adf8ea
Move some repository transfer functions to service layer (#28855) 9 months ago
silverwind a6cea59514
Update tool dependencies (#29030) 10 months ago
Zettat123 adc3598a75
Fix an actions schedule bug (#28942) 10 months ago
Lunny Xiao 5f82ead13c
Simplify how git repositories are opened (#28937) 10 months ago
KN4CK3R 8e9b6817bc
Fix `DeleteCollaboration` transaction behaviour (#28886) 10 months ago
Lunny Xiao 0e6fd0d1c1
Fix branch list bug which displayed default branch twice (#28878) 10 months ago