Skip to content

Upd. Code. ContactsEncoder module refactoring.#679

Merged
Glomberg merged 14 commits into
devfrom
Contact-encoder-module
Nov 18, 2025
Merged

Upd. Code. ContactsEncoder module refactoring.#679
Glomberg merged 14 commits into
devfrom
Contact-encoder-module

Conversation

@Glomberg
Copy link
Copy Markdown
Member

@Glomberg Glomberg commented Nov 9, 2025

# Conflicts:
#	.gitignore
#	lib/Cleantalk/Antispam/EmailEncoder/Encoder.php
#	lib/Cleantalk/ApbctWP/ContactsEncoder/DecodeAttemptResult.php
#	lib/Cleantalk/Common/ContactsEncoder/ContactsEncoder.php
#	tests/ApbctWP/ContactsEncoder/TestContactsEncoder.php
@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 14, 2025

Codecov Report

❌ Patch coverage is 38.91403% with 135 lines in your changes missing coverage. Please review.
✅ Project coverage is 12.68%. Comparing base (9fcc889) to head (6d2e74f).
⚠️ Report is 1 commits behind head on dev.

Files with missing lines Patch % Lines
...antalk/ApbctWP/ContactsEncoder/ContactsEncoder.php 20.77% 61 Missing ⚠️
...eantalk/Common/ContactsEncoder/ContactsEncoder.php 48.38% 32 Missing ⚠️
...P/ContactsEncoder/Exclusions/ExclusionsService.php 43.47% 13 Missing ⚠️
inc/cleantalk-settings.php 15.38% 11 Missing ⚠️
...n/ContactsEncoder/Exclusions/ExclusionsService.php 55.00% 9 Missing ⚠️
...tWP/ContactsEncoder/Shortcodes/EncodeContentSC.php 40.00% 3 Missing ⚠️
...ntalk/ApbctWP/PluginSettingsPage/SettingsField.php 0.00% 3 Missing ⚠️
inc/cleantalk-admin.php 0.00% 1 Missing ⚠️
...alk/ApbctWP/Localize/CtPublicFunctionsLocalize.php 0.00% 1 Missing ⚠️
lib/Cleantalk/ApbctWP/RestController.php 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                dev     #679      +/-   ##
============================================
+ Coverage     12.61%   12.68%   +0.06%     
- Complexity     5296     5308      +12     
============================================
  Files           254      256       +2     
  Lines         24020    24053      +33     
============================================
+ Hits           3031     3050      +19     
- Misses        20989    21003      +14     

☔ View full report in Codecov by Sentry.
📢 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.

@Glomberg Glomberg merged commit 098613a into dev Nov 18, 2025
5 checks passed
@Glomberg Glomberg deleted the Contact-encoder-module branch November 18, 2025 15:52
svfcode added a commit that referenced this pull request Dec 4, 2025
* Fix. Integration. Fluentbook. Added public scripts echoing on author landing visit. https://doboard.com/1/task/34803

* Code. PHPCS.

* Fix. Integrations. JS. Run dynamic forms catching on interval.

* Update version

* Update version

* Upd. Integrations. JS. Dynamic rendered form interval clearance on window load custom events.

* Upd. EmailEncoder. Added new format to encode phone numbers. https://doboard.com/1/task/36719

* Fix. Woocommerce. Exclusion for WC Stripe Apple Pay frontend request. https://doboard.com/1/task/36147

* Fix. Integration. Brick theme ajax response fixed. https://doboard.com/1/task/36432

* Fix. Integration. FunnelKit. Funnel builder action added. https://doboard.com/1/task/36747

* Fix. Integration. Ninja Forms refactored - no using `force_alt_cookies`.

* Fix. WPMS. Getting and recreating personal tables on WPMS. https://doboard.com/1/task/34848

