1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-10 17:54:27 +00:00
6543 37e10d4543 [API] Add Reactions (#9220)
* reject reactions wich ar not allowed

* dont duble check CreateReaction now throw ErrForbiddenIssueReaction

* add /repos/{owner}/{repo}/issues/comments/{id}/reactions endpoint

* add Find Functions

* fix some swagger stuff + add issue reaction endpoints + GET ReactionList now use FindReactions...

* explicite Issue Only Reaction for FindReactionsOptions with "-1" commentID

* load issue; load user ...

* return error again

* swagger def canged after LINT

* check if user has ben loaded

* add Tests

* better way of comparing results

* add suggestion

* use different issue for test
(dont interfear with integration test)

* test dont compare Location on timeCompare

* TEST: add forbidden dubble add

* add comments in code to explain

* add settings.UI.ReactionsMap
so if !setting.UI.ReactionsMap[opts.Type] works
2019-12-07 17:04:19 -05:00
..
2019-12-07 17:04:19 -05:00
2019-08-23 12:40:29 -04:00
2019-10-17 11:26:49 +02:00
2017-05-04 13:54:56 +08:00
2019-12-07 17:04:19 -05:00
2019-06-12 15:41:28 -04:00
2019-09-24 21:22:39 +08:00
2019-12-07 17:04:19 -05:00
2019-11-30 21:44:39 -05:00
2019-12-02 16:43:39 +02:00
2019-10-17 11:26:49 +02:00
2019-10-17 11:26:49 +02:00
2019-11-12 16:33:34 +08:00
2019-10-17 10:06:28 +08:00
2019-11-23 23:03:35 +08:00
2019-11-11 23:15:29 +08:00
2019-10-17 11:26:49 +02:00
2019-10-17 11:26:49 +02:00
2019-12-06 21:13:19 -05:00
2019-06-12 15:41:28 -04:00
2019-10-17 11:26:49 +02:00
2019-08-23 12:40:29 -04:00
2019-06-12 15:41:28 -04:00
2019-06-12 15:41:28 -04:00
2018-10-20 18:19:21 -04:00