forkjo/templates
6543 5a187f4bcc Add API for Issue set Subscription (#8729)
* add issue subscriber API

* subscribers return []user.APIFormat

* add comments

* more meaningfull description

* without "reqToken()" api works ...
 * should be still secure beause ctx.user has to be there or nothing will hapen

* FIX: getIssueWatchers() get only aktive suscriber

* add return avter error on right position

* Revert "FIX: getIssueWatchers() get only aktive suscriber"

This reverts commit 5eca929185.

* Update routers/api/v1/repo/issue.go

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>

* test go linter again

* update swagger

* GetIssueWatchers -> GetIssueSubscribers

part one

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>

* GetIssueWatchers -> GetIssueSubscribers
part two

* Revert "test go linter again"

This reverts commit bab1235622.

* change description for unsubscribe too

* golangci-lint timeout avter 5min

* move issueSubscription to seperate file

* dont create black entitys

* use IsWatching until refactoring

* Update License Info

* better swagger description

* Update .golangci.yml

because functions moved from issue.go to issue_subscription.go

* add IssueWatchList type

* batch tasks

* use e Engien

* add error handling

* error should be the last type when returning multiple items

* short version

* reurn empy UserList instead of nil
2019-11-02 23:27:49 +08:00
..
admin [assets] configurable URL for static resources (#7911) 2019-10-22 20:11:01 +08:00
base Improve OGP (#8637) 2019-10-23 18:54:13 +01:00
custom Templates for extra links in top navbar and repo tool tabs. (#3308) 2018-01-10 08:19:50 +02:00
explore Repository avatar fallback configuration (#7087) 2019-06-02 14:40:12 +08:00
mail Mail assignee when issue/pull request is assigned (#8546) 2019-10-25 22:46:37 +08:00
org [assets] configurable URL for static resources (#7911) 2019-10-22 20:11:01 +08:00
pwa [assets] configurable URL for static resources (#7911) 2019-10-22 20:11:01 +08:00
repo Project files table style update (#8757) 2019-11-02 00:26:21 +00:00
status [assets] configurable URL for static resources (#7911) 2019-10-22 20:11:01 +08:00
swagger Add API for Issue set Subscription (#8729) 2019-11-02 23:27:49 +08:00
user Use AppSubUrl for more redirections (#8647) 2019-10-23 22:04:22 +01:00
home.tmpl [assets] configurable URL for static resources (#7911) 2019-10-22 20:11:01 +08:00
install.tmpl Add support of utf8mb4 for mysql (#6992) 2019-05-24 00:15:26 -04:00