0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-18 07:52:03 +01:00
gitea/vendor/github.com
zeripath 9d855bd6a1
Simplify Gothic to use our session store instead of creating a different store (#17507)
* Simplify Gothic to use our session store instead of creating a different store

We have been using xormstore to provide a separate session store for our OAuth2 logins
however, this relies on using gorilla context and some doubling of our session storing.
We can however, simplify and simply use our own chi-based session store. Thus removing
a cookie and some of the weirdness with missing contexts.

Signed-off-by: Andrew Thornton <art27@cantab.net>

* as per review

Signed-off-by: Andrew Thornton <art27@cantab.net>

* as per review

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Handle MaxTokenLength

Signed-off-by: Andrew Thornton <art27@cantab.net>

* oops

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Lauris BH <lauris@nix.lv>
2021-11-03 08:33:54 +08:00
..
acomagu/bufpipe Vendor Update (#16121) 2021-06-10 16:44:25 +02:00
alecthomas/chroma Update Vendor (#16325) 2021-07-04 04:06:10 +02:00
andybalholm Vendor Update (#16121) 2021-06-10 16:44:25 +02:00
anmitsu/go-shlex Vendor Update Go Libs (#13166) 2020-10-16 01:06:27 -04:00
asaskevich/govalidator [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
aymerick/douceur Update to bluemonday-1.0.6 (#15294) 2021-04-05 17:38:31 -04:00
Azure/go-ntlmssp [Vendor] Update go-ldap to v3.2.4 (#13163) 2020-10-15 15:27:33 -04:00
beorn7/perks
bits-and-blooms/bitset Vendor Update (#16121) 2021-06-10 16:44:25 +02:00
blevesearch Update Vendor (#16325) 2021-07-04 04:06:10 +02:00
boombuler/barcode
bradfitz/gomemcache go1.16 (#14783) 2021-02-28 18:08:33 -05:00
caddyserver/certmagic Update caddyserver/certmagic (#16789) 2021-08-23 18:07:40 -04:00
cespare/xxhash/v2 Vendor Update Go Libs (#13166) 2020-10-16 01:06:27 -04:00
chi-middleware/proxy Add reverse proxy configuration support for remote IP address (#14959) 2021-03-16 00:27:28 +02:00
couchbase go1.16 (#14783) 2021-02-28 18:08:33 -05:00
cpuguy83/go-md2man/v2 Vendor Update Go Libs (#13166) 2020-10-16 01:06:27 -04:00
danwakefield/fnmatch
davecgh/go-spew
denisenkom/go-mssqldb [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
dgryski/go-rendezvous [Vendor] Update go-redis to v8.5.0 (#13749) 2021-02-10 21:28:32 +00:00
djherbis Use git log name-status in get last commit (#16059) 2021-06-21 01:00:46 +03:00
dlclark/regexp2 Vendor Update Go Libs (#13166) 2020-10-16 01:06:27 -04:00
dsnet/compress
dustin/go-humanize
editorconfig/editorconfig-core-go/v2 [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
emirpasic/gods
ethantkoenig/rupture Upgrade blevesearch dependency to v2.0.1 (#14346) 2021-01-17 20:21:14 -05:00
felixge/httpsnoop Vendor Update (#14496) 2021-01-28 17:56:38 +01:00
fsnotify/fsnotify [Vendor] update go-swagger v0.21.0 -> v0.25.0 (#12670) 2020-09-01 10:01:23 -04:00
gliderlabs/ssh Upgrade Gliderlabs SSH to 0.3.3 and add FailedConnectionCallback (#16278) 2021-06-28 13:05:27 -04:00
go-asn1-ber/asn1-ber go1.16 (#14783) 2021-02-28 18:08:33 -05:00
go-chi Upgrade chi to v5 (#17298) 2021-10-13 22:50:23 -04:00
go-enry Update Vendor (#16325) 2021-07-04 04:06:10 +02:00
go-git Update Go-Git to take advantage of LargeObjectThreshold (#16316) 2021-06-30 22:58:45 +02:00
go-ldap/ldap/v3 [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
go-openapi [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
go-redis/redis/v8 Update Vendor (#16325) 2021-07-04 04:06:10 +02:00
go-sql-driver/mysql [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
go-stack/stack
go-swagger/go-swagger [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
go-testfixtures/testfixtures/v3 Vendor Update (#16121) 2021-06-10 16:44:25 +02:00
gobwas/glob
goccy/go-json Upgrade xorm to v1.2.2 (#16663) 2021-08-13 01:11:42 +02:00
gogs Add support to migrate from gogs (#14342) 2021-01-21 20:33:58 +01:00
golang Update Vendor (#16325) 2021-07-04 04:06:10 +02:00
golang-jwt/jwt Upgrade to golang-jwt 3.2.2 (#16590) 2021-08-03 14:32:01 -04:00
golang-sql/civil
google Upgrade go-github to v39 (#17437) 2021-10-26 08:19:21 +01:00
gorilla Simplify Gothic to use our session store instead of creating a different store (#17507) 2021-11-03 08:33:54 +08:00
hashicorp Update Vendor (#16325) 2021-07-04 04:06:10 +02:00
huandu/xstrings Vendor Update Go Libs (#13166) 2020-10-16 01:06:27 -04:00
imdario/mergo [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
issue9/identicon [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
jaytaylor/html2text Vendor Update Go Libs (#13444) 2020-11-06 13:41:42 -05:00
jbenet/go-context
jessevdk/go-flags [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
josharian/intern Vendor Update Go Libs (#13166) 2020-10-16 01:06:27 -04:00
json-iterator/go Vendor Update (#16121) 2021-06-10 16:44:25 +02:00
kballard/go-shellquote Vendor Update Go Libs (#13444) 2020-11-06 13:41:42 -05:00
kevinburke/ssh_config [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
keybase/go-crypto
klauspost Update caddyserver/certmagic (#16789) 2021-08-23 18:07:40 -04:00
kr Vendor Update (#14496) 2021-01-28 17:56:38 +01:00
lib/pq Vendor Update (#16121) 2021-06-10 16:44:25 +02:00
libdns/libdns Vendor Update (#16121) 2021-06-10 16:44:25 +02:00
lunny/dingtalk_webhook [Vendor] update macaron related (#13409) 2020-11-03 08:04:09 +02:00
magiconair/properties [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
mailru/easyjson go1.16 (#14783) 2021-02-28 18:08:33 -05:00
markbates Add microsoft oauth2 providers (#16544) 2021-08-05 21:11:08 -04:00
mattn Upgrade xorm to v1.2.2 (#16663) 2021-08-13 01:11:42 +02:00
matttproud/golang_protobuf_extensions
mholt go1.16 (#14783) 2021-02-28 18:08:33 -05:00
microcosm-cc/bluemonday Upgrade Bluemonday to v1.0.16 (#17372) 2021-10-20 16:58:39 -04:00
Microsoft/go-winio Vendor Update (#16121) 2021-06-10 16:44:25 +02:00
miekg/dns Update Vendor (#16325) 2021-07-04 04:06:10 +02:00
minio Update Vendor (#16325) 2021-07-04 04:06:10 +02:00
mitchellh Vendor Update (#14496) 2021-01-28 17:56:38 +01:00
modern-go
mrjones/oauth go1.16 (#14783) 2021-02-28 18:08:33 -05:00
mschoch/smat
msteinert/pam go1.16 (#14783) 2021-02-28 18:08:33 -05:00
nfnt/resize Fix Avatar Resize (resize algo NearestNeighbor -> Bilinear) (#12745) 2020-09-06 20:53:33 +01:00
niklasfasching/go-org [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
nwaples/rardecode Vendor Update Go Libs (#13166) 2020-10-16 01:06:27 -04:00
NYTimes/gziphandler Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
oklog/ulid [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
olekukonko/tablewriter go1.16 (#14783) 2021-02-28 18:08:33 -05:00
oliamb/cutter
olivere/elastic/v7 Update Vendor (#16325) 2021-07-04 04:06:10 +02:00
pelletier/go-toml [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
pierrec/lz4/v4 Update Vendor (#16325) 2021-07-04 04:06:10 +02:00
pkg/errors
pmezard/go-difflib
pquerna/otp Vendor Update (#14496) 2021-01-28 17:56:38 +01:00
prometheus Vendor Update (#16121) 2021-06-10 16:44:25 +02:00
ProtonMail/go-crypto Update vendor 20210707 (#16366) 2021-07-07 15:41:05 -04:00
PuerkitoBio Update Vendor (#16325) 2021-07-04 04:06:10 +02:00
quasoft/websspi
rivo/uniseg Vendor Update (#14496) 2021-01-28 17:56:38 +01:00
RoaringBitmap/roaring Update vendor 20210707 (#16366) 2021-07-07 15:41:05 -04:00
rs/xid Vendor Update (#16121) 2021-06-10 16:44:25 +02:00
russross/blackfriday/v2 go1.16 (#14783) 2021-02-28 18:08:33 -05:00
sergi/go-diff [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
shurcooL go1.16 (#14783) 2021-02-28 18:08:33 -05:00
sirupsen/logrus Update Vendor (#16325) 2021-07-04 04:06:10 +02:00
spf13 [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
ssor/bom Vendor Update Go Libs (#13444) 2020-11-06 13:41:42 -05:00
steveyen/gtreap
stretchr/testify Upgrade blevesearch dependency to v2.0.1 (#14346) 2021-01-17 20:21:14 -05:00
subosito/gotenv [Vendor] update go-swagger v0.21.0 -> v0.25.0 (#12670) 2020-09-01 10:01:23 -04:00
syndtr/goleveldb
toqueteos/webbrowser
tstranex/u2f
ulikunitz/xz go1.16 (#14783) 2021-02-28 18:08:33 -05:00
unknwon Use i18n.Reset to reload locales (#15073) 2021-03-21 16:11:36 +01:00
unrolled/render Vendor Update (#16121) 2021-06-10 16:44:25 +02:00
urfave/cli Vendor Update Go Libs (#13444) 2020-11-06 13:41:42 -05:00
xanzy Update Vendor (#16325) 2021-07-04 04:06:10 +02:00
xi2/xz
yohcop/openid-go
yuin Update vendor 20210707 (#16366) 2021-07-07 15:41:05 -04:00