0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-30 07:16:19 +01:00
gitea/modules
zeripath d9de58beee
api.Context.NotFound(...) should tolerate nil (#11288)
There is an unfortunate signature change with the api.Context
NotFound function; whereas the normal modules/context/Context
NotFound function requires an error or nil, the api.Context
variant will panic with an NPE if a nil is provided.

This PR will allow api.Context.NotFound to tolerate a being
passed a nil.

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: Lauris BH <lauris@nix.lv>
2020-05-05 21:52:13 +03:00
..
analyze Migrate to go-enry new version (#10906) 2020-04-15 20:40:39 +03:00
auth Add option to increase provided OAuth2 token maximum size (#11180) 2020-04-23 00:47:23 +02:00
avatar
base Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00
cache
charset
context api.Context.NotFound(...) should tolerate nil (#11288) 2020-05-05 21:52:13 +03:00
convert API: Add pull review endpoints (#11224) 2020-05-02 03:20:51 +03:00
cron
emoji Support unicode emojis and remove emojify.js (#11032) 2020-04-28 15:05:39 -03:00
generate Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00
git Support unicode emojis and remove emojify.js (#11032) 2020-04-28 15:05:39 -03:00
gitgraph
graceful Prevent panic during wrappedConn close at hammertime (#11219) 2020-04-26 21:01:06 -03:00
highlight
httplib
indexer Log the indexer path on failure (#11172) 2020-04-22 16:16:58 -04:00
lfs Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00
log
markup Restore checkbox rendering and prevent poor sanitization of spans (#11277) 2020-05-03 17:17:24 -03:00
metrics
migrations When migrating from Gitlab map Approvals to approving Reviews (#11147) 2020-04-20 13:30:46 +01:00
notification Fix spelling mistake with Rewiew (#11262) 2020-04-30 21:24:08 +01:00
options
password
pprof
private
process Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00
public Send 404 immediately for known public requests (#11117) 2020-04-18 22:01:06 +01:00
queue Improve config logging when WrappedQueue times out (#11174) 2020-04-22 13:38:40 +01:00
recaptcha
references
repofiles Fix GetContents(): Dont't ignore Executables (#11192) 2020-04-24 19:20:22 +03:00
repository Fix forked repo has no icon and language stat. (#10791) 2020-04-08 15:13:04 +03:00
secret
session
setting Sendmail should create a process on the gitea system and have a default timeout (#11256) 2020-05-03 00:04:31 +01:00
ssh
structs API: Add pull review endpoints (#11224) 2020-05-02 03:20:51 +03:00
sync
task
templates Support unicode emojis and remove emojify.js (#11032) 2020-04-28 15:05:39 -03:00
test
timeutil
upload
user Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00
util
validation [API] Get a single commit via Ref (#10915) 2020-04-07 22:54:46 -04:00
webhook