forgejo/modules/context
zeripath f761a37a0f
Provide diff and patch API endpoints (#11751)
* Provide diff and patch API endpoints

The diff and patch endpoints on the main routes are not accessible by token
therefore we provide new API based endpoints for these

Fix #10923

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

* placate swagger

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

* Make the response an actual string

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

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Lauris BH <lauris@nix.lv>
2020-06-05 14:03:12 +03:00
..
api.go Provide diff and patch API endpoints (#11751) 2020-06-05 14:03:12 +03:00
api_org.go
api_test.go
auth.go When must change password only show Signout (#11600) 2020-05-26 23:39:39 +01:00
context.go Include query in sign in redirect (#11579) 2020-06-03 23:41:02 -04:00
org.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
pagination.go
panic.go
permission.go Use Req.URL.RequestURI() to cope with FCGI urls (#9473) 2019-12-24 00:11:12 +00:00
repo.go Allow unauthenticated users to compare (#11240) 2020-05-04 19:44:30 -03:00