gitea/modules
a1012112796 0d7afb02c0
response 404 for diff/patch of a commit that not exist (#15221) (#15238)
* response 404 for diff/patch of a commit that not exist

fix #15217

Signed-off-by: a1012112796 <1012112796@qq.com>

* Update routers/repo/commit.go

Co-authored-by: silverwind <me@silverwind.io>

* use ctx.NotFound()

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: silverwind <me@silverwind.io>

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: 6543 <6543@obermui.de>
2021-04-02 04:30:14 +01:00
..
analyze Speed up enry.IsVendor (#15213) (#15246) 2021-04-02 00:50:12 +02:00
auth Fix creation OAuth2 auth source from CLI. (#14146) 2020-12-25 20:02:52 +08:00
avatar Avatars and Repo avatars support storing in minio (#12516) 2020-10-14 21:07:51 +08:00
base Fix panic in BasicAuthDecode (#14046) (#14048) 2020-12-19 00:19:43 +08:00
cache Allow common redis and leveldb connections (#12385) 2020-09-28 00:09:46 +03:00
charset Ensure that the detected charset order is set in chardet test (#12574) 2020-08-23 14:15:29 +01:00
context [API] Only Return Json (#13511) (#13565) 2020-11-15 16:29:16 +00:00
convert Fix wrong user returned in API (#15139) (#15150) 2021-03-26 08:01:32 +02:00
cron Add ssh certificate support (#12281) 2020-10-10 20:38:09 -04:00
emoji Fix several render issues (#14986) (#15013) 2021-03-17 10:58:58 +02:00
eventsource Move EventSource to SharedWorker (#12095) 2020-07-03 10:55:36 +01:00
generate Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00
git response 404 for diff/patch of a commit that not exist (#15221) (#15238) 2021-04-02 04:30:14 +01:00
gitgraph Render the git graph on the server (#12333) 2020-08-06 09:04:08 +01:00
graceful Set TLS minimum version to 1.2 (#12689) 2020-09-02 23:37:49 +01:00
hcaptcha hCaptcha Support (#12594) 2020-10-02 23:37:53 -04:00
highlight Use existing analyzer module for language detection for highlighting (#13522) (#13551) 2020-11-13 18:05:51 -05:00
httplib Add golangci (#6418) 2019-06-12 15:41:28 -04:00
indexer Speed up enry.IsVendor (#15213) (#15246) 2021-04-02 00:50:12 +02:00
lfs Fix race in LFS ContentStore.Put(...) (#14895) (#14913) 2021-03-07 00:53:37 +02:00
log Update golangci-lint to version 1.31.0 (#13102) 2020-10-11 21:27:20 +01:00
markup Clusterfuzz found another way (#15160) (#15169) 2021-03-27 01:53:51 +02:00
matchlist Add Allow-/Block-List for Migrate & Mirrors (#13610) (#13776) 2020-12-01 19:28:34 -05:00
metrics Prometheus endpoint (#5256) 2018-11-04 22:20:00 -05:00
migrations Re-enable import local paths after reversion from #13610 (#14925) (#14927) 2021-03-08 14:50:57 +01:00
nosql Allow common redis and leveldb connections (#12385) 2020-09-28 00:09:46 +03:00
notification Send notifications for mentions in pulls, issues, (code-)comments (#14218) (#14221) 2021-01-03 15:44:40 +02:00
options Rename scripts to build and add revive command as a new build tool command (#10942) 2020-04-03 22:29:12 +03:00
password Check passwords against HaveIBeenPwned (#12716) 2020-09-08 17:06:39 -05:00
pprof Add golangci (#6418) 2019-06-12 15:41:28 -04:00
private Rename models.ProtectedBranchRepoID to models.EnvRepoID and ensure EnvPusherEmail is set (#12646) 2020-08-30 08:24:39 +01:00
process Only write to global gitconfig if necessary (#11876) 2020-06-13 17:47:31 -04:00
public When visit /favicon.ico but the static file is not exist return 404 but not continue to handle the route (#14211) (#14213) 2021-01-02 18:52:36 +08:00
queue Prevent race in PersistableChannelUniqueQueue.Has (#14651) (#14676) 2021-02-14 01:50:50 +01:00
recaptcha hCaptcha Support (#12594) 2020-10-02 23:37:53 -04:00
references Fix panic bug in handling multiple references in commit (#13486) (#13487) 2020-11-09 21:16:34 -05:00
repofiles Fix bug when upload on web (#15042) (#15055) 2021-03-20 09:37:53 +08:00
repository Check if label template exist first (#14384) (#14389) 2021-01-19 00:27:33 +02:00
secret Attachments: Add extension support, allow all types for releases (#12465) 2020-10-05 01:49:33 -04:00
session Allow common redis and leveldb connections (#12385) 2020-09-28 00:09:46 +03:00
setting Turn default hash password algorightm back to pbkdf2 from argon2 until we found a better one (#14673) (#14675) 2021-02-13 21:19:33 +01:00
ssh configure internal ssh server w/ macs and ciphers, backport of #14523 (#14530) 2021-01-30 21:57:31 +02:00
storage Fix race in local storage (#14888) (#14901) 2021-03-06 05:07:03 +01:00
structs Check if label template exist first (#14384) (#14389) 2021-01-19 00:27:33 +02:00
svg Fix filepath basename on Windows for SVG bindata (#12241) 2020-07-13 21:16:40 +01:00
sync Fix missing unlock in uniquequeue (#9790) 2020-01-15 23:58:33 +02:00
task Migrations: Use Process Manager to create own Context (#13793) 2020-12-02 15:11:11 -06:00
templates Fix a couple of issues with a feeds (#14897) (#14903) 2021-03-06 06:13:38 +01:00
test Macaron 1.5 (#12596) 2020-08-27 22:47:17 -04:00
timeutil Fix display since time round (#14226) (#14873) 2021-03-03 21:17:34 +00:00
upload Update golangci-lint to version 1.31.0 (#13102) 2020-10-11 21:27:20 +01:00
user Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00
util Update golangci-lint to version 1.31.0 (#13102) 2020-10-11 21:27:20 +01:00
validation [API] Get a single commit via Ref (#10915) 2020-04-07 22:54:46 -04:00
webhook Fix feishu webhook caused by API changed (#13937) (#13938) 2020-12-11 16:11:32 +01:00