gitea/routers
pricly-yellow 7b1153e943
API pull's head/base have correct permission(#17214) (#17245)
* for all pull requests API return permissions of caller
* for all webhook return empty permissions

Signed-off-by: Danila Kryukov <pricly_yellow@dismail.de>

* Fix incorrect error handler

Co-authored-by: delvh <dev.lh@web.de>

* Fix wrong assumption in tests

* Change paramenter name to doer to indicate source

Co-authored-by: 6543 <6543@obermui.de>

Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: 6543 <6543@obermui.de>
2021-10-07 12:39:23 +03:00
..
api/v1 API pull's head/base have correct permission(#17214) (#17245) 2021-10-07 12:39:23 +03:00
common Support custom mime type mapping for text files (#16304) 2021-06-30 17:31:54 -04:00
install just add some unit tests (#16291) 2021-06-29 22:00:02 +01:00
private Restore functionality for pushing non-standard refs (Partial #16705) (#16706) 2021-08-17 10:24:47 +02:00
utils just add some unit tests (#16291) 2021-06-29 22:00:02 +01:00
web Fix stange behavior of DownloadPullDiffOrPatch in incorect index (#17223) (#17227) 2021-10-05 20:16:22 +02:00
init.go Add LRU mem cache implementation (#16226) 2021-07-10 23:54:15 +02:00