* Upd. Code. ContactsEncoder module refactoring. (#679)

* New. Code. Contacts Encoder included by composer.

* New. Code. Contacts Encoder included by composer #2.

* Fic. Code. Contacts Encoder refactoring - start.

* Fic. Code. Contacts Encoder refactoring - continue.

* Fix. Code. Contacts Encoder refactoring - continue #2.

* Fix. Code. Contacts Encoder refactoring - complete.

* Fix. Code. Contacts Encoder refactoring - WP based code replaced.

* Fix. Code. Contacts Encoder refactoring - ContactsEncoder package updated.

* Fix. Code. Contacts Encoder refactoring - `byAccessKeyFail` method fixed.

* Fix. Code. Contacts Encoder refactoring - Unit tests and Psalm fixed.

* Fix. Code. Contact encoder commit 40e479f alternative implementation.

* Fix. Contacts Encoder. Restore forgotten fix #681.

* Fix. Contacts Encoder. Decoder init process replaced.

* Fix. Bot detector. Set `event_token` for the different cookies types fixed.

Fix. Bot detector. Set `event_token` for the different cookies types fixed.

* Fix. Code. ES-Lint notice fixed.

* Fix. Settings. TRP enabled by default.

* New. WPRecipeMaker. Integration with WP Recipe Maker

* Mod. WPRecipeMaker. Editing the blocking message

* Ninja forms check email exist av (#675)

* Mod. CheckEmailExist. Integration of Check Email Exist with Ninja Forms

* Fix eslint

* New. CheckEmailExist. Integration of Check Email Exist with Ninja Forms

* Fix eslint

* Upd. CheckEmailExist. Search for ::after styles to calculate the indentation

---------

Co-authored-by: SVFCode <svfcode@mail.ru>

* Fix. OptiPress. Editing the integration in passing the message parameter

* Remove coverage.xml

* Fix. WPRecipeMaker. Combining logic under one condition

* Fix. SFW update. Flush expected networks count before files processing. https://doboard.com/1/task/36234

* Fix. SFW update. Tables prefix updated.

* Code. SFW update. PHP Unit.

* Upd. WCAddToCart. Processing and adding event_token to the request wh… (#682)

* Upd. WCAddToCart. Processing and adding event_token to the request when adding the product

* Fix eslint

* Fix. WCAddToCart. Removed the unnecessary event_token receipt, added a condition for mixing event_token if the add_to_cart option is enabled

* Upd property name.

---------

Co-authored-by: svfcode <svfcode@mail.ru>

* Github. New action to create assets from dev/fix on push event.

* Github. New action to create assets from dev/fix on push event.

* Github. New action to create assets from dev/fix on push event.

* Upd. TRP. Restart show badge on woo review page. (#690)

* Fix. SFW update. Flush expected networks count before files processing. https://doboard.com/1/task/36234

* Test commit for code coverage #1

* Fix. SFW update. Tables prefix updated.

* Code. SFW update. PHP Unit.

* Code. SFW update. PHP Unit #2.

* Code. SFW update. PHP Unit #3.

* Upd. WCAddToCart. Processing and adding event_token to the request wh… (#682)

* Upd. WCAddToCart. Processing and adding event_token to the request when adding the product

* Fix eslint

* Fix. WCAddToCart. Removed the unnecessary event_token receipt, added a condition for mixing event_token if the add_to_cart option is enabled

* Upd property name.

---------

Co-authored-by: svfcode <svfcode@mail.ru>

* Upd. TRP. Restart show badge on woo review page.

* remove debug

---------

Co-authored-by: alexandergull <alex.g@cleantalk.org>
Co-authored-by: Alex <galyshev@cleantalk.org>
Co-authored-by: AntonV1211 <39616556+AntonV1211@users.noreply.github.com>

* Upd. ContactEncoder. Improve UX. (#688)

* Upd. ContactEncoder. Improve UX.

* Fix. Contacts encoder. Mailto links handle fixed.

---------

Co-authored-by: Glomberg <bazz@bk.ru>

* Fix. Helper. Correcting the error of using 'static' in string callables inside array_map since version 8.2

* Remove comment

* Fix. FluentForm. The verification depends on the data__protect_logged_in and is_user_logged_in() options

* Update version

* Code. Github. Run tests on beta branch pushes.

* Fix. FluenForm. Edit the condition depending on the data__protect_logged_in option

* update common

* fix psalm

* Fix. Integrations. Update Woo rest checkout.

* fix psalm

* Fix. Integrations. Update Woo add to cart check.

* Update stable tag

---------

Co-authored-by: alexandergull <alex.g@cleantalk.org>
Co-authored-by: Glomberg <bazz@bk.ru>
Co-authored-by: AntonV1211 <antonV1211@yandex.ru>
Co-authored-by: AntonV1211 <39616556+AntonV1211@users.noreply.github.com>
Co-authored-by: Alex <galyshev@cleantalk.org>
svfcode added a commit that referenced this pull request Dec 8, 2025
* Fix. Integration. Fluentbook. Added public scripts echoing on author landing visit. https://doboard.com/1/task/34803

* Code. PHPCS.

* Fix. Integrations. JS. Run dynamic forms catching on interval.

* Update version

* Update version

* Upd. Integrations. JS. Dynamic rendered form interval clearance on window load custom events.

* Upd. EmailEncoder. Added new format to encode phone numbers. https://doboard.com/1/task/36719

* Fix. Woocommerce. Exclusion for WC Stripe Apple Pay frontend request. https://doboard.com/1/task/36147

* Fix. Integration. Brick theme ajax response fixed. https://doboard.com/1/task/36432

* Fix. Integration. FunnelKit. Funnel builder action added. https://doboard.com/1/task/36747

* Fix. Integration. Ninja Forms refactored - no using `force_alt_cookies`.

* Fix. WPMS. Getting and recreating personal tables on WPMS. https://doboard.com/1/task/34848

* Upd. Code. ContactsEncoder module refactoring. (#679)

* New. Code. Contacts Encoder included by composer.

* New. Code. Contacts Encoder included by composer #2.

* Fic. Code. Contacts Encoder refactoring - start.

* Fic. Code. Contacts Encoder refactoring - continue.

* Fix. Code. Contacts Encoder refactoring - continue #2.

* Fix. Code. Contacts Encoder refactoring - complete.

* Fix. Code. Contacts Encoder refactoring - WP based code replaced.

* Fix. Code. Contacts Encoder refactoring - ContactsEncoder package updated.

* Fix. Code. Contacts Encoder refactoring - `byAccessKeyFail` method fixed.

* Fix. Code. Contacts Encoder refactoring - Unit tests and Psalm fixed.

* Fix. Code. Contact encoder commit 40e479f alternative implementation.

* Fix. Contacts Encoder. Restore forgotten fix #681.

* Fix. Contacts Encoder. Decoder init process replaced.

* Fix. Bot detector. Set `event_token` for the different cookies types fixed.

Fix. Bot detector. Set `event_token` for the different cookies types fixed.

* Fix. Code. ES-Lint notice fixed.

* Fix. Settings. TRP enabled by default.

* New. WPRecipeMaker. Integration with WP Recipe Maker

* Mod. WPRecipeMaker. Editing the blocking message

* Ninja forms check email exist av (#675)

* Mod. CheckEmailExist. Integration of Check Email Exist with Ninja Forms

* Fix eslint

* New. CheckEmailExist. Integration of Check Email Exist with Ninja Forms

* Fix eslint

* Upd. CheckEmailExist. Search for ::after styles to calculate the indentation

---------

Co-authored-by: SVFCode <svfcode@mail.ru>

* Fix. OptiPress. Editing the integration in passing the message parameter

* Remove coverage.xml

* Fix. WPRecipeMaker. Combining logic under one condition

* Fix. SFW update. Flush expected networks count before files processing. https://doboard.com/1/task/36234

* Fix. SFW update. Tables prefix updated.

* Code. SFW update. PHP Unit.

* Upd. WCAddToCart. Processing and adding event_token to the request wh… (#682)

* Upd. WCAddToCart. Processing and adding event_token to the request when adding the product

* Fix eslint

* Fix. WCAddToCart. Removed the unnecessary event_token receipt, added a condition for mixing event_token if the add_to_cart option is enabled

* Upd property name.

---------

Co-authored-by: svfcode <svfcode@mail.ru>

* Github. New action to create assets from dev/fix on push event.

* Github. New action to create assets from dev/fix on push event.

* Github. New action to create assets from dev/fix on push event.

* Upd. TRP. Restart show badge on woo review page. (#690)

* Fix. SFW update. Flush expected networks count before files processing. https://doboard.com/1/task/36234

* Test commit for code coverage #1

* Fix. SFW update. Tables prefix updated.

* Code. SFW update. PHP Unit.

* Code. SFW update. PHP Unit #2.

* Code. SFW update. PHP Unit #3.

* Upd. WCAddToCart. Processing and adding event_token to the request wh… (#682)

* Upd. WCAddToCart. Processing and adding event_token to the request when adding the product

* Fix eslint

* Fix. WCAddToCart. Removed the unnecessary event_token receipt, added a condition for mixing event_token if the add_to_cart option is enabled

* Upd property name.

---------

Co-authored-by: svfcode <svfcode@mail.ru>

* Upd. TRP. Restart show badge on woo review page.

* remove debug

---------

Co-authored-by: alexandergull <alex.g@cleantalk.org>
Co-authored-by: Alex <galyshev@cleantalk.org>
Co-authored-by: AntonV1211 <39616556+AntonV1211@users.noreply.github.com>

* Upd. ContactEncoder. Improve UX. (#688)

* Upd. ContactEncoder. Improve UX.

* Fix. Contacts encoder. Mailto links handle fixed.

---------

Co-authored-by: Glomberg <bazz@bk.ru>

* Fix. Helper. Correcting the error of using 'static' in string callables inside array_map since version 8.2

* Remove comment

* Fix. FluentForm. The verification depends on the data__protect_logged_in and is_user_logged_in() options

* Update version

* Code. Github. Run tests on beta branch pushes.

* Fix. FluenForm. Edit the condition depending on the data__protect_logged_in option

* update common

* fix psalm

* Fix. Integrations. Update Woo rest checkout.

* fix psalm

* Fix. Integrations. Update Woo add to cart check.

* Update stable tag

* Fix. Integrations. Update Woo add to cart check.

* Update version and changelog

* fix eslint

---------

Co-authored-by: alexandergull <alex.g@cleantalk.org>
Co-authored-by: Glomberg <bazz@bk.ru>
Co-authored-by: AntonV1211 <antonV1211@yandex.ru>
Co-authored-by: AntonV1211 <39616556+AntonV1211@users.noreply.github.com>
Co-authored-by: Alex <galyshev@cleantalk.org>
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