#174 Add support for subscribing to issues

Closed
opened 1 month ago by 6543 · 8 comments
6543 commented 1 month ago

Created By: @PopeRigby

Created By: @PopeRigby
6543 added the
Feature
label 1 month ago
6543 closed this issue 1 month ago
6543 self-assigned this 1 month ago
mmarif commented 1 month ago
Owner

There is no API for this to my knowledge so I will add the appropriate label.

@6543 remove the label, if you know of any.

There is no API for this to my knowledge so I will add the appropriate label. @6543 remove the label, if you know of any.
6543 commented 1 month ago
Poster

@mmarif created issue: https://github.com/go-gitea/gitea/issues/8702

should be not hard to implement ... I’ll have a look at it

@mmarif created issue: https://github.com/go-gitea/gitea/issues/8702 should be not hard to implement ... I'll have a look at it
6543 commented 1 month ago
Poster

@mmarif API is ready ... hope we can work with ;)

https://github.com/go-gitea/gitea/pull/8729

only downside, but this is outside of the PR scope:

-> API doesnt return Users who subscribed to the whole repo and if you have: you will get notifications too

@mmarif API is ready ... hope we can work with ;) https://github.com/go-gitea/gitea/pull/8729 only downside, but this is outside of the PR scope: -> API doesnt return Users who subscribed to the whole repo and if you have: you will get notifications too
mmarif commented 1 month ago
Owner

@6543 Right now this API should only deal with subscribe and unsubscribe the current logged in user for that specific issue.

Getting the list can be done in another PR.

API doesnt return Users who subscribed to the whole repo and if you have: you will get notifications too

whole repo?, I guess you mean issue?

@6543 Right now this API should only deal with subscribe and unsubscribe the current logged in user for that specific issue. Getting the list can be done in another PR. > API doesnt return Users who subscribed to the whole repo and if you have: you will get notifications too whole repo?, I guess you mean issue?
6543 commented 1 month ago
Poster

gitea has two different tables to subscribe to - for issue changes!

  • wacht repo: you get all notify issue changes
  • issue watch: only importand if first is not the case
gitea has two different tables to subscribe to - for issue changes! - wacht repo: you get all notify issue changes - issue watch: only importand if first is not the case
6543 commented 1 month ago
Poster

this code will be refactored so it should not be importand for GitNex itself just a sidenote

this code will be refactored so it should not be importand for GitNex itself just a sidenote
mmarif commented 1 month ago
Owner

Ok, got it.

Ok, got it.
6543 commented 1 month ago
Poster

@mmarif done! “Add API for Issue set Subscription” is merged - so 1.11.x will have this API

@mmarif done! ["Add API for Issue set Subscription"](https://github.com/go-gitea/gitea/pull/8729) is merged - so 1.11.x will have this API
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.