0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-29 01:24:38 +01:00
gitea/routers/repo
Peter Hoffmann e08c7e521b Add raw blob endpoint to get objects by SHA ID (#5334)
* Add raw blob endpoint

This should make it possible to download raw blobs directly from
/:repo/:username/raw/blob/:sha1 URLs.

* fix: Make it work

* As an SHA-ID is no path getRefNameFromPath can't be used to verify
file specifying parameter
* added relevant change in go-gitea/git #132

Signed-off-by: Berengar W. Lehr <Berengar.Lehr@kompetenztest.de>

* Update Gopkg.lock

Can't update all vendors due to errors

Signed-off-by: Berengar W. Lehr <Berengar.Lehr@kompetenztest.de>

* style: Add Gitea copyright header

* feat: Added integration test for /repo/u/r/raw/blob

* fix: correct year in copyright header
2018-11-18 13:45:40 -05:00
..
activity.go
attachment.go
branch.go
commit.go
download.go Add raw blob endpoint to get objects by SHA ID (#5334) 2018-11-18 13:45:40 -05:00
editor.go
http.go
issue.go Add notification interface and refactor UI notifications (#5085) 2018-10-18 19:23:05 +08:00
issue_dependency.go
issue_label.go
issue_label_test.go
issue_stopwatch.go
issue_timetrack.go
issue_watch.go
main_test.go
middlewares.go
pull.go Add notification interface and refactor UI notifications (#5085) 2018-10-18 19:23:05 +08:00
pull_review.go Add comment replies (#5104) 2018-10-22 16:13:35 -04:00
release.go
release_test.go
repo.go
search.go
setting.go Add option to disable automatic mirror syncing. (#5242) 2018-11-08 18:58:02 -05:00
setting_protected_branch.go
settings_test.go
topic.go
view.go Serve audio files using HTML5 audio tag (#5221) 2018-10-30 10:17:26 +08:00
webhook.go Slack webhook channel name cannot be empty or just contain an hashtag (#4786) 2018-09-10 10:31:08 -04:00
wiki.go
wiki_test.go