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
zeripath 3803b15d76
Drop the event source if we are unauthorized (#15275) (#15280)
Backport #15275

A previous commit that sent unauthorized if the user is unauthorized
simply leads to the repeated reopening of the eventsource. #

This PR changes the event returned to tell the client to close the
eventsource and thus prevents the repeated reopening.

Signed-off-by: Andrew Thornton <art27@cantab.net>
4 years ago
..
admin Migrate to use jsoniter instead of encoding/json (#14841) 4 years ago
api/v1 Improve /api/v1/repos/issues/search by just getting repo ids (#15179) (#15192) 4 years ago
dev Display ui time with customize time location (#7792) 6 years ago
events Drop the event source if we are unauthorized (#15275) (#15280) 4 years ago
org Organization removal confirmation using name not password (#14738) 4 years ago
private Migrate to use jsoniter instead of encoding/json (#14841) 4 years ago
repo response 404 for diff/patch of a commit that not exist (#15221) (#15237) 4 years ago
routes Fix bug on avatar middleware (#15124) (#15126) 4 years ago
user Validate email in oauth registration form (#15014) 4 years ago
utils Clarify the suffices and prefixes of setting.AppSubURL and setting.AppURL (#12999) 4 years ago
home.go Add ui.explore settings to control view of explore pages (2) (#14094) 4 years ago
init.go Print usefull error if SQLite is used in settings but not supported (#14476) 4 years ago
install.go Add SameSite setting for cookies (#14900) 4 years ago
metrics.go Move metrics from macaron to chi (#13601) 4 years ago
swagger_json.go Move macaron to chi (#14293) 4 years ago