-
Notifications
You must be signed in to change notification settings - Fork 200
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
Dev to Main sync #1832
Dev to Main sync #1832
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 High
authorization
This route handler performs
authorization
This route handler performs
authorization
import goals from "../controllers/goals"; | ||
const router = express.Router(); | ||
|
||
router.get("/token", authenticate, goals.getGoalSiteToken); |
Check failure
Code scanning / CodeQL
Missing rate limiting High
authorization
This route handler performs
authorization
This route handler performs
authorization
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 High
authorization
This route handler performs
authorization
This route handler performs
authorization
|
||
const router = express.Router(); | ||
|
||
router.patch("/user", validateUserRoles, authenticate, updateRoles); |
Check failure
Code scanning / CodeQL
Missing rate limiting High
authorization
This route handler performs
authorization
This route handler performs
authorization
|
||
router.post( | ||
"/", | ||
authenticate, |
Check failure
Code scanning / CodeQL
Missing rate limiting High
authorization
This route handler performs
authorization
This route handler performs
authorization
import { notifyController } from "../controllers/notify"; | ||
import { notifyValidator } from "../middlewares/validators/notify"; | ||
|
||
router.post("/", authenticate, notifyValidator, notifyController); |
Check failure
Code scanning / CodeQL
Missing rate limiting High
authorization
This route handler performs
authorization
This route handler performs
authorization
getExtensionRequestsValidator, | ||
extensionRequests.fetchExtensionRequests | ||
); | ||
router.get("/", authenticate, getExtensionRequestsValidator, extensionRequests.fetchExtensionRequests); |
Check failure
Code scanning / CodeQL
Missing rate limiting High
authorization
This route handler performs
authorization
This route handler performs
authorization
* feat: if devMode do not do not redirect * test: test case for auth dev=true flag * chore: update title
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. )