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

feat: outlook 365 calendar endpoints #15077

Merged

Conversation

Ryukemeister
Copy link
Contributor

@Ryukemeister Ryukemeister commented May 16, 2024

What does this PR do?

This PR adds the endpoints for the microsoft outlook calendar. The frontend can be done in a follow PR once the endpoints are merged. Also added some e2e tests for case where access token or origin might be invalid and also when all the credentials are good

Copy link

linear bot commented May 16, 2024

Copy link
Contributor

github-actions bot commented May 16, 2024

Thank you for following the naming conventions! 🙏 Feel free to join our discord and post your PR link.

@keithwillcode keithwillcode added core area: core, team members only platform Anything related to our platform plan labels May 16, 2024
@graphite-app graphite-app bot requested a review from a team May 16, 2024 11:22
@dosubot dosubot bot added api area: API, enterprise API, access token, OAuth calendar-apps area: calendar, google calendar, outlook, lark, microsoft 365, apple calendar ✨ feature New feature or request labels May 16, 2024
Copy link

socket-security bot commented May 16, 2024

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package Note
Install scripts npm/esbuild@0.20.2

View full report↗︎

Next steps

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/esbuild@0.20.2

Copy link

vercel bot commented May 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

3 Ignored Deployments
Name Status Preview Comments Updated (UTC)
ai ⬜️ Ignored (Inspect) Visit Preview Jun 3, 2024 10:14am
cal ⬜️ Ignored (Inspect) Visit Preview Jun 3, 2024 10:14am
calcom-web-canary ⬜️ Ignored (Inspect) Visit Preview Jun 3, 2024 10:14am

Copy link

graphite-app bot commented May 16, 2024

Graphite Automations

"Add platform team as reviewer" took an action on this PR • (05/16/24)

1 reviewer was added to this PR based on Keith Williams's automation.

Copy link
Contributor

github-actions bot commented May 16, 2024

📦 Next.js Bundle Analysis for @calcom/web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

Copy link

deploysentinel bot commented May 16, 2024

Current Playwright Test Results Summary

✅ 42 Passing - ❌ 1 Failing - ⚠️ 1 Flaky

Run may still be in progress, this comment will be updated as current testing workflow or job completes...

(Last updated on 05/17/2024 08:47:50pm UTC)

Run Details

Running Workflow PR Update on Github Actions

Commit: ddcdddb

Started: 05/17/2024 08:46:42pm UTC

❌ Failures

📄   apps/web/playwright/teams.e2e.ts • 1 Failure

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Teams - NonOrg -- future Can create a booking for Round Robin EventType
Retry 2Retry 1Initial Attempt
Error: expect(received).toBe(expected) // Object.is equality...
expect(received).toBe(expected) // Object.is equality

Expected: true
Received: false
6.82% (18) 18 / 264 runs
failed over last 7 days
25% (66) 66 / 264 runs
flaked over last 7 days

⚠️ Flakes

📄   apps/web/playwright/signup.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Signup Flow Test Email verification sent if enabled
Retry 1Initial Attempt
1.13% (3) 3 / 266 runs
failed over last 7 days
24.44% (65) 65 / 266 runs
flaked over last 7 days

View Detailed Build Results


const origin = req.get("origin") ?? req.get("host");
const redirectUrl = await await this.getCalendarRedirectUrl(accessToken, origin ?? "");

return { status: "SUCCESS", data: { authUrl: redirectUrl } };
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

{ status: SUCCESS_STATUS, data: { authUrl: redirectUrl } };

const origin = req.get("origin") ?? req.get("host");
const redirectUrl = await await this.getCalendarRedirectUrl(accessToken, origin ?? "");

return { status: "SUCCESS", data: { authUrl: redirectUrl } };
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SUCCESS_STATUS

@ThyMinimalDev ThyMinimalDev added this pull request to the merge queue Jun 3, 2024
Merged via the queue into main with commit 9770aff Jun 3, 2024
22 of 24 checks passed
@ThyMinimalDev ThyMinimalDev deleted the rajiv/cal-3544-outlookoffice365-integration-connect-atom branch June 3, 2024 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api area: API, enterprise API, access token, OAuth calendar-apps area: calendar, google calendar, outlook, lark, microsoft 365, apple calendar core area: core, team members only ✨ feature New feature or request platform Anything related to our platform plan
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants