You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
3 years ago
..
setting Add appearance section in settings (#17433) 3 years ago
auth.go Simplify Gothic to use our session store instead of creating a different store (#17507) 3 years ago
auth_openid.go Make LDAP be able to skip local 2FA (#16954) 3 years ago
avatar.go Avatar refactor, move avatar code from `models` to `models.avatars`, remove duplicated code (#17123) 3 years ago
home.go Fix dashboard repolist alignment and repolisting (#17355) 3 years ago
home_test.go Move db related basic functions to models/db (#17075) 3 years ago
main_test.go Move db related basic functions to models/db (#17075) 3 years ago
notification.go Update documents for Gitea behind reverse proxy. Fix some small bugs (some URLs are generated without sub-path) (#17320) 3 years ago
oauth.go Add groups scope/claim to OIDC/OAuth2 Provider (#17367) 3 years ago
oauth_test.go Move login related structs and functions to models/login (#17093) 3 years ago
profile.go Add RSS/Atom feed support for user actions (#16002) 3 years ago
task.go Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago