0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-28 10:24:32 +01:00
gitea/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 Allow admin toggle forcing a password change for newly created users (#4563) 2018-09-13 12:34:36 -04:00
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 feat(repo): support search repository by topic name (#4505) 2018-09-13 10:33:48 +08:00
init.go
install.go
metrics.go Prometheus endpoint (#5256) 2018-11-04 22:20:00 -05:00
swagger_json.go