mirror of
https://github.com/go-gitea/gitea
synced 2025-08-11 03:58:20 +00:00
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>
This commit is contained in:
17
vendor/modules.txt
vendored
17
vendor/modules.txt
vendored
@@ -7,6 +7,13 @@ code.gitea.io/gitea-vet/checks
|
||||
# code.gitea.io/sdk/gitea v0.13.1
|
||||
## explicit
|
||||
code.gitea.io/sdk/gitea
|
||||
# gitea.com/go-chi/session v0.0.0-20201218134809-7209fa084f27
|
||||
## explicit
|
||||
gitea.com/go-chi/session
|
||||
gitea.com/go-chi/session/couchbase
|
||||
gitea.com/go-chi/session/memcache
|
||||
gitea.com/go-chi/session/mysql
|
||||
gitea.com/go-chi/session/postgres
|
||||
# gitea.com/lunny/levelqueue v0.3.0
|
||||
## explicit
|
||||
gitea.com/lunny/levelqueue
|
||||
@@ -188,7 +195,7 @@ github.com/cespare/xxhash/v2
|
||||
github.com/chris-ramon/douceur/parser
|
||||
# github.com/couchbase/go-couchbase v0.0.0-20201026062457-7b3be89bbd89
|
||||
github.com/couchbase/go-couchbase
|
||||
# github.com/couchbase/gomemcached v0.1.0
|
||||
# github.com/couchbase/gomemcached v0.1.1
|
||||
github.com/couchbase/gomemcached
|
||||
github.com/couchbase/gomemcached/client
|
||||
# github.com/couchbase/goutils v0.0.0-20201030094643-5e82bb967e67
|
||||
@@ -257,7 +264,7 @@ github.com/gliderlabs/ssh
|
||||
github.com/glycerine/go-unsnap-stream
|
||||
# github.com/go-asn1-ber/asn1-ber v1.5.1
|
||||
github.com/go-asn1-ber/asn1-ber
|
||||
# github.com/go-chi/chi v1.5.0
|
||||
# github.com/go-chi/chi v1.5.1
|
||||
## explicit
|
||||
github.com/go-chi/chi
|
||||
github.com/go-chi/chi/middleware
|
||||
@@ -630,8 +637,6 @@ github.com/oliamb/cutter
|
||||
github.com/olivere/elastic/v7
|
||||
github.com/olivere/elastic/v7/config
|
||||
github.com/olivere/elastic/v7/uritemplates
|
||||
# github.com/onsi/ginkgo v1.13.0
|
||||
## explicit
|
||||
# github.com/pelletier/go-toml v1.8.1
|
||||
## explicit
|
||||
github.com/pelletier/go-toml
|
||||
@@ -750,6 +755,9 @@ github.com/unknwon/i18n
|
||||
# github.com/unknwon/paginater v0.0.0-20200328080006-042474bd0eae
|
||||
## explicit
|
||||
github.com/unknwon/paginater
|
||||
# github.com/unrolled/render v1.0.3
|
||||
## explicit
|
||||
github.com/unrolled/render
|
||||
# github.com/urfave/cli v1.22.5
|
||||
## explicit
|
||||
github.com/urfave/cli
|
||||
@@ -916,7 +924,6 @@ golang.org/x/tools/internal/typesinternal
|
||||
golang.org/x/xerrors
|
||||
golang.org/x/xerrors/internal
|
||||
# google.golang.org/appengine v1.6.7
|
||||
## explicit
|
||||
google.golang.org/appengine
|
||||
google.golang.org/appengine/internal
|
||||
google.golang.org/appengine/internal/app_identity
|
||||
|
Reference in New Issue
Block a user