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_dependency.go
issue_label_test.go
issue_label.go
issue_stopwatch.go
issue_timetrack.go
issue_watch.go
issue.go Add notification interface and refactor UI notifications (#5085) 2018-10-18 19:23:05 +08:00
main_test.go
middlewares.go
pull_review.go Add comment replies (#5104) 2018-10-22 16:13:35 -04:00
pull.go Add notification interface and refactor UI notifications (#5085) 2018-10-18 19:23:05 +08:00
release_test.go
release.go
repo.go
search.go
setting_protected_branch.go
setting.go Add option to disable automatic mirror syncing. (#5242) 2018-11-08 18:58:02 -05:00
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_test.go
wiki.go