This repository has been archived by the owner on May 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #492 from SELab-2/development
The Big Merge 2.0
- Loading branch information
Showing
282 changed files
with
43,204 additions
and
7,275 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,26 +20,76 @@ | |
}, | ||
"nonExistent": { | ||
"http": 404, | ||
"reason": "The endpoint requested ($url) does not exist." | ||
"reason": "The endpoint requested (~url) does not exist." | ||
}, | ||
"invalidVerb": { | ||
"http": 405, | ||
"reason": "This HTTP verb ($verb) is not supported for this endpoint ($url)" | ||
"reason": "This HTTP verb (~verb) is not supported for this endpoint (~url)" | ||
}, | ||
"nonJSONRequest": { | ||
"http": 406, | ||
"reason": "All endpoints only support JSON ($mime requested)." | ||
"reason": "All endpoints only support JSON (~mime requested)." | ||
}, | ||
"serverError": { | ||
"http": 500, | ||
"reason": "Something went wrong while trying to execute your request." | ||
}, | ||
"noDataError": { | ||
"http": 412, | ||
"reason": "The data you requested does not exist (yet)." | ||
}, | ||
"lockedRequest": { | ||
"http": 423, | ||
"reason": "Your account was deactivated. Please contact the webmaster." | ||
}, | ||
"pendingAccount": { | ||
"http": 424, | ||
"reason": "Your account hasn't been activated yet. Please try again later." | ||
}, | ||
"github": { | ||
"argumentMissing": { | ||
"http": 409, | ||
"reason": "Something went wrong while authenticating with GitHub." | ||
}, | ||
"illegalState": { | ||
"http": 409, | ||
"reason": "GitHub authentication endpoints are meant for GitHub authentication only. Thank you very much." | ||
}, | ||
"other": { | ||
"reason": "GitHub data requests failed. Please try again later." | ||
} | ||
}, | ||
"reset": { | ||
"sendEmail": { | ||
"http": 503, | ||
"reason": "Failed to send the email. If you're certain that your email address is correct, then please contact the admin." | ||
}, | ||
"invalidEmail": { | ||
"http": 400, | ||
"reason": "No such email is present. Please check your email." | ||
}, | ||
"generateFailed": { | ||
"http": 500, | ||
"reason": "Failed to generate a reset key. Please try again later." | ||
}, | ||
"resetFailed": { | ||
"http": 400, | ||
"reason": "Failed to update your password. Perhaps you used an invalid key?" | ||
} | ||
} | ||
}, | ||
|
||
"global": { | ||
"homes": [ | ||
"", "/api-osoc" | ||
], | ||
"preferred": "/api-osoc" | ||
"preferred": "/api-osoc", | ||
"authScheme": "auth/osoc2", | ||
"defaultUserId": 3 | ||
}, | ||
|
||
"email": { | ||
"from": "'OSOC2 Account Recovery' <[email protected]>", | ||
"header": "OSOC2 Recovery Code" | ||
} | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
f4df4ea
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coverage report for
backend
Test suite run success
353 tests passing in 40 suites.
Report generated by 🧪jest coverage report action from f4df4ea