This repository has been archived on 2023-02-01. You can view files and clone it, but cannot push or open issues or pull requests.
gitea/routers/api/v1
zeripath de3216ee55
Use common sessioner for API and web routes (#18114)
* Use common sessioner for API and web routes

Since the regenerate session ID PR some users of the memory session provider have been
reporting difficulties with getting API results.

I am uncertain as to why this is happening - but I think that the sessioner being
created twice may be a potential cause for this. Therefore this PR attempts to move
this out to a common sessioner as it is in 1.16.

Fix #18070

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Update routers/init.go
2021-12-28 22:15:01 +00:00
..
admin Ensure complexity, minlength and ispwned are checked on password setting (#18005) (#18015) 2021-12-17 21:24:59 +00:00
misc Refactor renders (#15175) 2021-04-19 18:25:08 -04:00
notify [API] expose repo.GetReviewers() & repo.GetAssignees() (#16168) 2021-06-17 16:02:34 +02:00
org List limited and private orgs if authenticated on API (#16866) (#16879) 2021-08-31 12:49:02 +02:00
repo Ensure that git repository is closed before transfer (#18049) (#18057) 2021-12-21 18:27:46 +00:00
settings Add custom emoji support (#16004) 2021-06-29 16:28:38 +02:00
swagger Swagger AccessToken fixes (#16574) (#16597) 2021-08-02 20:24:47 +02:00
user Fix user primary email changed (#17840) 2021-11-28 12:04:44 +01:00
utils Let branch/tag name be a valid ref to get CI status (#16400) 2021-07-13 08:14:14 +01:00
api.go Use common sessioner for API and web routes (#18114) 2021-12-28 22:15:01 +00:00