New. Integration. Integration with Event Prime - #847
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #847 +/- ##
============================================
+ Coverage 27.63% 27.71% +0.07%
- Complexity 6059 6079 +20
============================================
Files 282 283 +1
Lines 25191 25241 +50
============================================
+ Hits 6962 6996 +34
- Misses 18229 18245 +16 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
Adds a new CleanTalk integration for the EventPrime plugin to route EventPrime registration/booking submissions through the existing integrations framework and avoid conflicting generic AJAX processing.
Changes:
- Added
EventPrimeintegration class to collect POST data (includingevent_token) and return plugin-specific block responses. - Registered EventPrime hooks in the integrations-by-hook map.
- Added AJAX skip rules for EventPrime actions to prevent generic request handling from interfering with the direct integration.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| lib/Cleantalk/Antispam/Integrations/EventPrime.php | New integration that extracts/normalizes EventPrime form data and blocks with EventPrime-compatible JSON responses. |
| inc/cleantalk-pluggable.php | Skips specific EventPrime AJAX actions so they’re handled by the direct integration path. |
| inc/cleantalk-integrations-by-hook.php | Registers EventPrime hooks/settings so the integration is instantiated and executed on the right actions. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
alexandergull
left a comment
There was a problem hiding this comment.
Please, provide a new task to cover codecov if this task won't be continued in the next sprint.
https://app.doboard.com/1/task/39447