Repository navigation
feat(client,api): add user tokens and route for submitting coderoad tutorials #43304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
raisedadead
merged 25 commits into
freeCodeCamp:main
from
moT01:feat/add-ability-to-submit-new-backend-curricula
Nov 17, 2021
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
26593ec
feat: add user tokens for submitting new backend curricula
moT01 a6471be
fix: clean up
moT01 5a0589a
fix: adjust to new approach
moT01 22c6914
rename: deleet to deleteRequest
moT01 74636fb
Update client/i18n/locales/english/translations.json
moT01 90915f1
fix: comment out component so we can merge this
moT01 d7eda99
feat: add route for submitting challenges
moT01 79d79e1
fix: remove file I didn't use
moT01 ae4570c
feat: add user token as envVariable to codeally URL
moT01 0e216f6
Update api-server/src/server/boot/challenge.js
moT01 54f5b3f
fix: unify translations with English versions
moT01 cba1132
fix: prettier error
moT01 dc59032
Update api-server/src/server/boot/challenge.js
moT01 57f6a87
Update api-server/src/server/middlewares/request-authorization.js
moT01 e995eb3
Update api-server/src/server/utils/certTypes.json
moT01 209ca47
fix: dynamically get tutorial info from md files
moT01 3d0473c
fix: prettier?
moT01 2f94006
fix: lint error
moT01 ff51919
Update api-server/src/server/boot/challenge.js
moT01 a4ea077
Update api-server/src/server/boot/challenge.js
moT01 cce79bf
Update api-server/src/server/boot/user.js
moT01 0c9adfe
Update api-server/src/server/boot/user.js
moT01 0545d0a
fix: review concerns in clienent/src/redux/index.js
moT01 3cc1001
fix: use upcoming changes flag instead of commentts to hide components
moT01 b62fc85
fix: remove unused comments
moT01 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -58,5 +58,9 @@ | |
| "User": { | ||
| "dataSource": "db", | ||
| "public": false | ||
| }, | ||
| "WebhookToken": { | ||
| "dataSource": "db", | ||
| "public": false | ||
| } | ||
| } | ||
This file contains hidden or 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,20 @@ | ||
| { | ||
| "name": "WebhookToken", | ||
| "description": "Tokens for submitting curricula through CodeRoad", | ||
| "base": "AccessToken", | ||
| "idInjection": true, | ||
| "options": { | ||
| "validateUpsert": true | ||
| }, | ||
| "properties": {}, | ||
| "validations": [], | ||
| "relations": { | ||
| "user": { | ||
| "type": "belongsTo", | ||
| "model": "user", | ||
| "foreignKey": "userId" | ||
| } | ||
| }, | ||
| "acls": [], | ||
| "methods": {} | ||
| } |
This file contains hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.