1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/routers/repo
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
..
activity.go
attachment.go
branch.go
commit.go
download.go Add raw blob endpoint to get objects by SHA ID (#5334) 2018-11-18 13:45:40 -05:00
editor.go Fix path cleanup in multiple places (#3871) 2018-05-01 09:46:04 +08:00
http.go Make reverse proxy auth optional (#4643) 2018-08-29 10:39:16 -04:00
issue_dependency.go Added dependencies for issues (#2196) (#2531) 2018-07-17 17:23:58 -04:00
issue_label_test.go fix go vet error (#3740) 2018-03-30 07:21:27 +08:00
issue_label.go
issue_stopwatch.go
issue_timetrack.go
issue_watch.go Handle refactor (#3339) 2018-01-10 23:34:17 +02:00
issue.go Add notification interface and refactor UI notifications (#5085) 2018-10-18 19:23:05 +08:00
main_test.go
middlewares.go Add whitespace handling to PR-comparsion (#4683) 2018-08-14 13:49:33 -04:00
pull_review.go Add comment replies (#5104) 2018-10-22 16:13:35 -04:00
pull.go Add notification interface and refactor UI notifications (#5085) 2018-10-18 19:23:05 +08:00
release_test.go
release.go Fix some webhooks bugs (#3981) 2018-05-21 10:28:29 +08:00
repo.go
search.go Global code search support (#3664) 2018-03-16 22:04:33 +08:00
setting_protected_branch.go Add protected branch whitelists for merging (#3689) 2018-03-25 13:01:32 +03:00
setting.go Add option to disable automatic mirror syncing. (#5242) 2018-11-08 18:58:02 -05:00
settings_test.go An inactive user shouldn't be able to be added as a collaborator (#4535) 2018-08-07 13:01:06 +03:00
topic.go Fix topics addition (Another solution) (#4031) (#4258) 2018-06-21 17:09:46 +08:00
view.go Serve audio files using HTML5 audio tag (#5221) 2018-10-30 10:17:26 +08:00
webhook.go Slack webhook channel name cannot be empty or just contain an hashtag (#4786) 2018-09-10 10:31:08 -04:00
wiki_test.go
wiki.go Fix wiki redirects (#3919) 2018-05-28 09:38:20 -04:00