Skip to content

Commit

Permalink
Update .nyc emails to .org (#2380)
Browse files Browse the repository at this point in the history
  • Loading branch information
shakao authored Sep 1, 2022
1 parent 5c4b445 commit ff06441
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion frontend/lib/hpaction/service-instructions-email.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ const ServiceInstructionsFooter: React.FC<ServiceInstructionsProps> = (props) =>
<hr />
<p>
If you have any further questions, please feel free to email{" "}
<EmailLink to={"documents@justfix.nyc"} /> explaining your concerns and
<EmailLink to={"documents@justfix.org"} /> explaining your concerns and
we will be in touch to help.
</p>
<p>
Expand Down
2 changes: 1 addition & 1 deletion frontend/lib/onboarding/onboarding-thanks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const OnboardingThanks: React.FC<{ next: string }> = ({ next }) => {
<h1>Thanks for signing up!</h1>
<p className="subtitle is-4 is-marginless">
An email to verify your account is on its way, from{" "}
<strong>no-reply@justfix.nyc</strong>.
<strong>no-reply@justfix.org</strong>.
</p>
<p>Don't see one? Check your spam folder.</p>
<br />
Expand Down
2 changes: 1 addition & 1 deletion frontend/lib/tests/util.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export const FakeServerInfo: Readonly<AppServerInfo> = {
staticURL: "/mystatic/",
webpackPublicPathURL: "/mystatic/myfrontend/",
adminIndexURL: "/myadmin/",
siteName: "ExampleJustFix.nyc",
siteName: "ExampleJustFix.org",
siteType: "JUSTFIX",
debug: false,
batchGraphQLURL: "/mygarphql",
Expand Down
2 changes: 1 addition & 1 deletion frontend/lib/ui/customer-support-link.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from "react";
import { OutboundLink } from "./outbound-link";

const CUSTOMER_SUPPORT_EMAIL = "support@justfix.nyc";
const CUSTOMER_SUPPORT_EMAIL = "support@justfix.org";

function EmailLink({ email }: { email: string }) {
return <OutboundLink href={`mailto:${email}`}>{email}</OutboundLink>;
Expand Down
2 changes: 1 addition & 1 deletion hpaction/tests/test_docusign.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def test_update_envelope_status(
assert len(mailoutbox) == 1
msg = mailoutbox[0]
assert "next steps" in msg.subject.lower()
assert msg.from_email == "JustFix <documents@justfix.nyc>"
assert msg.from_email == "JustFix <documents@justfix.org>"
assert "hello boop" in msg.body.lower()
else:
assert len(mailoutbox) == 0
Expand Down
2 changes: 1 addition & 1 deletion laletterbuilder/tests/test_letter_sending.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def test_nothing_is_mailed_to_landlord_if_already_sent(settings):
def test_nothing_is_emailed_to_user_on_demo_deployment(settings, mailoutbox, db):
settings.IS_DEMO_DEPLOYMENT = True
letter = HabitabilityLetterFactory()
letter.user.email = "notnull@justfix.nyc"
letter.user.email = "notnull@justfix.org"
assert email_letter_to_user(letter, b"blah") is True
assert len(mailoutbox) == 0

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"type": "git",
"url": "git+https://github.com/justfixnyc/tenants2.git"
},
"author": "Atul Varma <atul@justfix.nyc>",
"author": "JustFix <dev@justfix.org>",
"license": "ISC",
"engines": {
"node": ">=10.0.0"
Expand Down
8 changes: 4 additions & 4 deletions project/justfix_environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,17 +285,17 @@ class JustfixEnvironment(typed_environ.BaseEnvironment):

# Default email address to use for various automated correspondence
# from the site manager(s).
DEFAULT_FROM_EMAIL = "JustFix no-reply <no-reply@justfix.nyc>"
DEFAULT_FROM_EMAIL = "JustFix no-reply <no-reply@justfix.org>"

# The email address used for court documents (e.g. HP Actions).
COURT_DOCUMENTS_EMAIL: str = "JustFix <documents@justfix.nyc>"
COURT_DOCUMENTS_EMAIL: str = "JustFix <documents@justfix.org>"

# The email address used for LOC notifications. If blank (the default),
# no LOC notifications will be sent.
LOC_EMAIL: str = ""

# Sender email address used to send a user's rental history request.
DHCR_EMAIL_SENDER_ADDRESS: str = "support@justfix.nyc"
DHCR_EMAIL_SENDER_ADDRESS: str = "support@justfix.org"

# Recipient email addresses that we send a user's rental history request to.
DHCR_EMAIL_RECIPIENT_ADDRESSES: str = "[email protected]"
Expand Down Expand Up @@ -404,7 +404,7 @@ class JustfixEnvironment(typed_environ.BaseEnvironment):
# `%(id)s` string can be used to substitute in a unique identifier
# that will allow us to relate any replies to the declaration/user
# it corresponds to.
EVICTIONFREE_REPLY_TO_EMAIL: str = "JustFix <efnyreplies+%(id)s@justfix.nyc>"
EVICTIONFREE_REPLY_TO_EMAIL: str = "JustFix <efnyreplies+%(id)s@justfix.org>"

# The origin of the NYC GeoSearch API.
NYC_GEOSEARCH_ORIGIN: str = "https://geosearch.planninglabs.nyc"
Expand Down
2 changes: 1 addition & 1 deletion project/settings_pytest.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@

DEBUG_DATA_DIR = ""

DHCR_EMAIL_SENDER_ADDRESS = "support@justfix.nyc"
DHCR_EMAIL_SENDER_ADDRESS = "support@justfix.org"
DHCR_EMAIL_RECIPIENT_ADDRESSES = ["[email protected]"]

email_config = dj_email_url.parse("dummy:")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: here is a subject
From: JustFix no-reply <no-reply@justfix.nyc>
From: JustFix no-reply <no-reply@justfix.org>
To: [email protected]
Date: Wed, 01 Jan 2020 00:00:00 -0000

Expand Down

0 comments on commit ff06441

Please sign in to comment.