forgejo/modules/context
Lunny Xiao 15a475b7db
Fix recovery middleware to render gitea style page. (#13857)
* Some changes to fix recovery

* Move Recovery to middlewares

* Remove trace code

* Fix lint

* add session middleware and remove dependent on macaron for sso

* Fix panic 500 page rendering

* Fix bugs

* Fix fmt

* Fix vendor

* recover unnecessary change

* Fix lint and addd some comments about the copied codes.

* Use util.StatDir instead of com.StatDir

Co-authored-by: 6543 <6543@obermui.de>
2021-01-05 21:05:40 +08:00
..
api.go Send error message when CSRF token is missing (#13676) 2020-11-23 07:56:04 +00:00
api_org.go
api_test.go fix API link header (#7298) 2019-06-26 16:51:32 +08:00
auth.go Move install pages out of main macaron routes (#13195) 2020-10-19 17:03:08 -04:00
context.go Fix recovery middleware to render gitea style page. (#13857) 2021-01-05 21:05:40 +08:00
org.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
pagination.go Multiple GitGraph improvements: Exclude PR heads, Add branch/PR links, Show only certain branches, (#12766) 2020-11-08 12:21:54 -05:00
permission.go Use Req.URL.RequestURI() to cope with FCGI urls (#9473) 2019-12-24 00:11:12 +00:00
repo.go Support shortened commit SHAs in URLs (#13686) 2020-11-25 15:07:39 -05:00