1
0
Fork 0
gitea/modules
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
..
auth Block registration based on email domain (#5157) 2018-11-14 20:00:04 -05:00
avatar
base Serve audio files using HTML5 audio tag (#5221) 2018-10-30 10:17:26 +08:00
cache
context Add raw blob endpoint to get objects by SHA ID (#5334) 2018-11-18 13:45:40 -05:00
cron
generate
highlight
httplib
indexer
lfs add valid for lfs oid (#4461) 2018-07-19 11:39:19 -04:00
log Remove maxlines option for file logger (#5282) 2018-11-07 06:48:53 +02:00
mailer
markup Fix markdown image with link (#4675) 2018-10-30 18:26:28 -04:00
metrics Prometheus endpoint (#5256) 2018-11-04 22:20:00 -05:00
minwinsvc
notification Add notification interface and refactor UI notifications (#5085) 2018-10-18 19:23:05 +08:00
options
pprof cmd/serve: pprof cpu and memory profile dumps to disk (#4560) 2018-08-07 14:49:18 -04:00
private Make gitea serv use api/internal (#4886) 2018-10-30 14:20:13 +08:00
process
public
recaptcha
search
setting Block registration based on email domain (#5157) 2018-11-14 20:00:04 -05:00
ssh
sync
templates Set heatmap color range configurable (#5165) 2018-10-24 16:38:04 +02:00
test
user Remove check for negative length (#5120) 2018-10-20 17:25:14 -04:00
util
validation Improve URL validation for external wiki and external issues (#4710) 2018-08-15 09:29:37 +03:00