forgejo/routers/api/v1/repo
6543 2ab8c78c30 Refactor Issues Subscription (#8738)
* FIX: getIssueWatchers() get only aktive suscriber

* save query to work later with it or not ...

* fix test + add new case

* corect tests + GetIssueWatch

* API issue_subscripton: Put/Delete require tocken

* remove redundant code

* swagger specify return value

* remove unused binding

* remove note
because I'll implement this in a different way and in another PR

* ID should be unique!

* use xorm session

* Revert "use xorm session"

This reverts commit c1de540147.

* better test code
* more acurate comments
* use assert.False/True instead of Equal

* use more assert methodes
2019-11-20 22:50:54 +08:00
..
blob.go
branch.go
collaborators.go
commits.go
file.go
fork.go
git_hook.go
git_ref.go
hook.go
hook_test.go
issue.go
issue_comment.go
issue_label.go
issue_subscription.go Refactor Issues Subscription (#8738) 2019-11-20 22:50:54 +08:00
issue_tracked_time.go
key.go
label.go
main_test.go
milestone.go
pull.go
release.go
release_attachment.go
repo.go
repo_test.go
star.go
status.go
subscriber.go
tag.go
topic.go
tree.go