Skip to content

Commit

Permalink
Merge branch 'main' into MPDX-8274-update-env-vars
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-bizz committed Oct 2, 2024
2 parents 5a143bf + 6d59eab commit c73d648
Show file tree
Hide file tree
Showing 121 changed files with 1,052 additions and 2,286 deletions.
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,14 @@ Note: there is a test account you can use. Get this from another developer if yo
- `GOOGLE_TAG_MANAGER_CONTAINER_ID` - Optional Google Tag Manager container ID
- `NEXT_PUBLIC_MEDIA_FAVICON` - Application favicon image url
- `NEXT_PUBLIC_MEDIA_LOGO` - Application logo image url
- `REWRITE_DOMAIN` - The domain which where new & old MPDX applications live. Set to `old.mpdx.org` for mpdx.org & `old-stage.mpdx.org` for staging.
- `DATADOG_APP_ID` - Datadog tracking application ID.
- `DATADOG_CLIENT_TOKEN` - Datadog tracking client token.
- `DD_ENV` - Datadog environment.
- `BEACON_TOKEN` - HelpScout beacon token
- `HS_CONTACTS_SUGGESTIONS` - Comma-separated IDs of the HelpScout articles to suggest on the contacts page
- `HS_CONTACTS_CONTACT_SUGGESTIONS` - Comma-separated IDs of the HelpScout articles to suggest on the contact page
- `HS_HOME_SUGGESTIONS` - Comma-separated IDs of the HelpScout articles to suggest on the dashboard page
- `HS_REPORTS_SUGGESTIONS` - Comma-separated IDs of the HelpScout articles to suggest on the reports pages
- `HS_TASKS_SUGGESTIONS` - Comma-separated IDs of the HelpScout articles to suggest on the tasks page
- `HELPJUICE_ORIGIN` - Helpjuice origin for documentation and user support (example: `https://www.helpducks.org`)
- `HELPJUICE_KNOWLEDGE_BASE_URL` - Knowledge base page to make the Helpjuice "Visit Knowledge Base" page link to (example: `https://www.helpducks.org/mpdx`)
- `HELP_URL_COACHING_ACTIVITY` - Link to an article explaining the coaching activity table
- `HELP_URL_COACHING_APPOINTMENTS_AND_RESULTS` - Link to an article explaining the coaching appointments and results table
- `HELP_URL_SETUP_FIND_ORGANIZATION` - Link to an article explaining how to find an organization
- `PRIVACY_POLICY_URL` - URL of the privacy policy
- `TERMS_OF_USE_URL` - URL of the terms of use
- `DISABLE_SETUP_TOUR` - Set to `true` to disable starting users on the welcome tour. This should be removed from the codebase once tools are live.
Expand Down
314 changes: 0 additions & 314 deletions __tests__/pages/api/MpdxWebHandoff.test.ts

This file was deleted.

2 changes: 0 additions & 2 deletions __tests__/pages/api/NextAuth.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ const cookieCreator = (name: string, value: string) => {
switch (name) {
case '__Secure-next-auth.session-token':
return `__Secure-next-auth.session-token=${value}; Secure; ${expireCookieDefaultInfo}`;
case 'mpdx-handoff.logged-in':
return `mpdx-handoff.logged-in=${value}; path=/; domain=${process.env.REWRITE_DOMAIN}`;
default:
return `${name}=${value}; ${expireCookieDefaultInfo}`;
}
Expand Down
Loading

0 comments on commit c73d648

Please sign in to comment.