gitea/modules/private
zeripath 4909493a9f
Allow manager logging to set SQL ()
This PR adds a new manager command to switch on SQL logging and to turn it off.

```
gitea manager logging log-sql
gitea manager logging log-sql --off
```

Signed-off-by: Andrew Thornton <art27@cantab.net>
..
hook.go Fix the bug: deploy key with write access can not push ()
internal.go Replace "unix" by "http+unix" for PROTOCOL ()
key.go refactor: move from io/ioutil to io and os package ()
mail.go format with gofumpt ()
manager.go Allow manager logging to set SQL ()
restore_repo.go Update HTTP status codes to modern codes ()
serv.go Fix the bug: deploy key with write access can not push ()