gitcoinco / code_fund_ads

CodeFund is an open source platform that helps fund maintainers, bloggers, and builders through non-tracking ethical ads
https://codefund.io
GNU Affero General Public License v3.0
376 stars 104 forks source link

Inbound Email parsing #1251

Closed coderberry closed 4 years ago

coderberry commented 4 years ago

Type of PR

Description

Allow capture of inbound emails to CodeFund team members from either advertisers or publishers and stores emails.

This is phase 1 of migrating out of Pipedrive into CF for account management.

Note: For this to work on stage/prod, we must set the ENV var RAILS_INBOUND_EMAIL_PASSWORD and then run rails misc:generate_inbound_destination_url. This URL is then used by SendGrid for the ingress email settings.

Checklist

Screenshots

codecov[bot] commented 4 years ago

Codecov Report

Merging #1251 into master will increase coverage by 0.26%. The diff coverage is 58.94%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1251      +/-   ##
==========================================
+ Coverage   34.52%   34.78%   +0.26%     
==========================================
  Files         328      335       +7     
  Lines        7719     7810      +91     
==========================================
+ Hits         2665     2717      +52     
- Misses       5054     5093      +39     
Impacted Files Coverage Δ
app/controllers/user_emails_controller.rb 0.00% <0.00%> (ø)
app/controllers/users_controller.rb 0.00% <0.00%> (ø)
app/helpers/users_helper.rb 50.00% <ø> (ø)
app/mailboxes/incoming_mailbox.rb 61.11% <61.11%> (ø)
app/components/back_link_component.rb 100.00% <100.00%> (ø)
app/components/list_group_component.rb 100.00% <100.00%> (ø)
app/components/page/header_component.rb 100.00% <100.00%> (ø)
app/helpers/user_emails_helper.rb 100.00% <100.00%> (ø)
app/mailboxes/application_mailbox.rb 100.00% <100.00%> (ø)
app/models/authorized_user.rb 100.00% <100.00%> (ø)
... and 10 more