Skip to content
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 #1639

Merged
merged 14 commits into from
Oct 30, 2023
Merged

Dev to main sync #1639

merged 14 commits into from
Oct 30, 2023

Conversation

Ajeyakrishna-k
Copy link
Contributor

No description provided.

Ajeyakrishna-k and others added 9 commits October 18, 2023 01:48
…1609)

* Feat : fetch issues by github issue id

* CHORE : uncomment authorization

* Adds middleware to validate new task requests (#1611)

* FEAT : adds middleware and tests for adding task requests

* FEAT : Adds task requests constants

* FIX : remove task title from the request schema
* Test : Added test cases for extension request logs

* Test : Added test cases for approval/deny

* Feat : Creating logs when SU updates the extensionRequest details

* Chore : Replaced isDev with dev flag in log test

* Refactor : Simplified logics for log generation in dev

* Test : Added test case for extension request logs in dev mode

* Feat : Prepared API to fetch extensionRequest logs

* Bug : Fixed failing test cases

* Feat : Added reviewedBy field while fetching latest extension request in dev

* Bug : Fixed failing test case for multipleExtensionRequest
* [Live-Site] Add logs for kickout API

Signed-off-by: Gurvinder Singh <[email protected]>

* [Live-Site] Add logs for kickout API - Integration tests

Signed-off-by: Gurvinder Singh <[email protected]>

* [Live-Site] Add logs for kickout API - Integration tests for member user

Signed-off-by: Gurvinder Singh <[email protected]>

---------

Signed-off-by: Gurvinder Singh <[email protected]>

router.get("/", authenticate, authorizeRoles([SUPERUSER]), cacheResponse(), taskRequests.fetchTaskRequests);
router.get("/", authenticate, authorizeRoles([SUPERUSER]), taskRequests.fetchTaskRequests);

Check failure

Code scanning / CodeQL

Missing rate limiting High

This route handler performs
authorization
, but is not rate-limited.
This route handler performs
authorization
, but is not rate-limited.
This route handler performs
authorization
, but is not rate-limited.
routes/taskRequests.js Dismissed Show dismissed Hide dismissed
services/githubService.js Dismissed Show dismissed Hide dismissed
@joyguptaa
Copy link
Contributor

joyguptaa commented Oct 30, 2023

Developer Name: Joy Gupta

Purpose

Should return reviewedAt field in response of self extension request.

List of PRs going in this Sync

PR Number(s): 1639

Backend Changes

  • Yes
  • No

Is Under Feature Flag

  • Yes
  • No

Database changes:

  • Yes
  • No

Breaking changes (If your feature is breaking/missing something please mention pending tickets):

  • Yes
  • No

Deployment notes:

NA

Tested in staging

  • Yes
  • No

QA Instructions, Screenshots, Recordings

Should return reviewedAt field in response of self extension request.
image

@joyguptaa joyguptaa mentioned this pull request Oct 30, 2023
joyguptaa and others added 4 commits October 30, 2023 13:53
* Req: Update SignIn with Mobile to Handle Query Parameters and Redirect to Mobile App (#1546) (#1562)

* Dev to Main Sync (#1594)

* Added query parameter orderBy in progress API

* Added params defination

* Change the condition

* adds tests and code changes for updating timestamp for OOO.

* handle invalid timestamp case in convertTimestampToUTCStartOrEndOfDay

* remove unwanted comment

* Added condtion and test to ensure progress only be sorted by date

* resolve comments by ajaykrishna and bharati

* Enhancement : fetch users who have archived : false (#1595)

---------

Co-authored-by: Shubham Sharma <[email protected]>
Co-authored-by: Amit Prakash <[email protected]>
Co-authored-by: Jyotsna Mehta <[email protected]>

* dev to main sync (#1618)

---------

Co-authored-by: Lakshay Manchanda <[email protected]>
Co-authored-by: Amit Prakash <[email protected]>
Co-authored-by: SHREYA MISHRA <[email protected]>
Co-authored-by: Randhir Kumar Singh <[email protected]>
Co-authored-by: Shubham Sharma <[email protected]>
Co-authored-by: Jyotsna Mehta <[email protected]>
Co-authored-by: Prakash Choudhary <[email protected]>
Co-authored-by: Shubham Kumar Singh <[email protected]>
@joyguptaa
Copy link
Contributor

Hi @iamitprakash, you would need to rerun the test case. The test case that has failed sometimes fails without any reason.

* fix : updates the user status when task is created

* chore : changes to before test helper to before each and adds after each in task requests test
@iamitprakash iamitprakash merged commit 7c5e573 into main Oct 30, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants