Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upComplete notifications system #145
Comments
andreynering
added
kind/enhancement
kind/feature
kind/proposal
and removed
kind/enhancement
labels
Nov 11, 2016
lunny
added this to the 1.x.x milestone
Nov 11, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
lunny
Nov 11, 2016
Member
If you watch some repository, then defaultly, you will subscribe all the issues and prs on this repository except you unsubscribe this issue.
|
If you watch some repository, then defaultly, you will subscribe all the issues and prs on this repository except you unsubscribe this issue. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
bkcsoft
Nov 28, 2016
Member
Please implement notifications like GitLab does, where you actually have to press "I'm done with this" before it goes away
|
Please implement notifications like GitLab does, where you actually have to press "I'm done with this" before it goes away |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
stevenroose
Nov 28, 2016
If you add an "e-mail read means notification gone" system like GitHub's, please make it opt-out :)
stevenroose
commented
Nov 28, 2016
|
If you add an "e-mail read means notification gone" system like GitHub's, please make it opt-out :) |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
@stevenroose that is a great idea. I think I can implement it. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
lunny
Nov 28, 2016
Member
@andreynering could you add e-mail read means notification gone to the check list?
|
@andreynering could you add |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
andreynering
Nov 28, 2016
Contributor
@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 @stevenroose Updated GitHub implements that by having a 1px-1px transparent image which point to |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Yes. A small trick. :) |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
stevenroose
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.
stevenroose
commented
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. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
stevenroose
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
stevenroose
commented
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 |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
stroucki
Nov 30, 2016
Contributor
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.
|
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. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
andreynering
Nov 30, 2016
Contributor
@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 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. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
stroucki
Dec 1, 2016
Contributor
@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 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) But while testing I see that it is not working for commits made via ssh yet. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
stroucki
Dec 1, 2016
Contributor
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).
|
I've been looking at getting notifications working on ssh commits today. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
stroucki
Dec 2, 2016
Contributor
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.
|
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. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
bkcsoft
Dec 2, 2016
Member
@andreynering I also think that Action-table holds most of the data already. Might be worth looking into before making a new table
|
@andreynering I also think that |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
^ |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
andreynering
Dec 2, 2016
Contributor
@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.
|
@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. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Is the action table actually used for anything? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
stroucki
Dec 2, 2016
Contributor
I committed changes to my branch that now let commit messages go out to watchers on https and ssh commits.
|
I committed changes to my branch that now let commit messages go out to watchers on https and ssh commits. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
andreynering
Dec 2, 2016
Contributor
Is the action table actually used for anything?
It's only used by the feed on the dashboard.
I committed changes to my branch that now let commit messages go out to watchers on https and ssh commits
I'll look into integrate that after I'm done with my implementation
It's only used by the feed on the dashboard.
I'll look into integrate that after I'm done with my implementation |
lunny
closed this
in
#523
Dec 30, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
@lunny this isn't done yet ,only part 1 of 2 ;) |
bkcsoft
reopened this
Dec 30, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
ooh, it was #523 that had the text "resolve #number" in it |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
lunny
Dec 31, 2016
Member
So not me? Or maybe we have to review and change the title when merging it.
|
So not me? Or maybe we have to review and change the title when merging it. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
@lunny no need to change the title, just the body |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
strk
Jan 5, 2017
Member
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
|
Is the roadmap in the original submission updated after part 2 ? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Step 2, merged, was #539 |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
andreynering
Jan 6, 2017
Contributor
@strk You are not watching the repo, so you won't get any notifications:
|
@strk You are not watching the repo, so you won't get any notifications: |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
strk
Jan 6, 2017
Member
|
On Thu, Jan 05, 2017 at 04:39:14PM -0800, Andrey Nering wrote:
@strk You are not watching the repo, so you won't get any notifications:
https://try.gitea.io/gitea/gitea/watchers
I thought one of the goals of the notification system was allowing
for per-issue watchers ?
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
andreynering
Jan 6, 2017
Contributor
I thought one of the goals of the notification system was allowing for per-issue watchers?
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
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 |
pushed a commit
to ethantkoenig/gitea
that referenced
this issue
Feb 15, 2017
gayprogrammer
referenced this issue
Jun 6, 2017
Open
Notification emails for comments not working #1885
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
gayprogrammer
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?
gayprogrammer
commented
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? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Than the current mail template is missing that information |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
mxmehl
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)
mxmehl
commented
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) |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
@mxmehl Yes, that's reasonable. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
mxmehl
Jun 23, 2017
@mxmehl Yes, that's reasonable.
Cool! Could you please add that to the list in the top post?
mxmehl
commented
Jun 23, 2017
Cool! Could you please add that to the list in the top post? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
@mxmehl Done! |
mxmehl
referenced this issue
Oct 3, 2017
Open
Threaded email notifications by adding missing mail headers #2645
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
McLive
commented
Feb 22, 2018
|
Any update on this? I'd like to see E-Mail notifications for pushes. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
@McLive added |
treyerl
referenced this issue
Jun 15, 2018
Closed
GITEA_AUTH_USER_NAME like GOGS_AUTH_USER_NAME #4244
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
hasufell
Jun 28, 2018
What I find missing here is optional admin notifications, like when a user has registered.
hasufell
commented
Jun 28, 2018
|
What I find missing here is optional admin notifications, like when a user has registered. |
andreynering commentedNov 11, 2016
•
edited by lunny
Edited 4 times
-
lunny
edited Feb 23, 2018 (most recent)
-
lunny
edited Feb 23, 2018
-
lunny
edited Feb 23, 2018
-
andreynering
edited Jun 23, 2017
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.