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

refactor(core): Extract webhook request handler to own file #10301

Merged
merged 4 commits into from
Aug 9, 2024

Conversation

tomi
Copy link
Contributor

@tomi tomi commented Aug 5, 2024

Summary

Builds on top of #10296. Move webhook request handler to own class.

Review / Merge checklist

  • PR title and summary are descriptive. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with release/backport (if the PR is an urgent fix that needs to be backported)

@n8n-assistant n8n-assistant bot added core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team labels Aug 5, 2024
ivov
ivov previously approved these changes Aug 7, 2024
Copy link
Contributor

@ivov ivov left a comment

Choose a reason for hiding this comment

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

Did some sanity check testing also, no issues.

packages/cli/src/webhooks/WebhookRequestHandler.ts Outdated Show resolved Hide resolved
packages/cli/src/webhooks/WebhookRequestHandler.ts Outdated Show resolved Hide resolved
Copy link
Contributor

github-actions bot commented Aug 7, 2024

✅ All Cypress E2E specs passed

Copy link

cypress bot commented Aug 7, 2024



Test summary

395 0 0 0Flakiness 0


Run details

Project n8n
Status Passed
Commit c6a3411
Started Aug 9, 2024 12:55 PM
Ended Aug 9, 2024 12:59 PM
Duration 04:44 💡
OS Linux Debian -
Browser Electron 118

View run in Cypress Cloud ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Cloud

Base automatically changed from refactor-reorganize-webhooks to master August 7, 2024 08:23
@tomi tomi dismissed ivov’s stale review August 7, 2024 08:23

The base branch was changed.

@tomi tomi force-pushed the refactor-extract-webhook-request-handler branch from 697fa67 to 58e1890 Compare August 7, 2024 08:24
@tomi tomi requested a review from ivov August 7, 2024 08:24
ivov
ivov previously approved these changes Aug 7, 2024
Copy link
Contributor

@ivov ivov left a comment

Choose a reason for hiding this comment

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

🙏🏻

@tomi tomi force-pushed the refactor-extract-webhook-request-handler branch from 58e1890 to c6a3411 Compare August 9, 2024 11:41
@tomi tomi requested a review from ivov August 9, 2024 11:42
@tomi
Copy link
Contributor Author

tomi commented Aug 9, 2024

@ivov rebased on top of master to resolve the conflicts. Could you reapprove 🙏

Copy link
Contributor

github-actions bot commented Aug 9, 2024

✅ All Cypress E2E specs passed

@tomi tomi merged commit 4847377 into master Aug 9, 2024
28 checks passed
@tomi tomi deleted the refactor-extract-webhook-request-handler branch August 9, 2024 14:08
MiloradFilipovic added a commit that referenced this pull request Aug 9, 2024
* master:
  fix(core): Prevent XSS via static cache dir (#10339)
  fix(editor): Enable credential sharing between all types of projects (#10233)
  refactor(core): Extract webhook request handler to own file (#10301)
  feat: Allow sharing to and from team projects (no-changelog) (#10144)
  refactor(editor): Convert ChangePasswordModal to composition api (no-changelog) (#10337)
  docs: Change display name for WhatsApp Trigger API Credential (#10334)
  fix(core): Do not load ScalingService in regular mode (no-changelog) (#10333)
  docs: Update wording in X credentials (#10327)
  fix(editor): Fixing XSS vulnerability in toast messages (#10329)
  fix(core): Rate limit MFA activation and verification endpoints (#10330)
  refactor(core): Decouple emailing and workflow sharing from internal hooks (no-changelog) (#10326)
  refactor(core): Stop reporting disk I/O error to Sentry (no-changelog) (#10324)
@janober
Copy link
Member

janober commented Aug 15, 2024

Got released with [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team Released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants