Merged
Conversation
* ts-migration: convert some routes from js to ts * ts-migration: goals, issues and index page * ts-migration: convert healchecks, progresses, pullrequests, staging and trading in typescript * fix: issue route import name * fix: goals route import name * change notify route js to ts
Co-authored-by: Joy <56365512+ardourApeX@users.noreply.github.com>
* feat: removes super user authorization for extension requests * feat: removes super user test
* tempelate for all the pull requests raised in backend ( testing on forked branch ) * added disocrd new comer channelid in config for staging and prod
* fix: importing with file extension problem * fix: remove logger import statements
| router.post("/migrations", authenticate, authorizeRoles([SUPERUSER]), taskRequests.migrateTaskRequests); | ||
|
|
||
| // Deprecated | @Ajeyakrishna-k | https://github.com/Real-Dev-Squad/website-backend/issues/1597 | ||
| router.post("/addOrUpdate", authenticate, validateUser, taskRequests.addOrUpdate); |
Check failure
Code scanning / CodeQL
Missing rate limiting
| import goals from "../controllers/goals"; | ||
| const router = express.Router(); | ||
|
|
||
| router.get("/token", authenticate, goals.getGoalSiteToken); |
Check failure
Code scanning / CodeQL
Missing rate limiting
| import { newTrade } from "../middlewares/validators/trading"; | ||
| import { trade } from "../controllers/trading"; | ||
|
|
||
| router.post("/stock/new/self", authenticate, newTrade, trade); |
Check failure
Code scanning / CodeQL
Missing rate limiting
|
|
||
| const router = express.Router(); | ||
|
|
||
| router.patch("/user", validateUserRoles, authenticate, updateRoles); |
Check failure
Code scanning / CodeQL
Missing rate limiting
|
|
||
| router.post( | ||
| "/", | ||
| authenticate, |
Check failure
Code scanning / CodeQL
Missing rate limiting
| import { notifyController } from "../controllers/notify"; | ||
| import { notifyValidator } from "../middlewares/validators/notify"; | ||
|
|
||
| router.post("/", authenticate, notifyValidator, notifyController); |
Check failure
Code scanning / CodeQL
Missing rate limiting
| getExtensionRequestsValidator, | ||
| extensionRequests.fetchExtensionRequests | ||
| ); | ||
| router.get("/", authenticate, getExtensionRequestsValidator, extensionRequests.fetchExtensionRequests); |
Check failure
Code scanning / CodeQL
Missing rate limiting
This was referenced Jan 5, 2024
Contributor
Author
Contributor
* feat: if devMode do not do not redirect * test: test case for auth dev=true flag * chore: update title
Contributor
prakashchoudhary07
approved these changes
Jan 7, 2024
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.







Date: 5 January 2024
Developer Name: @Ajeyakrishna-k
PR Numbers:-
Description:
Add description of the PR here
Is Under Feature Flag
Database changes
Breaking changes (If your feature is breaking/missing something please mention pending tickets)
Is Development Tested?
Tested in staging?
Add relevant Screenshot below ( e.g test coverage etc. )