mirror of
https://github.com/go-gitea/gitea.git
synced 2026-03-22 14:34:54 -05:00
Complete notifications system #52
Closed
opened 2025-11-02 03:06:04 -06:00 by GiteaMirror
·
49 comments
No Branch/Tag Specified
main
release/v1.25
release/v1.24
release/v1.23
release/v1.22
release/v1.21
release/v1.20
release/v1.19
release/v1.18
release/v1.17
release/v1.16
release/v1.15
release/v1.14
release/v1.13
release/v1.12
release/v1.11
release/v1.10
release/v1.9
release/v1.8
v1.25.3
v1.25.2
v1.25.1
v1.25.0
v1.24.7
v1.25.0-rc0
v1.26.0-dev
v1.24.6
v1.24.5
v1.24.4
v1.24.3
v1.24.2
v1.24.1
v1.24.0
v1.23.8
v1.24.0-rc0
v1.25.0-dev
v1.23.7
v1.23.6
v1.23.5
v1.23.4
v1.23.3
v1.23.2
v1.23.1
v1.23.0
v1.23.0-rc0
v1.24.0-dev
v1.22.6
v1.22.5
v1.22.4
v1.22.3
v1.22.2
v1.22.1
v1.22.0
v1.23.0-dev
v1.22.0-rc1
v1.21.11
v1.22.0-rc0
v1.21.10
v1.21.9
v1.21.8
v1.21.7
v1.21.6
v1.21.5
v1.21.4
v1.21.3
v1.21.2
v1.20.6
v1.21.1
v1.21.0
v1.21.0-rc2
v1.21.0-rc1
v1.20.5
v1.22.0-dev
v1.21.0-rc0
v1.20.4
v1.20.3
v1.20.2
v1.20.1
v1.20.0
v1.19.4
v1.21.0-dev
v1.20.0-rc2
v1.20.0-rc1
v1.20.0-rc0
v1.19.3
v1.19.2
v1.19.1
v1.19.0
v1.19.0-rc1
v1.20.0-dev
v1.19.0-rc0
v1.18.5
v1.18.4
v1.18.3
v1.18.2
v1.18.1
v1.18.0
v1.17.4
v1.18.0-rc1
v1.19.0-dev
v1.18.0-rc0
v1.17.3
v1.17.2
v1.17.1
v1.17.0
v1.17.0-rc2
v1.16.9
v1.17.0-rc1
v1.18.0-dev
v1.16.8
v1.16.7
v1.16.6
v1.16.5
v1.16.4
v1.16.3
v1.16.2
v1.16.1
v1.16.0
v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2
v1.3.1
v1.3.0
v1.3.0-rc2
v1.3.0-rc1
v1.2.3
v1.2.2
v1.2.1
v1.2.0
v1.2.0-rc3
v1.2.0-rc2
v1.1.4
v1.2.0-rc1
v1.1.3
v1.1.2
v1.1.1
v1.1.0
v1.0.2
v1.0.1
v1.0.0
v0.9.99
Labels
Clear labels
$20
$250
$50
$500
backport/done
💎 Bounty
docs-update-needed
good first issue
hacktoberfest
issue/bounty
issue/confirmed
issue/critical
issue/duplicate
issue/needs-feedback
issue/not-a-bug
issue/regression
issue/stale
issue/workaround
lgtm/need 2
modifies/api
modifies/translation
outdated/backport/v1.18
outdated/theme/markdown
outdated/theme/timetracker
performance/bigrepo
performance/cpu
performance/memory
performance/speed
pr/breaking
proposal/accepted
proposal/rejected
pr/wip
pull-request
reviewed/wontfix
💰 Rewarded
skip-changelog
status/blocked
topic/accessibility
topic/api
topic/authentication
topic/build
topic/code-linting
topic/commit-signing
topic/content-rendering
topic/deployment
topic/distribution
topic/federation
topic/gitea-actions
topic/issues
topic/lfs
topic/mobile
topic/moderation
topic/packages
topic/pr
topic/projects
topic/repo
topic/repo-migration
topic/security
topic/theme
topic/ui
topic/ui-interaction
topic/ux
topic/webhooks
topic/wiki
type/bug
type/deprecation
type/docs
type/enhancement
type/feature
type/miscellaneous
type/proposal
type/question
type/refactoring
type/summary
type/testing
type/upstream
Mirrored from GitHub Pull Request
Milestone
No items
No Milestone
Projects
Clear projects
No project
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/gitea#52
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @andreynering on GitHub (Nov 11, 2016).
Today Gitea can send e-mail for new Issues/PRs/Comments and that's it.
I think it should have a complete notifications system, like GitHub and GitLab.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
@lunny commented on GitHub (Nov 11, 2016):
If you watch some repository, then defaultly, you will subscribe all the issues and prs on this repository except you unsubscribe this issue.
@bkcsoft commented on GitHub (Nov 28, 2016):
Please implement notifications like GitLab does, where you actually have to press "I'm done with this" before it goes away 🙂
@stevenroose commented on GitHub (Nov 28, 2016):
If you add an "e-mail read means notification gone" system like GitHub's, please make it opt-out :)
@lunny commented on GitHub (Nov 28, 2016):
@stevenroose that is a great idea. I think I can implement it.
@lunny commented on GitHub (Nov 28, 2016):
@andreynering could you add
e-mail read means notification goneto the check list?@andreynering commented on GitHub (Nov 28, 2016):
@lunny @stevenroose Updated
GitHub implements that by having a 1px-1px transparent image which point to
https://github.com/some-route?token=.... When the GitHub server serve that image for the first time the notification is marked as read.@lunny commented on GitHub (Nov 29, 2016):
Yes. A small trick. :)
@stevenroose commented on GitHub (Nov 29, 2016):
@andreynering I know they do it like that. But most e-mail clients don't have a feature to block displaying emails from specific senders :) So if you don't like that feature, it can be annoying.
@tboerger commented on GitHub (Nov 29, 2016):
👍 for opt-out of this feature.
@stevenroose commented on GitHub (Nov 30, 2016):
@tboerger Don't get me wrong. I got to like the e-mail thing because now I read all my GitHub stuff from e-mail. But for someone who doesn't it be annoying. I had a lot of "ah, let me quickly check this issue in my email and look at it further tonight" and then I ended up not finding the issue and ploughing through archived e-mails to find it back :D
@stroucki commented on GitHub (Nov 30, 2016):
My team would like commit messages, so I'm working on implementing that for all watchers to a repository.
There is a "notifyWatchers" function on commit, but all it does is make an entry in a database table.
@andreynering commented on GitHub (Nov 30, 2016):
@stroucki Did you start anything?
I just started but only had time to create the database table until you sent this message. 😃
Maybe we should create a feature branch and work together on this, so we don't have conflicting changes.
@stroucki commented on GitHub (Dec 1, 2016):
@andreynering Actually I have something that works :)
Though it is probably not acceptable for general usage, since you can't opt out. It is similar to what gogs does for mentionemails: Do a database entry that apparently is only useful for webhooks, then send out email to all watchers.
You can see it in my fork: (note I am still based on gogs)
https://github.com/stroucki/gogs/tree/commitemails
But while testing I see that it is not working for commits made via ssh yet.
@andreynering commented on GitHub (Dec 1, 2016):
@stroucki Thanks for linking your branch.
I started something on https://github.com/go-gitea/gitea/pull/321 (still in an early stage) for who's interested.
We will probably integrate notifications and email sending. Your patch will be useful.
@stroucki commented on GitHub (Dec 1, 2016):
I've been looking at getting notifications working on ssh commits today.
This is pretty messy, because 1) the serve command doesn't set up any of the mailer stuff and 2) it uses "log.GitLogger" to log stuff, but the mailer initialization bits want to log, they use "log". Things don't even seem to blow up then, the git-receive-pack ends up hanging and nothing really happens.
I got to the point now where it is sending commit messages, but the command line output gets a "failed to push some refs" error (but things have committed).
@stroucki commented on GitHub (Dec 2, 2016):
OK. I think I have it. I now get commit messages on https and ssh commits.
The big thing was that console logs interfere with the git processes that gogs creates. I'm guessing that since the log used stdout, the subprocess never terminated. Besides that, mailing services needed to be initialized too.
It is too late for tonight, but tomorrow I'll update my branch.
@bkcsoft commented on GitHub (Dec 2, 2016):
@andreynering I also think that
Action-table holds most of the data already. Might be worth looking into before making a new table 🙂@lunny commented on GitHub (Dec 2, 2016):
^
@andreynering commented on GitHub (Dec 2, 2016):
@bkcsoft @lunny I will take a look at that, but I think we need another table. An action is created every time an issue changes, but we should have only one notification per issue/PR.
Also, an user may be subscribed to an issue but don't watch the repo, so won't have an action for him, etc. Situations like this.
@stroucki commented on GitHub (Dec 2, 2016):
Is the action table actually used for anything?
@stroucki commented on GitHub (Dec 2, 2016):
I committed changes to my branch that now let commit messages go out to watchers on https and ssh commits.
@andreynering commented on GitHub (Dec 2, 2016):
@stroucki
It's only used by the feed on the dashboard.
I'll look into integrate that after I'm done with my implementation
@bkcsoft commented on GitHub (Dec 30, 2016):
@lunny this isn't done yet ,only part 1 of 2 ;)
@bkcsoft commented on GitHub (Dec 30, 2016):
ooh, it was #523 that had the text "resolve #number" in it 😆
@lunny commented on GitHub (Dec 31, 2016):
So not me? Or maybe we have to review and change the title when merging it.
@bkcsoft commented on GitHub (Dec 31, 2016):
@lunny no need to change the title, just the body 🙁
@strk commented on GitHub (Jan 5, 2017):
Is the roadmap in the original submission updated after part 2 ?
I've tested notifications on try.gitea.io but doesn't seem to be working: https://try.gitea.io/gitea/gitea/issues/1
@strk commented on GitHub (Jan 5, 2017):
Step 2, merged, was #539
@andreynering commented on GitHub (Jan 6, 2017):
@strk You are not watching the repo, so you won't get any notifications:
https://try.gitea.io/gitea/gitea/watchers
@strk commented on GitHub (Jan 6, 2017):
On Thu, Jan 05, 2017 at 04:39:14PM -0800, Andrey Nering wrote:
I thought one of the goals of the notification system was allowing
for per-issue watchers ?
@andreynering commented on GitHub (Jan 6, 2017):
Yes, but it was not implemented yet. I'm doing it in parts. By now it's only notifying watchers. I hope we get it 100℅ on v1.1.0
@gayprogrammer commented on GitHub (Jun 8, 2017):
I would like to note that email notifications currently do not say which user commented on the issue. It only displays the content of the comment.
Can we add the name of who commented to the email somehow?
@tboerger commented on GitHub (Jun 8, 2017):
Than the current mail template is missing that information
@mxmehl commented on GitHub (Jun 23, 2017):
It would be good to have a button to mark all notifications as read. (I hope this is the right issue for this feature request)
@andreynering commented on GitHub (Jun 23, 2017):
@mxmehl Yes, that's reasonable.
@mxmehl commented on GitHub (Jun 23, 2017):
Cool! Could you please add that to the list in the top post?
@andreynering commented on GitHub (Jun 23, 2017):
@mxmehl Done!
@McLive commented on GitHub (Feb 22, 2018):
Any update on this? I'd like to see E-Mail notifications for pushes.
https://github.com/gogits/gogs/issues/1441
@lunny commented on GitHub (Feb 23, 2018):
@McLive added
@hasufell commented on GitHub (Jun 28, 2018):
What I find missing here is optional admin notifications, like when a user has registered.
@worthy7 commented on GitHub (Sep 5, 2019):
2019 is this not happening?
@lafriks commented on GitHub (Sep 6, 2019):
@Worthy7 everyone works of features they need most as no one is paid to work on Gitea and we are spending our free time to work on this project...
@worthy7 commented on GitHub (Sep 7, 2019):
Some people need the features but can't work on the project because it's in Go - a language not everyone knows. I would do this myself but I don't know anything about Go. So the best I can do is complain.
If other people don't think this is important, I'd like to know how organization owners (anyone out there) deals with issues and @mentioning people.... Perhaps I'm just using it wrong?
@stroucki commented on GitHub (Sep 7, 2019):
@Worthy7 then pick up a book and start learning. It's not a secret language.
@worthy7 commented on GitHub (Sep 7, 2019):
I suppose people can just get round this by unwatching/unsubscribing to everything not concerning them for now. It doesn't seem like there's much demand for the feature since last year.
@McLive commented on GitHub (Sep 7, 2019):
I‘m also still waiting for this 🙈
@hasufell commented on GitHub (Sep 23, 2019):
It takes about ~3 days to learn Go. I think you will have more problems with the sheer complexity of the application than you will have with the language :)
@worthy7 commented on GitHub (Sep 23, 2019):
Yea to be honest that's what I meant.
On Mon, 23 Sep 2019, 22:23 Julian Ospald, notifications@github.com wrote:
@6543 commented on GitHub (Sep 7, 2020):
beside
Also more refined watch options?<- I think for repos you meanI'll close this, feel free to open a new issue for the speciffic case you are missing for notifications