Commit Graph

72 Commits (bc51e259d6442ec753846ba353395fa4fe7d0858)

Author SHA1 Message Date
Lunny Xiao d6dd6d641b
Fix all possible setting error related storages and added some tests (#23911) 1 year ago
Denys Konovalov eac1bddb8d
fix swagger documentation for multiple files API endpoint (#25110) 1 year ago
Denys Konovalov 275d4b7e3f
API endpoint for changing/creating/deleting multiple files (#24887) 1 year ago
wxiaoguang 6b33152b7d
Decouple the different contexts from each other (#24786) 2 years ago
wxiaoguang 023a048f52
Make repository response support HTTP range request (#24592) 2 years ago
Yoan Blanc 9b416b2e36
Use graceful editorconfig loader to reduce errors when loading malformed editorconfigs (#21257) 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
KN4CK3R fc7a2d5a95
Add support for HEAD requests in Maven registry (#21834) 2 years ago
Peter Gardfjäll 4562d40fce
fix hard-coded timeout and error panic in API archive download endpoint (#20925) 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
Wim cb50375e2b
Add more linters to improve code readability (#19989) 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
qwerty287 df9612bb53
Add API to serve blob or LFS file content (#19689) 2 years ago
Lunny Xiao cbd45471b1
Move access and repo permission to models/perm/access (#19350) 3 years ago
zeripath 9f5ddca57c
Set the LastModified header for raw files (#18356) 3 years ago
qwerty287 8eb1cd9264
Add "Allow edits from maintainer" feature (#18002) 3 years ago
Gusted 92dfbada37
Better describe what `/repos/{owner}/{repo}/raw/{filepath}` returns on 200 (#19542) 3 years ago
6543 c764355676
RepoAssignment ensure to close before overwrite (#19449) 3 years ago
6543 3e88af898a
Make git.OpenRepository accept Context (#19260) 3 years ago
zeripath e69b7a92ed
Allow API to create file on empty repo (#19224) 3 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 3 years ago
luzpaz 8c647bf0f6
Fix various typos (#18219) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
Lunny Xiao c97d66d23c
Move repofiles from modules/repofiles to services/repository/files (#17774) 3 years ago
Lunny Xiao 99b2858e62
Move unit into models/unit/ (#17576) 3 years ago
zeripath 25533657f6
Add caller to cat-file batch calls (#17082) 3 years ago
Lunny Xiao 33e0b38287
Rename context.Query to context.Form (#16562) 3 years ago
Lunny Xiao b223d36195
Rework repository archive (#14723) 3 years ago
Lunny Xiao 1bfb0a24d8
Refactor routers directory (#15800) 3 years ago
zeripath b337c606d3
Add support for ref parameter to get raw file API (#14602) 4 years ago
a1012112796 f19da14c34
enhancement: add signoff option in commit form (#14516) 4 years ago
Lunny Xiao 6433ba0ec3
Move macaron to chi (#14293) 4 years ago
6543 3408fb73b6
Add better Swagger description and a example for GetArchive (#12743) 4 years ago
6543 479ef5c379
In File Create/Update API return 404 if Branch does not exist (#11791) 5 years ago
6543 b636cd6fd4
Handle expected errors in FileCreate & FileUpdate API (#11643) 5 years ago
6543 4ddfe0d07a
Fix GetContents(): Dont't ignore Executables (#11192) 5 years ago
6543 b9ed8d8497
make branch parameter optional for /api/v1/repos/{owner}/{repo}/contents/{filepath} (#11067) 5 years ago
zeripath 2e85ad665a
Contents API should return 404 on not exist (#10323) 5 years ago
6543 40e99ea010 [API] Extend contents with dates (#9464) 5 years ago
6543 2848c5eb8f Swagger info corrections (#9441) 5 years ago
zeripath 722a7c902d
Add Close() method to gogitRepository (#8901) 5 years ago
Antoine GIRARD c748deef33 don't ignore error message (#8550) 5 years ago
Colin Arnott 66e99d722a upgrade gopkg.in/editorconfig/editorconfig-core-go.v1 (#8501) 5 years ago
Richard Mahn cd96dee982 Fixes #7292 - API File Contents bug (#7301) 5 years ago
Richard Mahn 002b597c1f Fixes #7152 - Allow create/update/delete message to be empty, use default message (#7324) 5 years ago
Richard Mahn 43cf2f3b55 Fixes #7023 - API Org Visibility (#7028) 6 years ago