gitea/services
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
..
agit Return correct error response for agit force-push (#16989) 2021-09-08 22:20:55 +02:00
archiver Fix bundle creation (#17079) 2021-09-26 00:29:25 +03:00
attachment Read expected buffer size (#17409) 2021-10-24 22:12:43 +01:00
auth Simplify Gothic to use our session store instead of creating a different store (#17507) 2021-11-03 08:33:54 +08:00
comments Save and view issue/comment content history (#16909) 2021-10-10 18:40:03 -04:00
externalaccount Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
forms Add appearance section in settings (#17433) 2021-10-27 23:40:08 +08:00
gitdiff Properly determine CSV delimiter (#17459) 2021-10-30 23:50:40 +08:00
issue DBContext is just a Context (#17100) 2021-09-23 23:45:36 +08:00
lfs Test if LFS object is accessible (#16865) 2021-08-31 14:35:08 +01:00
mailer Always set a unique Message-ID header. (#17206) 2021-10-01 11:24:43 -04:00
mirror Handle broken references in mirror sync (#17013) 2021-10-21 16:45:25 +08:00
pull Fix some lints (#17337) 2021-10-17 20:47:12 +01:00
release DBContext is just a Context (#17100) 2021-09-23 23:45:36 +08:00
repository Fix some lints (#17337) 2021-10-17 20:47:12 +01:00
webhook Only allow webhook to send requests to allowed hosts (#17482) 2021-11-01 16:39:52 +08:00
wiki refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00