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 Make reverse proxy auth optional (#4643) 2018-08-29 10:39:16 -04:00
issue.go Add notification interface and refactor UI notifications (#5085) 2018-10-18 19:23:05 +08:00
issue_dependency.go Added dependencies for issues (#2196) (#2531) 2018-07-17 17:23:58 -04:00
issue_label.go
issue_label_test.go
issue_stopwatch.go
issue_timetrack.go
issue_watch.go
main_test.go
middlewares.go Add whitespace handling to PR-comparsion (#4683) 2018-08-14 13:49:33 -04:00
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 An inactive user shouldn't be able to be added as a collaborator (#4535) 2018-08-07 13:01:06 +03:00
topic.go Fix topics addition (Another solution) (#4031) (#4258) 2018-06-21 17:09:46 +08:00
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 Fix wiki redirects (#3919) 2018-05-28 09:38:20 -04:00
wiki_test.go