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.
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>
4 years ago
..
basic_auth.go Fix recovery middleware to render gitea style page. (#13857) 4 years ago
clean_path.go Fix recovery middleware to render gitea style page. (#13857) 4 years ago
compress.go Introduce go chi web framework as frontend of macaron, so that we can move routes from macaron to chi step by step (#7420) 4 years ago
content_charset.go Introduce go chi web framework as frontend of macaron, so that we can move routes from macaron to chi step by step (#7420) 4 years ago
content_encoding.go Introduce go chi web framework as frontend of macaron, so that we can move routes from macaron to chi step by step (#7420) 4 years ago
content_type.go Fix recovery middleware to render gitea style page. (#13857) 4 years ago
get_head.go Introduce go chi web framework as frontend of macaron, so that we can move routes from macaron to chi step by step (#7420) 4 years ago
heartbeat.go Introduce go chi web framework as frontend of macaron, so that we can move routes from macaron to chi step by step (#7420) 4 years ago
logger.go Fix recovery middleware to render gitea style page. (#13857) 4 years ago
middleware.go Introduce go chi web framework as frontend of macaron, so that we can move routes from macaron to chi step by step (#7420) 4 years ago
nocache.go Introduce go chi web framework as frontend of macaron, so that we can move routes from macaron to chi step by step (#7420) 4 years ago
profiler.go Introduce go chi web framework as frontend of macaron, so that we can move routes from macaron to chi step by step (#7420) 4 years ago
realip.go Introduce go chi web framework as frontend of macaron, so that we can move routes from macaron to chi step by step (#7420) 4 years ago
recoverer.go Introduce go chi web framework as frontend of macaron, so that we can move routes from macaron to chi step by step (#7420) 4 years ago
request_id.go Introduce go chi web framework as frontend of macaron, so that we can move routes from macaron to chi step by step (#7420) 4 years ago
route_headers.go Introduce go chi web framework as frontend of macaron, so that we can move routes from macaron to chi step by step (#7420) 4 years ago
strip.go Fix recovery middleware to render gitea style page. (#13857) 4 years ago
terminal.go Introduce go chi web framework as frontend of macaron, so that we can move routes from macaron to chi step by step (#7420) 4 years ago
throttle.go Introduce go chi web framework as frontend of macaron, so that we can move routes from macaron to chi step by step (#7420) 4 years ago
timeout.go Introduce go chi web framework as frontend of macaron, so that we can move routes from macaron to chi step by step (#7420) 4 years ago
url_format.go Fix recovery middleware to render gitea style page. (#13857) 4 years ago
value.go Introduce go chi web framework as frontend of macaron, so that we can move routes from macaron to chi step by step (#7420) 4 years ago
wrap_writer.go Introduce go chi web framework as frontend of macaron, so that we can move routes from macaron to chi step by step (#7420) 4 years ago