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
..
Azure/go-ntlmssp [Vendor] Update go-ldap to v3.2.4 (#13163) 2020-10-15 15:27:33 -04:00
Microsoft/go-winio Vendor Update (#16121) 2021-06-10 16:44:25 +02:00
NYTimes/gziphandler Move macaron to chi (#14293) 2021-01-26 16:36:53 +01: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
RoaringBitmap/roaring Update vendor 20210707 (#16366) 2021-07-07 15:41:05 -04: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
beorn7/perks Use Go1.11 module (#5743) 2019-03-27 19:15:23 +08:00
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 Update github.com/pquerna/otp from untagged to v1.2.0 (#11358) 2020-05-10 15:50:16 +03:00
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 Server-side syntax highlighting for all code (#12047) 2020-07-01 00:34:03 +03:00
davecgh/go-spew Use Go1.11 module (#5743) 2019-03-27 19:15:23 +08:00
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 Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
dustin/go-humanize Show download count info in release list (#10124) 2020-02-03 21:50:37 +02:00
editorconfig/editorconfig-core-go/v2 [Vendor] Update directly used dependencys (#15593) 2021-04-22 20:08:53 -04:00
emirpasic/gods Implement git refs API for listing references (branches, tags and other) (#5354) 2018-11-27 16:52:20 -05:00
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 Use vendored go-swagger (#8087) 2019-09-04 22:53:54 +03:00
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 Implement webhook branch filter (#7791) 2019-09-09 08:48:21 +03:00
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 Update to github.com/lafriks/xormstore@v1.3.0 (#8317) 2019-10-02 02:32:12 +02:00
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 Implement git refs API for listing references (branches, tags and other) (#5354) 2018-11-27 16:52:20 -05:00
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 update vendor keybase/go-crypto (#10234) 2020-02-11 20:58:23 +02:00
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 Use Go1.11 module (#5743) 2019-03-27 19:15:23 +08:00
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
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 Add a storage layer for attachments (#11387) 2020-08-18 12:23:45 +08:00
mrjones/oauth go1.16 (#14783) 2021-02-28 18:08:33 -05:00
mschoch/smat [Vendor] blevesearch v0.8.1 -> v1.0.7 (#11360) 2020-05-10 06:40:54 +01:00
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
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 Improve handling of non-square avatars (#7025) 2019-05-25 14:46:14 +03:00
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 Rename scripts to build and add revive command as a new build tool command (#10942) 2020-04-03 22:29:12 +03:00
pmezard/go-difflib Update code.gitea.io/git (#3137) 2017-12-11 10:23:34 +08:00
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
quasoft/websspi Add single sign-on support via SSPI on Windows (#8463) 2019-11-23 01:33:31 +02:00
rivo/uniseg Vendor Update (#14496) 2021-01-28 17:56:38 +01: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 [Vendor] blevesearch v0.8.1 -> v1.0.7 (#11360) 2020-05-10 06:40:54 +01:00
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 Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
toqueteos/webbrowser Exclude generated files from language statistics (#11653) 2020-05-29 09:20:01 +03:00
tstranex/u2f Use Go1.11 module (#5743) 2019-03-27 19:15:23 +08:00
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 Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
yohcop/openid-go github.com/yohcop/openid-go update to first tagged version (#11357) 2020-05-10 09:53:04 +01:00
yuin Update vendor 20210707 (#16366) 2021-07-07 15:41:05 -04:00