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: ics-feed calendar api-v2 #16735

Merged
merged 13 commits into from
Sep 24, 2024
Merged

feat: ics-feed calendar api-v2 #16735

merged 13 commits into from
Sep 24, 2024

Conversation

ThyMinimalDev
Copy link
Contributor

@ThyMinimalDev ThyMinimalDev commented Sep 20, 2024

What does this PR do?

POST calendars/ics-feed/save: This endpoint allows users to save an ICS feed to their calendar.
GET calendars/ics-feed/check: This endpoint checks the status of an existing ICS feed, verifying whether it has been properly synced or saved.

Mandatory Tasks (DO NOT REMOVE)

  • I have self-reviewed the code (A decent size PR without self-review might be rejected).
  • N/A - I have added a Docs issue here if this PR makes changes that would require a documentation change. If N/A, write N/A here and check the checkbox.
  • I confirm automated tests are in place that prove my fix is effective or that my feature works.

How should this be tested?

yarn test:e2e calendars.controller.e2e-spec.ts

Copy link

vercel bot commented Sep 20, 2024

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

2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
cal ⬜️ Ignored (Inspect) Visit Preview Sep 24, 2024 11:49am
calcom-web-canary ⬜️ Ignored (Inspect) Visit Preview Sep 24, 2024 11:49am

@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 Sep 20, 2024
@keithwillcode keithwillcode added core area: core, team members only platform Anything related to our platform plan labels Sep 20, 2024
@graphite-app graphite-app bot requested a review from a team September 20, 2024 07:06
Copy link

graphite-app bot commented Sep 20, 2024

Graphite Automations

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

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

apps/api/v2/src/ee/calendars/input/create-ics.input.ts Outdated Show resolved Hide resolved
apps/api/v2/src/ee/calendars/input/create-ics.input.ts Outdated Show resolved Hide resolved

// Custom constraint to validate ICS URLs
@ValidatorConstraint({ async: false })
export class IsICSUrlConstraint implements ValidatorConstraintInterface {
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we move this under DTO so file reads top to bottom?

apps/api/v2/src/ee/calendars/services/ics-feed.service.ts Outdated Show resolved Hide resolved
apps/api/v2/src/ee/calendars/services/ics-feed.service.ts Outdated Show resolved Hide resolved
supalarry
supalarry previously approved these changes Sep 20, 2024
SomayChauhan
SomayChauhan previously approved these changes Sep 24, 2024
Copy link
Contributor

github-actions bot commented Sep 24, 2024

E2E results are ready!

@ThyMinimalDev ThyMinimalDev merged commit 9a40838 into main Sep 24, 2024
38 checks passed
@ThyMinimalDev ThyMinimalDev deleted the feat-ics-feed-api-v2 branch September 24, 2024 12:18
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 ready-for-e2e
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants