Commit Graph

33 Commits (74664b08a004393ce013e872e47901f52645b65a)

Author SHA1 Message Date
Chongyi Zheng e80466f734
Resolve lint for unused parameter and unnecessary type arguments (#30750) 7 months ago
silverwind 74f0c84fa4
Enable more `revive` linter rules (#30608) 7 months ago
wxiaoguang 83f83019ef
Clean up log messages (#30313) 8 months ago
vincent 35d5e4aea4
Fix content size does not match error when uploading lfs file (#29259) 9 months ago
Lunny Xiao 5f82ead13c
Simplify how git repositories are opened (#28937) 10 months ago
Mihir Joshi b8270240bf
Fix reverting a merge commit failing (#28794) 10 months ago
Lunny Xiao 408a484224
Adjust object format interface (#28469) 11 months ago
Adam Majer cbf923e87b
Abstract hash function usage (#28138) 12 months ago
Lunny Xiao dd30d9d5c0
Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods (#28220) 12 months ago
JakobDev 28f9b313ba
Updates to the API for archived repos (#27149) 1 year ago
wxiaoguang c6b92c84fe
Sync repo's IsEmpty status correctly (#26517) 1 year ago
wxiaoguang 236c645bf1
Refactor "Content" for file uploading (#25851) 1 year ago
wxiaoguang 22eeede885
Do not "guess" the file encoding/BOM when using API to upload files (#25828) 1 year ago
Lunny Xiao 6e19484f4d
Sync branches into databases (#22743) 1 year ago
wxiaoguang a90988d63f
Update repo's default branch when adding new files in an empty one (#25017) 2 years ago
Denys Konovalov 275d4b7e3f
API endpoint for changing/creating/deleting multiple files (#24887) 2 years ago
wxiaoguang cf465b4721
Support uploading file to empty repo by API (#24357) 2 years ago
wxiaoguang 6bc3079c00
Refactor git command package to improve security and maintainability (#22678) 2 years ago
Lunny Xiao 2782c14396
Supports wildcard protected branch (#20825) 2 years ago
Jason Song 7adc2de464
Use context parameter in models/git (#22367) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 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
Lunny Xiao 110fc57cbc
Move some code into models/git (#19879) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
zeripath e69b7a92ed
Allow API to create file on empty repo (#19224) 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 3 years ago
zeripath 851b54ba9f
Correctly upload LFS files (#18316) 3 years ago
Gusted ff2fd08228
Simplify parameter types (#18006) 3 years ago
Lunny Xiao 3ca5dc7e32
Move keys to models/asymkey (#17917) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
Lunny Xiao c97d66d23c
Move repofiles from modules/repofiles to services/repository/files (#17774) 3 years ago
KN4CK3R f99d50fc9f
Read expected buffer size (#17409) 3 years ago
Jimmy Praet 3d6cb25e31
Support unprotected file patterns (#16395) 3 years ago
KN4CK3R c03e488e14
Add LFS Migration and Mirror (#14726) 4 years ago
a1012112796 6cf97df9fd
remove duplicate define of CheckAttribute() (#14837) 4 years ago
a1012112796 f19da14c34
enhancement: add signoff option in commit form (#14516) 4 years ago
赵智超 dfa7291f8f
[Enhancement] Allow admin to merge pr with protected file changes (#12078) 4 years ago
zeripath 4979f15c3f
Add configurable Trust Models (#11712) 4 years ago
Lunny Xiao dd1a651b58
Move all push update operations to a queue (#10133) 4 years ago
Lunny Xiao 7a5465fc56
LFS support to be stored on minio (#12518) 4 years ago
zeripath 7cd47046ea
Handle push rejection in branch and upload (#10854) 5 years ago
Lauris BH bbd910ed1b
Allow to set protected file patterns that can not be changed under no conditions (#10806) 5 years ago
John Olheiser b40428a50a
Check for tag, not just new tag (#10663) 5 years ago
Antoine GIRARD 4e65d2b8ea
Ensure executable bit is kept on the web editor (#10607) 5 years ago
Lunny Xiao 48ce135cc9
Move PushUpdateAddDeleteTags to repository module from models (#10106) 5 years ago
Lunny Xiao bf1970d0bd
Improve push update options (#10105) 5 years ago
Lunny Xiao f2d12f7b03
Fix pull view when head repository or head branch missed and close related pull requests when delete head repository or head branch (#9927) 5 years ago
zeripath 66ee9b87f9 Add require signed commit for protected branch (#9708) 5 years ago