Commit Graph

274 Commits (3a51c37672d2fbad1f222922e75ce704d5a1ac71)

Author SHA1 Message Date
Lunny Xiao 2da2000413
Use global lock instead of NewExclusivePool to allow distributed lock between multiple Gitea instances (#31813) 2 months ago
Edip Emre Bodur a4dac59643
Fixes for unreachable project issues when transfer repository from organization (#31770) 3 months ago
Fábio Barkoski e45a4c9829
Move repository visibility to danger zone in the settings area (#31126) 3 months ago
Jason Song 09b56fc069
Distinguish LFS object errors to ignore missing objects during migration (#31702) 4 months ago
Zettat123 e9aa39bda4
Fix a branch divergence cache bug (#31659) 4 months ago
delvh 7bb3835811
Add `YEAR`, `MONTH`, `MONTH_ENGLISH`, `DAY` variables for template repos (#31584) 4 months ago
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