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

Site-wide email notifications for site owner #640

Merged
merged 3 commits into from
Apr 6, 2020

Conversation

paskal
Copy link
Sponsor Collaborator

@paskal paskal commented Apr 5, 2020

Add admin email notifications on new comments. Resolves #633.

Screenshots

Emails on new top-level comment and reply to it, with emails to admin and to parent comment user:

image

Admin notification on top-level comment, style can be improved by frontenders (@akellbl4 ?):

image

Notification on reply comment (I've removed "for dev_user" from here as well, screenshot is incorrect only about it):

image

User notification on reply should be unaltered to the current state:

image

Repository owner deleted a comment from github-actions bot Apr 6, 2020
@paskal paskal marked this pull request as ready for review April 6, 2020 00:07
@paskal paskal requested a review from umputun as a code owner April 6, 2020 00:07
@paskal paskal requested a review from akellbl4 April 6, 2020 00:07
backend/app/notify/email.go Show resolved Hide resolved
backend/app/notify/email.go Outdated Show resolved Hide resolved
backend/app/notify/email.go Outdated Show resolved Hide resolved
backend/app/notify/email.go Outdated Show resolved Hide resolved
backend/app/notify/email.go Outdated Show resolved Hide resolved
backend/app/cmd/server.go Outdated Show resolved Hide resolved
@paskal paskal force-pushed the admin_email_notifications branch 2 times, most recently from df65e20 to 74339ba Compare April 6, 2020 18:49
@paskal paskal requested a review from umputun April 6, 2020 18:55
@paskal paskal force-pushed the admin_email_notifications branch from 74339ba to cc97712 Compare April 6, 2020 18:59
@paskal paskal force-pushed the admin_email_notifications branch 2 times, most recently from f0278c6 to 5a65fb1 Compare April 6, 2020 20:48
@paskal paskal force-pushed the admin_email_notifications branch from 5a65fb1 to 946847b Compare April 6, 2020 20:58
Copy link
Owner

@umputun umputun left a comment

Choose a reason for hiding this comment

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

LGTM

@umputun umputun merged commit cab3b8a into master Apr 6, 2020
@umputun umputun deleted the admin_email_notifications branch April 6, 2020 21:27
@umputun umputun added this to the v1.6 milestone Apr 12, 2020
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.

Site-wide email notifications for site owner
2 participants