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.
forgejo/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>
3 years ago
..
agit Return correct error response for agit force-push (#16989) 3 years ago
archiver Fix bundle creation (#17079) 3 years ago
attachment Read expected buffer size (#17409) 3 years ago
auth Simplify Gothic to use our session store instead of creating a different store (#17507) 3 years ago
comments Save and view issue/comment content history (#16909) 3 years ago
externalaccount Move login related structs and functions to models/login (#17093) 3 years ago
forms Add appearance section in settings (#17433) 3 years ago
gitdiff Properly determine CSV delimiter (#17459) 3 years ago
issue DBContext is just a Context (#17100) 3 years ago
lfs Test if LFS object is accessible (#16865) 3 years ago
mailer Always set a unique Message-ID header. (#17206) 3 years ago
mirror Handle broken references in mirror sync (#17013) 3 years ago
pull Fix some lints (#17337) 3 years ago
release DBContext is just a Context (#17100) 3 years ago
repository Fix some lints (#17337) 3 years ago
webhook Only allow webhook to send requests to allowed hosts (#17482) 3 years ago
wiki refactor: move from io/ioutil to io and os package (#17109) 3 years ago