Issues Subscription different Types #4252

Closed
opened 2025-11-02 05:43:57 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @6543 on GitHub (Nov 6, 2019).

Migrate to new Types

current: true (1), false(0)

aim: IssueWatchModeNone, IssueWatchModeNormal, IssueWatchModeDont, IssueWatchModeAuto

ToDo

  • DB migration
  • Update Related code
  • new Function to get Types
  • extend subscription API
    GET /repos/{owner}/{repo}/issues/{index}/subscriptions/{user}
  • ignore issue if unsubscribed but repowatch

Notes

IssueWatchModeNone = not watching / no DB entry
IssueWatchModeNormal = subscribed to issue (manualy)
IssueWatchModeDont = explisit unsubscribe
IssueWatchModeAuto = subscribed by automation (write a comment at this issue)

RepoWatch should respect IssueWatchModeDont in future ...

Originally created by @6543 on GitHub (Nov 6, 2019). # Migrate to new Types current: true (1), false(0) aim: `IssueWatchModeNone, IssueWatchModeNormal, IssueWatchModeDont, IssueWatchModeAuto` ## ToDo * [ ] DB migration * [ ] Update Related code * [ ] new Function to get Types * [ ] extend subscription API `GET /repos/{owner}/{repo}/issues/{index}/subscriptions/{user}` * [ ] ignore issue if unsubscribed but repowatch ## Notes IssueWatchModeNone = not watching / no DB entry IssueWatchModeNormal = subscribed to issue (manualy) IssueWatchModeDont = explisit unsubscribe IssueWatchModeAuto = subscribed by automation (write a comment at this issue) RepoWatch should respect IssueWatchModeDont in future ...
GiteaMirror added the type/enhancement label 2025-11-02 05:43:57 -06:00
Author
Owner

@6543 commented on GitHub (Dec 6, 2019):

this should close part of #145 (Automatic subscribe on Open/Comment, etc)

@6543 commented on GitHub (Dec 6, 2019): this should close part of #145 (Automatic subscribe on Open/Comment, etc)
Author
Owner

@6543 commented on GitHub (Jan 23, 2020):

WIP PR: #9535

@6543 commented on GitHub (Jan 23, 2020): WIP PR: #9535
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#4252