-
Notifications
You must be signed in to change notification settings - Fork 643
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
Send package published notification to package owner(s) when new version is published #2961
Conversation
…ion is published Send package published notification to package owner(s) when new version is published
@@ -1106,6 +1106,11 @@ private ActionResult EditFailed(string id, EditPackageRequest formData, Package | |||
|
|||
// tell Lucene to update index for the new package | |||
_indexingService.UpdateIndex(); | |||
|
|||
_messageService.SendPackageAddedNotice(package, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this method is called from the website only. Do we want to send an e-mail in this scenario as well? If the user is here he is already authenticated, so is e-mail necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good question. In theory someone could script a form upload as well.
@yishaigalatzer / @csharpfritz thoughts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As a security upgrade, I like adding an email notification to all package owners. I'd like to see this enabled by default, but configurable as a preference on my NuGet profile page
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But only for API uploads or also web uploads?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all
Amends #2961 By popular request, making it possible to unsubscribe from package pushed notifications separately.
Send package published notification to package owner(s) when new version
is published