forgejo/routers/web
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
..
admin Refactor update checker to use AppState (#17387) 2021-10-21 17:10:49 +01:00
dev
events
explore Add user status filter to admin user management page (#16770) 2021-10-12 20:11:35 +02:00
feed Fix mispelling of starred as stared (#17465) 2021-10-28 15:05:00 +08:00
org
repo Stop double encoding blame commit messages (#17498) 2021-10-31 10:25:24 +02:00
user Simplify Gothic to use our session store instead of creating a different store (#17507) 2021-11-03 08:33:54 +08:00
base.go Use a variable but a function for IsProd because of a slight performance increment (#17368) 2021-10-20 16:37:19 +02:00
goget.go
home.go
metrics.go
nodeinfo.go
swagger_json.go
web.go Add appearance section in settings (#17433) 2021-10-27 23:40:08 +08:00