Skip to content

Commit ccd6d72

Browse files
authored
Merge branch 'develop' into toast-color-contrast-refactor
2 parents 888e6ee + e503a7c commit ccd6d72

4 files changed

Lines changed: 18 additions & 12 deletions

File tree

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
1-
Fixes #issue-number
1+
### Context or Issue Number:
2+
<!-- Please add the issue this relates to if one is available. Otherwise please describe the current state of the codebase and what this PR attempts to fix. -->
23

3-
Changes:
4+
### Demo:
5+
<!-- Please add a screenshot for UI related changes -->
46

5-
I have verified that this pull request:
7+
### Changes:
8+
<!-- Summarise your changes -->
9+
10+
### I have verified that this pull request:
611

712
* [ ] has no linting errors (`npm run lint`)
813
* [ ] has no test errors (`npm run test`)

contributor_docs/s3_configuration.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
}
2222
]
2323
```
24-
3. In permissions, add the following bucket policy. Change "YOUR_BUCKET_NAME" to reflect name of the S3 bucket.
24+
3. Uncheck "Block all public access" under "Block public access (bucket settings)".
25+
4. In permissions, add the following bucket policy. Change "YOUR_BUCKET_NAME" to reflect name of the S3 bucket.
2526
```
2627
{
2728
"Version": "2008-10-17",
@@ -39,7 +40,6 @@
3940
]
4041
}
4142
```
42-
4. Uncheck "Block all public access" under "Block public access (bucket settings)".
4343
5. Under "Object Ownership", check "ACLs enabled" and set "Object Ownership" to "Object writer"
4444
6. Locate your AWS key and Secret Key. You can find this in the top AWS navigation under your name -> Security Credentials.
4545
7. Update the following lines to your .env file:
@@ -48,6 +48,7 @@ AWS_ACCESS_KEY={AWS_ACCESS_KEY}
4848
AWS_REGION={S3_BUCKET_REGION}
4949
AWS_SECRET_KEY={AWS_SECRET_KEY}
5050
S3_BUCKET={S3_BUCKET_NAME}
51+
S3_BUCKET_URL_BASE=https://{S3_BUCKET_NAME}.s3.{S3_BUCKET_REGION}.amazonaws.com/
5152
```
5253

5354
If your S3 bucket is in the US East (N Virginia) region (us-east-1), you'll

package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

server/config/passport.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ passport.use(
177177
// with emails that are connected to the same GitHub account
178178
if (existingEmailUsers.length > 1) {
179179
existingEmailUser = existingEmailUsers.find(
180-
(u) => (u.email = primaryEmail)
180+
(u) => u.email === primaryEmail
181181
);
182182
} else {
183183
[existingEmailUser] = existingEmailUsers;

0 commit comments

Comments
 (0)