forgejo/routers
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
..
admin
api/v1 added the ability to set labels on the "edit pull request" api (#5347) 2018-11-16 12:12:44 +01:00
dev
org
private Make gitea serv use api/internal (#4886) 2018-10-30 14:20:13 +08:00
repo Add raw blob endpoint to get objects by SHA ID (#5334) 2018-11-18 13:45:40 -05:00
routes Add raw blob endpoint to get objects by SHA ID (#5334) 2018-11-18 13:45:40 -05:00
user Block registration based on email domain (#5157) 2018-11-14 20:00:04 -05:00
utils
home.go
init.go
install.go
metrics.go Prometheus endpoint (#5256) 2018-11-04 22:20:00 -05:00
swagger_json.go