gitea: code.gitea.io/gitea/modules/notification Index | Files | Directories

package notification

import "code.gitea.io/gitea/modules/notification"

Index

Package Files

notification.go

func NewContext Uses

func NewContext()

NewContext registers notification handlers

func NotifyCreateIssueComment Uses

func NotifyCreateIssueComment(doer *models.User, repo *models.Repository,
    issue *models.Issue, comment *models.Comment, mentions []*models.User)

NotifyCreateIssueComment notifies issue comment related message to notifiers

func NotifyCreateRef Uses

func NotifyCreateRef(pusher *models.User, repo *models.Repository, refType, refFullName string)

NotifyCreateRef notifies branch or tag creation to notifiers

func NotifyCreateRepository Uses

func NotifyCreateRepository(doer *models.User, u *models.User, repo *models.Repository)

NotifyCreateRepository notifies create repository to notifiers

func NotifyDeleteComment Uses

func NotifyDeleteComment(doer *models.User, c *models.Comment)

NotifyDeleteComment notifies delete comment to notifiers

func NotifyDeleteRef Uses

func NotifyDeleteRef(pusher *models.User, repo *models.Repository, refType, refFullName string)

NotifyDeleteRef notifies branch or tag deletion to notifiers

func NotifyDeleteRelease Uses

func NotifyDeleteRelease(doer *models.User, rel *models.Release)

NotifyDeleteRelease notifies delete release to notifiers

func NotifyDeleteRepository Uses

func NotifyDeleteRepository(doer *models.User, repo *models.Repository)

NotifyDeleteRepository notifies delete repository to notifiers

func NotifyForkRepository Uses

func NotifyForkRepository(doer *models.User, oldRepo, repo *models.Repository)

NotifyForkRepository notifies fork repository to notifiers

func NotifyIssueChangeAssignee Uses

func NotifyIssueChangeAssignee(doer *models.User, issue *models.Issue, assignee *models.User, removed bool, comment *models.Comment)

NotifyIssueChangeAssignee notifies change content to notifiers

func NotifyIssueChangeContent Uses

func NotifyIssueChangeContent(doer *models.User, issue *models.Issue, oldContent string)

NotifyIssueChangeContent notifies change content to notifiers

func NotifyIssueChangeLabels Uses

func NotifyIssueChangeLabels(doer *models.User, issue *models.Issue,
    addedLabels []*models.Label, removedLabels []*models.Label)

NotifyIssueChangeLabels notifies change labels to notifiers

func NotifyIssueChangeMilestone Uses

func NotifyIssueChangeMilestone(doer *models.User, issue *models.Issue, oldMilestoneID int64)

NotifyIssueChangeMilestone notifies change milestone to notifiers

func NotifyIssueChangeRef Uses

func NotifyIssueChangeRef(doer *models.User, issue *models.Issue, oldRef string)

NotifyIssueChangeRef notifies change reference to notifiers

func NotifyIssueChangeStatus Uses

func NotifyIssueChangeStatus(doer *models.User, issue *models.Issue, actionComment *models.Comment, closeOrReopen bool)

NotifyIssueChangeStatus notifies close or reopen issue to notifiers

func NotifyIssueChangeTitle Uses

func NotifyIssueChangeTitle(doer *models.User, issue *models.Issue, oldTitle string)

NotifyIssueChangeTitle notifies change title to notifiers

func NotifyIssueClearLabels Uses

func NotifyIssueClearLabels(doer *models.User, issue *models.Issue)

NotifyIssueClearLabels notifies clear labels to notifiers

func NotifyMergePullRequest Uses

func NotifyMergePullRequest(pr *models.PullRequest, doer *models.User)

NotifyMergePullRequest notifies merge pull request to notifiers

func NotifyMigrateRepository Uses

func NotifyMigrateRepository(doer *models.User, u *models.User, repo *models.Repository)

NotifyMigrateRepository notifies create repository to notifiers

func NotifyNewIssue Uses

func NotifyNewIssue(issue *models.Issue, mentions []*models.User)

NotifyNewIssue notifies new issue to notifiers

func NotifyNewPullRequest Uses

func NotifyNewPullRequest(pr *models.PullRequest, mentions []*models.User)

NotifyNewPullRequest notifies new pull request to notifiers

func NotifyNewRelease Uses

func NotifyNewRelease(rel *models.Release)

NotifyNewRelease notifies new release to notifiers

func NotifyPullRequestChangeTargetBranch Uses

func NotifyPullRequestChangeTargetBranch(doer *models.User, pr *models.PullRequest, oldBranch string)

NotifyPullRequestChangeTargetBranch notifies when a pull request's target branch was changed

func NotifyPullRequestCodeComment Uses

func NotifyPullRequestCodeComment(pr *models.PullRequest, comment *models.Comment, mentions []*models.User)

NotifyPullRequestCodeComment notifies new pull request code comment

func NotifyPullRequestPushCommits Uses

func NotifyPullRequestPushCommits(doer *models.User, pr *models.PullRequest, comment *models.Comment)

NotifyPullRequestPushCommits notifies when push commits to pull request's head branch

func NotifyPullRequestReview Uses

func NotifyPullRequestReview(pr *models.PullRequest, review *models.Review, comment *models.Comment, mentions []*models.User)

NotifyPullRequestReview notifies new pull request review

func NotifyPullRequestSynchronized Uses

func NotifyPullRequestSynchronized(doer *models.User, pr *models.PullRequest)

NotifyPullRequestSynchronized notifies Synchronized pull request

func NotifyPullReviewRequest Uses

func NotifyPullReviewRequest(doer *models.User, issue *models.Issue, reviewer *models.User, isRequest bool, comment *models.Comment)

NotifyPullReviewRequest notifies Request Review change

func NotifyPushCommits Uses

func NotifyPushCommits(pusher *models.User, repo *models.Repository, opts *repository.PushUpdateOptions, commits *repository.PushCommits)

NotifyPushCommits notifies commits pushed to notifiers

func NotifyRenameRepository Uses

func NotifyRenameRepository(doer *models.User, repo *models.Repository, oldName string)

NotifyRenameRepository notifies repository renamed

func NotifySyncCreateRef Uses

func NotifySyncCreateRef(pusher *models.User, repo *models.Repository, refType, refFullName string)

NotifySyncCreateRef notifies branch or tag creation to notifiers

func NotifySyncDeleteRef Uses

func NotifySyncDeleteRef(pusher *models.User, repo *models.Repository, refType, refFullName string)

NotifySyncDeleteRef notifies branch or tag deletion to notifiers

func NotifySyncPushCommits Uses

func NotifySyncPushCommits(pusher *models.User, repo *models.Repository, opts *repository.PushUpdateOptions, commits *repository.PushCommits)

NotifySyncPushCommits notifies commits pushed to notifiers

func NotifyTransferRepository Uses

func NotifyTransferRepository(doer *models.User, repo *models.Repository, newOwnerName string)

NotifyTransferRepository notifies create repository to notifiers

func NotifyUpdateComment Uses

func NotifyUpdateComment(doer *models.User, c *models.Comment, oldContent string)

NotifyUpdateComment notifies update comment to notifiers

func NotifyUpdateRelease Uses

func NotifyUpdateRelease(doer *models.User, rel *models.Release)

NotifyUpdateRelease notifies update release to notifiers

func RegisterNotifier Uses

func RegisterNotifier(notifier base.Notifier)

RegisterNotifier providers method to receive notify messages

Directories

PathSynopsis
action
base
indexer
mail
ui
webhook

Package notification imports 9 packages (graph) and is imported by 49 packages. Updated 2021-01-22. Refresh now. Tools for package owners.