forgejo/routers
zeripath 4b4884ce88
Return nicer error if trying to pull from non-existent user (#18288)
* Return nicer error if trying to pull from non-existent user

Gitea serv will currently return an 500 if we try to pull from a repository where
the owner does not exist.

This PR checks for the UserNotExist Error when checking for the user and will
return a NotFound error instead.

Fix #18225
2022-01-16 11:44:11 +08:00
..
api/v1 Fix NPE on try to get tag reference via API (#18245) 2022-01-12 20:37:46 +00:00
common Instead of using routerCtx just escape the url before routing (#18086) 2021-12-25 00:50:49 +08:00
install Refactor HTTP request context (#17979) 2021-12-15 14:59:57 +08:00
private Return nicer error if trying to pull from non-existent user (#18288) 2022-01-16 11:44:11 +08:00
utils A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
web Webauthn nits (#18284) 2022-01-15 17:52:56 +01:00
init.go Move keys to models/asymkey (#17917) 2021-12-10 16:14:24 +08:00