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

Send package published notification to package owner(s) when new version is published #2961

Merged
merged 1 commit into from
Mar 31, 2016

Conversation

maartenba
Copy link
Contributor

Send package published notification to package owner(s) when new version
is published

…ion is published

Send package published notification to package owner(s) when new version
is published
@maartenba
Copy link
Contributor Author

@skofman1 @xavierdecoster

@@ -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,
Copy link
Contributor

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?

Copy link
Contributor Author

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?

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

Copy link
Contributor Author

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?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all

@maartenba maartenba mentioned this pull request Mar 31, 2016
10 tasks
@maartenba maartenba merged commit 900b0c8 into dev Mar 31, 2016
@maartenba maartenba deleted the issue/publishnotice branch March 31, 2016 07:29
maartenba added a commit that referenced this pull request Apr 15, 2016
Amends #2961

By popular request, making it possible to unsubscribe from package
pushed notifications separately.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants