githaven-fork/routers/private
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
..
default_branch.go Refactor HTTP request context (#17979) 2021-12-15 14:59:57 +08:00
hook_post_receive.go Some repository refactors (#17950) 2021-12-12 23:48:20 +08:00
hook_pre_receive.go Fix various typos (#18219) 2022-01-10 17:32:37 +08:00
hook_proc_receive.go Clean-up HookPreReceive and restore functionality for pushing non-standard refs (#16705) 2021-09-16 15:34:54 +02:00
hook_verification.go Move keys to models/asymkey (#17917) 2021-12-10 16:14:24 +08:00
internal_repo.go Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
internal.go Clean-up HookPreReceive and restore functionality for pushing non-standard refs (#16705) 2021-09-16 15:34:54 +02:00
key.go Refactor HTTP request context (#17979) 2021-12-15 14:59:57 +08:00
mail.go Refactor HTTP request context (#17979) 2021-12-15 14:59:57 +08:00
manager_unix.go Refactor HTTP request context (#17979) 2021-12-15 14:59:57 +08:00
manager_windows.go Refactor HTTP request context (#17979) 2021-12-15 14:59:57 +08:00
manager.go Refactor HTTP request context (#17979) 2021-12-15 14:59:57 +08:00
restore_repo.go Move migrations into services and base into modules/migration (#17663) 2021-11-16 23:25:33 +08:00
serv.go Return nicer error if trying to pull from non-existent user (#18288) 2022-01-16 11:44:11 +08:00
ssh_log.go add a new internal hook to save ssh log (#15787) 2021-05-21 17:37:16 -04:00