1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-14 14:14:25 +00:00
gitea/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_org.go Golint fixed for modules/context 2016-11-25 14:53:59 +08:00
api_test.go fix API link header (#7298) 2019-06-26 16:51:32 +08:00
api.go Provide diff and patch API endpoints (#11751) 2020-06-05 14:03:12 +03:00
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 Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
panic.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
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