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.
gitea/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>
3 years ago
..
admin Refactor update checker to use AppState (#17387) 3 years ago
dev Refactor routers directory (#15800) 4 years ago
events Move login related structs and functions to models/login (#17093) 4 years ago
explore Add user status filter to admin user management page (#16770) 3 years ago
feed Fix mispelling of starred as stared (#17465) 3 years ago
org Move login related structs and functions to models/login (#17093) 4 years ago
repo Stop double encoding blame commit messages (#17498) 3 years ago
user Simplify Gothic to use our session store instead of creating a different store (#17507) 3 years ago
base.go Use a variable but a function for IsProd because of a slight performance increment (#17368) 3 years ago
goget.go Related refactors to ctx.FormX functions (#16567) 4 years ago
home.go Refactor routers directory (#15800) 4 years ago
metrics.go Refactor routers directory (#15800) 4 years ago
nodeinfo.go Add nodeinfo endpoint for federation purposes (#16953) 4 years ago
swagger_json.go Refactor routers directory (#15800) 4 years ago
web.go Add appearance section in settings (#17433) 3 years ago