Commit Graph

286 Commits (56bff7ae234ee21d0e4524e401a49385c383ccaf)

Author SHA1 Message Date
wxiaoguang 6bc3079c00
Refactor git command package to improve security and maintainability (#22678) 2 years ago
Jason Song 4011821c94
Implement actions (#21937) 2 years ago
zeripath 4199d28053
When updating by rebase we need to set the environment for head repo (#22535) 2 years ago
zeripath 2cc3a6381c
Add cron method to gc LFS MetaObjects (#22385) 2 years ago
Felipe Leopoldo Sologuren Gutiérrez 04c97aa364
Change use of Walk to WalkDir to improve disk performance (#22462) 2 years ago
Lunny Xiao 2782c14396
Supports wildcard protected branch (#20825) 2 years ago
zeripath 99cf0d394e
Continue GCing other repos on error in one repo (#22422) 2 years ago
John Olheiser 1ee1147baa
fix: don't replace err variable in nested check (#22416) 2 years ago
Jason Song 7adc2de464
Use context parameter in models/git (#22367) 2 years ago
Gusted 96797fed31
Unify hashing for avatar (#22289) 2 years ago
Xinyu Zhou 7cc7db73b9
Add option to prohibit fork if user reached maximum limit of repositories (#21848) 2 years ago
Jason Song 6cf09ccab4
Use complete SHA to create and query commit status (#22244) 2 years ago
Christian Ullrich 84285a1169
Do not list active repositories as unadopted (#22034) 2 years ago
zeripath 651fe4bb7d
Add doctor command for full GC of LFS (#21978) 2 years ago
Lunny Xiao 68704532c2
Rename almost all Ctx functions (#22071) 2 years ago
Lunny Xiao 0a7d3ff786
refactor some functions to support ctx as first parameter (#21878) 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 34283a74e8
Allow detect whether it's in a database transaction for a context.Context (#21756) 2 years ago
zeripath f211d235c7
Fix repository adoption on Windows (#21646) 2 years ago
Lunny Xiao 9a70a12a34
Merge db.Iterate and IterateObjects (#21641) 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
wxiaoguang dcd9fc7ee8
Refactor git command arguments and make all arguments to be safe to be used (#21535) 2 years ago
zeripath 716fcfcf72
Make every not exist error unwrappable to a fs.ErrNotExist (#20891) 2 years ago
wxiaoguang 11ac14cfe1
Fix incorrect notification commit url (#21479) 2 years ago
Lunny Xiao f860a6d2e4
Add system setting table with cache and also add cache supports for user setting (#18058) 2 years ago
KN4CK3R 0e57ff7eee
Add generic set type (#21408) 2 years ago
wxiaoguang c08e42c47e
Refactor parseTreeEntries, speed up tree list (#21368) 2 years ago
Peter Gardfjäll 4562d40fce
fix hard-coded timeout and error panic in API archive download endpoint (#20925) 2 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 2 years ago
Lunny Xiao 1f146090ec
Add migrate repo archiver and packages storage support on command line (#20757) 2 years ago
Lunny Xiao 86c85c19b6
Refactor AssertExistsAndLoadBean to use generics (#20797) 2 years ago
Gabriel Vasile 871082bc7b
Remove manual rollback for failed generated repositories (#20639) 2 years ago
Gabriel Vasile 6c218f7a5c
Check issue labels slice length before calling xorm Insert; fixes #20654 (#20655) 2 years ago
Gusted 692707f145
Add latest commit's SHA to content response (#20398) 2 years ago
zeripath a2cfcdb91a
Slightly simplify LastCommitCache (#20444) 2 years ago
6543 0a97480934
Add "X-Gitea-Object-Type" header for GET `/raw/` & `/media/` API (#20438) 2 years ago
wxiaoguang fee0e4dbea
Remove confusing TrimPrefix(... git.BranchPrefix) (#20369) 2 years ago
wxiaoguang 157b405753
Remove legacy git code (ver < 2.0), fine tune markup tests (#19930) 2 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues (#19931) 2 years ago
Lunny Xiao 110fc57cbc
Move some code into models/git (#19879) 2 years ago
wxiaoguang a0051634b9
Refactor git module, make Gitea use internal git config (#19732) 2 years ago
Lunny Xiao 26095115f4
Move some repository related code into sub package (#19711) 3 years ago
Lunny Xiao e09fb30d34
improvement some release related code (#19867) 3 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
Lunny Xiao cbd45471b1
Move access and repo permission to models/perm/access (#19350) 3 years ago
KN4CK3R a9ca4b4100
Calculate filename hash only once (#19654) 3 years ago
Lunny Xiao 4ca1d7547a
Move some helper files out of models (#19355) 3 years ago
kolaente 59b30f060a
Auto merge pull requests when all checks succeeded via API (#9307) 3 years ago
6543 f034ee6cf0
PullService lock via pullID (#19520) 3 years ago