This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
forgejo/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
asaskevich/govalidator [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
aymerick/douceur
Azure/go-ntlmssp
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
caddyserver/certmagic Update caddyserver/certmagic (#16789) 2021-08-23 18:07:40 -04:00
cespare/xxhash/v2
chi-middleware/proxy
couchbase
cpuguy83/go-md2man/v2
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
djherbis Use git log name-status in get last commit (#16059) 2021-06-21 01:00:46 +03:00
dlclark/regexp2
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
felixge/httpsnoop
fsnotify/fsnotify
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
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
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
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
jbenet/go-context
jessevdk/go-flags [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
josharian/intern
json-iterator/go Vendor Update (#16121) 2021-06-10 16:44:25 +02:00
kballard/go-shellquote
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
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
magiconair/properties [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
mailru/easyjson
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
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
modern-go
mrjones/oauth
mschoch/smat
msteinert/pam
nfnt/resize
niklasfasching/go-org [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
nwaples/rardecode
NYTimes/gziphandler
oklog/ulid [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
olekukonko/tablewriter
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
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
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
sergi/go-diff [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
shurcooL
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
steveyen/gtreap
stretchr/testify
subosito/gotenv
syndtr/goleveldb
toqueteos/webbrowser
tstranex/u2f
ulikunitz/xz
unknwon
unrolled/render Vendor Update (#16121) 2021-06-10 16:44:25 +02:00
urfave/cli
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