forked from gitea/gitea
1
0
Fork 0
gitea/modules/notification
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
..
action fix double 'push tag' action feed (#15078) 2021-03-21 11:11:22 +01:00
base Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
indexer Send notifications for mentions in pulls, issues, (code-)comments (#14218) 2021-01-02 18:04:02 +01:00
mail Improve notifications for WIP draft PR's (#14663) 2021-06-23 00:14:22 -04:00
ui Improve notifications for WIP draft PR's (#14663) 2021-06-23 00:14:22 -04:00
webhook API pull's head/base have correct permission(#17214) (#17245) 2021-10-07 12:39:23 +03:00
notification.go Repository transfer has to be confirmed, if user can not create repo for new owner (#14792) 2021-03-01 01:47:30 +01:00