forgejo/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 Use assert in legacy unit tests (#867) 2017-02-08 14:29:07 +08:00
base Serve audio files using HTML5 audio tag (#5221) 2018-10-30 10:17:26 +08:00
cache Fix memcache support when value is returned as string always (#2924) 2017-11-16 15:06:34 +08:00
context Add raw blob endpoint to get objects by SHA ID (#5334) 2018-11-18 13:45:40 -05:00
cron Add branch overiew page (#2108) 2017-10-26 08:49:16 +08:00
generate Implements generator cli for secrets (#3531) 2018-02-18 20:14:37 +02:00
highlight No highlighting for .txt files (#1922) 2017-06-09 19:39:16 -05:00
httplib Add sensitive headers (#3429) 2018-01-31 00:09:16 +02:00
indexer Global code search support (#3664) 2018-03-16 22:04:33 +08:00
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 Add support for extra sendmail arguments (#2731) 2017-10-25 22:27:25 +03:00
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 Fix Git hooks not being executed on Windows when running as a service (#1149) 2017-03-09 09:27:43 +08:00
notification Add notification interface and refactor UI notifications (#5085) 2018-10-18 19:23:05 +08:00
options Fix typos in models/ and modules/ (#1248) 2017-03-15 08:52:01 +08:00
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 Fix run command race (#1470) 2017-11-13 22:51:45 +08:00
public Enable caching on assets and avatars (#3376) 2018-02-04 00:37:05 +02:00
recaptcha Add Recaptcha functionality to Gitea (#4044) 2018-07-05 00:13:05 -04:00
search Global code search support (#3664) 2018-03-16 22:04:33 +08:00
setting Block registration based on email domain (#5157) 2018-11-14 20:00:04 -05:00
ssh Configurable SSH key exchange algorithm and MAC suite (#2806) 2017-11-02 23:26:41 +08:00
sync Fix status table race condition (#1835) 2017-05-31 16:57:17 +08:00
templates Set heatmap color range configurable (#5165) 2018-10-24 16:38:04 +02:00
test API endpoint for testing webhook (#3550) 2018-04-29 14:21:33 +08:00
user Remove check for negative length (#5120) 2018-10-20 17:25:14 -04:00
util Fix open redirect vulnerability on login screen (#4312) 2018-06-26 22:45:18 +08:00
validation Improve URL validation for external wiki and external issues (#4710) 2018-08-15 09:29:37 +03:00