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 Update branch API endpoint to show effective branch protection. (#9031) 2019-11-16 19:39:18 +00:00
collaborators.go
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
git_hook.go
git_ref.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
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 Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
release.go
release_attachment.go
repo.go Team permission to create repository in organization (#8312) 2019-11-20 19:27:49 +08:00
repo_test.go
star.go
status.go
subscriber.go
tag.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
topic.go
tree.go