1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-11 02:04:27 +00:00
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 c1de540147199f2f1a8dd0d008f54af3603e2229.

* 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
..
2019-05-04 11:45:34 -04:00
2017-04-21 19:32:31 +08:00
2018-05-09 19:29:04 +03:00
2018-05-09 19:29:04 +03:00
2017-01-09 21:49:51 +01:00
2019-11-11 23:15:29 +08:00
2019-11-11 23:15:29 +08:00
2017-01-25 18:37:10 +08:00
2017-09-12 09:48:13 +03:00
2017-09-12 09:48:13 +03:00