Commit Graph

24 Commits (87aa552531c7845d7d82b004490e48f6aa80e85a)

Author SHA1 Message Date
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) 1 year ago
Denys Konovalov 275d4b7e3f
API endpoint for changing/creating/deleting multiple files (#24887) 1 year 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
Lunny Xiao 2677d071f9
Move newbranch to standalone package (#9627) 5 years ago
Lunny Xiao b465d0d787
Move create/fork repository from models to modules/repository (#9489) 5 years ago
Lunny Xiao 99d869fa63
Move push commits from models to modules/repository (#9370) 5 years ago
David Svantesson 25531c71a7 Mark PR reviews as stale at push and allow to dismiss stale approvals (#9532) 5 years ago
Lunny Xiao 0bcf644da4 Fix deleted branch isn't removed when push the branch again (#9516) 5 years ago
zeripath 7bfb83e064 Batch hook pre- and post-receive calls (#8602) 5 years ago
6543 40e99ea010 [API] Extend contents with dates (#9464) 5 years ago
6543 7f0d7c0a17 File Edit: Author/Committer interchanged [BugFix] (#9297) 5 years ago
Lunny Xiao be06dee04c Move code indexer related code to a new package (#9191) 5 years ago