0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-27 18:04:04 -05:00
forgejo/routers
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
..
admin Custom icons for OAuth sources (#14161) 2020-12-28 03:35:55 +01:00
api/v1 Add MirrorInterval to the API (#14163) 2021-01-02 18:47:47 -05:00
dev
events
org migrate from com.* to alternatives (#14103) 2020-12-25 11:59:32 +02:00
private Check for 'main' as potential default branch name (#14193) 2020-12-30 15:46:26 +00:00
repo migrate from com.* to alternatives (#14103) 2020-12-25 11:59:32 +02:00
routes Fix recovery middleware to render gitea style page. (#13857) 2021-01-05 21:05:40 +08:00
user Issue and pull request filters on organization dashboard #14052 (#14072) 2021-01-03 18:29:12 +01:00
utils Return the full rejection message and errors in flash errors (#13221) 2020-10-20 19:50:10 -04:00
home.go Simplify CheckUnitUser logic (#12854) 2020-09-15 19:49:34 -04:00
init.go Fix recovery middleware to render gitea style page. (#13857) 2021-01-05 21:05:40 +08:00
install.go migrate from com.* to alternatives (#14103) 2020-12-25 11:59:32 +02:00
metrics.go Move metrics from macaron to chi (#13601) 2020-11-17 15:50:06 -05:00
swagger_json.go