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
..
2018-01-10 23:34:17 +02:00
2018-01-10 23:34:17 +02:00
2018-01-10 23:34:17 +02:00
2018-03-30 07:21:27 +08:00
2018-03-13 10:03:55 +08:00
2018-01-10 23:34:17 +02:00
2018-01-10 23:34:17 +02:00
2018-01-10 23:34:17 +02:00
2018-10-22 16:13:35 -04:00
2018-05-21 10:28:29 +08:00
2018-03-16 22:04:33 +08:00
2018-02-13 11:19:49 +02:00
2018-05-28 09:38:20 -04:00