You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add webhook notification channel to API layer (#626)
* Enhance notification system with webhook support
* Implement webhook validation for project and user notifications
* Update yarn.lock to include @hawk.so/types@0.5.9 and add webhook property to NotificationsChannelsDBScheme interface
* Refactor webhook endpoint validation by removing isPrivateIP function and related tests. Integrate private IP validation into ipValidator module for improved code organization.
* Refactor notification channel validation to use async functions for improved error handling. Update validation logic to await results from channel checks, enhancing overall reliability.
* Refactor webhook endpoint validation to utilize BLOCKED_HOSTNAMES and ALLOWED_PORTS constants from ipValidator module, improving code organization and maintainability.
* Refactor webhook validation logic in project and user notifications to remove endpoint checks when isEnabled is true, streamlining the validation process.
0 commit comments