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
..
2017-11-29 09:50:39 +08:00
2016-11-12 12:09:25 +01:00
2018-05-01 10:04:36 +03:00
2017-11-29 09:50:39 +08:00
2017-02-23 11:40:44 +08:00
2016-11-15 23:24:08 +08:00
2018-02-10 20:19:26 +02:00
2018-05-21 15:34:20 +03:00
2017-10-23 16:36:14 +03:00
2016-12-22 10:30:52 +01:00
2016-12-22 10:30:52 +01:00
2017-06-06 19:36:48 +02:00
2016-12-22 10:30:52 +01:00
2017-12-11 10:23:34 +08:00
2018-05-01 10:04:36 +03:00
2017-12-11 10:23:34 +08:00
2016-12-22 10:30:52 +01:00
2016-12-22 10:30:52 +01:00
2018-05-01 10:04:36 +03:00
2018-02-10 20:19:26 +02:00
2016-12-22 10:30:52 +01:00