Commit Graph

149 Commits (b958dba1a0f84b986acdb82a6609d70d98140640)

Author SHA1 Message Date
wxiaoguang ce9dee5a1e
Introduce path Clean/Join helper functions (#23495) 2 years ago
来自村里的小螃蟹 f83246edb2
fix submodule is nil panic (#23588) 2 years ago
KN4CK3R 2173f14708
Add user webhooks (#21563) 2 years ago
Brecht Van Lommel 8bdc0acf97
Fix pull request update showing too many commits with multiple branches (#22856) 2 years ago
Jason Song 1960ad5c90
Improve cache context (#23330) 2 years ago
Lunny Xiao b116418f05
Use CleanPath instead of path.Clean (#23371) 2 years ago
Jason Song 04347eb810
Use context parameter in services/repository (#23186) 2 years ago
Zettat123 4de5cd9f36
Return empty url for submodule tree entries (#23043) 2 years ago
Brecht Van Lommel 6221a6fd54
Scoped labels (#22585) 2 years ago
yp05327 bd66fa586a
Rename `repo.GetOwner` to `repo.LoadOwner` (#22967) 2 years ago
Lunny Xiao bd820aa9c5
Add context cache as a request level cache (#22294) 2 years ago
sillyguodong 51ab495198
escape filename when assemble URL (#22850) 2 years ago
techknowlogick 2741546bed
Repositories: by default disable all units except code and pulls on forks (#22541) 2 years ago
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