makkinga / statamic-hooker Goto Github PK
View Code? Open in Web Editor NEWAddon for making webhooks in Statamic
License: MIT License
Addon for making webhooks in Statamic
License: MIT License
Neat addon!
It's not very clear what one would use this for, perhaps a few examples would help?
Hey! Keep hitting this error on a saved submission hook:
ErrorException in HookerListener.php line 130:
Undefined property: Statamic\Events\Data\SubmissionSaved::$data
The formset only has a single field, email.
It is the only hook I have in Hooker!
The form is set to store submissions and works fine with hooker disabled. Even with it enabled the form submits and submission is stored, yet I hit the error and the hook isn't sent :(
Statamic 2.11.12 fresh install
no other add-ons
Thanks :)
It can happen that someone wants to trigger a webhook specifically when adding of changing an Entry of for example the Blog collection.
In that case you want to be able to select what collection an Entry should belong to
Hey!
This has helped set up notifications for new users on my site, thanks!
'data' => reset($event)->data->toArray()
Is there any easy fixes in that line that can prevent the data array from containing email addresses and hashed passwords? I send the webhook on a user save event to a third party service and then it goes to a few places.. I'd just rather not include that stuff for extra peace of mind.
A solution in the UI would be wicked, but I'll take a quick edit if you've got one :)
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.