Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mail notification on commit #8365

Closed
2 of 7 tasks
dimmuboy opened this issue Oct 3, 2019 · 13 comments
Closed
2 of 7 tasks

Mail notification on commit #8365

dimmuboy opened this issue Oct 3, 2019 · 13 comments
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented type/enhancement An improvement of existing functionality

Comments

@dimmuboy
Copy link

dimmuboy commented Oct 3, 2019

  • Gitea version (or commit ref): 1.9.3
  • Git version: 2.22.1
  • Operating system: Arch Linux
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:
    None

Description

I don't know how should it works but I don't get mail notifications about new commits.
I have repo in my watchlist it's starred too.
I'm member of team where repo is.
I have correct mail address and mail server setup (test mail works).
In config file is enabled DEFAULT_EMAIL_NOTIFICATIONS and ENABLE_NOTIFY_MAIL

@bobemoe
Copy link
Contributor

bobemoe commented Oct 3, 2019

I don't think this is implemented yet. There is discussion (and possibly a fork with this) along with other notification improvements over at #145

@lunny lunny added the issue/duplicate The issue has already been reported. label Oct 4, 2019
@lunny
Copy link
Member

lunny commented Oct 4, 2019

We needs a PR to implement that.

@stale
Copy link

stale bot commented Dec 3, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale stale bot added the issue/stale label Dec 3, 2019
@lunny
Copy link
Member

lunny commented Dec 3, 2019

I remember one of @guillep2k 's PR will fix this.

@stale stale bot removed the issue/stale label Dec 3, 2019
@guillep2k
Copy link
Member

@lunny Sorry, my PRs were about updating references from commit messages, but commits do not send mail notifications per-se. CommitRepoAction() should handle this, and it creates an action through models.NotifyWatchers, but mails are not generated AFAIK.

@lunny
Copy link
Member

lunny commented Dec 3, 2019

Implement NotifyPushCommits will resolve the issue?

@guillep2k
Copy link
Member

It looks like most of CommitRepoAction should be moved to notifications. But for a minimal implementation yes, NotifyPushCommits would be enough.

@stale
Copy link

stale bot commented Feb 1, 2020

This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.

@stale stale bot added the issue/stale label Feb 1, 2020
@guillep2k
Copy link
Member

Bump!

@stale stale bot removed the issue/stale label Feb 1, 2020
@lunny lunny added type/enhancement An improvement of existing functionality issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented and removed issue/duplicate The issue has already been reported. labels Feb 2, 2020
@bendem
Copy link

bendem commented Jul 7, 2020

On top of that, a visual indicator in the PR's conversation about new commit would also help.

See github including commits in the conversation:
image

@alam-R
Copy link

alam-R commented Mar 11, 2021

As a workaround for mailing pushing events, I have created a minimal Java Service to handle a push webhook and map it to mail.
It needs a lot of customization but it can be a workaround for small projects.
For anyone who is interested: https://github.com/alam-R/giteaWebhookMailProxy

Cheers!

@Zyzto

This comment has been minimized.

@techknowlogick
Copy link
Member

Closing this as emails happen on commits (at least to PRs), and they are added to PR conversations.

@go-gitea go-gitea locked and limited conversation to collaborators Oct 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented type/enhancement An improvement of existing functionality
Projects
None yet
Development

No branches or pull requests

8 participants