Skip to content

New. Integration. Integration with Event Prime - #847

Merged
AntonV1211 merged 8 commits into
devfrom
integ_eventprime_av
Aug 3, 2026
Merged

New. Integration. Integration with Event Prime#847
AntonV1211 merged 8 commits into
devfrom
integ_eventprime_av

Conversation

@AntonV1211

Copy link
Copy Markdown
Contributor

@codecov

codecov Bot commented Jul 30, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 70.00000% with 15 lines in your changes missing coverage. Please review.
✅ Project coverage is 27.71%. Comparing base (7feaba9) to head (7f28f0a).
⚠️ Report is 1 commits behind head on dev.

Files with missing lines Patch % Lines
lib/Cleantalk/Antispam/Integrations/EventPrime.php 71.11% 13 Missing ⚠️
inc/cleantalk-pluggable.php 60.00% 2 Missing ⚠️
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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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 EventPrime integration class to collect POST data (including event_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.

Comment thread lib/Cleantalk/Antispam/Integrations/EventPrime.php Outdated
Comment thread lib/Cleantalk/Antispam/Integrations/EventPrime.php Outdated
Comment thread inc/cleantalk-integrations-by-hook.php
AntonV1211 and others added 3 commits July 30, 2026 19:46
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 alexandergull left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please, provide a new task to cover codecov if this task won't be continued in the next sprint.

@AntonV1211
AntonV1211 merged commit 0a8de78 into dev Aug 3, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants