jstemmer / rehook Goto Github PK
View Code? Open in Web Editor NEWWebhook dispatcher
License: MIT License
Webhook dispatcher
License: MIT License
Filter incoming requests to determine whether or not to perform an action. You should be able to create filters for request headers and body contents (e.g. match application/json
content type with the body containing a certain key/value).
None of the stats are removed when a hook is deleted.
Make sure incoming requests are only from the service where you configured the webhook. Drop any invalid requests.
E.g. github includes a X-Hub-Signature
header that is the SHA1 HMAC of the request body using a shared secret.
It should be possible to rate limit incoming requests. We could still accept them, but limit the number of actions taken in a certain time period.
Requests that exceed the limit could be ignored or aggregated for use in the next action.
or provide a way to undo the delete.
Define actions to take for incoming requests. For example, forward request, send new request, send email, store request, log request, etc.
Filter should halt the processing chain on errors, actions shouldn't.
There's a lot of duplication in the templates and component source files. Now that we've got some more components it's time for some refactoring.
Right now, most changes in the hook edit page are instant or require you to navigate to a different page. Ideally we should be able to add, edit and delete components on the hook edit page (without navigating away) and have a button to save the changes or cancel.
For example, send an email when there hasn't been any request in a certain time period for a configured hook.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.