You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/modules/context
6543 9f55769804
Return json on 500 error from API (#11574)
* add API specific InternalServerError()

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

* return 500 error msg only if not Production mode

* Revert "return 500 error msg only if not Production mode"

This reverts commit 8467b2cee674ad205b452780ca88abb1b27643c8.

* InternalServerError

Co-authored-by: zeripath <art27@cantab.net>
4 years ago
..
api.go Return json on 500 error from API (#11574) 4 years ago
api_org.go Golint fixed for modules/context 8 years ago
api_test.go fix API link header (#7298) 5 years ago
auth.go When must change password only show Signout (#11600) 4 years ago
context.go Prevent redirect to Host (#9678) 5 years ago
org.go API add/generalize pagination (#9452) 5 years ago
pagination.go Use gitea forked macaron (#7933) 5 years ago
panic.go Use gitea forked macaron (#7933) 5 years ago
permission.go Use Req.URL.RequestURI() to cope with FCGI urls (#9473) 5 years ago
repo.go Allow unauthenticated users to compare (#11240) 4 years ago