1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
gitea/routers/api/v1/repo
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
..
blob.go Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314) 2019-04-17 12:06:35 -04:00
branch.go Update branch API endpoint to show effective branch protection. (#9031) 2019-11-16 19:39:18 +00:00
collaborators.go Move code.gitea.io/gitea/routers/api/v1/convert to code.gitea.io/gitea/modules/convert (#8892) 2019-11-10 12:41:51 +08:00
commits.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
file.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
fork.go Move some repositories' operations to a standalone service package (#8557) 2019-10-26 14:54:11 +08:00
git_hook.go Move code.gitea.io/gitea/routers/api/v1/convert to code.gitea.io/gitea/modules/convert (#8892) 2019-11-10 12:41:51 +08:00
git_ref.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
hook_test.go API endpoint for testing webhook (#3550) 2018-04-29 14:21:33 +08:00
hook.go Move code.gitea.io/gitea/routers/api/v1/convert to code.gitea.io/gitea/modules/convert (#8892) 2019-11-10 12:41:51 +08:00
issue_comment.go Move webhook codes from service to webhook notification (#8712) 2019-10-30 12:02:46 +02:00
issue_label.go Move issue label operations to issue service package (#8553) 2019-10-19 12:48:29 +03:00
issue_reaction.go [API] Add Reactions (#9220) 2019-12-07 17:04:19 -05:00
issue_subscription.go Refactor Issues Subscription (#8738) 2019-11-20 22:50:54 +08:00
issue_tracked_time.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
issue.go Fix API deadline removal (#8759) 2019-11-03 22:46:32 +08:00
key.go Move code.gitea.io/gitea/routers/api/v1/convert to code.gitea.io/gitea/modules/convert (#8892) 2019-11-10 12:41:51 +08:00
label.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
main_test.go API endpoint for testing webhook (#3550) 2018-04-29 14:21:33 +08:00
milestone.go Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
pull.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
release_attachment.go Fix API for edit and delete release attachment (#8285) 2019-09-27 10:24:06 +08:00
release.go Extract actions on deletereleasebyid from models to release service (#8219) 2019-10-01 00:10:00 +08:00
repo_test.go Fixes #5960 - Adds API Endpoint for Repo Edit (#7006) 2019-05-30 11:09:05 -04:00
repo.go Hide credentials when submitting migration (#9102) 2019-11-22 06:37:37 +00:00
star.go Move code.gitea.io/gitea/routers/api/v1/convert to code.gitea.io/gitea/modules/convert (#8892) 2019-11-10 12:41:51 +08:00
status.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
subscriber.go Move code.gitea.io/gitea/routers/api/v1/convert to code.gitea.io/gitea/modules/convert (#8892) 2019-11-10 12:41:51 +08:00
tag.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
topic.go Move code.gitea.io/gitea/routers/api/v1/convert to code.gitea.io/gitea/modules/convert (#8892) 2019-11-10 12:41:51 +08:00
tree.go Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314) 2019-04-17 12:06:35 -04:00