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 email when someone submits a new organization #485

Closed
cnk opened this issue Apr 11, 2021 · 11 comments
Closed

Send email when someone submits a new organization #485

cnk opened this issue Apr 11, 2021 · 11 comments
Assignees
Labels
enhancement New feature or request p-feature: tag generator wizard Everything relating to tag generator wizard page role: back end role: dev ops having to do with the way the site is constructed that are not design issues size: missing

Comments

@cnk
Copy link
Contributor

cnk commented Apr 11, 2021

When we save a new organization from the API endpoint, we would like for <who?> to receive an email saying "please come review this submission" with a link to the Django admin interface.

We can put this into the serializer view but to get the email to actually get sent, we need to attach to an email sending service. Does it make sense to do this now? or attach this to SES once we move to AWS?

@cnk cnk added enhancement New feature or request p-feature: tag generator wizard Everything relating to tag generator wizard page role: back end role: dev ops having to do with the way the site is constructed that are not design issues labels Apr 11, 2021
@cnk
Copy link
Contributor Author

cnk commented Apr 23, 2021

Setting up email sending in AWS requires some hoop jumping. Let's explore whether creating a GH issue via the API or sending a message to Slack would be less effort.

@mariastudnicka
Copy link

@cnk has it been set where we receive a Slack message?

@cnk
Copy link
Contributor Author

cnk commented Jun 4, 2021

No. You need to find someone who wants to work on this.

@DrIffathsultana
Copy link
Contributor

@emecas
Please update the following
• Progress: How much progress have you made on the issue?
• Blocks: Are you facing any blockers?
• Availability: How much time do you have to work on it this week?
• ETA: When do you think it will be completed?

@emecas
Copy link
Member

emecas commented Jul 27, 2021

• Progress: How much progress have you made on the issue?

No progress on this yet

• Blocks: Are you facing any blockers?.

Just working on another issue plus no much time available lately

• Availability: How much time do you have to work on it this week?
• ETA: When do you think it will be completed?

I will focus on this next week, once I am done with #604

@mariastudnicka
Copy link

mariastudnicka commented Aug 10, 2021

Proceed w. creating a channel to collect new org notifications.

@Product Create channel to receive notifications.

@cnk or @emecas to create API. Research how to send Slack message from django.

@emecas
Copy link
Member

emecas commented Aug 11, 2021

@cnk or @emecas to create API. Research how to send Slack message from django.

I found these 2 options:

  1. django-slack-notification 1.0.0 https://pypi.org/project/django-slack-notification/
  2. django-slack https://django-slack.readthedocs.io/

@mariastudnicka mariastudnicka added size: 3pt Can be done in about 18 hours size: 5pt Can be done in about 30 hours size: 8pt Can be done in about 48 hours and removed size: 3pt Can be done in about 18 hours size: 5pt Can be done in about 30 hours size: 8pt Can be done in about 48 hours size: missing labels Aug 13, 2021
@DrIffathsultana
Copy link
Contributor

DrIffathsultana commented Aug 18, 2021

@cnk We cant use Slack for approval due to limited subscription, so instead, we will use a google sheet to track down when a new user submits the form.

  • We need to run a cron job that checks the database daily and submits an issue to the GitHub board.

Below is the reference how 'Hack for LA' is doing it for the 'Share your wins' page.
Hack for LA wins for reference
hackforla/website#1069

@mariastudnicka
Copy link

@emecas to review and coordinate w. @cnk

@ladissi
Copy link

ladissi commented Sep 10, 2021

hi @emecas
Please update the following
• Progress: How much progress have you made on the issue?
• Blocks: Are you facing any blockers?
• Availability: How much time do you have to work on it this week?
• ETA: When do you think it will be completed?

@DrIffathsultana
Copy link
Contributor

We have created a new issue and following the solution here ##836

@github-project-automation github-project-automation bot moved this to New Issue Approval (All new issues should be added to this column) in CTI: Project Board Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request p-feature: tag generator wizard Everything relating to tag generator wizard page role: back end role: dev ops having to do with the way the site is constructed that are not design issues size: missing
Projects
Status: New Issue Approval (All new issues should be added to this column)
Development

No branches or pull requests

6 participants