Commit Graph

229 Commits (b748d62b461f9f23823f8772bc708b44b15a23a7)

Author SHA1 Message Date
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) 2 years ago
Lunny Xiao e09fb30d34
improvement some release related code (#19867) 2 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
99rgosse edff571aa9
Avoid MoreThanOne Error (#19557) 3 years ago
zeripath 41fcf7b7de
Prevent dangling archiver goroutine (#19516) 3 years ago
6543 c764355676
RepoAssignment ensure to close before overwrite (#19449) 3 years ago
Lunny Xiao b8911fb456
Use a struct as test options (#19393) 3 years ago
wxiaoguang 124b072f0b
Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 3 years ago
wxiaoguang b877504b03
Refactor `git.Command.Run*`, introduce `RunWithContextString` and `RunWithContextBytes` (#19266) 3 years ago
KN4CK3R 1d332342db
Add Package Registry (#16510) 3 years ago